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
[ 21, 87, 9, 58 ]
59
[ "21+87=108", "58-9=49", "108-49=59" ]
Current State: 59:[21, 87, 9, 58], Operations: [] Exploring Operation: 21+87=108, Resulting Numbers: [9, 58, 108] Generated Node #2: [9, 58, 108] from Operation: 21+87=108 Current State: 59:[9, 58, 108], Operations: ['21+87=108'] Exploring Operation: 58-9=49, Resulting Numbers: [108, 49] Generated Node #3: [108, 49] from Operation: 58-9=49 Current State: 59:[108, 49], Operations: ['21+87=108', '58-9=49'] Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[21, 87, 9, 58], Operations: [] Exploring Operation: 21+9=30, Resulting Numbers: [87, 58, 30] Generated Node #0,0: 59:[87, 58, 30] Operation: 21+9=30 Exploring Operation: 87-21=66, Resulting Numbers: [9, 58, 66] Generated Node #0,1: 59:[9, 58, 66] Operation: 87-21=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[87, 58, 30], Operations: ['21+9=30'] Exploring Operation: 58+30=88, Resulting Numbers: [87, 88] Generated Node #0,0,0: 59:[87, 88] Operation: 58+30=88 Exploring Operation: 87-30=57, Resulting Numbers: [58, 57] Generated Node #0,0,1: 59:[58, 57] Operation: 87-30=57 Moving to Node #0,0,1 Current State: 59:[58, 57], Operations: ['21+9=30', '87-30=57'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[87, 88], Operations: ['21+9=30', '58+30=88'] Exploring Operation: 87+88=175, Resulting Numbers: [175] 175,59 unequal: No Solution Exploring Operation: 88-87=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[9, 58, 66], Operations: ['87-21=66'] Exploring Operation: 9+58=67, Resulting Numbers: [66, 67] Generated Node #0,1,0: 59:[66, 67] Operation: 9+58=67 Exploring Operation: 66-9=57, Resulting Numbers: [58, 57] Generated Node #0,1,1: 59:[58, 57] Operation: 66-9=57 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[58, 57], Operations: ['87-21=66', '66-9=57'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[66, 67], Operations: ['87-21=66', '9+58=67'] Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 66+67=133, Resulting Numbers: [133] 133,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 85, 47, 11, 60 ]
48
[ "85+47=132", "132/11=12", "60-12=48" ]
Current State: 48:[85, 47, 11, 60], Operations: [] Exploring Operation: 85+47=132, Resulting Numbers: [11, 60, 132] Generated Node #2: [11, 60, 132] from Operation: 85+47=132 Current State: 48:[11, 60, 132], Operations: ['85+47=132'] Exploring Operation: 132/11=12, Resulting Numbers: [60, 12] Generated Node #3: [60, 12] from Operation: 132/11=12 Current State: 48:[60, 12], Operations: ['85+47=132', '132/11=12'] Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[85, 47, 11, 60], Operations: [] Exploring Operation: 85-11=74, Resulting Numbers: [47, 60, 74] Generated Node #0,0: 48:[47, 60, 74] Operation: 85-11=74 Exploring Operation: 85-60=25, Resulting Numbers: [47, 11, 25] Generated Node #0,1: 48:[47, 11, 25] Operation: 85-60=25 Exploring Operation: 60-47=13, Resulting Numbers: [85, 11, 13] Generated Node #0,2: 48:[85, 11, 13] Operation: 60-47=13 Exploring Operation: 85-47=38, Resulting Numbers: [11, 60, 38] Generated Node #0,3: 48:[11, 60, 38] Operation: 85-47=38 Moving to Node #0,1 Current State: 48:[47, 11, 25], Operations: ['85-60=25'] Exploring Operation: 47-11=36, Resulting Numbers: [25, 36] Generated Node #0,1,0: 48:[25, 36] Operation: 47-11=36 Exploring Operation: 25-11=14, Resulting Numbers: [47, 14] Generated Node #0,1,1: 48:[47, 14] Operation: 25-11=14 Exploring Operation: 47+11=58, Resulting Numbers: [25, 58] Generated Node #0,1,2: 48:[25, 58] Operation: 47+11=58 Exploring Operation: 47-25=22, Resulting Numbers: [11, 22] Generated Node #0,1,3: 48:[11, 22] Operation: 47-25=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[47, 14], Operations: ['85-60=25', '25-11=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[11, 22], Operations: ['85-60=25', '47-25=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,48 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[25, 58], Operations: ['85-60=25', '47+11=58'] Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[25, 36], Operations: ['85-60=25', '47-11=36'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 25*36=900, Resulting Numbers: [900] 900,48 unequal: No Solution Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,48 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: 48:[11, 60, 38], Operations: ['85-47=38'] Exploring Operation: 11+38=49, Resulting Numbers: [60, 49] Generated Node #0,3,0: 48:[60, 49] Operation: 11+38=49 Exploring Operation: 38-11=27, Resulting Numbers: [60, 27] Generated Node #0,3,1: 48:[60, 27] Operation: 38-11=27 Exploring Operation: 60-38=22, Resulting Numbers: [11, 22] Generated Node #0,3,2: 48:[11, 22] Operation: 60-38=22 Exploring Operation: 60-11=49, Resulting Numbers: [38, 49] Generated Node #0,3,3: 48:[38, 49] Operation: 60-11=49 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[11, 22], Operations: ['85-47=38', '60-38=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,48 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[38, 49], Operations: ['85-47=38', '60-11=49'] Exploring Operation: 38+49=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 38*49=1862, Resulting Numbers: [1862] 1862,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[60, 49], Operations: ['85-47=38', '11+38=49'] Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 60+49=109, Resulting Numbers: [109] 109,48 unequal: No Solution Exploring Operation: 60*49=2940, Resulting Numbers: [2940] 2940,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[60, 27], Operations: ['85-47=38', '38-11=27'] Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,48 unequal: No Solution Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,48 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: 48:[85, 11, 13], Operations: ['60-47=13'] Exploring Operation: 85-11=74, Resulting Numbers: [13, 74] Generated Node #0,2,0: 48:[13, 74] Operation: 85-11=74 Exploring Operation: 11+13=24, Resulting Numbers: [85, 24] Generated Node #0,2,1: 48:[85, 24] Operation: 11+13=24 Exploring Operation: 85-13=72, Resulting Numbers: [11, 72] Generated Node #0,2,2: 48:[11, 72] Operation: 85-13=72 Exploring Operation: 13-11=2, Resulting Numbers: [85, 2] Generated Node #0,2,3: 48:[85, 2] Operation: 13-11=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[11, 72], Operations: ['60-47=13', '85-13=72'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 11+72=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 11*72=792, Resulting Numbers: [792] 792,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[13, 74], Operations: ['60-47=13', '85-11=74'] Exploring Operation: 13*74=962, Resulting Numbers: [962] 962,48 unequal: No Solution Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[85, 24], Operations: ['60-47=13', '11+13=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 85*24=2040, Resulting Numbers: [2040] 2040,48 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[85, 2], Operations: ['60-47=13', '13-11=2'] Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,48 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 48:[47, 60, 74], Operations: ['85-11=74'] Exploring Operation: 74-47=27, Resulting Numbers: [60, 27] Generated Node #0,0,0: 48:[60, 27] Operation: 74-47=27 Exploring Operation: 60-47=13, Resulting Numbers: [74, 13] Generated Node #0,0,1: 48:[74, 13] Operation: 60-47=13 Exploring Operation: 47+60=107, Resulting Numbers: [74, 107] Generated Node #0,0,2: 48:[74, 107] Operation: 47+60=107 Exploring Operation: 74-60=14, Resulting Numbers: [47, 14] Generated Node #0,0,3: 48:[47, 14] Operation: 74-60=14 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[47, 14], Operations: ['85-11=74', '74-60=14'] Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,48 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[60, 27], Operations: ['85-11=74', '74-47=27'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,48 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[74, 13], Operations: ['85-11=74', '60-47=13'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,48 unequal: No Solution Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[74, 107], Operations: ['85-11=74', '47+60=107'] Exploring Operation: 74*107=7918, Resulting Numbers: [7918] 7918,48 unequal: No Solution Exploring Operation: 107-74=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 74+107=181, Resulting Numbers: [181] 181,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 46, 84, 71, 7 ]
13
[ "71-46=25", "84/7=12", "25-12=13" ]
Current State: 13:[46, 84, 71, 7], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [84, 7, 25] Generated Node #2: [84, 7, 25] from Operation: 71-46=25 Current State: 13:[84, 7, 25], Operations: ['71-46=25'] Exploring Operation: 84/7=12, Resulting Numbers: [25, 12] Generated Node #3: [25, 12] from Operation: 84/7=12 Current State: 13:[25, 12], Operations: ['71-46=25', '84/7=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[46, 84, 71, 7], Operations: [] Exploring Operation: 84-71=13, Resulting Numbers: [46, 7, 13] Generated Node #0,0: 13:[46, 7, 13] Operation: 84-71=13 Exploring Operation: 84-46=38, Resulting Numbers: [71, 7, 38] Generated Node #0,1: 13:[71, 7, 38] Operation: 84-46=38 Moving to Node #0,0 Current State: 13:[46, 7, 13], Operations: ['84-71=13'] Exploring Operation: 46-7=39, Resulting Numbers: [13, 39] Generated Node #0,0,0: 13:[13, 39] Operation: 46-7=39 Exploring Operation: 46-13=33, Resulting Numbers: [7, 33] Generated Node #0,0,1: 13:[7, 33] Operation: 46-13=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[13, 39], Operations: ['84-71=13', '46-7=39'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[7, 33], Operations: ['84-71=13', '46-13=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,13 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: 13:[71, 7, 38], Operations: ['84-46=38'] Exploring Operation: 71-38=33, Resulting Numbers: [7, 33] Generated Node #0,1,0: 13:[7, 33] Operation: 71-38=33 Exploring Operation: 71-7=64, Resulting Numbers: [38, 64] Generated Node #0,1,1: 13:[38, 64] Operation: 71-7=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[7, 33], Operations: ['84-46=38', '71-38=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[38, 64], Operations: ['84-46=38', '71-7=64'] Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 38+64=102, Resulting Numbers: [102] 102,13 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
[ 74, 3, 33, 66 ]
88
[ "74-66=8", "33/3=11", "8*11=88" ]
Current State: 88:[74, 3, 33, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [3, 33, 8] Generated Node #2: [3, 33, 8] from Operation: 74-66=8 Current State: 88:[3, 33, 8], Operations: ['74-66=8'] Exploring Operation: 33/3=11, Resulting Numbers: [8, 11] Generated Node #3: [8, 11] from Operation: 33/3=11 Current State: 88:[8, 11], Operations: ['74-66=8', '33/3=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[74, 3, 33, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [3, 33, 8] Generated Node #0,0: 88:[3, 33, 8] Operation: 74-66=8 Moving to Node #0,0 Current State: 88:[3, 33, 8], Operations: ['74-66=8'] Exploring Operation: 33/3=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 88:[8, 11] Operation: 33/3=11 Moving to Node #0,0,0 Current State: 88:[8, 11], Operations: ['74-66=8', '33/3=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[74, 3, 33, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [3, 33, 8] Generated Node #0,0: 88:[3, 33, 8] Operation: 74-66=8 Moving to Node #0,0 Current State: 88:[3, 33, 8], Operations: ['74-66=8'] Exploring Operation: 33/3=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 88:[8, 11] Operation: 33/3=11 Moving to Node #0,0,0 Current State: 88:[8, 11], Operations: ['74-66=8', '33/3=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 10, 99, 86, 30 ]
53
[ "10+99=109", "86-30=56", "109-56=53" ]
Current State: 53:[10, 99, 86, 30], Operations: [] Exploring Operation: 10+99=109, Resulting Numbers: [86, 30, 109] Generated Node #2: [86, 30, 109] from Operation: 10+99=109 Current State: 53:[86, 30, 109], Operations: ['10+99=109'] Exploring Operation: 86-30=56, Resulting Numbers: [109, 56] Generated Node #3: [109, 56] from Operation: 86-30=56 Current State: 53:[109, 56], Operations: ['10+99=109', '86-30=56'] Exploring Operation: 109-56=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[10, 99, 86, 30], Operations: [] Exploring Operation: 10+30=40, Resulting Numbers: [99, 86, 40] Generated Node #0,0: 53:[99, 86, 40] Operation: 10+30=40 Exploring Operation: 99-30=69, Resulting Numbers: [10, 86, 69] Generated Node #0,1: 53:[10, 86, 69] Operation: 99-30=69 Exploring Operation: 86-10=76, Resulting Numbers: [99, 30, 76] Generated Node #0,2: 53:[99, 30, 76] Operation: 86-10=76 Exploring Operation: 99-10=89, Resulting Numbers: [86, 30, 89] Generated Node #0,3: 53:[86, 30, 89] Operation: 99-10=89 Moving to Node #0,0 Current State: 53:[99, 86, 40], Operations: ['10+30=40'] Exploring Operation: 86-40=46, Resulting Numbers: [99, 46] Generated Node #0,0,0: 53:[99, 46] Operation: 86-40=46 Exploring Operation: 99-86=13, Resulting Numbers: [40, 13] Generated Node #0,0,1: 53:[40, 13] Operation: 99-86=13 Exploring Operation: 99+40=139, Resulting Numbers: [86, 139] Generated Node #0,0,2: 53:[86, 139] Operation: 99+40=139 Exploring Operation: 99-40=59, Resulting Numbers: [86, 59] Generated Node #0,0,3: 53:[86, 59] Operation: 99-40=59 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[86, 59], Operations: ['10+30=40', '99-40=59'] Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 86+59=145, Resulting Numbers: [145] 145,53 unequal: No Solution Exploring Operation: 86*59=5074, Resulting Numbers: [5074] 5074,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[99, 46], Operations: ['10+30=40', '86-40=46'] Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[10, 99, 86, 30], Operations: [] Exploring Operation: 10+30=40, Resulting Numbers: [99, 86, 40] Generated Node #0,0: 53:[99, 86, 40] Operation: 10+30=40 Moving to Node #0,0 Current State: 53:[99, 86, 40], Operations: ['10+30=40'] Exploring Operation: 86-40=46, Resulting Numbers: [99, 46] Generated Node #0,0,0: 53:[99, 46] Operation: 86-40=46 Moving to Node #0,0,0 Current State: 53:[99, 46], Operations: ['10+30=40', '86-40=46'] Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 76, 36, 84, 8 ]
61
[ "36+84=120", "120/8=15", "76-15=61" ]
Current State: 61:[76, 36, 84, 8], Operations: [] Exploring Operation: 36+84=120, Resulting Numbers: [76, 8, 120] Generated Node #2: [76, 8, 120] from Operation: 36+84=120 Current State: 61:[76, 8, 120], Operations: ['36+84=120'] Exploring Operation: 120/8=15, Resulting Numbers: [76, 15] Generated Node #3: [76, 15] from Operation: 120/8=15 Current State: 61:[76, 15], Operations: ['36+84=120', '120/8=15'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[76, 36, 84, 8], Operations: [] Exploring Operation: 76-8=68, Resulting Numbers: [36, 84, 68] Generated Node #0,0: 61:[36, 84, 68] Operation: 76-8=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[36, 84, 68], Operations: ['76-8=68'] Exploring Operation: 84-36=48, Resulting Numbers: [68, 48] Generated Node #0,0,0: 61:[68, 48] Operation: 84-36=48 Moving to Node #0,0,0 Current State: 61:[68, 48], Operations: ['76-8=68', '84-36=48'] Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 20, 20, 64, 68 ]
68
[ "20-20=0", "64*0=0", "68+0=68" ]
Current State: 68:[20, 20, 64, 68], Operations: [] Exploring Operation: 20-20=0, Resulting Numbers: [64, 68, 0] Generated Node #2: [64, 68, 0] from Operation: 20-20=0 Current State: 68:[64, 68, 0], Operations: ['20-20=0'] Exploring Operation: 64*0=0, Resulting Numbers: [68, 0] Generated Node #3: [68, 0] from Operation: 64*0=0 Current State: 68:[68, 0], Operations: ['20-20=0', '64*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[20, 20, 64, 68], Operations: [] Exploring Operation: 20/20=1, Resulting Numbers: [64, 68, 1] Generated Node #0,0: 68:[64, 68, 1] Operation: 20/20=1 Moving to Node #0,0 Current State: 68:[64, 68, 1], Operations: ['20/20=1'] Exploring Operation: 68-64=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 68:[1, 4] Operation: 68-64=4 Moving to Node #0,0,0 Current State: 68:[1, 4], Operations: ['20/20=1', '68-64=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 84, 69, 95, 28 ]
42
[ "95-69=26", "28-26=2", "84/2=42" ]
Current State: 42:[84, 69, 95, 28], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [84, 28, 26] Generated Node #2: [84, 28, 26] from Operation: 95-69=26 Current State: 42:[84, 28, 26], Operations: ['95-69=26'] Exploring Operation: 28-26=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 28-26=2 Current State: 42:[84, 2], Operations: ['95-69=26', '28-26=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[84, 69, 95, 28], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [84, 28, 26] Generated Node #0,0: 42:[84, 28, 26] Operation: 95-69=26 Exploring Operation: 95-84=11, Resulting Numbers: [69, 28, 11] Generated Node #0,1: 42:[69, 28, 11] Operation: 95-84=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[69, 28, 11], Operations: ['95-84=11'] Exploring Operation: 69-11=58, Resulting Numbers: [28, 58] Generated Node #0,1,0: 42:[28, 58] Operation: 69-11=58 Exploring Operation: 69-28=41, Resulting Numbers: [11, 41] Generated Node #0,1,1: 42:[11, 41] Operation: 69-28=41 Moving to Node #0,1,1 Current State: 42:[11, 41], Operations: ['95-84=11', '69-28=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[28, 58], Operations: ['95-84=11', '69-11=58'] Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 28+58=86, Resulting Numbers: [86] 86,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[84, 28, 26], Operations: ['95-69=26'] Exploring Operation: 84/28=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 42:[26, 3] Operation: 84/28=3 Exploring Operation: 84-28=56, Resulting Numbers: [26, 56] Generated Node #0,0,1: 42:[26, 56] Operation: 84-28=56 Moving to Node #0,0,0 Current State: 42:[26, 3], Operations: ['95-69=26', '84/28=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[26, 56], Operations: ['95-69=26', '84-28=56'] Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,42 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
[ 68, 8, 36, 7 ]
72
[ "36-8=28", "28/7=4", "68+4=72" ]
Current State: 72:[68, 8, 36, 7], Operations: [] Exploring Operation: 36-8=28, Resulting Numbers: [68, 7, 28] Generated Node #2: [68, 7, 28] from Operation: 36-8=28 Current State: 72:[68, 7, 28], Operations: ['36-8=28'] Exploring Operation: 28/7=4, Resulting Numbers: [68, 4] Generated Node #3: [68, 4] from Operation: 28/7=4 Current State: 72:[68, 4], Operations: ['36-8=28', '28/7=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[68, 8, 36, 7], Operations: [] Exploring Operation: 68+8=76, Resulting Numbers: [36, 7, 76] Generated Node #0,0: 72:[36, 7, 76] Operation: 68+8=76 Exploring Operation: 68+7=75, Resulting Numbers: [8, 36, 75] Generated Node #0,1: 72:[8, 36, 75] Operation: 68+7=75 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[8, 36, 75], Operations: ['68+7=75'] Exploring Operation: 75-8=67, Resulting Numbers: [36, 67] Generated Node #0,1,0: 72:[36, 67] Operation: 75-8=67 Exploring Operation: 75-36=39, Resulting Numbers: [8, 39] Generated Node #0,1,1: 72:[8, 39] Operation: 75-36=39 Moving to Node #0,1,1 Current State: 72:[8, 39], Operations: ['68+7=75', '75-36=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[36, 67], Operations: ['68+7=75', '75-8=67'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[36, 7, 76], Operations: ['68+8=76'] Exploring Operation: 76-7=69, Resulting Numbers: [36, 69] Generated Node #0,0,0: 72:[36, 69] Operation: 76-7=69 Exploring Operation: 76-36=40, Resulting Numbers: [7, 40] Generated Node #0,0,1: 72:[7, 40] Operation: 76-36=40 Moving to Node #0,0,0 Current State: 72:[36, 69], Operations: ['68+8=76', '76-7=69'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[7, 40], Operations: ['68+8=76', '76-36=40'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 43, 70, 34, 48 ]
62
[ "43*70=3010", "3010-34=2976", "2976/48=62" ]
Current State: 62:[43, 70, 34, 48], Operations: [] Exploring Operation: 43*70=3010, Resulting Numbers: [34, 48, 3010] Generated Node #2: [34, 48, 3010] from Operation: 43*70=3010 Current State: 62:[34, 48, 3010], Operations: ['43*70=3010'] Exploring Operation: 3010-34=2976, Resulting Numbers: [48, 2976] Generated Node #3: [48, 2976] from Operation: 3010-34=2976 Current State: 62:[48, 2976], Operations: ['43*70=3010', '3010-34=2976'] Exploring Operation: 2976/48=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[43, 70, 34, 48], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [70, 34, 5] Generated Node #0,0: 62:[70, 34, 5] Operation: 48-43=5 Exploring Operation: 70-43=27, Resulting Numbers: [34, 48, 27] Generated Node #0,1: 62:[34, 48, 27] Operation: 70-43=27 Exploring Operation: 70-48=22, Resulting Numbers: [43, 34, 22] Generated Node #0,2: 62:[43, 34, 22] Operation: 70-48=22 Moving to Node #0,0 Current State: 62:[70, 34, 5], Operations: ['48-43=5'] Exploring Operation: 70-34=36, Resulting Numbers: [5, 36] Generated Node #0,0,0: 62:[5, 36] Operation: 70-34=36 Exploring Operation: 34-5=29, Resulting Numbers: [70, 29] Generated Node #0,0,1: 62:[70, 29] Operation: 34-5=29 Exploring Operation: 70-5=65, Resulting Numbers: [34, 65] Generated Node #0,0,2: 62:[34, 65] Operation: 70-5=65 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[34, 65], Operations: ['48-43=5', '70-5=65'] Exploring Operation: 34+65=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 34*65=2210, Resulting Numbers: [2210] 2210,62 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[5, 36], Operations: ['48-43=5', '70-34=36'] Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,62 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[70, 29], Operations: ['48-43=5', '34-5=29'] Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,62 unequal: No Solution Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,62 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: 62:[34, 48, 27], Operations: ['70-43=27'] Exploring Operation: 48-27=21, Resulting Numbers: [34, 21] Generated Node #0,1,0: 62:[34, 21] Operation: 48-27=21 Exploring Operation: 34+27=61, Resulting Numbers: [48, 61] Generated Node #0,1,1: 62:[48, 61] Operation: 34+27=61 Exploring Operation: 48-34=14, Resulting Numbers: [27, 14] Generated Node #0,1,2: 62:[27, 14] Operation: 48-34=14 Moving to Node #0,2 Current State: 62:[43, 34, 22], Operations: ['70-48=22'] Exploring Operation: 43-22=21, Resulting Numbers: [34, 21] Generated Node #0,2,0: 62:[34, 21] Operation: 43-22=21 Exploring Operation: 43+22=65, Resulting Numbers: [34, 65] Generated Node #0,2,1: 62:[34, 65] Operation: 43+22=65 Exploring Operation: 43-34=9, Resulting Numbers: [22, 9] Generated Node #0,2,2: 62:[22, 9] Operation: 43-34=9 Moving to Node #0,2,1 Current State: 62:[34, 65], Operations: ['70-48=22', '43+22=65'] Exploring Operation: 34+65=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 34*65=2210, Resulting Numbers: [2210] 2210,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[34, 21], Operations: ['70-43=27', '48-27=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,62 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[34, 21], Operations: ['70-48=22', '43-22=21'] Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,62 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[48, 61], Operations: ['70-43=27', '34+27=61'] Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,62 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,62 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[22, 9], Operations: ['70-48=22', '43-34=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,62 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[27, 14], Operations: ['70-43=27', '48-34=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,62 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 29, 95, 58, 57 ]
49
[ "95-29=66", "58+57=115", "115-66=49" ]
Current State: 49:[29, 95, 58, 57], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [58, 57, 66] Generated Node #2: [58, 57, 66] from Operation: 95-29=66 Current State: 49:[58, 57, 66], Operations: ['95-29=66'] Exploring Operation: 58+57=115, Resulting Numbers: [66, 115] Generated Node #3: [66, 115] from Operation: 58+57=115 Current State: 49:[66, 115], Operations: ['95-29=66', '58+57=115'] Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[29, 95, 58, 57], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [58, 57, 66] Generated Node #0,0: 49:[58, 57, 66] Operation: 95-29=66 Moving to Node #0,0 Current State: 49:[58, 57, 66], Operations: ['95-29=66'] Exploring Operation: 66-58=8, Resulting Numbers: [57, 8] Generated Node #0,0,0: 49:[57, 8] Operation: 66-58=8 Moving to Node #0,0,0 Current State: 49:[57, 8], Operations: ['95-29=66', '66-58=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[29, 95, 58, 57], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [58, 57, 66] Generated Node #0,0: 49:[58, 57, 66] Operation: 95-29=66 Moving to Node #0,0 Current State: 49:[58, 57, 66], Operations: ['95-29=66'] Exploring Operation: 66-58=8, Resulting Numbers: [57, 8] Generated Node #0,0,0: 49:[57, 8] Operation: 66-58=8 Moving to Node #0,0,0 Current State: 49:[57, 8], Operations: ['95-29=66', '66-58=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 55, 6, 88, 45 ]
66
[ "88*45=3960", "3960/55=72", "72-6=66" ]
Current State: 66:[55, 6, 88, 45], Operations: [] Exploring Operation: 88*45=3960, Resulting Numbers: [55, 6, 3960] Generated Node #2: [55, 6, 3960] from Operation: 88*45=3960 Current State: 66:[55, 6, 3960], Operations: ['88*45=3960'] Exploring Operation: 3960/55=72, Resulting Numbers: [6, 72] Generated Node #3: [6, 72] from Operation: 3960/55=72 Current State: 66:[6, 72], Operations: ['88*45=3960', '3960/55=72'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[55, 6, 88, 45], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [6, 45, 33] Generated Node #0,0: 66:[6, 45, 33] Operation: 88-55=33 Exploring Operation: 55-45=10, Resulting Numbers: [6, 88, 10] Generated Node #0,1: 66:[6, 88, 10] Operation: 55-45=10 Exploring Operation: 88-45=43, Resulting Numbers: [55, 6, 43] Generated Node #0,2: 66:[55, 6, 43] Operation: 88-45=43 Moving to Node #0,0 Current State: 66:[6, 45, 33], Operations: ['88-55=33'] Exploring Operation: 45+33=78, Resulting Numbers: [6, 78] Generated Node #0,0,0: 66:[6, 78] Operation: 45+33=78 Exploring Operation: 45-33=12, Resulting Numbers: [6, 12] Generated Node #0,0,1: 66:[6, 12] Operation: 45-33=12 Exploring Operation: 45-6=39, Resulting Numbers: [33, 39] Generated Node #0,0,2: 66:[33, 39] Operation: 45-6=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[6, 12], Operations: ['88-55=33', '45-33=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,66 unequal: No Solution No 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: 66:[33, 39], Operations: ['88-55=33', '45-6=39'] Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,66 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,66 unequal: No Solution No 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: 66:[6, 78], Operations: ['88-55=33', '45+33=78'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,66 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,66 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: 66:[55, 6, 43], Operations: ['88-45=43'] Exploring Operation: 43-6=37, Resulting Numbers: [55, 37] Generated Node #0,2,0: 66:[55, 37] Operation: 43-6=37 Exploring Operation: 55-43=12, Resulting Numbers: [6, 12] Generated Node #0,2,1: 66:[6, 12] Operation: 55-43=12 Exploring Operation: 55+6=61, Resulting Numbers: [43, 61] Generated Node #0,2,2: 66:[43, 61] Operation: 55+6=61 Moving to Node #0,1 Current State: 66:[6, 88, 10], Operations: ['55-45=10'] Exploring Operation: 88-10=78, Resulting Numbers: [6, 78] Generated Node #0,1,0: 66:[6, 78] Operation: 88-10=78 Exploring Operation: 10-6=4, Resulting Numbers: [88, 4] Generated Node #0,1,1: 66:[88, 4] Operation: 10-6=4 Exploring Operation: 88-6=82, Resulting Numbers: [10, 82] Generated Node #0,1,2: 66:[10, 82] Operation: 88-6=82 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[6, 78], Operations: ['55-45=10', '88-10=78'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,66 unequal: No Solution No 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: 66:[10, 82], Operations: ['55-45=10', '88-6=82'] Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,66 unequal: No Solution Exploring Operation: 10+82=92, Resulting Numbers: [92] 92,66 unequal: No Solution Exploring Operation: 10*82=820, Resulting Numbers: [820] 820,66 unequal: No Solution No 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: 66:[88, 4], Operations: ['55-45=10', '10-6=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,66 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 66:[6, 12], Operations: ['88-45=43', '55-43=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[55, 37], Operations: ['88-45=43', '43-6=37'] Exploring Operation: 55*37=2035, Resulting Numbers: [2035] 2035,66 unequal: No Solution Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 55+37=92, Resulting Numbers: [92] 92,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[43, 61], Operations: ['88-45=43', '55+6=61'] Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 43*61=2623, Resulting Numbers: [2623] 2623,66 unequal: No Solution Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,66 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 22, 3, 24, 71 ]
77
[ "24-22=2", "3*2=6", "71+6=77" ]
Current State: 77:[22, 3, 24, 71], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [3, 71, 2] Generated Node #2: [3, 71, 2] from Operation: 24-22=2 Current State: 77:[3, 71, 2], Operations: ['24-22=2'] Exploring Operation: 3*2=6, Resulting Numbers: [71, 6] Generated Node #3: [71, 6] from Operation: 3*2=6 Current State: 77:[71, 6], Operations: ['24-22=2', '3*2=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[22, 3, 24, 71], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [3, 71, 2] Generated Node #0,0: 77:[3, 71, 2] Operation: 24-22=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[3, 71, 2], Operations: ['24-22=2'] Exploring Operation: 3*2=6, Resulting Numbers: [71, 6] Generated Node #0,0,0: 77:[71, 6] Operation: 3*2=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[71, 6], Operations: ['24-22=2', '3*2=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[22, 3, 24, 71], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [3, 71, 2] Generated Node #0,0: 77:[3, 71, 2] Operation: 24-22=2 Moving to Node #0,0 Current State: 77:[3, 71, 2], Operations: ['24-22=2'] Exploring Operation: 3*2=6, Resulting Numbers: [71, 6] Generated Node #0,0,0: 77:[71, 6] Operation: 3*2=6 Moving to Node #0,0,0 Current State: 77:[71, 6], Operations: ['24-22=2', '3*2=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 2, 72, 93, 85 ]
56
[ "93-85=8", "2*8=16", "72-16=56" ]
Current State: 56:[2, 72, 93, 85], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [2, 72, 8] Generated Node #2: [2, 72, 8] from Operation: 93-85=8 Current State: 56:[2, 72, 8], Operations: ['93-85=8'] Exploring Operation: 2*8=16, Resulting Numbers: [72, 16] Generated Node #3: [72, 16] from Operation: 2*8=16 Current State: 56:[72, 16], Operations: ['93-85=8', '2*8=16'] Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[2, 72, 93, 85], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [2, 72, 8] Generated Node #0,0: 56:[2, 72, 8] Operation: 93-85=8 Moving to Node #0,0 Current State: 56:[2, 72, 8], Operations: ['93-85=8'] Exploring Operation: 72/8=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 56:[2, 9] Operation: 72/8=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[2, 9], Operations: ['93-85=8', '72/8=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,56 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
[ 83, 17, 5, 20 ]
98
[ "20-17=3", "5*3=15", "83+15=98" ]
Current State: 98:[83, 17, 5, 20], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [83, 5, 3] Generated Node #2: [83, 5, 3] from Operation: 20-17=3 Current State: 98:[83, 5, 3], Operations: ['20-17=3'] Exploring Operation: 5*3=15, Resulting Numbers: [83, 15] Generated Node #3: [83, 15] from Operation: 5*3=15 Current State: 98:[83, 15], Operations: ['20-17=3', '5*3=15'] Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[83, 17, 5, 20], Operations: [] Exploring Operation: 83-20=63, Resulting Numbers: [17, 5, 63] Generated Node #0,0: 98:[17, 5, 63] Operation: 83-20=63 Exploring Operation: 83+5=88, Resulting Numbers: [17, 20, 88] Generated Node #0,1: 98:[17, 20, 88] Operation: 83+5=88 Exploring Operation: 83+17=100, Resulting Numbers: [5, 20, 100] Generated Node #0,2: 98:[5, 20, 100] Operation: 83+17=100 Exploring Operation: 20-17=3, Resulting Numbers: [83, 5, 3] Generated Node #0,3: 98:[83, 5, 3] Operation: 20-17=3 Exploring Operation: 83+20=103, Resulting Numbers: [17, 5, 103] Generated Node #0,4: 98:[17, 5, 103] Operation: 83+20=103 Moving to Node #0,2 Current State: 98:[5, 20, 100], Operations: ['83+17=100'] Exploring Operation: 20-5=15, Resulting Numbers: [100, 15] Generated Node #0,2,0: 98:[100, 15] Operation: 20-5=15 Exploring Operation: 5*20=100, Resulting Numbers: [100, 100] Generated Node #0,2,1: 98:[100, 100] Operation: 5*20=100 Exploring Operation: 100-5=95, Resulting Numbers: [20, 95] Generated Node #0,2,2: 98:[20, 95] Operation: 100-5=95 Exploring Operation: 20/5=4, Resulting Numbers: [100, 4] Generated Node #0,2,3: 98:[100, 4] Operation: 20/5=4 Exploring Operation: 100/20=5, Resulting Numbers: [5, 5] Generated Node #0,2,4: 98:[5, 5] Operation: 100/20=5 Moving to Node #0,4 Current State: 98:[17, 5, 103], Operations: ['83+20=103'] Exploring Operation: 17-5=12, Resulting Numbers: [103, 12] Generated Node #0,4,0: 98:[103, 12] Operation: 17-5=12 Exploring Operation: 17+5=22, Resulting Numbers: [103, 22] Generated Node #0,4,1: 98:[103, 22] Operation: 17+5=22 Exploring Operation: 5+103=108, Resulting Numbers: [17, 108] Generated Node #0,4,2: 98:[17, 108] Operation: 5+103=108 Exploring Operation: 103-17=86, Resulting Numbers: [5, 86] Generated Node #0,4,3: 98:[5, 86] Operation: 103-17=86 Exploring Operation: 103-5=98, Resulting Numbers: [17, 98] Generated Node #0,4,4: 98:[17, 98] Operation: 103-5=98 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 98:[17, 98], Operations: ['83+20=103', '103-5=98'] Exploring Operation: 17*98=1666, Resulting Numbers: [1666] 1666,98 unequal: No Solution Exploring Operation: 17+98=115, Resulting Numbers: [115] 115,98 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,98 unequal: No Solution No 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: 98:[103, 12], Operations: ['83+20=103', '17-5=12'] Exploring Operation: 103-12=91, Resulting Numbers: [91] 91,98 unequal: No Solution Exploring Operation: 103+12=115, Resulting Numbers: [115] 115,98 unequal: No Solution Exploring Operation: 103*12=1236, Resulting Numbers: [1236] 1236,98 unequal: No Solution No 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: 98:[103, 22], Operations: ['83+20=103', '17+5=22'] Exploring Operation: 103*22=2266, Resulting Numbers: [2266] 2266,98 unequal: No Solution Exploring Operation: 103+22=125, Resulting Numbers: [125] 125,98 unequal: No Solution Exploring Operation: 103-22=81, Resulting Numbers: [81] 81,98 unequal: No Solution No 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: 98:[17, 108], Operations: ['83+20=103', '5+103=108'] Exploring Operation: 108-17=91, Resulting Numbers: [91] 91,98 unequal: No Solution Exploring Operation: 17*108=1836, Resulting Numbers: [1836] 1836,98 unequal: No Solution Exploring Operation: 17+108=125, Resulting Numbers: [125] 125,98 unequal: No Solution No 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: 98:[5, 86], Operations: ['83+20=103', '103-17=86'] Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,98 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,98 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,98 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: 98:[83, 5, 3], Operations: ['20-17=3'] Exploring Operation: 5*3=15, Resulting Numbers: [83, 15] Generated Node #0,3,0: 98:[83, 15] Operation: 5*3=15 Exploring Operation: 5+3=8, Resulting Numbers: [83, 8] Generated Node #0,3,1: 98:[83, 8] Operation: 5+3=8 Exploring Operation: 83+5=88, Resulting Numbers: [3, 88] Generated Node #0,3,2: 98:[3, 88] Operation: 83+5=88 Exploring Operation: 5-3=2, Resulting Numbers: [83, 2] Generated Node #0,3,3: 98:[83, 2] Operation: 5-3=2 Exploring Operation: 83+3=86, Resulting Numbers: [5, 86] Generated Node #0,3,4: 98:[5, 86] Operation: 83+3=86 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 98:[3, 88], Operations: ['20-17=3', '83+5=88'] Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,98 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,98 unequal: No Solution Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,98 unequal: No Solution No 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: 98:[5, 86], Operations: ['20-17=3', '83+3=86'] Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,98 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,98 unequal: No Solution No 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: 98:[83, 2], Operations: ['20-17=3', '5-3=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,98 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,98 unequal: No Solution No 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: 98:[83, 15], Operations: ['20-17=3', '5*3=15'] Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[83, 17, 5, 20], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [83, 5, 3] Generated Node #0,3: 98:[83, 5, 3] Operation: 20-17=3 Moving to Node #0,3 Current State: 98:[83, 5, 3], Operations: ['20-17=3'] Exploring Operation: 5*3=15, Resulting Numbers: [83, 15] Generated Node #0,3,0: 98:[83, 15] Operation: 5*3=15 Moving to Node #0,3,0 Current State: 98:[83, 15], Operations: ['20-17=3', '5*3=15'] Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
sum_heuristic
[ 78, 26, 14, 32 ]
49
[ "78/26=3", "14+32=46", "3+46=49" ]
Current State: 49:[78, 26, 14, 32], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [14, 32, 3] Generated Node #2: [14, 32, 3] from Operation: 78/26=3 Current State: 49:[14, 32, 3], Operations: ['78/26=3'] Exploring Operation: 14+32=46, Resulting Numbers: [3, 46] Generated Node #3: [3, 46] from Operation: 14+32=46 Current State: 49:[3, 46], Operations: ['78/26=3', '14+32=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[78, 26, 14, 32], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [14, 32, 3] Generated Node #0,0: 49:[14, 32, 3] Operation: 78/26=3 Exploring Operation: 32-26=6, Resulting Numbers: [78, 14, 6] Generated Node #0,1: 49:[78, 14, 6] Operation: 32-26=6 Exploring Operation: 78-32=46, Resulting Numbers: [26, 14, 46] Generated Node #0,2: 49:[26, 14, 46] Operation: 78-32=46 Exploring Operation: 78-26=52, Resulting Numbers: [14, 32, 52] Generated Node #0,3: 49:[14, 32, 52] Operation: 78-26=52 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[14, 32, 52], Operations: ['78-26=52'] Exploring Operation: 52-32=20, Resulting Numbers: [14, 20] Generated Node #0,3,0: 49:[14, 20] Operation: 52-32=20 Exploring Operation: 32-14=18, Resulting Numbers: [52, 18] Generated Node #0,3,1: 49:[52, 18] Operation: 32-14=18 Exploring Operation: 52-14=38, Resulting Numbers: [32, 38] Generated Node #0,3,2: 49:[32, 38] Operation: 52-14=38 Exploring Operation: 14+32=46, Resulting Numbers: [52, 46] Generated Node #0,3,3: 49:[52, 46] Operation: 14+32=46 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[52, 46], Operations: ['78-26=52', '14+32=46'] Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,49 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[52, 18], Operations: ['78-26=52', '32-14=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,49 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[14, 20], Operations: ['78-26=52', '52-32=20'] Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,49 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[32, 38], Operations: ['78-26=52', '52-14=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,49 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[14, 32, 3], Operations: ['78/26=3'] Exploring Operation: 14+32=46, Resulting Numbers: [3, 46] Generated Node #0,0,0: 49:[3, 46] Operation: 14+32=46 Exploring Operation: 32-14=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 49:[3, 18] Operation: 32-14=18 Exploring Operation: 32+3=35, Resulting Numbers: [14, 35] Generated Node #0,0,2: 49:[14, 35] Operation: 32+3=35 Exploring Operation: 14-3=11, Resulting Numbers: [32, 11] Generated Node #0,0,3: 49:[32, 11] Operation: 14-3=11 Moving to Node #0,0,0 Current State: 49:[3, 46], Operations: ['78/26=3', '14+32=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,49 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[78, 26, 14, 32], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [14, 32, 3] Generated Node #0,0: 49:[14, 32, 3] Operation: 78/26=3 Moving to Node #0,0 Current State: 49:[14, 32, 3], Operations: ['78/26=3'] Exploring Operation: 14+32=46, Resulting Numbers: [3, 46] Generated Node #0,0,0: 49:[3, 46] Operation: 14+32=46 Moving to Node #0,0,0 Current State: 49:[3, 46], Operations: ['78/26=3', '14+32=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 19, 64, 76, 36 ]
73
[ "76/19=4", "36/4=9", "64+9=73" ]
Current State: 73:[19, 64, 76, 36], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [64, 36, 4] Generated Node #2: [64, 36, 4] from Operation: 76/19=4 Current State: 73:[64, 36, 4], Operations: ['76/19=4'] Exploring Operation: 36/4=9, Resulting Numbers: [64, 9] Generated Node #3: [64, 9] from Operation: 36/4=9 Current State: 73:[64, 9], Operations: ['76/19=4', '36/4=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[19, 64, 76, 36], Operations: [] Exploring Operation: 64-19=45, Resulting Numbers: [76, 36, 45] Generated Node #0,0: 73:[76, 36, 45] Operation: 64-19=45 Exploring Operation: 19+64=83, Resulting Numbers: [76, 36, 83] Generated Node #0,1: 73:[76, 36, 83] Operation: 19+64=83 Exploring Operation: 76-19=57, Resulting Numbers: [64, 36, 57] Generated Node #0,2: 73:[64, 36, 57] Operation: 76-19=57 Exploring Operation: 19+36=55, Resulting Numbers: [64, 76, 55] Generated Node #0,3: 73:[64, 76, 55] Operation: 19+36=55 Moving to Node #0,3 Current State: 73:[64, 76, 55], Operations: ['19+36=55'] Exploring Operation: 76+55=131, Resulting Numbers: [64, 131] Generated Node #0,3,0: 73:[64, 131] Operation: 76+55=131 Exploring Operation: 76-55=21, Resulting Numbers: [64, 21] Generated Node #0,3,1: 73:[64, 21] Operation: 76-55=21 Exploring Operation: 64+55=119, Resulting Numbers: [76, 119] Generated Node #0,3,2: 73:[76, 119] Operation: 64+55=119 Exploring Operation: 64-55=9, Resulting Numbers: [76, 9] Generated Node #0,3,3: 73:[76, 9] Operation: 64-55=9 Moving to Node #0,1 Current State: 73:[76, 36, 83], Operations: ['19+64=83'] Exploring Operation: 76+36=112, Resulting Numbers: [83, 112] Generated Node #0,1,0: 73:[83, 112] Operation: 76+36=112 Exploring Operation: 83-36=47, Resulting Numbers: [76, 47] Generated Node #0,1,1: 73:[76, 47] Operation: 83-36=47 Exploring Operation: 36+83=119, Resulting Numbers: [76, 119] Generated Node #0,1,2: 73:[76, 119] Operation: 36+83=119 Exploring Operation: 76-36=40, Resulting Numbers: [83, 40] Generated Node #0,1,3: 73:[83, 40] Operation: 76-36=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[76, 47], Operations: ['19+64=83', '83-36=47'] Exploring Operation: 76+47=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 76*47=3572, Resulting Numbers: [3572] 3572,73 unequal: No Solution Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,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,3 Current State: 73:[83, 40], Operations: ['19+64=83', '76-36=40'] Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,73 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[83, 112], Operations: ['19+64=83', '76+36=112'] Exploring Operation: 112-83=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 83+112=195, Resulting Numbers: [195] 195,73 unequal: No Solution Exploring Operation: 83*112=9296, Resulting Numbers: [9296] 9296,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[76, 119], Operations: ['19+64=83', '36+83=119'] Exploring Operation: 76+119=195, Resulting Numbers: [195] 195,73 unequal: No Solution Exploring Operation: 119-76=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 76*119=9044, Resulting Numbers: [9044] 9044,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[64, 36, 57], Operations: ['76-19=57'] Exploring Operation: 64-36=28, Resulting Numbers: [57, 28] Generated Node #0,2,0: 73:[57, 28] Operation: 64-36=28 Exploring Operation: 57-36=21, Resulting Numbers: [64, 21] Generated Node #0,2,1: 73:[64, 21] Operation: 57-36=21 Exploring Operation: 64+36=100, Resulting Numbers: [57, 100] Generated Node #0,2,2: 73:[57, 100] Operation: 64+36=100 Exploring Operation: 36+57=93, Resulting Numbers: [64, 93] Generated Node #0,2,3: 73:[64, 93] Operation: 36+57=93 Moving to Node #0,0 Current State: 73:[76, 36, 45], Operations: ['64-19=45'] Exploring Operation: 45-36=9, Resulting Numbers: [76, 9] Generated Node #0,0,0: 73:[76, 9] Operation: 45-36=9 Exploring Operation: 76-36=40, Resulting Numbers: [45, 40] Generated Node #0,0,1: 73:[45, 40] Operation: 76-36=40 Exploring Operation: 36+45=81, Resulting Numbers: [76, 81] Generated Node #0,0,2: 73:[76, 81] Operation: 36+45=81 Exploring Operation: 76+36=112, Resulting Numbers: [45, 112] Generated Node #0,0,3: 73:[45, 112] Operation: 76+36=112 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[76, 81], Operations: ['64-19=45', '36+45=81'] Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 76*81=6156, Resulting Numbers: [6156] 6156,73 unequal: No Solution Exploring Operation: 76+81=157, Resulting Numbers: [157] 157,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[45, 40], Operations: ['64-19=45', '76-36=40'] Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,73 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,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:[76, 9], Operations: ['64-19=45', '45-36=9'] Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,73 unequal: No Solution Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,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,3 Current State: 73:[45, 112], Operations: ['64-19=45', '76+36=112'] Exploring Operation: 45+112=157, Resulting Numbers: [157] 157,73 unequal: No Solution Exploring Operation: 45*112=5040, Resulting Numbers: [5040] 5040,73 unequal: No Solution Exploring Operation: 112-45=67, Resulting Numbers: [67] 67,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 73:[64, 93], Operations: ['76-19=57', '36+57=93'] Exploring Operation: 64*93=5952, Resulting Numbers: [5952] 5952,73 unequal: No Solution Exploring Operation: 64+93=157, Resulting Numbers: [157] 157,73 unequal: No Solution Exploring Operation: 93-64=29, Resulting Numbers: [29] 29,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[57, 100], Operations: ['76-19=57', '64+36=100'] Exploring Operation: 57*100=5700, Resulting Numbers: [5700] 5700,73 unequal: No Solution Exploring Operation: 100-57=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 57+100=157, Resulting Numbers: [157] 157,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[76, 119], Operations: ['19+36=55', '64+55=119'] Exploring Operation: 119-76=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 76*119=9044, Resulting Numbers: [9044] 9044,73 unequal: No Solution Exploring Operation: 76+119=195, Resulting Numbers: [195] 195,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[57, 28], Operations: ['76-19=57', '64-36=28'] Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 57*28=1596, Resulting Numbers: [1596] 1596,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[64, 21], Operations: ['19+36=55', '76-55=21'] Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,73 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[64, 21], Operations: ['76-19=57', '57-36=21'] Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,73 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[76, 9], Operations: ['19+36=55', '64-55=9'] Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,73 unequal: No Solution Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[64, 131], Operations: ['19+36=55', '76+55=131'] Exploring Operation: 131-64=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 64+131=195, Resulting Numbers: [195] 195,73 unequal: No Solution Exploring Operation: 64*131=8384, Resulting Numbers: [8384] 8384,73 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 8, 78, 62, 45 ]
37
[ "78-8=70", "62+45=107", "107-70=37" ]
Current State: 37:[8, 78, 62, 45], Operations: [] Exploring Operation: 78-8=70, Resulting Numbers: [62, 45, 70] Generated Node #2: [62, 45, 70] from Operation: 78-8=70 Current State: 37:[62, 45, 70], Operations: ['78-8=70'] Exploring Operation: 62+45=107, Resulting Numbers: [70, 107] Generated Node #3: [70, 107] from Operation: 62+45=107 Current State: 37:[70, 107], Operations: ['78-8=70', '62+45=107'] Exploring Operation: 107-70=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[8, 78, 62, 45], Operations: [] Exploring Operation: 78-62=16, Resulting Numbers: [8, 45, 16] Generated Node #0,0: 37:[8, 45, 16] Operation: 78-62=16 Moving to Node #0,0 Current State: 37:[8, 45, 16], Operations: ['78-62=16'] Exploring Operation: 45-8=37, Resulting Numbers: [16, 37] Generated Node #0,0,0: 37:[16, 37] Operation: 45-8=37 Moving to Node #0,0,0 Current State: 37:[16, 37], Operations: ['78-62=16', '45-8=37'] Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,37 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 51, 57, 19, 74 ]
22
[ "74-57=17", "51/17=3", "19+3=22" ]
Current State: 22:[51, 57, 19, 74], Operations: [] Exploring Operation: 74-57=17, Resulting Numbers: [51, 19, 17] Generated Node #2: [51, 19, 17] from Operation: 74-57=17 Current State: 22:[51, 19, 17], Operations: ['74-57=17'] Exploring Operation: 51/17=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 51/17=3 Current State: 22:[19, 3], Operations: ['74-57=17', '51/17=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[51, 57, 19, 74], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [57, 19, 23] Generated Node #0,0: 22:[57, 19, 23] Operation: 74-51=23 Exploring Operation: 57-51=6, Resulting Numbers: [19, 74, 6] Generated Node #0,1: 22:[19, 74, 6] Operation: 57-51=6 Exploring Operation: 74-57=17, Resulting Numbers: [51, 19, 17] Generated Node #0,2: 22:[51, 19, 17] Operation: 74-57=17 Moving to Node #0,2 Current State: 22:[51, 19, 17], Operations: ['74-57=17'] Exploring Operation: 51/17=3, Resulting Numbers: [19, 3] Generated Node #0,2,0: 22:[19, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [19, 34] Generated Node #0,2,1: 22:[19, 34] Operation: 51-17=34 Exploring Operation: 51-19=32, Resulting Numbers: [17, 32] Generated Node #0,2,2: 22:[17, 32] Operation: 51-19=32 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[19, 3], Operations: ['74-57=17', '51/17=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[51, 57, 19, 74], Operations: [] Exploring Operation: 74-57=17, Resulting Numbers: [51, 19, 17] Generated Node #0,2: 22:[51, 19, 17] Operation: 74-57=17 Moving to Node #0,2 Current State: 22:[51, 19, 17], Operations: ['74-57=17'] Exploring Operation: 51/17=3, Resulting Numbers: [19, 3] Generated Node #0,2,0: 22:[19, 3] Operation: 51/17=3 Moving to Node #0,2,0 Current State: 22:[19, 3], Operations: ['74-57=17', '51/17=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 86, 68, 22, 34 ]
27
[ "86+68=154", "154/22=7", "34-7=27" ]
Current State: 27:[86, 68, 22, 34], Operations: [] Exploring Operation: 86+68=154, Resulting Numbers: [22, 34, 154] Generated Node #2: [22, 34, 154] from Operation: 86+68=154 Current State: 27:[22, 34, 154], Operations: ['86+68=154'] Exploring Operation: 154/22=7, Resulting Numbers: [34, 7] Generated Node #3: [34, 7] from Operation: 154/22=7 Current State: 27:[34, 7], Operations: ['86+68=154', '154/22=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[86, 68, 22, 34], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [86, 22, 2] Generated Node #0,0: 27:[86, 22, 2] Operation: 68/34=2 Exploring Operation: 86-34=52, Resulting Numbers: [68, 22, 52] Generated Node #0,1: 27:[68, 22, 52] Operation: 86-34=52 Exploring Operation: 86-68=18, Resulting Numbers: [22, 34, 18] Generated Node #0,2: 27:[22, 34, 18] Operation: 86-68=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[22, 34, 18], Operations: ['86-68=18'] Exploring Operation: 34-18=16, Resulting Numbers: [22, 16] Generated Node #0,2,0: 27:[22, 16] Operation: 34-18=16 Exploring Operation: 34-22=12, Resulting Numbers: [18, 12] Generated Node #0,2,1: 27:[18, 12] Operation: 34-22=12 Exploring Operation: 22-18=4, Resulting Numbers: [34, 4] Generated Node #0,2,2: 27:[34, 4] Operation: 22-18=4 Moving to Node #0,2,2 Current State: 27:[34, 4], Operations: ['86-68=18', '22-18=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[22, 16], Operations: ['86-68=18', '34-18=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,27 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[18, 12], Operations: ['86-68=18', '34-22=12'] Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,27 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[86, 22, 2], Operations: ['68/34=2'] Exploring Operation: 86/2=43, Resulting Numbers: [22, 43] Generated Node #0,0,0: 27:[22, 43] Operation: 86/2=43 Exploring Operation: 86-22=64, Resulting Numbers: [2, 64] Generated Node #0,0,1: 27:[2, 64] Operation: 86-22=64 Exploring Operation: 22/2=11, Resulting Numbers: [86, 11] Generated Node #0,0,2: 27:[86, 11] Operation: 22/2=11 Moving to Node #0,0,0 Current State: 27:[22, 43], Operations: ['68/34=2', '86/2=43'] Exploring Operation: 22*43=946, Resulting Numbers: [946] 946,27 unequal: No Solution Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[2, 64], Operations: ['68/34=2', '86-22=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,27 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[86, 11], Operations: ['68/34=2', '22/2=11'] Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,27 unequal: No Solution Exploring Operation: 86*11=946, Resulting Numbers: [946] 946,27 unequal: No Solution Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[68, 22, 52], Operations: ['86-34=52'] Exploring Operation: 52-22=30, Resulting Numbers: [68, 30] Generated Node #0,1,0: 27:[68, 30] Operation: 52-22=30 Exploring Operation: 68-52=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 27:[22, 16] Operation: 68-52=16 Exploring Operation: 68-22=46, Resulting Numbers: [52, 46] Generated Node #0,1,2: 27:[52, 46] Operation: 68-22=46 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[22, 16], Operations: ['86-34=52', '68-52=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,27 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,27 unequal: No Solution No 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: 27:[68, 30], Operations: ['86-34=52', '52-22=30'] Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,27 unequal: No Solution Exploring Operation: 68*30=2040, Resulting Numbers: [2040] 2040,27 unequal: No Solution No 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: 27:[52, 46], Operations: ['86-34=52', '68-22=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,27 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 20, 6, 71, 59 ]
48
[ "71-20=51", "59-51=8", "6*8=48" ]
Current State: 48:[20, 6, 71, 59], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [6, 59, 51] Generated Node #2: [6, 59, 51] from Operation: 71-20=51 Current State: 48:[6, 59, 51], Operations: ['71-20=51'] Exploring Operation: 59-51=8, Resulting Numbers: [6, 8] Generated Node #3: [6, 8] from Operation: 59-51=8 Current State: 48:[6, 8], Operations: ['71-20=51', '59-51=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[20, 6, 71, 59], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [6, 59, 51] Generated Node #0,0: 48:[6, 59, 51] Operation: 71-20=51 Exploring Operation: 71-59=12, Resulting Numbers: [20, 6, 12] Generated Node #0,1: 48:[20, 6, 12] Operation: 71-59=12 Exploring Operation: 59-20=39, Resulting Numbers: [6, 71, 39] Generated Node #0,2: 48:[6, 71, 39] Operation: 59-20=39 Moving to Node #0,1 Current State: 48:[20, 6, 12], Operations: ['71-59=12'] Exploring Operation: 20-12=8, Resulting Numbers: [6, 8] Generated Node #0,1,0: 48:[6, 8] Operation: 20-12=8 Exploring Operation: 20+6=26, Resulting Numbers: [12, 26] Generated Node #0,1,1: 48:[12, 26] Operation: 20+6=26 Exploring Operation: 20-6=14, Resulting Numbers: [12, 14] Generated Node #0,1,2: 48:[12, 14] Operation: 20-6=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[6, 8], Operations: ['71-59=12', '20-12=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[20, 6, 71, 59], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [20, 6, 12] Generated Node #0,1: 48:[20, 6, 12] Operation: 71-59=12 Moving to Node #0,1 Current State: 48:[20, 6, 12], Operations: ['71-59=12'] Exploring Operation: 20-12=8, Resulting Numbers: [6, 8] Generated Node #0,1,0: 48:[6, 8] Operation: 20-12=8 Moving to Node #0,1,0 Current State: 48:[6, 8], Operations: ['71-59=12', '20-12=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 7, 61, 74, 37 ]
31
[ "7+61=68", "74-37=37", "68-37=31" ]
Current State: 31:[7, 61, 74, 37], Operations: [] Exploring Operation: 7+61=68, Resulting Numbers: [74, 37, 68] Generated Node #2: [74, 37, 68] from Operation: 7+61=68 Current State: 31:[74, 37, 68], Operations: ['7+61=68'] Exploring Operation: 74-37=37, Resulting Numbers: [68, 37] Generated Node #3: [68, 37] from Operation: 74-37=37 Current State: 31:[68, 37], Operations: ['7+61=68', '74-37=37'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[7, 61, 74, 37], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [7, 37, 13] Generated Node #0,0: 31:[7, 37, 13] Operation: 74-61=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[7, 37, 13], Operations: ['74-61=13'] Exploring Operation: 7+13=20, Resulting Numbers: [37, 20] Generated Node #0,0,0: 31:[37, 20] Operation: 7+13=20 Moving to Node #0,0,0 Current State: 31:[37, 20], Operations: ['74-61=13', '7+13=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,31 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
[ 82, 26, 22, 13 ]
91
[ "82-26=56", "22+13=35", "56+35=91" ]
Current State: 91:[82, 26, 22, 13], Operations: [] Exploring Operation: 82-26=56, Resulting Numbers: [22, 13, 56] Generated Node #2: [22, 13, 56] from Operation: 82-26=56 Current State: 91:[22, 13, 56], Operations: ['82-26=56'] Exploring Operation: 22+13=35, Resulting Numbers: [56, 35] Generated Node #3: [56, 35] from Operation: 22+13=35 Current State: 91:[56, 35], Operations: ['82-26=56', '22+13=35'] Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[82, 26, 22, 13], Operations: [] Exploring Operation: 22-13=9, Resulting Numbers: [82, 26, 9] Generated Node #0,0: 91:[82, 26, 9] Operation: 22-13=9 Exploring Operation: 26/13=2, Resulting Numbers: [82, 22, 2] Generated Node #0,1: 91:[82, 22, 2] Operation: 26/13=2 Exploring Operation: 26-22=4, Resulting Numbers: [82, 13, 4] Generated Node #0,2: 91:[82, 13, 4] Operation: 26-22=4 Exploring Operation: 82+26=108, Resulting Numbers: [22, 13, 108] Generated Node #0,3: 91:[22, 13, 108] Operation: 82+26=108 Exploring Operation: 26-13=13, Resulting Numbers: [82, 22, 13] Generated Node #0,4: 91:[82, 22, 13] Operation: 26-13=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[82, 13, 4], Operations: ['26-22=4'] Exploring Operation: 13-4=9, Resulting Numbers: [82, 9] Generated Node #0,2,0: 91:[82, 9] Operation: 13-4=9 Exploring Operation: 82+13=95, Resulting Numbers: [4, 95] Generated Node #0,2,1: 91:[4, 95] Operation: 82+13=95 Exploring Operation: 82-4=78, Resulting Numbers: [13, 78] Generated Node #0,2,2: 91:[13, 78] Operation: 82-4=78 Exploring Operation: 13+4=17, Resulting Numbers: [82, 17] Generated Node #0,2,3: 91:[82, 17] Operation: 13+4=17 Exploring Operation: 82+4=86, Resulting Numbers: [13, 86] Generated Node #0,2,4: 91:[13, 86] Operation: 82+4=86 Moving to Node #0,2,4 Current State: 91:[13, 86], Operations: ['26-22=4', '82+4=86'] Exploring Operation: 13+86=99, Resulting Numbers: [99] 99,91 unequal: No Solution Exploring Operation: 13*86=1118, Resulting Numbers: [1118] 1118,91 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[4, 95], Operations: ['26-22=4', '82+13=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[82, 26, 22, 13], Operations: [] Exploring Operation: 26-22=4, Resulting Numbers: [82, 13, 4] Generated Node #0,2: 91:[82, 13, 4] Operation: 26-22=4 Moving to Node #0,2 Current State: 91:[82, 13, 4], Operations: ['26-22=4'] Exploring Operation: 82+13=95, Resulting Numbers: [4, 95] Generated Node #0,2,1: 91:[4, 95] Operation: 82+13=95 Moving to Node #0,2,1 Current State: 91:[4, 95], Operations: ['26-22=4', '82+13=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 14, 82, 3, 93 ]
53
[ "14*3=42", "93-82=11", "42+11=53" ]
Current State: 53:[14, 82, 3, 93], Operations: [] Exploring Operation: 14*3=42, Resulting Numbers: [82, 93, 42] Generated Node #2: [82, 93, 42] from Operation: 14*3=42 Current State: 53:[82, 93, 42], Operations: ['14*3=42'] Exploring Operation: 93-82=11, Resulting Numbers: [42, 11] Generated Node #3: [42, 11] from Operation: 93-82=11 Current State: 53:[42, 11], Operations: ['14*3=42', '93-82=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[14, 82, 3, 93], Operations: [] Exploring Operation: 14*3=42, Resulting Numbers: [82, 93, 42] Generated Node #0,0: 53:[82, 93, 42] Operation: 14*3=42 Exploring Operation: 14+3=17, Resulting Numbers: [82, 93, 17] Generated Node #0,1: 53:[82, 93, 17] Operation: 14+3=17 Exploring Operation: 93/3=31, Resulting Numbers: [14, 82, 31] Generated Node #0,2: 53:[14, 82, 31] Operation: 93/3=31 Exploring Operation: 82-14=68, Resulting Numbers: [3, 93, 68] Generated Node #0,3: 53:[3, 93, 68] Operation: 82-14=68 Moving to Node #0,0 Current State: 53:[82, 93, 42], Operations: ['14*3=42'] Exploring Operation: 82+42=124, Resulting Numbers: [93, 124] Generated Node #0,0,0: 53:[93, 124] Operation: 82+42=124 Exploring Operation: 93-82=11, Resulting Numbers: [42, 11] Generated Node #0,0,1: 53:[42, 11] Operation: 93-82=11 Exploring Operation: 82-42=40, Resulting Numbers: [93, 40] Generated Node #0,0,2: 53:[93, 40] Operation: 82-42=40 Exploring Operation: 93-42=51, Resulting Numbers: [82, 51] Generated Node #0,0,3: 53:[82, 51] Operation: 93-42=51 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[82, 51], Operations: ['14*3=42', '93-42=51'] Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 82*51=4182, Resulting Numbers: [4182] 4182,53 unequal: No Solution Exploring Operation: 82+51=133, Resulting Numbers: [133] 133,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[42, 11], Operations: ['14*3=42', '93-82=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[14, 82, 3, 93], Operations: [] Exploring Operation: 14*3=42, Resulting Numbers: [82, 93, 42] Generated Node #0,0: 53:[82, 93, 42] Operation: 14*3=42 Moving to Node #0,0 Current State: 53:[82, 93, 42], Operations: ['14*3=42'] Exploring Operation: 93-82=11, Resulting Numbers: [42, 11] Generated Node #0,0,1: 53:[42, 11] Operation: 93-82=11 Moving to Node #0,0,1 Current State: 53:[42, 11], Operations: ['14*3=42', '93-82=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 40, 76, 61, 75 ]
20
[ "40+76=116", "61+75=136", "136-116=20" ]
Current State: 20:[40, 76, 61, 75], Operations: [] Exploring Operation: 40+76=116, Resulting Numbers: [61, 75, 116] Generated Node #2: [61, 75, 116] from Operation: 40+76=116 Current State: 20:[61, 75, 116], Operations: ['40+76=116'] Exploring Operation: 61+75=136, Resulting Numbers: [116, 136] Generated Node #3: [116, 136] from Operation: 61+75=136 Current State: 20:[116, 136], Operations: ['40+76=116', '61+75=136'] Exploring Operation: 136-116=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[40, 76, 61, 75], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [40, 61, 1] Generated Node #0,0: 20:[40, 61, 1] Operation: 76-75=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[40, 61, 1], Operations: ['76-75=1'] Exploring Operation: 61-40=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 20:[1, 21] Operation: 61-40=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[1, 21], Operations: ['76-75=1', '61-40=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[40, 76, 61, 75], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [40, 61, 1] Generated Node #0,0: 20:[40, 61, 1] Operation: 76-75=1 Moving to Node #0,0 Current State: 20:[40, 61, 1], Operations: ['76-75=1'] Exploring Operation: 61-40=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 20:[1, 21] Operation: 61-40=21 Moving to Node #0,0,0 Current State: 20:[1, 21], Operations: ['76-75=1', '61-40=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 72, 25, 28, 45 ]
64
[ "72-25=47", "45-28=17", "47+17=64" ]
Current State: 64:[72, 25, 28, 45], Operations: [] Exploring Operation: 72-25=47, Resulting Numbers: [28, 45, 47] Generated Node #2: [28, 45, 47] from Operation: 72-25=47 Current State: 64:[28, 45, 47], Operations: ['72-25=47'] Exploring Operation: 45-28=17, Resulting Numbers: [47, 17] Generated Node #3: [47, 17] from Operation: 45-28=17 Current State: 64:[47, 17], Operations: ['72-25=47', '45-28=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[72, 25, 28, 45], Operations: [] Exploring Operation: 45-28=17, Resulting Numbers: [72, 25, 17] Generated Node #0,0: 64:[72, 25, 17] Operation: 45-28=17 Exploring Operation: 72-45=27, Resulting Numbers: [25, 28, 27] Generated Node #0,1: 64:[25, 28, 27] Operation: 72-45=27 Exploring Operation: 45-25=20, Resulting Numbers: [72, 28, 20] Generated Node #0,2: 64:[72, 28, 20] Operation: 45-25=20 Moving to Node #0,0 Current State: 64:[72, 25, 17], Operations: ['45-28=17'] Exploring Operation: 72-17=55, Resulting Numbers: [25, 55] Generated Node #0,0,0: 64:[25, 55] Operation: 72-17=55 Exploring Operation: 25-17=8, Resulting Numbers: [72, 8] Generated Node #0,0,1: 64:[72, 8] Operation: 25-17=8 Exploring Operation: 72-25=47, Resulting Numbers: [17, 47] Generated Node #0,0,2: 64:[17, 47] Operation: 72-25=47 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[72, 8], Operations: ['45-28=17', '25-17=8'] Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[72, 25, 28, 45], Operations: [] Exploring Operation: 45-28=17, Resulting Numbers: [72, 25, 17] Generated Node #0,0: 64:[72, 25, 17] Operation: 45-28=17 Moving to Node #0,0 Current State: 64:[72, 25, 17], Operations: ['45-28=17'] Exploring Operation: 25-17=8, Resulting Numbers: [72, 8] Generated Node #0,0,1: 64:[72, 8] Operation: 25-17=8 Moving to Node #0,0,1 Current State: 64:[72, 8], Operations: ['45-28=17', '25-17=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 43, 81, 54, 10 ]
80
[ "43+81=124", "54-10=44", "124-44=80" ]
Current State: 80:[43, 81, 54, 10], Operations: [] Exploring Operation: 43+81=124, Resulting Numbers: [54, 10, 124] Generated Node #2: [54, 10, 124] from Operation: 43+81=124 Current State: 80:[54, 10, 124], Operations: ['43+81=124'] Exploring Operation: 54-10=44, Resulting Numbers: [124, 44] Generated Node #3: [124, 44] from Operation: 54-10=44 Current State: 80:[124, 44], Operations: ['43+81=124', '54-10=44'] Exploring Operation: 124-44=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[43, 81, 54, 10], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [81, 10, 11] Generated Node #0,0: 80:[81, 10, 11] Operation: 54-43=11 Exploring Operation: 81-54=27, Resulting Numbers: [43, 10, 27] Generated Node #0,1: 80:[43, 10, 27] Operation: 81-54=27 Exploring Operation: 54-10=44, Resulting Numbers: [43, 81, 44] Generated Node #0,2: 80:[43, 81, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[81, 10, 11], Operations: ['54-43=11'] Exploring Operation: 10+11=21, Resulting Numbers: [81, 21] Generated Node #0,0,0: 80:[81, 21] Operation: 10+11=21 Exploring Operation: 11-10=1, Resulting Numbers: [81, 1] Generated Node #0,0,1: 80:[81, 1] Operation: 11-10=1 Exploring Operation: 81-10=71, Resulting Numbers: [11, 71] Generated Node #0,0,2: 80:[11, 71] Operation: 81-10=71 Moving to Node #0,0,0 Current State: 80:[81, 21], Operations: ['54-43=11', '10+11=21'] Exploring Operation: 81+21=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 81-21=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 81*21=1701, Resulting Numbers: [1701] 1701,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[81, 1], Operations: ['54-43=11', '11-10=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[43, 81, 54, 10], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [81, 10, 11] Generated Node #0,0: 80:[81, 10, 11] Operation: 54-43=11 Moving to Node #0,0 Current State: 80:[81, 10, 11], Operations: ['54-43=11'] Exploring Operation: 11-10=1, Resulting Numbers: [81, 1] Generated Node #0,0,1: 80:[81, 1] Operation: 11-10=1 Moving to Node #0,0,1 Current State: 80:[81, 1], Operations: ['54-43=11', '11-10=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 65, 50, 1, 78 ]
37
[ "65+50=115", "1*78=78", "115-78=37" ]
Current State: 37:[65, 50, 1, 78], Operations: [] Exploring Operation: 65+50=115, Resulting Numbers: [1, 78, 115] Generated Node #2: [1, 78, 115] from Operation: 65+50=115 Current State: 37:[1, 78, 115], Operations: ['65+50=115'] Exploring Operation: 1*78=78, Resulting Numbers: [115, 78] Generated Node #3: [115, 78] from Operation: 1*78=78 Current State: 37:[115, 78], Operations: ['65+50=115', '1*78=78'] Exploring Operation: 115-78=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[65, 50, 1, 78], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [50, 1, 13] Generated Node #0,0: 37:[50, 1, 13] Operation: 78-65=13 Exploring Operation: 78-50=28, Resulting Numbers: [65, 1, 28] Generated Node #0,1: 37:[65, 1, 28] Operation: 78-50=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[50, 1, 13], Operations: ['78-65=13'] Exploring Operation: 50-1=49, Resulting Numbers: [13, 49] Generated Node #0,0,0: 37:[13, 49] Operation: 50-1=49 Exploring Operation: 50-13=37, Resulting Numbers: [1, 37] Generated Node #0,0,1: 37:[1, 37] Operation: 50-13=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[13, 49], Operations: ['78-65=13', '50-1=49'] Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[1, 37], Operations: ['78-65=13', '50-13=37'] Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[65, 50, 1, 78], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [50, 1, 13] Generated Node #0,0: 37:[50, 1, 13] Operation: 78-65=13 Moving to Node #0,0 Current State: 37:[50, 1, 13], Operations: ['78-65=13'] Exploring Operation: 50-13=37, Resulting Numbers: [1, 37] Generated Node #0,0,1: 37:[1, 37] Operation: 50-13=37 Moving to Node #0,0,1 Current State: 37:[1, 37], Operations: ['78-65=13', '50-13=37'] Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 89, 31, 11, 45 ]
24
[ "89-31=58", "45-11=34", "58-34=24" ]
Current State: 24:[89, 31, 11, 45], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [11, 45, 58] Generated Node #2: [11, 45, 58] from Operation: 89-31=58 Current State: 24:[11, 45, 58], Operations: ['89-31=58'] Exploring Operation: 45-11=34, Resulting Numbers: [58, 34] Generated Node #3: [58, 34] from Operation: 45-11=34 Current State: 24:[58, 34], Operations: ['89-31=58', '45-11=34'] Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[89, 31, 11, 45], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [11, 45, 58] Generated Node #0,0: 24:[11, 45, 58] Operation: 89-31=58 Exploring Operation: 89-45=44, Resulting Numbers: [31, 11, 44] Generated Node #0,1: 24:[31, 11, 44] Operation: 89-45=44 Moving to Node #0,1 Current State: 24:[31, 11, 44], Operations: ['89-45=44'] Exploring Operation: 44-31=13, Resulting Numbers: [11, 13] Generated Node #0,1,0: 24:[11, 13] Operation: 44-31=13 Exploring Operation: 44/11=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 24:[31, 4] Operation: 44/11=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[11, 13], Operations: ['89-45=44', '44-31=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[89, 31, 11, 45], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [31, 11, 44] Generated Node #0,1: 24:[31, 11, 44] Operation: 89-45=44 Moving to Node #0,1 Current State: 24:[31, 11, 44], Operations: ['89-45=44'] Exploring Operation: 44-31=13, Resulting Numbers: [11, 13] Generated Node #0,1,0: 24:[11, 13] Operation: 44-31=13 Moving to Node #0,1,0 Current State: 24:[11, 13], Operations: ['89-45=44', '44-31=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 46, 22, 82, 20 ]
78
[ "46-22=24", "82+20=102", "102-24=78" ]
Current State: 78:[46, 22, 82, 20], Operations: [] Exploring Operation: 46-22=24, Resulting Numbers: [82, 20, 24] Generated Node #2: [82, 20, 24] from Operation: 46-22=24 Current State: 78:[82, 20, 24], Operations: ['46-22=24'] Exploring Operation: 82+20=102, Resulting Numbers: [24, 102] Generated Node #3: [24, 102] from Operation: 82+20=102 Current State: 78:[24, 102], Operations: ['46-22=24', '82+20=102'] Exploring Operation: 102-24=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[46, 22, 82, 20], Operations: [] Exploring Operation: 46-20=26, Resulting Numbers: [22, 82, 26] Generated Node #0,0: 78:[22, 82, 26] Operation: 46-20=26 Moving to Node #0,0 Current State: 78:[22, 82, 26], Operations: ['46-20=26'] Exploring Operation: 26-22=4, Resulting Numbers: [82, 4] Generated Node #0,0,0: 78:[82, 4] Operation: 26-22=4 Moving to Node #0,0,0 Current State: 78:[82, 4], Operations: ['46-20=26', '26-22=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[46, 22, 82, 20], Operations: [] Exploring Operation: 46-20=26, Resulting Numbers: [22, 82, 26] Generated Node #0,0: 78:[22, 82, 26] Operation: 46-20=26 Moving to Node #0,0 Current State: 78:[22, 82, 26], Operations: ['46-20=26'] Exploring Operation: 26-22=4, Resulting Numbers: [82, 4] Generated Node #0,0,0: 78:[82, 4] Operation: 26-22=4 Moving to Node #0,0,0 Current State: 78:[82, 4], Operations: ['46-20=26', '26-22=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 22, 40, 77, 21 ]
34
[ "22*21=462", "462/77=6", "40-6=34" ]
Current State: 34:[22, 40, 77, 21], Operations: [] Exploring Operation: 22*21=462, Resulting Numbers: [40, 77, 462] Generated Node #2: [40, 77, 462] from Operation: 22*21=462 Current State: 34:[40, 77, 462], Operations: ['22*21=462'] Exploring Operation: 462/77=6, Resulting Numbers: [40, 6] Generated Node #3: [40, 6] from Operation: 462/77=6 Current State: 34:[40, 6], Operations: ['22*21=462', '462/77=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[22, 40, 77, 21], Operations: [] Exploring Operation: 77-40=37, Resulting Numbers: [22, 21, 37] Generated Node #0,0: 34:[22, 21, 37] Operation: 77-40=37 Moving to Node #0,0 Current State: 34:[22, 21, 37], Operations: ['77-40=37'] Exploring Operation: 22-21=1, Resulting Numbers: [37, 1] Generated Node #0,0,0: 34:[37, 1] Operation: 22-21=1 Moving to Node #0,0,0 Current State: 34:[37, 1], Operations: ['77-40=37', '22-21=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,34 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 34, 70, 32, 10 ]
90
[ "34-32=2", "10*2=20", "70+20=90" ]
Current State: 90:[34, 70, 32, 10], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [70, 10, 2] Generated Node #2: [70, 10, 2] from Operation: 34-32=2 Current State: 90:[70, 10, 2], Operations: ['34-32=2'] Exploring Operation: 10*2=20, Resulting Numbers: [70, 20] Generated Node #3: [70, 20] from Operation: 10*2=20 Current State: 90:[70, 20], Operations: ['34-32=2', '10*2=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[34, 70, 32, 10], Operations: [] Exploring Operation: 34+70=104, Resulting Numbers: [32, 10, 104] Generated Node #0,0: 90:[32, 10, 104] Operation: 34+70=104 Exploring Operation: 70-34=36, Resulting Numbers: [32, 10, 36] Generated Node #0,1: 90:[32, 10, 36] Operation: 70-34=36 Exploring Operation: 70-32=38, Resulting Numbers: [34, 10, 38] Generated Node #0,2: 90:[34, 10, 38] Operation: 70-32=38 Exploring Operation: 70/10=7, Resulting Numbers: [34, 32, 7] Generated Node #0,3: 90:[34, 32, 7] Operation: 70/10=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[34, 32, 7], Operations: ['70/10=7'] Exploring Operation: 32-7=25, Resulting Numbers: [34, 25] Generated Node #0,3,0: 90:[34, 25] Operation: 32-7=25 Exploring Operation: 34-7=27, Resulting Numbers: [32, 27] Generated Node #0,3,1: 90:[32, 27] Operation: 34-7=27 Exploring Operation: 34+7=41, Resulting Numbers: [32, 41] Generated Node #0,3,2: 90:[32, 41] Operation: 34+7=41 Exploring Operation: 34-32=2, Resulting Numbers: [7, 2] Generated Node #0,3,3: 90:[7, 2] Operation: 34-32=2 Moving to Node #0,3,3 Current State: 90:[7, 2], Operations: ['70/10=7', '34-32=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[32, 27], Operations: ['70/10=7', '34-7=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,90 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[32, 41], Operations: ['70/10=7', '34+7=41'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[34, 25], Operations: ['70/10=7', '32-7=25'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,90 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,90 unequal: No Solution No 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: 90:[32, 10, 36], Operations: ['70-34=36'] Exploring Operation: 32+10=42, Resulting Numbers: [36, 42] Generated Node #0,1,0: 90:[36, 42] Operation: 32+10=42 Exploring Operation: 10+36=46, Resulting Numbers: [32, 46] Generated Node #0,1,1: 90:[32, 46] Operation: 10+36=46 Exploring Operation: 36-32=4, Resulting Numbers: [10, 4] Generated Node #0,1,2: 90:[10, 4] Operation: 36-32=4 Exploring Operation: 36-10=26, Resulting Numbers: [32, 26] Generated Node #0,1,3: 90:[32, 26] Operation: 36-10=26 Moving to Node #0,1,2 Current State: 90:[10, 4], Operations: ['70-34=36', '36-32=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[32, 46], Operations: ['70-34=36', '10+36=46'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,90 unequal: No Solution Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[32, 26], Operations: ['70-34=36', '36-10=26'] Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,90 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[36, 42], Operations: ['70-34=36', '32+10=42'] Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,90 unequal: No Solution Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,90 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,90 unequal: No Solution No 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: 90:[34, 10, 38], Operations: ['70-32=38'] Exploring Operation: 10+38=48, Resulting Numbers: [34, 48] Generated Node #0,2,0: 90:[34, 48] Operation: 10+38=48 Exploring Operation: 34+10=44, Resulting Numbers: [38, 44] Generated Node #0,2,1: 90:[38, 44] Operation: 34+10=44 Exploring Operation: 38-34=4, Resulting Numbers: [10, 4] Generated Node #0,2,2: 90:[10, 4] Operation: 38-34=4 Exploring Operation: 38-10=28, Resulting Numbers: [34, 28] Generated Node #0,2,3: 90:[34, 28] Operation: 38-10=28 Moving to Node #0,2,2 Current State: 90:[10, 4], Operations: ['70-32=38', '38-34=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[34, 28], Operations: ['70-32=38', '38-10=28'] Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,90 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[34, 48], Operations: ['70-32=38', '10+38=48'] Exploring Operation: 34+48=82, Resulting Numbers: [82] 82,90 unequal: No Solution Exploring Operation: 34*48=1632, Resulting Numbers: [1632] 1632,90 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[38, 44], Operations: ['70-32=38', '34+10=44'] Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,90 unequal: No Solution Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,90 unequal: No Solution No 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: 90:[32, 10, 104], Operations: ['34+70=104'] Exploring Operation: 104-10=94, Resulting Numbers: [32, 94] Generated Node #0,0,0: 90:[32, 94] Operation: 104-10=94 Exploring Operation: 32+10=42, Resulting Numbers: [104, 42] Generated Node #0,0,1: 90:[104, 42] Operation: 32+10=42 Exploring Operation: 32-10=22, Resulting Numbers: [104, 22] Generated Node #0,0,2: 90:[104, 22] Operation: 32-10=22 Exploring Operation: 104-32=72, Resulting Numbers: [10, 72] Generated Node #0,0,3: 90:[10, 72] Operation: 104-32=72 Moving to Node #0,0,0 Current State: 90:[32, 94], Operations: ['34+70=104', '104-10=94'] Exploring Operation: 32+94=126, Resulting Numbers: [126] 126,90 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 32*94=3008, Resulting Numbers: [3008] 3008,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[104, 42], Operations: ['34+70=104', '32+10=42'] Exploring Operation: 104*42=4368, Resulting Numbers: [4368] 4368,90 unequal: No Solution Exploring Operation: 104+42=146, Resulting Numbers: [146] 146,90 unequal: No Solution Exploring Operation: 104-42=62, Resulting Numbers: [62] 62,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[10, 72], Operations: ['34+70=104', '104-32=72'] Exploring Operation: 10*72=720, Resulting Numbers: [720] 720,90 unequal: No Solution Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,90 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[104, 22], Operations: ['34+70=104', '32-10=22'] Exploring Operation: 104*22=2288, Resulting Numbers: [2288] 2288,90 unequal: No Solution Exploring Operation: 104-22=82, Resulting Numbers: [82] 82,90 unequal: No Solution Exploring Operation: 104+22=126, Resulting Numbers: [126] 126,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 80, 13, 3, 5 ]
87
[ "80/5=16", "13+16=29", "3*29=87" ]
Current State: 87:[80, 13, 3, 5], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [13, 3, 16] Generated Node #2: [13, 3, 16] from Operation: 80/5=16 Current State: 87:[13, 3, 16], Operations: ['80/5=16'] Exploring Operation: 13+16=29, Resulting Numbers: [3, 29] Generated Node #3: [3, 29] from Operation: 13+16=29 Current State: 87:[3, 29], Operations: ['80/5=16', '13+16=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[80, 13, 3, 5], Operations: [] Exploring Operation: 13-5=8, Resulting Numbers: [80, 3, 8] Generated Node #0,0: 87:[80, 3, 8] Operation: 13-5=8 Exploring Operation: 13-3=10, Resulting Numbers: [80, 5, 10] Generated Node #0,1: 87:[80, 5, 10] Operation: 13-3=10 Exploring Operation: 80+5=85, Resulting Numbers: [13, 3, 85] Generated Node #0,2: 87:[13, 3, 85] Operation: 80+5=85 Exploring Operation: 80+3=83, Resulting Numbers: [13, 5, 83] Generated Node #0,3: 87:[13, 5, 83] Operation: 80+3=83 Exploring Operation: 80+13=93, Resulting Numbers: [3, 5, 93] Generated Node #0,4: 87:[3, 5, 93] Operation: 80+13=93 Moving to Node #0,4 Current State: 87:[3, 5, 93], Operations: ['80+13=93'] Exploring Operation: 5-3=2, Resulting Numbers: [93, 2] Generated Node #0,4,0: 87:[93, 2] Operation: 5-3=2 Exploring Operation: 3+5=8, Resulting Numbers: [93, 8] Generated Node #0,4,1: 87:[93, 8] Operation: 3+5=8 Exploring Operation: 93-5=88, Resulting Numbers: [3, 88] Generated Node #0,4,2: 87:[3, 88] Operation: 93-5=88 Exploring Operation: 93/3=31, Resulting Numbers: [5, 31] Generated Node #0,4,3: 87:[5, 31] Operation: 93/3=31 Exploring Operation: 93-3=90, Resulting Numbers: [5, 90] Generated Node #0,4,4: 87:[5, 90] Operation: 93-3=90 Moving to Node #0,2 Current State: 87:[13, 3, 85], Operations: ['80+5=85'] Exploring Operation: 13-3=10, Resulting Numbers: [85, 10] Generated Node #0,2,0: 87:[85, 10] Operation: 13-3=10 Exploring Operation: 13+3=16, Resulting Numbers: [85, 16] Generated Node #0,2,1: 87:[85, 16] Operation: 13+3=16 Exploring Operation: 3+85=88, Resulting Numbers: [13, 88] Generated Node #0,2,2: 87:[13, 88] Operation: 3+85=88 Exploring Operation: 13+85=98, Resulting Numbers: [3, 98] Generated Node #0,2,3: 87:[3, 98] Operation: 13+85=98 Exploring Operation: 13*3=39, Resulting Numbers: [85, 39] Generated Node #0,2,4: 87:[85, 39] Operation: 13*3=39 Moving to Node #0,0 Current State: 87:[80, 3, 8], Operations: ['13-5=8'] Exploring Operation: 80+8=88, Resulting Numbers: [3, 88] Generated Node #0,0,0: 87:[3, 88] Operation: 80+8=88 Exploring Operation: 80+3=83, Resulting Numbers: [8, 83] Generated Node #0,0,1: 87:[8, 83] Operation: 80+3=83 Exploring Operation: 8-3=5, Resulting Numbers: [80, 5] Generated Node #0,0,2: 87:[80, 5] Operation: 8-3=5 Exploring Operation: 80/8=10, Resulting Numbers: [3, 10] Generated Node #0,0,3: 87:[3, 10] Operation: 80/8=10 Exploring Operation: 3*8=24, Resulting Numbers: [80, 24] Generated Node #0,0,4: 87:[80, 24] Operation: 3*8=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[3, 88], Operations: ['13-5=8', '80+8=88'] Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,87 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[3, 10], Operations: ['13-5=8', '80/8=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[8, 83], Operations: ['13-5=8', '80+3=83'] Exploring Operation: 8*83=664, Resulting Numbers: [664] 664,87 unequal: No Solution Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[80, 5], Operations: ['13-5=8', '8-3=5'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,87 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 87:[80, 24], Operations: ['13-5=8', '3*8=24'] Exploring Operation: 80+24=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 80*24=1920, Resulting Numbers: [1920] 1920,87 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,87 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: 87:[80, 5, 10], Operations: ['13-3=10'] Exploring Operation: 10/5=2, Resulting Numbers: [80, 2] Generated Node #0,1,0: 87:[80, 2] Operation: 10/5=2 Exploring Operation: 80/10=8, Resulting Numbers: [5, 8] Generated Node #0,1,1: 87:[5, 8] Operation: 80/10=8 Exploring Operation: 10-5=5, Resulting Numbers: [80, 5] Generated Node #0,1,2: 87:[80, 5] Operation: 10-5=5 Exploring Operation: 80+10=90, Resulting Numbers: [5, 90] Generated Node #0,1,3: 87:[5, 90] Operation: 80+10=90 Exploring Operation: 80+5=85, Resulting Numbers: [10, 85] Generated Node #0,1,4: 87:[10, 85] Operation: 80+5=85 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[5, 90], Operations: ['13-3=10', '80+10=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 5*90=450, Resulting Numbers: [450] 450,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[5, 8], Operations: ['13-3=10', '80/10=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,87 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[80, 2], Operations: ['13-3=10', '10/5=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,87 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,87 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[80, 5], Operations: ['13-3=10', '10-5=5'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,87 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 87:[10, 85], Operations: ['13-3=10', '80+5=85'] Exploring Operation: 10+85=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 10*85=850, Resulting Numbers: [850] 850,87 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,87 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: 87:[13, 5, 83], Operations: ['80+3=83'] Exploring Operation: 13+83=96, Resulting Numbers: [5, 96] Generated Node #0,3,0: 87:[5, 96] Operation: 13+83=96 Exploring Operation: 83-13=70, Resulting Numbers: [5, 70] Generated Node #0,3,1: 87:[5, 70] Operation: 83-13=70 Exploring Operation: 13+5=18, Resulting Numbers: [83, 18] Generated Node #0,3,2: 87:[83, 18] Operation: 13+5=18 Exploring Operation: 5+83=88, Resulting Numbers: [13, 88] Generated Node #0,3,3: 87:[13, 88] Operation: 5+83=88 Exploring Operation: 13-5=8, Resulting Numbers: [83, 8] Generated Node #0,3,4: 87:[83, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 87:[83, 8], Operations: ['80+3=83', '13-5=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,87 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[5, 96], Operations: ['80+3=83', '13+83=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,87 unequal: No Solution Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[13, 88], Operations: ['80+3=83', '5+83=88'] Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 13*88=1144, Resulting Numbers: [1144] 1144,87 unequal: No Solution Exploring Operation: 13+88=101, Resulting Numbers: [101] 101,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[83, 18], Operations: ['80+3=83', '13+5=18'] Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,87 unequal: No Solution Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[5, 70], Operations: ['80+3=83', '83-13=70'] Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,87 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 87:[3, 88], Operations: ['80+13=93', '93-5=88'] Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,87 unequal: No Solution Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,87 unequal: No Solution Moving to Node #0,4,3 Current State: 87:[5, 31], Operations: ['80+13=93', '93/3=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,87 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,87 unequal: No Solution Moving to Node #0,4,4 Current State: 87:[5, 90], Operations: ['80+13=93', '93-3=90'] Exploring Operation: 5*90=450, Resulting Numbers: [450] 450,87 unequal: No Solution Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,4,0 Current State: 87:[93, 2], Operations: ['80+13=93', '5-3=2'] Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,87 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[85, 10], Operations: ['80+5=85', '13-3=10'] Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,87 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[13, 88], Operations: ['80+5=85', '3+85=88'] Exploring Operation: 13+88=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 13*88=1144, Resulting Numbers: [1144] 1144,87 unequal: No Solution Moving to Node #0,4,1 Current State: 87:[93, 8], Operations: ['80+13=93', '3+5=8'] Exploring Operation: 93*8=744, Resulting Numbers: [744] 744,87 unequal: No Solution Exploring Operation: 93+8=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[3, 98], Operations: ['80+5=85', '13+85=98'] Exploring Operation: 3*98=294, Resulting Numbers: [294] 294,87 unequal: No Solution Exploring Operation: 3+98=101, Resulting Numbers: [101] 101,87 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,87 unequal: No Solution Moving to Node #0,2,4 Current State: 87:[85, 39], Operations: ['80+5=85', '13*3=39'] Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,87 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[85, 16], Operations: ['80+5=85', '13+3=16'] Exploring Operation: 85*16=1360, Resulting Numbers: [1360] 1360,87 unequal: No Solution Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,87 unequal: No Solution Exploring Operation: 85+16=101, Resulting Numbers: [101] 101,87 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 42, 87, 99, 47 ]
69
[ "42*99=4158", "87*47=4089", "4158-4089=69" ]
Current State: 69:[42, 87, 99, 47], Operations: [] Exploring Operation: 42*99=4158, Resulting Numbers: [87, 47, 4158] Generated Node #2: [87, 47, 4158] from Operation: 42*99=4158 Current State: 69:[87, 47, 4158], Operations: ['42*99=4158'] Exploring Operation: 87*47=4089, Resulting Numbers: [4158, 4089] Generated Node #3: [4158, 4089] from Operation: 87*47=4089 Current State: 69:[4158, 4089], Operations: ['42*99=4158', '87*47=4089'] Exploring Operation: 4158-4089=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[42, 87, 99, 47], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [87, 47, 57] Generated Node #0,0: 69:[87, 47, 57] Operation: 99-42=57 Exploring Operation: 99-87=12, Resulting Numbers: [42, 47, 12] Generated Node #0,1: 69:[42, 47, 12] Operation: 99-87=12 Exploring Operation: 47-42=5, Resulting Numbers: [87, 99, 5] Generated Node #0,2: 69:[87, 99, 5] Operation: 47-42=5 Exploring Operation: 99-47=52, Resulting Numbers: [42, 87, 52] Generated Node #0,3: 69:[42, 87, 52] Operation: 99-47=52 Moving to Node #0,1 Current State: 69:[42, 47, 12], Operations: ['99-87=12'] Exploring Operation: 42+47=89, Resulting Numbers: [12, 89] Generated Node #0,1,0: 69:[12, 89] Operation: 42+47=89 Exploring Operation: 42-12=30, Resulting Numbers: [47, 30] Generated Node #0,1,1: 69:[47, 30] Operation: 42-12=30 Exploring Operation: 47-42=5, Resulting Numbers: [12, 5] Generated Node #0,1,2: 69:[12, 5] Operation: 47-42=5 Exploring Operation: 47+12=59, Resulting Numbers: [42, 59] Generated Node #0,1,3: 69:[42, 59] Operation: 47+12=59 Moving to Node #0,2 Current State: 69:[87, 99, 5], Operations: ['47-42=5'] Exploring Operation: 87+5=92, Resulting Numbers: [99, 92] Generated Node #0,2,0: 69:[99, 92] Operation: 87+5=92 Exploring Operation: 99-87=12, Resulting Numbers: [5, 12] Generated Node #0,2,1: 69:[5, 12] Operation: 99-87=12 Exploring Operation: 87-5=82, Resulting Numbers: [99, 82] Generated Node #0,2,2: 69:[99, 82] Operation: 87-5=82 Exploring Operation: 99-5=94, Resulting Numbers: [87, 94] Generated Node #0,2,3: 69:[87, 94] Operation: 99-5=94 Moving to Node #0,0 Current State: 69:[87, 47, 57], Operations: ['99-42=57'] Exploring Operation: 87-57=30, Resulting Numbers: [47, 30] Generated Node #0,0,0: 69:[47, 30] Operation: 87-57=30 Exploring Operation: 57-47=10, Resulting Numbers: [87, 10] Generated Node #0,0,1: 69:[87, 10] Operation: 57-47=10 Exploring Operation: 87-47=40, Resulting Numbers: [57, 40] Generated Node #0,0,2: 69:[57, 40] Operation: 87-47=40 Exploring Operation: 47+57=104, Resulting Numbers: [87, 104] Generated Node #0,0,3: 69:[87, 104] Operation: 47+57=104 Moving to Node #0,3 Current State: 69:[42, 87, 52], Operations: ['99-47=52'] Exploring Operation: 87-52=35, Resulting Numbers: [42, 35] Generated Node #0,3,0: 69:[42, 35] Operation: 87-52=35 Exploring Operation: 87-42=45, Resulting Numbers: [52, 45] Generated Node #0,3,1: 69:[52, 45] Operation: 87-42=45 Exploring Operation: 42+52=94, Resulting Numbers: [87, 94] Generated Node #0,3,2: 69:[87, 94] Operation: 42+52=94 Exploring Operation: 52-42=10, Resulting Numbers: [87, 10] Generated Node #0,3,3: 69:[87, 10] Operation: 52-42=10 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[87, 10], Operations: ['99-47=52', '52-42=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,69 unequal: No Solution Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[42, 35], Operations: ['99-47=52', '87-52=35'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 42+35=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 42*35=1470, Resulting Numbers: [1470] 1470,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[52, 45], Operations: ['99-47=52', '87-42=45'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 52*45=2340, Resulting Numbers: [2340] 2340,69 unequal: No Solution Exploring Operation: 52+45=97, Resulting Numbers: [97] 97,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[87, 94], Operations: ['99-47=52', '42+52=94'] Exploring Operation: 87*94=8178, Resulting Numbers: [8178] 8178,69 unequal: No Solution Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 87+94=181, Resulting Numbers: [181] 181,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 69:[12, 5], Operations: ['99-87=12', '47-42=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[5, 12], Operations: ['47-42=5', '99-87=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[87, 10], Operations: ['99-42=57', '57-47=10'] Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,69 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[47, 30], Operations: ['99-87=12', '42-12=30'] Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 47*30=1410, Resulting Numbers: [1410] 1410,69 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[57, 40], Operations: ['99-42=57', '87-47=40'] Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,69 unequal: No Solution Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,69 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[12, 89], Operations: ['99-87=12', '42+47=89'] Exploring Operation: 12+89=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 12*89=1068, Resulting Numbers: [1068] 1068,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[47, 30], Operations: ['99-42=57', '87-57=30'] Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 47*30=1410, Resulting Numbers: [1410] 1410,69 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[42, 59], Operations: ['99-87=12', '47+12=59'] Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 42+59=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 42*59=2478, Resulting Numbers: [2478] 2478,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[87, 94], Operations: ['47-42=5', '99-5=94'] Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 87+94=181, Resulting Numbers: [181] 181,69 unequal: No Solution Exploring Operation: 87*94=8178, Resulting Numbers: [8178] 8178,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[99, 82], Operations: ['47-42=5', '87-5=82'] Exploring Operation: 99*82=8118, Resulting Numbers: [8118] 8118,69 unequal: No Solution Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 99+82=181, Resulting Numbers: [181] 181,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[87, 104], Operations: ['99-42=57', '47+57=104'] Exploring Operation: 87*104=9048, Resulting Numbers: [9048] 9048,69 unequal: No Solution Exploring Operation: 104-87=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 87+104=191, Resulting Numbers: [191] 191,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[99, 92], Operations: ['47-42=5', '87+5=92'] Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 99*92=9108, Resulting Numbers: [9108] 9108,69 unequal: No Solution Exploring Operation: 99+92=191, Resulting Numbers: [191] 191,69 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 13, 33, 86, 42 ]
82
[ "13+33=46", "86+42=128", "128-46=82" ]
Current State: 82:[13, 33, 86, 42], Operations: [] Exploring Operation: 13+33=46, Resulting Numbers: [86, 42, 46] Generated Node #2: [86, 42, 46] from Operation: 13+33=46 Current State: 82:[86, 42, 46], Operations: ['13+33=46'] Exploring Operation: 86+42=128, Resulting Numbers: [46, 128] Generated Node #3: [46, 128] from Operation: 86+42=128 Current State: 82:[46, 128], Operations: ['13+33=46', '86+42=128'] Exploring Operation: 128-46=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[13, 33, 86, 42], Operations: [] Exploring Operation: 33+42=75, Resulting Numbers: [13, 86, 75] Generated Node #0,0: 82:[13, 86, 75] Operation: 33+42=75 Exploring Operation: 86-42=44, Resulting Numbers: [13, 33, 44] Generated Node #0,1: 82:[13, 33, 44] Operation: 86-42=44 Exploring Operation: 86-13=73, Resulting Numbers: [33, 42, 73] Generated Node #0,2: 82:[33, 42, 73] Operation: 86-13=73 Exploring Operation: 13+33=46, Resulting Numbers: [86, 42, 46] Generated Node #0,3: 82:[86, 42, 46] Operation: 13+33=46 Exploring Operation: 42-33=9, Resulting Numbers: [13, 86, 9] Generated Node #0,4: 82:[13, 86, 9] Operation: 42-33=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[86, 42, 46], Operations: ['13+33=46'] Exploring Operation: 86+42=128, Resulting Numbers: [46, 128] Generated Node #0,3,0: 82:[46, 128] Operation: 86+42=128 Exploring Operation: 86-46=40, Resulting Numbers: [42, 40] Generated Node #0,3,1: 82:[42, 40] Operation: 86-46=40 Exploring Operation: 42+46=88, Resulting Numbers: [86, 88] Generated Node #0,3,2: 82:[86, 88] Operation: 42+46=88 Exploring Operation: 46-42=4, Resulting Numbers: [86, 4] Generated Node #0,3,3: 82:[86, 4] Operation: 46-42=4 Exploring Operation: 86-42=44, Resulting Numbers: [46, 44] Generated Node #0,3,4: 82:[46, 44] Operation: 86-42=44 Moving to Node #0,3,1 Current State: 82:[42, 40], Operations: ['13+33=46', '86-46=40'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[13, 33, 86, 42], Operations: [] Exploring Operation: 13+33=46, Resulting Numbers: [86, 42, 46] Generated Node #0,3: 82:[86, 42, 46] Operation: 13+33=46 Moving to Node #0,3 Current State: 82:[86, 42, 46], Operations: ['13+33=46'] Exploring Operation: 86-46=40, Resulting Numbers: [42, 40] Generated Node #0,3,1: 82:[42, 40] Operation: 86-46=40 Moving to Node #0,3,1 Current State: 82:[42, 40], Operations: ['13+33=46', '86-46=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 38, 52, 56, 30 ]
64
[ "38+52=90", "56-30=26", "90-26=64" ]
Current State: 64:[38, 52, 56, 30], Operations: [] Exploring Operation: 38+52=90, Resulting Numbers: [56, 30, 90] Generated Node #2: [56, 30, 90] from Operation: 38+52=90 Current State: 64:[56, 30, 90], Operations: ['38+52=90'] Exploring Operation: 56-30=26, Resulting Numbers: [90, 26] Generated Node #3: [90, 26] from Operation: 56-30=26 Current State: 64:[90, 26], Operations: ['38+52=90', '56-30=26'] Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[38, 52, 56, 30], Operations: [] Exploring Operation: 52-38=14, Resulting Numbers: [56, 30, 14] Generated Node #0,0: 64:[56, 30, 14] Operation: 52-38=14 Exploring Operation: 56-52=4, Resulting Numbers: [38, 30, 4] Generated Node #0,1: 64:[38, 30, 4] Operation: 56-52=4 Moving to Node #0,1 Current State: 64:[38, 30, 4], Operations: ['56-52=4'] Exploring Operation: 38+30=68, Resulting Numbers: [4, 68] Generated Node #0,1,0: 64:[4, 68] Operation: 38+30=68 Exploring Operation: 38-30=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 64:[4, 8] Operation: 38-30=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[4, 8], Operations: ['56-52=4', '38-30=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[4, 68], Operations: ['56-52=4', '38+30=68'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[38, 52, 56, 30], Operations: [] Exploring Operation: 56-52=4, Resulting Numbers: [38, 30, 4] Generated Node #0,1: 64:[38, 30, 4] Operation: 56-52=4 Moving to Node #0,1 Current State: 64:[38, 30, 4], Operations: ['56-52=4'] Exploring Operation: 38+30=68, Resulting Numbers: [4, 68] Generated Node #0,1,0: 64:[4, 68] Operation: 38+30=68 Moving to Node #0,1,0 Current State: 64:[4, 68], Operations: ['56-52=4', '38+30=68'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 13, 4, 96, 5 ]
48
[ "13-5=8", "4*96=384", "384/8=48" ]
Current State: 48:[13, 4, 96, 5], Operations: [] Exploring Operation: 13-5=8, Resulting Numbers: [4, 96, 8] Generated Node #2: [4, 96, 8] from Operation: 13-5=8 Current State: 48:[4, 96, 8], Operations: ['13-5=8'] Exploring Operation: 4*96=384, Resulting Numbers: [8, 384] Generated Node #3: [8, 384] from Operation: 4*96=384 Current State: 48:[8, 384], Operations: ['13-5=8', '4*96=384'] Exploring Operation: 384/8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 4, 96, 5], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [13, 5, 24] Generated Node #0,0: 48:[13, 5, 24] Operation: 96/4=24 Exploring Operation: 96-13=83, Resulting Numbers: [4, 5, 83] Generated Node #0,1: 48:[4, 5, 83] Operation: 96-13=83 Moving to Node #0,0 Current State: 48:[13, 5, 24], Operations: ['96/4=24'] Exploring Operation: 13+5=18, Resulting Numbers: [24, 18] Generated Node #0,0,0: 48:[24, 18] Operation: 13+5=18 Exploring Operation: 13-5=8, Resulting Numbers: [24, 8] Generated Node #0,0,1: 48:[24, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[24, 8], Operations: ['96/4=24', '13-5=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[24, 18], Operations: ['96/4=24', '13+5=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 48:[4, 5, 83], Operations: ['96-13=83'] Exploring Operation: 83-5=78, Resulting Numbers: [4, 78] Generated Node #0,1,0: 48:[4, 78] Operation: 83-5=78 Exploring Operation: 83-4=79, Resulting Numbers: [5, 79] Generated Node #0,1,1: 48:[5, 79] Operation: 83-4=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[4, 78], Operations: ['96-13=83', '83-5=78'] Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,48 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[5, 79], Operations: ['96-13=83', '83-4=79'] Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,48 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 74, 89, 97, 39 ]
73
[ "89-74=15", "97-39=58", "15+58=73" ]
Current State: 73:[74, 89, 97, 39], Operations: [] Exploring Operation: 89-74=15, Resulting Numbers: [97, 39, 15] Generated Node #2: [97, 39, 15] from Operation: 89-74=15 Current State: 73:[97, 39, 15], Operations: ['89-74=15'] Exploring Operation: 97-39=58, Resulting Numbers: [15, 58] Generated Node #3: [15, 58] from Operation: 97-39=58 Current State: 73:[15, 58], Operations: ['89-74=15', '97-39=58'] Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[74, 89, 97, 39], Operations: [] Exploring Operation: 97-39=58, Resulting Numbers: [74, 89, 58] Generated Node #0,0: 73:[74, 89, 58] Operation: 97-39=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[74, 89, 58], Operations: ['97-39=58'] Exploring Operation: 89-58=31, Resulting Numbers: [74, 31] Generated Node #0,0,0: 73:[74, 31] Operation: 89-58=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[74, 31], Operations: ['97-39=58', '89-58=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 36, 82, 2, 96 ]
53
[ "82+96=178", "178/2=89", "89-36=53" ]
Current State: 53:[36, 82, 2, 96], Operations: [] Exploring Operation: 82+96=178, Resulting Numbers: [36, 2, 178] Generated Node #2: [36, 2, 178] from Operation: 82+96=178 Current State: 53:[36, 2, 178], Operations: ['82+96=178'] Exploring Operation: 178/2=89, Resulting Numbers: [36, 89] Generated Node #3: [36, 89] from Operation: 178/2=89 Current State: 53:[36, 89], Operations: ['82+96=178', '178/2=89'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[36, 82, 2, 96], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [36, 82, 48] Generated Node #0,0: 53:[36, 82, 48] Operation: 96/2=48 Moving to Node #0,0 Current State: 53:[36, 82, 48], Operations: ['96/2=48'] Exploring Operation: 82-36=46, Resulting Numbers: [48, 46] Generated Node #0,0,0: 53:[48, 46] Operation: 82-36=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[48, 46], Operations: ['96/2=48', '82-36=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 87, 88, 47 ]
12
[ "60+87=147", "88+47=135", "147-135=12" ]
Current State: 12:[60, 87, 88, 47], Operations: [] Exploring Operation: 60+87=147, Resulting Numbers: [88, 47, 147] Generated Node #2: [88, 47, 147] from Operation: 60+87=147 Current State: 12:[88, 47, 147], Operations: ['60+87=147'] Exploring Operation: 88+47=135, Resulting Numbers: [147, 135] Generated Node #3: [147, 135] from Operation: 88+47=135 Current State: 12:[147, 135], Operations: ['60+87=147', '88+47=135'] Exploring Operation: 147-135=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[60, 87, 88, 47], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [60, 47, 1] Generated Node #0,0: 12:[60, 47, 1] Operation: 88-87=1 Exploring Operation: 87-60=27, Resulting Numbers: [88, 47, 27] Generated Node #0,1: 12:[88, 47, 27] Operation: 87-60=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[60, 47, 1], Operations: ['88-87=1'] Exploring Operation: 60-1=59, Resulting Numbers: [47, 59] Generated Node #0,0,0: 12:[47, 59] Operation: 60-1=59 Exploring Operation: 60-47=13, Resulting Numbers: [1, 13] Generated Node #0,0,1: 12:[1, 13] Operation: 60-47=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[1, 13], Operations: ['88-87=1', '60-47=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[60, 87, 88, 47], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [60, 47, 1] Generated Node #0,0: 12:[60, 47, 1] Operation: 88-87=1 Moving to Node #0,0 Current State: 12:[60, 47, 1], Operations: ['88-87=1'] Exploring Operation: 60-47=13, Resulting Numbers: [1, 13] Generated Node #0,0,1: 12:[1, 13] Operation: 60-47=13 Moving to Node #0,0,1 Current State: 12:[1, 13], Operations: ['88-87=1', '60-47=13'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 97, 33, 71, 68 ]
61
[ "97-33=64", "71-68=3", "64-3=61" ]
Current State: 61:[97, 33, 71, 68], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [71, 68, 64] Generated Node #2: [71, 68, 64] from Operation: 97-33=64 Current State: 61:[71, 68, 64], Operations: ['97-33=64'] Exploring Operation: 71-68=3, Resulting Numbers: [64, 3] Generated Node #3: [64, 3] from Operation: 71-68=3 Current State: 61:[64, 3], Operations: ['97-33=64', '71-68=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[97, 33, 71, 68], Operations: [] Exploring Operation: 71-33=38, Resulting Numbers: [97, 68, 38] Generated Node #0,0: 61:[97, 68, 38] Operation: 71-33=38 Exploring Operation: 97-33=64, Resulting Numbers: [71, 68, 64] Generated Node #0,1: 61:[71, 68, 64] Operation: 97-33=64 Exploring Operation: 97-71=26, Resulting Numbers: [33, 68, 26] Generated Node #0,2: 61:[33, 68, 26] Operation: 97-71=26 Moving to Node #0,1 Current State: 61:[71, 68, 64], Operations: ['97-33=64'] Exploring Operation: 71-68=3, Resulting Numbers: [64, 3] Generated Node #0,1,0: 61:[64, 3] Operation: 71-68=3 Exploring Operation: 71-64=7, Resulting Numbers: [68, 7] Generated Node #0,1,1: 61:[68, 7] Operation: 71-64=7 Exploring Operation: 68-64=4, Resulting Numbers: [71, 4] Generated Node #0,1,2: 61:[71, 4] Operation: 68-64=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[64, 3], Operations: ['97-33=64', '71-68=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,61 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,61 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[97, 33, 71, 68], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [71, 68, 64] Generated Node #0,1: 61:[71, 68, 64] Operation: 97-33=64 Moving to Node #0,1 Current State: 61:[71, 68, 64], Operations: ['97-33=64'] Exploring Operation: 71-68=3, Resulting Numbers: [64, 3] Generated Node #0,1,0: 61:[64, 3] Operation: 71-68=3 Moving to Node #0,1,0 Current State: 61:[64, 3], Operations: ['97-33=64', '71-68=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 15, 21, 38, 27 ]
19
[ "15+27=42", "21*38=798", "798/42=19" ]
Current State: 19:[15, 21, 38, 27], Operations: [] Exploring Operation: 15+27=42, Resulting Numbers: [21, 38, 42] Generated Node #2: [21, 38, 42] from Operation: 15+27=42 Current State: 19:[21, 38, 42], Operations: ['15+27=42'] Exploring Operation: 21*38=798, Resulting Numbers: [42, 798] Generated Node #3: [42, 798] from Operation: 21*38=798 Current State: 19:[42, 798], Operations: ['15+27=42', '21*38=798'] Exploring Operation: 798/42=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[15, 21, 38, 27], Operations: [] Exploring Operation: 38-15=23, Resulting Numbers: [21, 27, 23] Generated Node #0,0: 19:[21, 27, 23] Operation: 38-15=23 Exploring Operation: 38-21=17, Resulting Numbers: [15, 27, 17] Generated Node #0,1: 19:[15, 27, 17] Operation: 38-21=17 Exploring Operation: 38-27=11, Resulting Numbers: [15, 21, 11] Generated Node #0,2: 19:[15, 21, 11] Operation: 38-27=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[21, 27, 23], Operations: ['38-15=23'] Exploring Operation: 27-23=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 19:[21, 4] Operation: 27-23=4 Exploring Operation: 23-21=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 19:[27, 2] Operation: 23-21=2 Exploring Operation: 27-21=6, Resulting Numbers: [23, 6] Generated Node #0,0,2: 19:[23, 6] Operation: 27-21=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[21, 4], Operations: ['38-15=23', '27-23=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[23, 6], Operations: ['38-15=23', '27-21=6'] Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,19 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[27, 2], Operations: ['38-15=23', '23-21=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[15, 27, 17], Operations: ['38-21=17'] Exploring Operation: 27-15=12, Resulting Numbers: [17, 12] Generated Node #0,1,0: 19:[17, 12] Operation: 27-15=12 Exploring Operation: 27-17=10, Resulting Numbers: [15, 10] Generated Node #0,1,1: 19:[15, 10] Operation: 27-17=10 Exploring Operation: 15+17=32, Resulting Numbers: [27, 32] Generated Node #0,1,2: 19:[27, 32] Operation: 15+17=32 Moving to Node #0,1,0 Current State: 19:[17, 12], Operations: ['38-21=17', '27-15=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,19 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[15, 10], Operations: ['38-21=17', '27-17=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,19 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[27, 32], Operations: ['38-21=17', '15+17=32'] Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,19 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[15, 21, 11], Operations: ['38-27=11'] Exploring Operation: 15+11=26, Resulting Numbers: [21, 26] Generated Node #0,2,0: 19:[21, 26] Operation: 15+11=26 Exploring Operation: 21-11=10, Resulting Numbers: [15, 10] Generated Node #0,2,1: 19:[15, 10] Operation: 21-11=10 Exploring Operation: 15-11=4, Resulting Numbers: [21, 4] Generated Node #0,2,2: 19:[21, 4] Operation: 15-11=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[21, 26], Operations: ['38-27=11', '15+11=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[15, 10], Operations: ['38-27=11', '21-11=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[21, 4], Operations: ['38-27=11', '15-11=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 54, 49, 93, 61 ]
71
[ "54+49=103", "93-61=32", "103-32=71" ]
Current State: 71:[54, 49, 93, 61], Operations: [] Exploring Operation: 54+49=103, Resulting Numbers: [93, 61, 103] Generated Node #2: [93, 61, 103] from Operation: 54+49=103 Current State: 71:[93, 61, 103], Operations: ['54+49=103'] Exploring Operation: 93-61=32, Resulting Numbers: [103, 32] Generated Node #3: [103, 32] from Operation: 93-61=32 Current State: 71:[103, 32], Operations: ['54+49=103', '93-61=32'] Exploring Operation: 103-32=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[54, 49, 93, 61], Operations: [] Exploring Operation: 93-54=39, Resulting Numbers: [49, 61, 39] Generated Node #0,0: 71:[49, 61, 39] Operation: 93-54=39 Exploring Operation: 93-61=32, Resulting Numbers: [54, 49, 32] Generated Node #0,1: 71:[54, 49, 32] Operation: 93-61=32 Exploring Operation: 93-49=44, Resulting Numbers: [54, 61, 44] Generated Node #0,2: 71:[54, 61, 44] Operation: 93-49=44 Exploring Operation: 54+49=103, Resulting Numbers: [93, 61, 103] Generated Node #0,3: 71:[93, 61, 103] Operation: 54+49=103 Exploring Operation: 49+61=110, Resulting Numbers: [54, 93, 110] Generated Node #0,4: 71:[54, 93, 110] Operation: 49+61=110 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[54, 61, 44], Operations: ['93-49=44'] Exploring Operation: 61+44=105, Resulting Numbers: [54, 105] Generated Node #0,2,0: 71:[54, 105] Operation: 61+44=105 Exploring Operation: 54+61=115, Resulting Numbers: [44, 115] Generated Node #0,2,1: 71:[44, 115] Operation: 54+61=115 Exploring Operation: 61-44=17, Resulting Numbers: [54, 17] Generated Node #0,2,2: 71:[54, 17] Operation: 61-44=17 Exploring Operation: 54+44=98, Resulting Numbers: [61, 98] Generated Node #0,2,3: 71:[61, 98] Operation: 54+44=98 Exploring Operation: 54-44=10, Resulting Numbers: [61, 10] Generated Node #0,2,4: 71:[61, 10] Operation: 54-44=10 Moving to Node #0,2,3 Current State: 71:[61, 98], Operations: ['93-49=44', '54+44=98'] Exploring Operation: 98-61=37, Resulting Numbers: [37] 37,71 unequal: No Solution Exploring Operation: 61+98=159, Resulting Numbers: [159] 159,71 unequal: No Solution Exploring Operation: 61*98=5978, Resulting Numbers: [5978] 5978,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[54, 105], Operations: ['93-49=44', '61+44=105'] Exploring Operation: 105-54=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 54*105=5670, Resulting Numbers: [5670] 5670,71 unequal: No Solution Exploring Operation: 54+105=159, Resulting Numbers: [159] 159,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[44, 115], Operations: ['93-49=44', '54+61=115'] Exploring Operation: 44*115=5060, Resulting Numbers: [5060] 5060,71 unequal: No Solution Exploring Operation: 44+115=159, Resulting Numbers: [159] 159,71 unequal: No Solution Exploring Operation: 115-44=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[54, 49, 93, 61], Operations: [] Exploring Operation: 93-49=44, Resulting Numbers: [54, 61, 44] Generated Node #0,2: 71:[54, 61, 44] Operation: 93-49=44 Moving to Node #0,2 Current State: 71:[54, 61, 44], Operations: ['93-49=44'] Exploring Operation: 54+61=115, Resulting Numbers: [44, 115] Generated Node #0,2,1: 71:[44, 115] Operation: 54+61=115 Moving to Node #0,2,1 Current State: 71:[44, 115], Operations: ['93-49=44', '54+61=115'] Exploring Operation: 115-44=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 93, 11, 49, 60 ]
15
[ "93-49=44", "11*60=660", "660/44=15" ]
Current State: 15:[93, 11, 49, 60], Operations: [] Exploring Operation: 93-49=44, Resulting Numbers: [11, 60, 44] Generated Node #2: [11, 60, 44] from Operation: 93-49=44 Current State: 15:[11, 60, 44], Operations: ['93-49=44'] Exploring Operation: 11*60=660, Resulting Numbers: [44, 660] Generated Node #3: [44, 660] from Operation: 11*60=660 Current State: 15:[44, 660], Operations: ['93-49=44', '11*60=660'] Exploring Operation: 660/44=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[93, 11, 49, 60], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [93, 11, 11] Generated Node #0,0: 15:[93, 11, 11] Operation: 60-49=11 Exploring Operation: 93-60=33, Resulting Numbers: [11, 49, 33] Generated Node #0,1: 15:[11, 49, 33] Operation: 93-60=33 Exploring Operation: 93-49=44, Resulting Numbers: [11, 60, 44] Generated Node #0,2: 15:[11, 60, 44] Operation: 93-49=44 Exploring Operation: 93-11=82, Resulting Numbers: [49, 60, 82] Generated Node #0,3: 15:[49, 60, 82] Operation: 93-11=82 Exploring Operation: 49-11=38, Resulting Numbers: [93, 60, 38] Generated Node #0,4: 15:[93, 60, 38] Operation: 49-11=38 Moving to Node #0,1 Current State: 15:[11, 49, 33], Operations: ['93-60=33'] Exploring Operation: 33-11=22, Resulting Numbers: [49, 22] Generated Node #0,1,0: 15:[49, 22] Operation: 33-11=22 Exploring Operation: 49-11=38, Resulting Numbers: [33, 38] Generated Node #0,1,1: 15:[33, 38] Operation: 49-11=38 Exploring Operation: 49-33=16, Resulting Numbers: [11, 16] Generated Node #0,1,2: 15:[11, 16] Operation: 49-33=16 Exploring Operation: 33/11=3, Resulting Numbers: [49, 3] Generated Node #0,1,3: 15:[49, 3] Operation: 33/11=3 Exploring Operation: 11+49=60, Resulting Numbers: [33, 60] Generated Node #0,1,4: 15:[33, 60] Operation: 11+49=60 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[11, 16], Operations: ['93-60=33', '49-33=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[49, 3], Operations: ['93-60=33', '33/11=3'] Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,15 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[49, 22], Operations: ['93-60=33', '33-11=22'] Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,15 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[33, 38], Operations: ['93-60=33', '49-11=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 15:[33, 60], Operations: ['93-60=33', '11+49=60'] Exploring Operation: 33+60=93, Resulting Numbers: [93] 93,15 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 33*60=1980, Resulting Numbers: [1980] 1980,15 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: 15:[11, 60, 44], Operations: ['93-49=44'] Exploring Operation: 44-11=33, Resulting Numbers: [60, 33] Generated Node #0,2,0: 15:[60, 33] Operation: 44-11=33 Exploring Operation: 11+60=71, Resulting Numbers: [44, 71] Generated Node #0,2,1: 15:[44, 71] Operation: 11+60=71 Exploring Operation: 44/11=4, Resulting Numbers: [60, 4] Generated Node #0,2,2: 15:[60, 4] Operation: 44/11=4 Exploring Operation: 60-44=16, Resulting Numbers: [11, 16] Generated Node #0,2,3: 15:[11, 16] Operation: 60-44=16 Exploring Operation: 60-11=49, Resulting Numbers: [44, 49] Generated Node #0,2,4: 15:[44, 49] Operation: 60-11=49 Moving to Node #0,0 Current State: 15:[93, 11, 11], Operations: ['60-49=11'] Exploring Operation: 93-11=82, Resulting Numbers: [11, 82] Generated Node #0,0,0: 15:[11, 82] Operation: 93-11=82 Exploring Operation: 11+11=22, Resulting Numbers: [93, 22] Generated Node #0,0,1: 15:[93, 22] Operation: 11+11=22 Exploring Operation: 93-11=82, Resulting Numbers: [11, 82] Generated Node #0,0,2: 15:[11, 82] Operation: 93-11=82 Exploring Operation: 11-11=0, Resulting Numbers: [93, 0] Generated Node #0,0,3: 15:[93, 0] Operation: 11-11=0 Exploring Operation: 11/11=1, Resulting Numbers: [93, 1] Generated Node #0,0,4: 15:[93, 1] Operation: 11/11=1 Moving to Node #0,3 Current State: 15:[49, 60, 82], Operations: ['93-11=82'] Exploring Operation: 49+82=131, Resulting Numbers: [60, 131] Generated Node #0,3,0: 15:[60, 131] Operation: 49+82=131 Exploring Operation: 82-60=22, Resulting Numbers: [49, 22] Generated Node #0,3,1: 15:[49, 22] Operation: 82-60=22 Exploring Operation: 49+60=109, Resulting Numbers: [82, 109] Generated Node #0,3,2: 15:[82, 109] Operation: 49+60=109 Exploring Operation: 82-49=33, Resulting Numbers: [60, 33] Generated Node #0,3,3: 15:[60, 33] Operation: 82-49=33 Exploring Operation: 60-49=11, Resulting Numbers: [82, 11] Generated Node #0,3,4: 15:[82, 11] Operation: 60-49=11 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[49, 22], Operations: ['93-11=82', '82-60=22'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,15 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[60, 33], Operations: ['93-11=82', '82-49=33'] Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,15 unequal: No Solution Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 15:[82, 11], Operations: ['93-11=82', '60-49=11'] Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,15 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,15 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[60, 131], Operations: ['93-11=82', '49+82=131'] Exploring Operation: 60+131=191, Resulting Numbers: [191] 191,15 unequal: No Solution Exploring Operation: 60*131=7860, Resulting Numbers: [7860] 7860,15 unequal: No Solution Exploring Operation: 131-60=71, Resulting Numbers: [71] 71,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[82, 109], Operations: ['93-11=82', '49+60=109'] Exploring Operation: 109-82=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 82+109=191, Resulting Numbers: [191] 191,15 unequal: No Solution Exploring Operation: 82*109=8938, Resulting Numbers: [8938] 8938,15 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: 15:[93, 60, 38], Operations: ['49-11=38'] Exploring Operation: 60-38=22, Resulting Numbers: [93, 22] Generated Node #0,4,0: 15:[93, 22] Operation: 60-38=22 Exploring Operation: 93+38=131, Resulting Numbers: [60, 131] Generated Node #0,4,1: 15:[60, 131] Operation: 93+38=131 Exploring Operation: 93-60=33, Resulting Numbers: [38, 33] Generated Node #0,4,2: 15:[38, 33] Operation: 93-60=33 Exploring Operation: 93-38=55, Resulting Numbers: [60, 55] Generated Node #0,4,3: 15:[60, 55] Operation: 93-38=55 Exploring Operation: 93+60=153, Resulting Numbers: [38, 153] Generated Node #0,4,4: 15:[38, 153] Operation: 93+60=153 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 15:[38, 33], Operations: ['49-11=38', '93-60=33'] Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 15:[93, 22], Operations: ['49-11=38', '60-38=22'] Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 93+22=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 93*22=2046, Resulting Numbers: [2046] 2046,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 15:[60, 55], Operations: ['49-11=38', '93-38=55'] Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 15:[60, 131], Operations: ['49-11=38', '93+38=131'] Exploring Operation: 131-60=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 60*131=7860, Resulting Numbers: [7860] 7860,15 unequal: No Solution Exploring Operation: 60+131=191, Resulting Numbers: [191] 191,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 15:[38, 153], Operations: ['49-11=38', '93+60=153'] Exploring Operation: 38+153=191, Resulting Numbers: [191] 191,15 unequal: No Solution Exploring Operation: 153-38=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 38*153=5814, Resulting Numbers: [5814] 5814,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 15:[11, 16], Operations: ['93-49=44', '60-44=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[60, 4], Operations: ['93-49=44', '44/11=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[93, 11, 49, 60], Operations: [] Exploring Operation: 93-49=44, Resulting Numbers: [11, 60, 44] Generated Node #0,2: 15:[11, 60, 44] Operation: 93-49=44 Moving to Node #0,2 Current State: 15:[11, 60, 44], Operations: ['93-49=44'] Exploring Operation: 44/11=4, Resulting Numbers: [60, 4] Generated Node #0,2,2: 15:[60, 4] Operation: 44/11=4 Moving to Node #0,2,2 Current State: 15:[60, 4], Operations: ['93-49=44', '44/11=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.927083
hs_5
sum_heuristic
[ 70, 34, 48, 69 ]
92
[ "70-34=36", "48*69=3312", "3312/36=92" ]
Current State: 92:[70, 34, 48, 69], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [48, 69, 36] Generated Node #2: [48, 69, 36] from Operation: 70-34=36 Current State: 92:[48, 69, 36], Operations: ['70-34=36'] Exploring Operation: 48*69=3312, Resulting Numbers: [36, 3312] Generated Node #3: [36, 3312] from Operation: 48*69=3312 Current State: 92:[36, 3312], Operations: ['70-34=36', '48*69=3312'] Exploring Operation: 3312/36=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[70, 34, 48, 69], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [48, 69, 36] Generated Node #0,0: 92:[48, 69, 36] Operation: 70-34=36 Exploring Operation: 70-69=1, Resulting Numbers: [34, 48, 1] Generated Node #0,1: 92:[34, 48, 1] Operation: 70-69=1 Moving to Node #0,1 Current State: 92:[34, 48, 1], Operations: ['70-69=1'] Exploring Operation: 34+48=82, Resulting Numbers: [1, 82] Generated Node #0,1,0: 92:[1, 82] Operation: 34+48=82 Exploring Operation: 48-34=14, Resulting Numbers: [1, 14] Generated Node #0,1,1: 92:[1, 14] Operation: 48-34=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[1, 14], Operations: ['70-69=1', '48-34=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[1, 82], Operations: ['70-69=1', '34+48=82'] Exploring Operation: 1*82=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 1+82=83, Resulting Numbers: [83] 83,92 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: 92:[48, 69, 36], Operations: ['70-34=36'] Exploring Operation: 69-48=21, Resulting Numbers: [36, 21] Generated Node #0,0,0: 92:[36, 21] Operation: 69-48=21 Exploring Operation: 69-36=33, Resulting Numbers: [48, 33] Generated Node #0,0,1: 92:[48, 33] Operation: 69-36=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[36, 21], Operations: ['70-34=36', '69-48=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[48, 33], Operations: ['70-34=36', '69-36=33'] Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 57, 34, 89, 68 ]
39
[ "34*68=2312", "2312-89=2223", "2223/57=39" ]
Current State: 39:[57, 34, 89, 68], Operations: [] Exploring Operation: 34*68=2312, Resulting Numbers: [57, 89, 2312] Generated Node #2: [57, 89, 2312] from Operation: 34*68=2312 Current State: 39:[57, 89, 2312], Operations: ['34*68=2312'] Exploring Operation: 2312-89=2223, Resulting Numbers: [57, 2223] Generated Node #3: [57, 2223] from Operation: 2312-89=2223 Current State: 39:[57, 2223], Operations: ['34*68=2312', '2312-89=2223'] Exploring Operation: 2223/57=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[57, 34, 89, 68], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [57, 34, 21] Generated Node #0,0: 39:[57, 34, 21] Operation: 89-68=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[57, 34, 21], Operations: ['89-68=21'] Exploring Operation: 57-21=36, Resulting Numbers: [34, 36] Generated Node #0,0,0: 39:[34, 36] Operation: 57-21=36 Moving to Node #0,0,0 Current State: 39:[34, 36], Operations: ['89-68=21', '57-21=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,39 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
[ 69, 39, 49, 10 ]
41
[ "69-49=20", "20/10=2", "39+2=41" ]
Current State: 41:[69, 39, 49, 10], Operations: [] Exploring Operation: 69-49=20, Resulting Numbers: [39, 10, 20] Generated Node #2: [39, 10, 20] from Operation: 69-49=20 Current State: 41:[39, 10, 20], Operations: ['69-49=20'] Exploring Operation: 20/10=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 20/10=2 Current State: 41:[39, 2], Operations: ['69-49=20', '20/10=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[69, 39, 49, 10], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [69, 39, 39] Generated Node #0,0: 41:[69, 39, 39] Operation: 49-10=39 Exploring Operation: 69+10=79, Resulting Numbers: [39, 49, 79] Generated Node #0,1: 41:[39, 49, 79] Operation: 69+10=79 Exploring Operation: 69-10=59, Resulting Numbers: [39, 49, 59] Generated Node #0,2: 41:[39, 49, 59] Operation: 69-10=59 Exploring Operation: 39+10=49, Resulting Numbers: [69, 49, 49] Generated Node #0,3: 41:[69, 49, 49] Operation: 39+10=49 Exploring Operation: 39-10=29, Resulting Numbers: [69, 49, 29] Generated Node #0,4: 41:[69, 49, 29] Operation: 39-10=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[39, 49, 59], Operations: ['69-10=59'] Exploring Operation: 59-39=20, Resulting Numbers: [49, 20] Generated Node #0,2,0: 41:[49, 20] Operation: 59-39=20 Exploring Operation: 39+59=98, Resulting Numbers: [49, 98] Generated Node #0,2,1: 41:[49, 98] Operation: 39+59=98 Exploring Operation: 59-49=10, Resulting Numbers: [39, 10] Generated Node #0,2,2: 41:[39, 10] Operation: 59-49=10 Exploring Operation: 49-39=10, Resulting Numbers: [59, 10] Generated Node #0,2,3: 41:[59, 10] Operation: 49-39=10 Exploring Operation: 39+49=88, Resulting Numbers: [59, 88] Generated Node #0,2,4: 41:[59, 88] Operation: 39+49=88 Moving to Node #0,2,0 Current State: 41:[49, 20], Operations: ['69-10=59', '59-39=20'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,41 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[39, 10], Operations: ['69-10=59', '59-49=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,41 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[59, 10], Operations: ['69-10=59', '49-39=10'] Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[49, 98], Operations: ['69-10=59', '39+59=98'] Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 49+98=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 49*98=4802, Resulting Numbers: [4802] 4802,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[59, 88], Operations: ['69-10=59', '39+49=88'] Exploring Operation: 88-59=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 59*88=5192, Resulting Numbers: [5192] 5192,41 unequal: No Solution Exploring Operation: 59+88=147, Resulting Numbers: [147] 147,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[69, 39, 39], Operations: ['49-10=39'] Exploring Operation: 39/39=1, Resulting Numbers: [69, 1] Generated Node #0,0,0: 41:[69, 1] Operation: 39/39=1 Exploring Operation: 69-39=30, Resulting Numbers: [39, 30] Generated Node #0,0,1: 41:[39, 30] Operation: 69-39=30 Exploring Operation: 39+39=78, Resulting Numbers: [69, 78] Generated Node #0,0,2: 41:[69, 78] Operation: 39+39=78 Exploring Operation: 69+39=108, Resulting Numbers: [39, 108] Generated Node #0,0,3: 41:[39, 108] Operation: 69+39=108 Exploring Operation: 69-39=30, Resulting Numbers: [39, 30] Generated Node #0,0,4: 41:[39, 30] Operation: 69-39=30 Moving to Node #0,0,1 Current State: 41:[39, 30], Operations: ['49-10=39', '69-39=30'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[39, 30], Operations: ['49-10=39', '69-39=30'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[69, 78], Operations: ['49-10=39', '39+39=78'] Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 69+78=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 69*78=5382, Resulting Numbers: [5382] 5382,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[69, 1], Operations: ['49-10=39', '39/39=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[39, 108], Operations: ['49-10=39', '69+39=108'] Exploring Operation: 39*108=4212, Resulting Numbers: [4212] 4212,41 unequal: No Solution Exploring Operation: 108-39=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 39+108=147, Resulting Numbers: [147] 147,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[69, 49, 49], Operations: ['39+10=49'] Exploring Operation: 49/49=1, Resulting Numbers: [69, 1] Generated Node #0,3,0: 41:[69, 1] Operation: 49/49=1 Exploring Operation: 69-49=20, Resulting Numbers: [49, 20] Generated Node #0,3,1: 41:[49, 20] Operation: 69-49=20 Exploring Operation: 49-49=0, Resulting Numbers: [69, 0] Generated Node #0,3,2: 41:[69, 0] Operation: 49-49=0 Exploring Operation: 69+49=118, Resulting Numbers: [49, 118] Generated Node #0,3,3: 41:[49, 118] Operation: 69+49=118 Exploring Operation: 69-49=20, Resulting Numbers: [49, 20] Generated Node #0,3,4: 41:[49, 20] Operation: 69-49=20 Moving to Node #0,3,1 Current State: 41:[49, 20], Operations: ['39+10=49', '69-49=20'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,41 unequal: No Solution Moving to Node #0,3,4 Current State: 41:[49, 20], Operations: ['39+10=49', '69-49=20'] Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,41 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[69, 1], Operations: ['39+10=49', '49/49=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[69, 0], Operations: ['39+10=49', '49-49=0'] Exploring Operation: 69-0=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 69*0=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 69+0=69, Resulting Numbers: [69] 69,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[49, 118], Operations: ['39+10=49', '69+49=118'] Exploring Operation: 49*118=5782, Resulting Numbers: [5782] 5782,41 unequal: No Solution Exploring Operation: 118-49=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 49+118=167, Resulting Numbers: [167] 167,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[39, 49, 79], Operations: ['69+10=79'] Exploring Operation: 79-39=40, Resulting Numbers: [49, 40] Generated Node #0,1,0: 41:[49, 40] Operation: 79-39=40 Exploring Operation: 39+79=118, Resulting Numbers: [49, 118] Generated Node #0,1,1: 41:[49, 118] Operation: 39+79=118 Exploring Operation: 39+49=88, Resulting Numbers: [79, 88] Generated Node #0,1,2: 41:[79, 88] Operation: 39+49=88 Exploring Operation: 79-49=30, Resulting Numbers: [39, 30] Generated Node #0,1,3: 41:[39, 30] Operation: 79-49=30 Exploring Operation: 49-39=10, Resulting Numbers: [79, 10] Generated Node #0,1,4: 41:[79, 10] Operation: 49-39=10 Moving to Node #0,1,0 Current State: 41:[49, 40], Operations: ['69+10=79', '79-39=40'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 49*40=1960, Resulting Numbers: [1960] 1960,41 unequal: No Solution Exploring Operation: 49+40=89, Resulting Numbers: [89] 89,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[39, 30], Operations: ['69+10=79', '79-49=30'] Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[79, 10], Operations: ['69+10=79', '49-39=10'] Exploring Operation: 79*10=790, Resulting Numbers: [790] 790,41 unequal: No Solution Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[49, 118], Operations: ['69+10=79', '39+79=118'] Exploring Operation: 118-49=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 49*118=5782, Resulting Numbers: [5782] 5782,41 unequal: No Solution Exploring Operation: 49+118=167, Resulting Numbers: [167] 167,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[79, 88], Operations: ['69+10=79', '39+49=88'] Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 79*88=6952, Resulting Numbers: [6952] 6952,41 unequal: No Solution Exploring Operation: 79+88=167, Resulting Numbers: [167] 167,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[69, 49, 29], Operations: ['39-10=29'] Exploring Operation: 69-49=20, Resulting Numbers: [29, 20] Generated Node #0,4,0: 41:[29, 20] Operation: 69-49=20 Exploring Operation: 69+29=98, Resulting Numbers: [49, 98] Generated Node #0,4,1: 41:[49, 98] Operation: 69+29=98 Exploring Operation: 69-29=40, Resulting Numbers: [49, 40] Generated Node #0,4,2: 41:[49, 40] Operation: 69-29=40 Exploring Operation: 49+29=78, Resulting Numbers: [69, 78] Generated Node #0,4,3: 41:[69, 78] Operation: 49+29=78 Exploring Operation: 49-29=20, Resulting Numbers: [69, 20] Generated Node #0,4,4: 41:[69, 20] Operation: 49-29=20 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 41:[49, 40], Operations: ['39-10=29', '69-29=40'] Exploring Operation: 49*40=1960, Resulting Numbers: [1960] 1960,41 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 49+40=89, Resulting Numbers: [89] 89,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 41:[29, 20], Operations: ['39-10=29', '69-49=20'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,41 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 41:[69, 20], Operations: ['39-10=29', '49-29=20'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 41:[49, 98], Operations: ['39-10=29', '69+29=98'] Exploring Operation: 49*98=4802, Resulting Numbers: [4802] 4802,41 unequal: No Solution Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 49+98=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 41:[69, 78], Operations: ['39-10=29', '49+29=78'] Exploring Operation: 69+78=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 69*78=5382, Resulting Numbers: [5382] 5382,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 14, 60, 28, 11 ]
57
[ "14+60=74", "28-11=17", "74-17=57" ]
Current State: 57:[14, 60, 28, 11], Operations: [] Exploring Operation: 14+60=74, Resulting Numbers: [28, 11, 74] Generated Node #2: [28, 11, 74] from Operation: 14+60=74 Current State: 57:[28, 11, 74], Operations: ['14+60=74'] Exploring Operation: 28-11=17, Resulting Numbers: [74, 17] Generated Node #3: [74, 17] from Operation: 28-11=17 Current State: 57:[74, 17], Operations: ['14+60=74', '28-11=17'] Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[14, 60, 28, 11], Operations: [] Exploring Operation: 14+11=25, Resulting Numbers: [60, 28, 25] Generated Node #0,0: 57:[60, 28, 25] Operation: 14+11=25 Exploring Operation: 28-14=14, Resulting Numbers: [60, 11, 14] Generated Node #0,1: 57:[60, 11, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [60, 11, 2] Generated Node #0,2: 57:[60, 11, 2] Operation: 28/14=2 Exploring Operation: 28-11=17, Resulting Numbers: [14, 60, 17] Generated Node #0,3: 57:[14, 60, 17] Operation: 28-11=17 Exploring Operation: 14-11=3, Resulting Numbers: [60, 28, 3] Generated Node #0,4: 57:[60, 28, 3] Operation: 14-11=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[14, 60, 17], Operations: ['28-11=17'] Exploring Operation: 60-17=43, Resulting Numbers: [14, 43] Generated Node #0,3,0: 57:[14, 43] Operation: 60-17=43 Exploring Operation: 60-14=46, Resulting Numbers: [17, 46] Generated Node #0,3,1: 57:[17, 46] Operation: 60-14=46 Exploring Operation: 14+17=31, Resulting Numbers: [60, 31] Generated Node #0,3,2: 57:[60, 31] Operation: 14+17=31 Exploring Operation: 14+60=74, Resulting Numbers: [17, 74] Generated Node #0,3,3: 57:[17, 74] Operation: 14+60=74 Exploring Operation: 17-14=3, Resulting Numbers: [60, 3] Generated Node #0,3,4: 57:[60, 3] Operation: 17-14=3 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 57:[60, 3], Operations: ['28-11=17', '17-14=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[14, 60, 28, 11], Operations: [] Exploring Operation: 28-11=17, Resulting Numbers: [14, 60, 17] Generated Node #0,3: 57:[14, 60, 17] Operation: 28-11=17 Moving to Node #0,3 Current State: 57:[14, 60, 17], Operations: ['28-11=17'] Exploring Operation: 17-14=3, Resulting Numbers: [60, 3] Generated Node #0,3,4: 57:[60, 3] Operation: 17-14=3 Moving to Node #0,3,4 Current State: 57:[60, 3], Operations: ['28-11=17', '17-14=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 82, 2, 34, 52 ]
49
[ "82-52=30", "30/2=15", "34+15=49" ]
Current State: 49:[82, 2, 34, 52], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [2, 34, 30] Generated Node #2: [2, 34, 30] from Operation: 82-52=30 Current State: 49:[2, 34, 30], Operations: ['82-52=30'] Exploring Operation: 30/2=15, Resulting Numbers: [34, 15] Generated Node #3: [34, 15] from Operation: 30/2=15 Current State: 49:[34, 15], Operations: ['82-52=30', '30/2=15'] Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[82, 2, 34, 52], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [2, 52, 48] Generated Node #0,0: 49:[2, 52, 48] Operation: 82-34=48 Exploring Operation: 82/2=41, Resulting Numbers: [34, 52, 41] Generated Node #0,1: 49:[34, 52, 41] Operation: 82/2=41 Moving to Node #0,0 Current State: 49:[2, 52, 48], Operations: ['82-34=48'] Exploring Operation: 52-2=50, Resulting Numbers: [48, 50] Generated Node #0,0,0: 49:[48, 50] Operation: 52-2=50 Exploring Operation: 2+48=50, Resulting Numbers: [52, 50] Generated Node #0,0,1: 49:[52, 50] Operation: 2+48=50 Moving to Node #0,1 Current State: 49:[34, 52, 41], Operations: ['82/2=41'] Exploring Operation: 41-34=7, Resulting Numbers: [52, 7] Generated Node #0,1,0: 49:[52, 7] Operation: 41-34=7 Exploring Operation: 52-34=18, Resulting Numbers: [41, 18] Generated Node #0,1,1: 49:[41, 18] Operation: 52-34=18 Moving to Node #0,0,0 Current State: 49:[48, 50], Operations: ['82-34=48', '52-2=50'] Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,49 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[52, 7], Operations: ['82/2=41', '41-34=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[52, 50], Operations: ['82-34=48', '2+48=50'] Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[41, 18], Operations: ['82/2=41', '52-34=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,49 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 45, 12, 23, 67 ]
57
[ "45-12=33", "23+67=90", "90-33=57" ]
Current State: 57:[45, 12, 23, 67], Operations: [] Exploring Operation: 45-12=33, Resulting Numbers: [23, 67, 33] Generated Node #2: [23, 67, 33] from Operation: 45-12=33 Current State: 57:[23, 67, 33], Operations: ['45-12=33'] Exploring Operation: 23+67=90, Resulting Numbers: [33, 90] Generated Node #3: [33, 90] from Operation: 23+67=90 Current State: 57:[33, 90], Operations: ['45-12=33', '23+67=90'] Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[45, 12, 23, 67], Operations: [] Exploring Operation: 45+12=57, Resulting Numbers: [23, 67, 57] Generated Node #0,0: 57:[23, 67, 57] Operation: 45+12=57 Exploring Operation: 45-12=33, Resulting Numbers: [23, 67, 33] Generated Node #0,1: 57:[23, 67, 33] Operation: 45-12=33 Exploring Operation: 67-45=22, Resulting Numbers: [12, 23, 22] Generated Node #0,2: 57:[12, 23, 22] Operation: 67-45=22 Exploring Operation: 67-12=55, Resulting Numbers: [45, 23, 55] Generated Node #0,3: 57:[45, 23, 55] Operation: 67-12=55 Exploring Operation: 45-23=22, Resulting Numbers: [12, 67, 22] Generated Node #0,4: 57:[12, 67, 22] Operation: 45-23=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[23, 67, 57], Operations: ['45+12=57'] Exploring Operation: 57-23=34, Resulting Numbers: [67, 34] Generated Node #0,0,0: 57:[67, 34] Operation: 57-23=34 Exploring Operation: 67-57=10, Resulting Numbers: [23, 10] Generated Node #0,0,1: 57:[23, 10] Operation: 67-57=10 Exploring Operation: 23+57=80, Resulting Numbers: [67, 80] Generated Node #0,0,2: 57:[67, 80] Operation: 23+57=80 Exploring Operation: 67-23=44, Resulting Numbers: [57, 44] Generated Node #0,0,3: 57:[57, 44] Operation: 67-23=44 Exploring Operation: 23+67=90, Resulting Numbers: [57, 90] Generated Node #0,0,4: 57:[57, 90] Operation: 23+67=90 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[23, 10], Operations: ['45+12=57', '67-57=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,57 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 57:[57, 44], Operations: ['45+12=57', '67-23=44'] Exploring Operation: 57*44=2508, Resulting Numbers: [2508] 2508,57 unequal: No Solution Exploring Operation: 57+44=101, Resulting Numbers: [101] 101,57 unequal: No Solution Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,57 unequal: No Solution No 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: 57:[67, 34], Operations: ['45+12=57', '57-23=34'] Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,57 unequal: No Solution Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,57 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,57 unequal: No Solution No 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: 57:[67, 80], Operations: ['45+12=57', '23+57=80'] Exploring Operation: 67+80=147, Resulting Numbers: [147] 147,57 unequal: No Solution Exploring Operation: 80-67=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 67*80=5360, Resulting Numbers: [5360] 5360,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 57:[57, 90], Operations: ['45+12=57', '23+67=90'] Exploring Operation: 57+90=147, Resulting Numbers: [147] 147,57 unequal: No Solution Exploring Operation: 57*90=5130, Resulting Numbers: [5130] 5130,57 unequal: No Solution Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,57 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: 57:[12, 23, 22], Operations: ['67-45=22'] Exploring Operation: 23-12=11, Resulting Numbers: [22, 11] Generated Node #0,2,0: 57:[22, 11] Operation: 23-12=11 Exploring Operation: 12+22=34, Resulting Numbers: [23, 34] Generated Node #0,2,1: 57:[23, 34] Operation: 12+22=34 Exploring Operation: 22-12=10, Resulting Numbers: [23, 10] Generated Node #0,2,2: 57:[23, 10] Operation: 22-12=10 Exploring Operation: 12+23=35, Resulting Numbers: [22, 35] Generated Node #0,2,3: 57:[22, 35] Operation: 12+23=35 Exploring Operation: 23-22=1, Resulting Numbers: [12, 1] Generated Node #0,2,4: 57:[12, 1] Operation: 23-22=1 Moving to Node #0,2,4 Current State: 57:[12, 1], Operations: ['67-45=22', '23-22=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[23, 10], Operations: ['67-45=22', '22-12=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,57 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[22, 11], Operations: ['67-45=22', '23-12=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[23, 34], Operations: ['67-45=22', '12+22=34'] Exploring Operation: 23+34=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[45, 12, 23, 67], Operations: [] Exploring Operation: 67-45=22, Resulting Numbers: [12, 23, 22] Generated Node #0,2: 57:[12, 23, 22] Operation: 67-45=22 Moving to Node #0,2 Current State: 57:[12, 23, 22], Operations: ['67-45=22'] Exploring Operation: 12+22=34, Resulting Numbers: [23, 34] Generated Node #0,2,1: 57:[23, 34] Operation: 12+22=34 Moving to Node #0,2,1 Current State: 57:[23, 34], Operations: ['67-45=22', '12+22=34'] Exploring Operation: 23+34=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 76, 42, 25, 61 ]
32
[ "76+42=118", "25+61=86", "118-86=32" ]
Current State: 32:[76, 42, 25, 61], Operations: [] Exploring Operation: 76+42=118, Resulting Numbers: [25, 61, 118] Generated Node #2: [25, 61, 118] from Operation: 76+42=118 Current State: 32:[25, 61, 118], Operations: ['76+42=118'] Exploring Operation: 25+61=86, Resulting Numbers: [118, 86] Generated Node #3: [118, 86] from Operation: 25+61=86 Current State: 32:[118, 86], Operations: ['76+42=118', '25+61=86'] Exploring Operation: 118-86=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[76, 42, 25, 61], Operations: [] Exploring Operation: 61-42=19, Resulting Numbers: [76, 25, 19] Generated Node #0,0: 32:[76, 25, 19] Operation: 61-42=19 Exploring Operation: 76-61=15, Resulting Numbers: [42, 25, 15] Generated Node #0,1: 32:[42, 25, 15] Operation: 76-61=15 Exploring Operation: 76-42=34, Resulting Numbers: [25, 61, 34] Generated Node #0,2: 32:[25, 61, 34] Operation: 76-42=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[42, 25, 15], Operations: ['76-61=15'] Exploring Operation: 42-15=27, Resulting Numbers: [25, 27] Generated Node #0,1,0: 32:[25, 27] Operation: 42-15=27 Exploring Operation: 25-15=10, Resulting Numbers: [42, 10] Generated Node #0,1,1: 32:[42, 10] Operation: 25-15=10 Exploring Operation: 42-25=17, Resulting Numbers: [15, 17] Generated Node #0,1,2: 32:[15, 17] Operation: 42-25=17 Moving to Node #0,1,2 Current State: 32:[15, 17], Operations: ['76-61=15', '42-25=17'] Exploring Operation: 15*17=255, Resulting Numbers: [255] 255,32 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 15+17=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[76, 42, 25, 61], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [42, 25, 15] Generated Node #0,1: 32:[42, 25, 15] Operation: 76-61=15 Moving to Node #0,1 Current State: 32:[42, 25, 15], Operations: ['76-61=15'] Exploring Operation: 42-25=17, Resulting Numbers: [15, 17] Generated Node #0,1,2: 32:[15, 17] Operation: 42-25=17 Moving to Node #0,1,2 Current State: 32:[15, 17], Operations: ['76-61=15', '42-25=17'] Exploring Operation: 15+17=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 35, 80, 45, 11 ]
88
[ "45-35=10", "80*11=880", "880/10=88" ]
Current State: 88:[35, 80, 45, 11], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [80, 11, 10] Generated Node #2: [80, 11, 10] from Operation: 45-35=10 Current State: 88:[80, 11, 10], Operations: ['45-35=10'] Exploring Operation: 80*11=880, Resulting Numbers: [10, 880] Generated Node #3: [10, 880] from Operation: 80*11=880 Current State: 88:[10, 880], Operations: ['45-35=10', '80*11=880'] Exploring Operation: 880/10=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[35, 80, 45, 11], Operations: [] Exploring Operation: 35+11=46, Resulting Numbers: [80, 45, 46] Generated Node #0,0: 88:[80, 45, 46] Operation: 35+11=46 Exploring Operation: 80-35=45, Resulting Numbers: [45, 11, 45] Generated Node #0,1: 88:[45, 11, 45] Operation: 80-35=45 Exploring Operation: 45-35=10, Resulting Numbers: [80, 11, 10] Generated Node #0,2: 88:[80, 11, 10] Operation: 45-35=10 Moving to Node #0,1 Current State: 88:[45, 11, 45], Operations: ['80-35=45'] Exploring Operation: 45+45=90, Resulting Numbers: [11, 90] Generated Node #0,1,0: 88:[11, 90] Operation: 45+45=90 Exploring Operation: 45-45=0, Resulting Numbers: [11, 0] Generated Node #0,1,1: 88:[11, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [11, 1] Generated Node #0,1,2: 88:[11, 1] Operation: 45/45=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[11, 1], Operations: ['80-35=45', '45/45=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[11, 90], Operations: ['80-35=45', '45+45=90'] Exploring Operation: 11+90=101, Resulting Numbers: [101] 101,88 unequal: No Solution Exploring Operation: 11*90=990, Resulting Numbers: [990] 990,88 unequal: No Solution Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[11, 0], Operations: ['80-35=45', '45-45=0'] Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,88 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: 88:[80, 11, 10], Operations: ['45-35=10'] Exploring Operation: 80/10=8, Resulting Numbers: [11, 8] Generated Node #0,2,0: 88:[11, 8] Operation: 80/10=8 Exploring Operation: 80+11=91, Resulting Numbers: [10, 91] Generated Node #0,2,1: 88:[10, 91] Operation: 80+11=91 Exploring Operation: 80+10=90, Resulting Numbers: [11, 90] Generated Node #0,2,2: 88:[11, 90] Operation: 80+10=90 Moving to Node #0,0 Current State: 88:[80, 45, 46], Operations: ['35+11=46'] Exploring Operation: 80-45=35, Resulting Numbers: [46, 35] Generated Node #0,0,0: 88:[46, 35] Operation: 80-45=35 Exploring Operation: 80-46=34, Resulting Numbers: [45, 34] Generated Node #0,0,1: 88:[45, 34] Operation: 80-46=34 Exploring Operation: 46-45=1, Resulting Numbers: [80, 1] Generated Node #0,0,2: 88:[80, 1] Operation: 46-45=1 Moving to Node #0,2,0 Current State: 88:[11, 8], Operations: ['45-35=10', '80/10=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[35, 80, 45, 11], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [80, 11, 10] Generated Node #0,2: 88:[80, 11, 10] Operation: 45-35=10 Moving to Node #0,2 Current State: 88:[80, 11, 10], Operations: ['45-35=10'] Exploring Operation: 80/10=8, Resulting Numbers: [11, 8] Generated Node #0,2,0: 88:[11, 8] Operation: 80/10=8 Moving to Node #0,2,0 Current State: 88:[11, 8], Operations: ['45-35=10', '80/10=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 78, 2, 56, 39 ]
28
[ "78+56=134", "134/2=67", "67-39=28" ]
Current State: 28:[78, 2, 56, 39], Operations: [] Exploring Operation: 78+56=134, Resulting Numbers: [2, 39, 134] Generated Node #2: [2, 39, 134] from Operation: 78+56=134 Current State: 28:[2, 39, 134], Operations: ['78+56=134'] Exploring Operation: 134/2=67, Resulting Numbers: [39, 67] Generated Node #3: [39, 67] from Operation: 134/2=67 Current State: 28:[39, 67], Operations: ['78+56=134', '134/2=67'] Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[78, 2, 56, 39], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [2, 56, 2] Generated Node #0,0: 28:[2, 56, 2] Operation: 78/39=2 Exploring Operation: 78-56=22, Resulting Numbers: [2, 39, 22] Generated Node #0,1: 28:[2, 39, 22] Operation: 78-56=22 Moving to Node #0,1 Current State: 28:[2, 39, 22], Operations: ['78-56=22'] Exploring Operation: 22/2=11, Resulting Numbers: [39, 11] Generated Node #0,1,0: 28:[39, 11] Operation: 22/2=11 Exploring Operation: 39-22=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 28:[2, 17] Operation: 39-22=17 Moving to Node #0,0 Current State: 28:[2, 56, 2], Operations: ['78/39=2'] Exploring Operation: 56/2=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 28:[2, 28] Operation: 56/2=28 Exploring Operation: 56/2=28, Resulting Numbers: [2, 28] Generated Node #0,0,1: 28:[2, 28] Operation: 56/2=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[2, 28], Operations: ['78/39=2', '56/2=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[2, 28], Operations: ['78/39=2', '56/2=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,28 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: 28:[2, 17], Operations: ['78-56=22', '39-22=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[39, 11], Operations: ['78-56=22', '22/2=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[78, 2, 56, 39], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [2, 39, 22] Generated Node #0,1: 28:[2, 39, 22] Operation: 78-56=22 Moving to Node #0,1 Current State: 28:[2, 39, 22], Operations: ['78-56=22'] Exploring Operation: 22/2=11, Resulting Numbers: [39, 11] Generated Node #0,1,0: 28:[39, 11] Operation: 22/2=11 Moving to Node #0,1,0 Current State: 28:[39, 11], Operations: ['78-56=22', '22/2=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 30, 1, 77, 63 ]
15
[ "30-1=29", "77-63=14", "29-14=15" ]
Current State: 15:[30, 1, 77, 63], Operations: [] Exploring Operation: 30-1=29, Resulting Numbers: [77, 63, 29] Generated Node #2: [77, 63, 29] from Operation: 30-1=29 Current State: 15:[77, 63, 29], Operations: ['30-1=29'] Exploring Operation: 77-63=14, Resulting Numbers: [29, 14] Generated Node #3: [29, 14] from Operation: 77-63=14 Current State: 15:[29, 14], Operations: ['30-1=29', '77-63=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[30, 1, 77, 63], Operations: [] Exploring Operation: 77-30=47, Resulting Numbers: [1, 63, 47] Generated Node #0,0: 15:[1, 63, 47] Operation: 77-30=47 Exploring Operation: 77-63=14, Resulting Numbers: [30, 1, 14] Generated Node #0,1: 15:[30, 1, 14] Operation: 77-63=14 Exploring Operation: 63-30=33, Resulting Numbers: [1, 77, 33] Generated Node #0,2: 15:[1, 77, 33] Operation: 63-30=33 Exploring Operation: 30-1=29, Resulting Numbers: [77, 63, 29] Generated Node #0,3: 15:[77, 63, 29] Operation: 30-1=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[30, 1, 14], Operations: ['77-63=14'] Exploring Operation: 30-1=29, Resulting Numbers: [14, 29] Generated Node #0,1,0: 15:[14, 29] Operation: 30-1=29 Exploring Operation: 30*1=30, Resulting Numbers: [14, 30] Generated Node #0,1,1: 15:[14, 30] Operation: 30*1=30 Exploring Operation: 1+14=15, Resulting Numbers: [30, 15] Generated Node #0,1,2: 15:[30, 15] Operation: 1+14=15 Exploring Operation: 30-14=16, Resulting Numbers: [1, 16] Generated Node #0,1,3: 15:[1, 16] Operation: 30-14=16 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[1, 16], Operations: ['77-63=14', '30-14=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[30, 1, 77, 63], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [30, 1, 14] Generated Node #0,1: 15:[30, 1, 14] Operation: 77-63=14 Moving to Node #0,1 Current State: 15:[30, 1, 14], Operations: ['77-63=14'] Exploring Operation: 30-14=16, Resulting Numbers: [1, 16] Generated Node #0,1,3: 15:[1, 16] Operation: 30-14=16 Moving to Node #0,1,3 Current State: 15:[1, 16], Operations: ['77-63=14', '30-14=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 46, 57, 18, 16 ]
35
[ "18-16=2", "46*2=92", "92-57=35" ]
Current State: 35:[46, 57, 18, 16], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [46, 57, 2] Generated Node #2: [46, 57, 2] from Operation: 18-16=2 Current State: 35:[46, 57, 2], Operations: ['18-16=2'] Exploring Operation: 46*2=92, Resulting Numbers: [57, 92] Generated Node #3: [57, 92] from Operation: 46*2=92 Current State: 35:[57, 92], Operations: ['18-16=2', '46*2=92'] Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[46, 57, 18, 16], Operations: [] Exploring Operation: 57-16=41, Resulting Numbers: [46, 18, 41] Generated Node #0,0: 35:[46, 18, 41] Operation: 57-16=41 Exploring Operation: 57-46=11, Resulting Numbers: [18, 16, 11] Generated Node #0,1: 35:[18, 16, 11] Operation: 57-46=11 Exploring Operation: 57-18=39, Resulting Numbers: [46, 16, 39] Generated Node #0,2: 35:[46, 16, 39] Operation: 57-18=39 Moving to Node #0,1 Current State: 35:[18, 16, 11], Operations: ['57-46=11'] Exploring Operation: 18-11=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 35:[16, 7] Operation: 18-11=7 Exploring Operation: 18-16=2, Resulting Numbers: [11, 2] Generated Node #0,1,1: 35:[11, 2] Operation: 18-16=2 Exploring Operation: 18+16=34, Resulting Numbers: [11, 34] Generated Node #0,1,2: 35:[11, 34] Operation: 18+16=34 Moving to Node #0,2 Current State: 35:[46, 16, 39], Operations: ['57-18=39'] Exploring Operation: 39-16=23, Resulting Numbers: [46, 23] Generated Node #0,2,0: 35:[46, 23] Operation: 39-16=23 Exploring Operation: 46-39=7, Resulting Numbers: [16, 7] Generated Node #0,2,1: 35:[16, 7] Operation: 46-39=7 Exploring Operation: 46-16=30, Resulting Numbers: [39, 30] Generated Node #0,2,2: 35:[39, 30] Operation: 46-16=30 Moving to Node #0,0 Current State: 35:[46, 18, 41], Operations: ['57-16=41'] Exploring Operation: 46-18=28, Resulting Numbers: [41, 28] Generated Node #0,0,0: 35:[41, 28] Operation: 46-18=28 Exploring Operation: 46-41=5, Resulting Numbers: [18, 5] Generated Node #0,0,1: 35:[18, 5] Operation: 46-41=5 Exploring Operation: 41-18=23, Resulting Numbers: [46, 23] Generated Node #0,0,2: 35:[46, 23] Operation: 41-18=23 Moving to Node #0,1,2 Current State: 35:[11, 34], Operations: ['57-46=11', '18+16=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,35 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[11, 2], Operations: ['57-46=11', '18-16=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[16, 7], Operations: ['57-46=11', '18-11=7'] Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,35 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[39, 30], Operations: ['57-18=39', '46-16=30'] Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,35 unequal: No Solution Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,35 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[16, 7], Operations: ['57-18=39', '46-39=7'] Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,35 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[18, 5], Operations: ['57-16=41', '46-41=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[41, 28], Operations: ['57-16=41', '46-18=28'] Exploring Operation: 41*28=1148, Resulting Numbers: [1148] 1148,35 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[46, 23], Operations: ['57-18=39', '39-16=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,35 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[46, 23], Operations: ['57-16=41', '41-18=23'] Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,35 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 34, 6, 37, 46 ]
51
[ "46-37=9", "34*9=306", "306/6=51" ]
Current State: 51:[34, 6, 37, 46], Operations: [] Exploring Operation: 46-37=9, Resulting Numbers: [34, 6, 9] Generated Node #2: [34, 6, 9] from Operation: 46-37=9 Current State: 51:[34, 6, 9], Operations: ['46-37=9'] Exploring Operation: 34*9=306, Resulting Numbers: [6, 306] Generated Node #3: [6, 306] from Operation: 34*9=306 Current State: 51:[6, 306], Operations: ['46-37=9', '34*9=306'] Exploring Operation: 306/6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[34, 6, 37, 46], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [6, 37, 12] Generated Node #0,0: 51:[6, 37, 12] Operation: 46-34=12 Exploring Operation: 46-37=9, Resulting Numbers: [34, 6, 9] Generated Node #0,1: 51:[34, 6, 9] Operation: 46-37=9 Exploring Operation: 37-34=3, Resulting Numbers: [6, 46, 3] Generated Node #0,2: 51:[6, 46, 3] Operation: 37-34=3 Moving to Node #0,2 Current State: 51:[6, 46, 3], Operations: ['37-34=3'] Exploring Operation: 6+46=52, Resulting Numbers: [3, 52] Generated Node #0,2,0: 51:[3, 52] Operation: 6+46=52 Exploring Operation: 6-3=3, Resulting Numbers: [46, 3] Generated Node #0,2,1: 51:[46, 3] Operation: 6-3=3 Exploring Operation: 46+3=49, Resulting Numbers: [6, 49] Generated Node #0,2,2: 51:[6, 49] Operation: 46+3=49 Moving to Node #0,0 Current State: 51:[6, 37, 12], Operations: ['46-34=12'] Exploring Operation: 37-12=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 51:[6, 25] Operation: 37-12=25 Exploring Operation: 37+12=49, Resulting Numbers: [6, 49] Generated Node #0,0,1: 51:[6, 49] Operation: 37+12=49 Exploring Operation: 6+37=43, Resulting Numbers: [12, 43] Generated Node #0,0,2: 51:[12, 43] Operation: 6+37=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[6, 49], Operations: ['46-34=12', '37+12=49'] Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,51 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,51 unequal: No Solution No 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: 51:[6, 25], Operations: ['46-34=12', '37-12=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,51 unequal: No Solution No 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: 51:[12, 43], Operations: ['46-34=12', '6+37=43'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,51 unequal: No Solution Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,51 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: 51:[34, 6, 9], Operations: ['46-37=9'] Exploring Operation: 34-9=25, Resulting Numbers: [6, 25] Generated Node #0,1,0: 51:[6, 25] Operation: 34-9=25 Exploring Operation: 34+6=40, Resulting Numbers: [9, 40] Generated Node #0,1,1: 51:[9, 40] Operation: 34+6=40 Exploring Operation: 34+9=43, Resulting Numbers: [6, 43] Generated Node #0,1,2: 51:[6, 43] Operation: 34+9=43 Moving to Node #0,2,0 Current State: 51:[3, 52], Operations: ['37-34=3', '6+46=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[6, 49], Operations: ['37-34=3', '46+3=49'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[46, 3], Operations: ['37-34=3', '6-3=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,51 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[6, 25], Operations: ['46-37=9', '34-9=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[6, 43], Operations: ['46-37=9', '34+9=43'] Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,51 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[9, 40], Operations: ['46-37=9', '34+6=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,51 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 88, 84, 75, 32 ]
53
[ "88-84=4", "32*4=128", "128-75=53" ]
Current State: 53:[88, 84, 75, 32], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [75, 32, 4] Generated Node #2: [75, 32, 4] from Operation: 88-84=4 Current State: 53:[75, 32, 4], Operations: ['88-84=4'] Exploring Operation: 32*4=128, Resulting Numbers: [75, 128] Generated Node #3: [75, 128] from Operation: 32*4=128 Current State: 53:[75, 128], Operations: ['88-84=4', '32*4=128'] Exploring Operation: 128-75=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[88, 84, 75, 32], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [75, 32, 4] Generated Node #0,0: 53:[75, 32, 4] Operation: 88-84=4 Exploring Operation: 75-32=43, Resulting Numbers: [88, 84, 43] Generated Node #0,1: 53:[88, 84, 43] Operation: 75-32=43 Exploring Operation: 84-32=52, Resulting Numbers: [88, 75, 52] Generated Node #0,2: 53:[88, 75, 52] Operation: 84-32=52 Exploring Operation: 88-75=13, Resulting Numbers: [84, 32, 13] Generated Node #0,3: 53:[84, 32, 13] Operation: 88-75=13 Exploring Operation: 88-32=56, Resulting Numbers: [84, 75, 56] Generated Node #0,4: 53:[84, 75, 56] Operation: 88-32=56 Start Sub Search at level 1: Moving to Node #0,4 Current State: 53:[84, 75, 56], Operations: ['88-32=56'] Exploring Operation: 75-56=19, Resulting Numbers: [84, 19] Generated Node #0,4,0: 53:[84, 19] Operation: 75-56=19 Exploring Operation: 84-75=9, Resulting Numbers: [56, 9] Generated Node #0,4,1: 53:[56, 9] Operation: 84-75=9 Exploring Operation: 84+56=140, Resulting Numbers: [75, 140] Generated Node #0,4,2: 53:[75, 140] Operation: 84+56=140 Exploring Operation: 84+75=159, Resulting Numbers: [56, 159] Generated Node #0,4,3: 53:[56, 159] Operation: 84+75=159 Exploring Operation: 84-56=28, Resulting Numbers: [75, 28] Generated Node #0,4,4: 53:[75, 28] Operation: 84-56=28 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 53:[56, 9], Operations: ['88-32=56', '84-75=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 53:[75, 28], Operations: ['88-32=56', '84-56=28'] Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,53 unequal: No Solution Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 53:[84, 19], Operations: ['88-32=56', '75-56=19'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 84+19=103, Resulting Numbers: [103] 103,53 unequal: No Solution Exploring Operation: 84*19=1596, Resulting Numbers: [1596] 1596,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 53:[75, 140], Operations: ['88-32=56', '84+56=140'] Exploring Operation: 75*140=10500, Resulting Numbers: [10500] 10500,53 unequal: No Solution Exploring Operation: 140-75=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 75+140=215, Resulting Numbers: [215] 215,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 53:[56, 159], Operations: ['88-32=56', '84+75=159'] Exploring Operation: 56*159=8904, Resulting Numbers: [8904] 8904,53 unequal: No Solution Exploring Operation: 56+159=215, Resulting Numbers: [215] 215,53 unequal: No Solution Exploring Operation: 159-56=103, Resulting Numbers: [103] 103,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[88, 75, 52], Operations: ['84-32=52'] Exploring Operation: 75-52=23, Resulting Numbers: [88, 23] Generated Node #0,2,0: 53:[88, 23] Operation: 75-52=23 Exploring Operation: 88-52=36, Resulting Numbers: [75, 36] Generated Node #0,2,1: 53:[75, 36] Operation: 88-52=36 Exploring Operation: 88+52=140, Resulting Numbers: [75, 140] Generated Node #0,2,2: 53:[75, 140] Operation: 88+52=140 Exploring Operation: 75+52=127, Resulting Numbers: [88, 127] Generated Node #0,2,3: 53:[88, 127] Operation: 75+52=127 Exploring Operation: 88-75=13, Resulting Numbers: [52, 13] Generated Node #0,2,4: 53:[52, 13] Operation: 88-75=13 Moving to Node #0,2,1 Current State: 53:[75, 36], Operations: ['84-32=52', '88-52=36'] Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,53 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[52, 13], Operations: ['84-32=52', '88-75=13'] Exploring Operation: 52+13=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 52*13=676, Resulting Numbers: [676] 676,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[88, 23], Operations: ['84-32=52', '75-52=23'] Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,53 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[75, 140], Operations: ['84-32=52', '88+52=140'] Exploring Operation: 140-75=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 75*140=10500, Resulting Numbers: [10500] 10500,53 unequal: No Solution Exploring Operation: 75+140=215, Resulting Numbers: [215] 215,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[88, 127], Operations: ['84-32=52', '75+52=127'] Exploring Operation: 88*127=11176, Resulting Numbers: [11176] 11176,53 unequal: No Solution Exploring Operation: 88+127=215, Resulting Numbers: [215] 215,53 unequal: No Solution Exploring Operation: 127-88=39, Resulting Numbers: [39] 39,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[88, 84, 43], Operations: ['75-32=43'] Exploring Operation: 88+43=131, Resulting Numbers: [84, 131] Generated Node #0,1,0: 53:[84, 131] Operation: 88+43=131 Exploring Operation: 88-43=45, Resulting Numbers: [84, 45] Generated Node #0,1,1: 53:[84, 45] Operation: 88-43=45 Exploring Operation: 84+43=127, Resulting Numbers: [88, 127] Generated Node #0,1,2: 53:[88, 127] Operation: 84+43=127 Exploring Operation: 88-84=4, Resulting Numbers: [43, 4] Generated Node #0,1,3: 53:[43, 4] Operation: 88-84=4 Exploring Operation: 84-43=41, Resulting Numbers: [88, 41] Generated Node #0,1,4: 53:[88, 41] Operation: 84-43=41 Moving to Node #0,1,1 Current State: 53:[84, 45], Operations: ['75-32=43', '88-43=45'] Exploring Operation: 84+45=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 84*45=3780, Resulting Numbers: [3780] 3780,53 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[88, 41], Operations: ['75-32=43', '84-43=41'] Exploring Operation: 88*41=3608, Resulting Numbers: [3608] 3608,53 unequal: No Solution Exploring Operation: 88+41=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[43, 4], Operations: ['75-32=43', '88-84=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[84, 131], Operations: ['75-32=43', '88+43=131'] Exploring Operation: 131-84=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 84*131=11004, Resulting Numbers: [11004] 11004,53 unequal: No Solution Exploring Operation: 84+131=215, Resulting Numbers: [215] 215,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[88, 127], Operations: ['75-32=43', '84+43=127'] Exploring Operation: 127-88=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 88+127=215, Resulting Numbers: [215] 215,53 unequal: No Solution Exploring Operation: 88*127=11176, Resulting Numbers: [11176] 11176,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[75, 32, 4], Operations: ['88-84=4'] Exploring Operation: 32+4=36, Resulting Numbers: [75, 36] Generated Node #0,0,0: 53:[75, 36] Operation: 32+4=36 Exploring Operation: 75-32=43, Resulting Numbers: [4, 43] Generated Node #0,0,1: 53:[4, 43] Operation: 75-32=43 Exploring Operation: 32-4=28, Resulting Numbers: [75, 28] Generated Node #0,0,2: 53:[75, 28] Operation: 32-4=28 Exploring Operation: 75-4=71, Resulting Numbers: [32, 71] Generated Node #0,0,3: 53:[32, 71] Operation: 75-4=71 Exploring Operation: 75+4=79, Resulting Numbers: [32, 79] Generated Node #0,0,4: 53:[32, 79] Operation: 75+4=79 Moving to Node #0,0,0 Current State: 53:[75, 36], Operations: ['88-84=4', '32+4=36'] Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,53 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,53 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[32, 71], Operations: ['88-84=4', '75-4=71'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,53 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[75, 28], Operations: ['88-84=4', '32-4=28'] Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,53 unequal: No Solution Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,53 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[32, 79], Operations: ['88-84=4', '75+4=79'] Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,53 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[4, 43], Operations: ['88-84=4', '75-32=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,53 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[84, 32, 13], Operations: ['88-75=13'] Exploring Operation: 84+13=97, Resulting Numbers: [32, 97] Generated Node #0,3,0: 53:[32, 97] Operation: 84+13=97 Exploring Operation: 84-32=52, Resulting Numbers: [13, 52] Generated Node #0,3,1: 53:[13, 52] Operation: 84-32=52 Exploring Operation: 84-13=71, Resulting Numbers: [32, 71] Generated Node #0,3,2: 53:[32, 71] Operation: 84-13=71 Exploring Operation: 32+13=45, Resulting Numbers: [84, 45] Generated Node #0,3,3: 53:[84, 45] Operation: 32+13=45 Exploring Operation: 32-13=19, Resulting Numbers: [84, 19] Generated Node #0,3,4: 53:[84, 19] Operation: 32-13=19 Moving to Node #0,3,2 Current State: 53:[32, 71], Operations: ['88-75=13', '84-13=71'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,53 unequal: No Solution Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[84, 45], Operations: ['88-75=13', '32+13=45'] Exploring Operation: 84*45=3780, Resulting Numbers: [3780] 3780,53 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 84+45=129, Resulting Numbers: [129] 129,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[13, 52], Operations: ['88-75=13', '84-32=52'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 13*52=676, Resulting Numbers: [676] 676,53 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[32, 97], Operations: ['88-75=13', '84+13=97'] Exploring Operation: 32*97=3104, Resulting Numbers: [3104] 3104,53 unequal: No Solution Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 32+97=129, Resulting Numbers: [129] 129,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[84, 19], Operations: ['88-75=13', '32-13=19'] Exploring Operation: 84*19=1596, Resulting Numbers: [1596] 1596,53 unequal: No Solution Exploring Operation: 84+19=103, Resulting Numbers: [103] 103,53 unequal: No Solution Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 12, 31, 22, 33 ]
56
[ "33-31=2", "22*2=44", "12+44=56" ]
Current State: 56:[12, 31, 22, 33], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [12, 22, 2] Generated Node #2: [12, 22, 2] from Operation: 33-31=2 Current State: 56:[12, 22, 2], Operations: ['33-31=2'] Exploring Operation: 22*2=44, Resulting Numbers: [12, 44] Generated Node #3: [12, 44] from Operation: 22*2=44 Current State: 56:[12, 44], Operations: ['33-31=2', '22*2=44'] Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[12, 31, 22, 33], Operations: [] Exploring Operation: 31-22=9, Resulting Numbers: [12, 33, 9] Generated Node #0,0: 56:[12, 33, 9] Operation: 31-22=9 Exploring Operation: 33-31=2, Resulting Numbers: [12, 22, 2] Generated Node #0,1: 56:[12, 22, 2] Operation: 33-31=2 Exploring Operation: 22+33=55, Resulting Numbers: [12, 31, 55] Generated Node #0,2: 56:[12, 31, 55] Operation: 22+33=55 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[12, 31, 55], Operations: ['22+33=55'] Exploring Operation: 12+31=43, Resulting Numbers: [55, 43] Generated Node #0,2,0: 56:[55, 43] Operation: 12+31=43 Exploring Operation: 55-31=24, Resulting Numbers: [12, 24] Generated Node #0,2,1: 56:[12, 24] Operation: 55-31=24 Exploring Operation: 31-12=19, Resulting Numbers: [55, 19] Generated Node #0,2,2: 56:[55, 19] Operation: 31-12=19 Moving to Node #0,2,1 Current State: 56:[12, 24], Operations: ['22+33=55', '55-31=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[55, 19], Operations: ['22+33=55', '31-12=19'] Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,56 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[55, 43], Operations: ['22+33=55', '12+31=43'] Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,56 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[12, 33, 9], Operations: ['31-22=9'] Exploring Operation: 12-9=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 56:[33, 3] Operation: 12-9=3 Exploring Operation: 33-12=21, Resulting Numbers: [9, 21] Generated Node #0,0,1: 56:[9, 21] Operation: 33-12=21 Exploring Operation: 33-9=24, Resulting Numbers: [12, 24] Generated Node #0,0,2: 56:[12, 24] Operation: 33-9=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[33, 3], Operations: ['31-22=9', '12-9=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[12, 24], Operations: ['31-22=9', '33-9=24'] Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[9, 21], Operations: ['31-22=9', '33-12=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,56 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[12, 22, 2], Operations: ['33-31=2'] Exploring Operation: 22-12=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 56:[2, 10] Operation: 22-12=10 Exploring Operation: 22/2=11, Resulting Numbers: [12, 11] Generated Node #0,1,1: 56:[12, 11] Operation: 22/2=11 Exploring Operation: 12+22=34, Resulting Numbers: [2, 34] Generated Node #0,1,2: 56:[2, 34] Operation: 12+22=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[2, 10], Operations: ['33-31=2', '22-12=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[12, 11], Operations: ['33-31=2', '22/2=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,56 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[2, 34], Operations: ['33-31=2', '12+22=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 24, 12, 98, 27 ]
59
[ "24-12=12", "98-27=71", "71-12=59" ]
Current State: 59:[24, 12, 98, 27], Operations: [] Exploring Operation: 24-12=12, Resulting Numbers: [98, 27, 12] Generated Node #2: [98, 27, 12] from Operation: 24-12=12 Current State: 59:[98, 27, 12], Operations: ['24-12=12'] Exploring Operation: 98-27=71, Resulting Numbers: [12, 71] Generated Node #3: [12, 71] from Operation: 98-27=71 Current State: 59:[12, 71], Operations: ['24-12=12', '98-27=71'] Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[24, 12, 98, 27], Operations: [] Exploring Operation: 24+12=36, Resulting Numbers: [98, 27, 36] Generated Node #0,0: 59:[98, 27, 36] Operation: 24+12=36 Exploring Operation: 98-24=74, Resulting Numbers: [12, 27, 74] Generated Node #0,1: 59:[12, 27, 74] Operation: 98-24=74 Exploring Operation: 24+27=51, Resulting Numbers: [12, 98, 51] Generated Node #0,2: 59:[12, 98, 51] Operation: 24+27=51 Moving to Node #0,0 Current State: 59:[98, 27, 36], Operations: ['24+12=36'] Exploring Operation: 98-36=62, Resulting Numbers: [27, 62] Generated Node #0,0,0: 59:[27, 62] Operation: 98-36=62 Exploring Operation: 27+36=63, Resulting Numbers: [98, 63] Generated Node #0,0,1: 59:[98, 63] Operation: 27+36=63 Exploring Operation: 98-27=71, Resulting Numbers: [36, 71] Generated Node #0,0,2: 59:[36, 71] Operation: 98-27=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[27, 62], Operations: ['24+12=36', '98-36=62'] Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 27*62=1674, Resulting Numbers: [1674] 1674,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[36, 71], Operations: ['24+12=36', '98-27=71'] Exploring Operation: 36+71=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 36*71=2556, Resulting Numbers: [2556] 2556,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[98, 63], Operations: ['24+12=36', '27+36=63'] Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 98*63=6174, Resulting Numbers: [6174] 6174,59 unequal: No Solution Exploring Operation: 98+63=161, Resulting Numbers: [161] 161,59 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: 59:[12, 27, 74], Operations: ['98-24=74'] Exploring Operation: 74-12=62, Resulting Numbers: [27, 62] Generated Node #0,1,0: 59:[27, 62] Operation: 74-12=62 Exploring Operation: 12+27=39, Resulting Numbers: [74, 39] Generated Node #0,1,1: 59:[74, 39] Operation: 12+27=39 Exploring Operation: 27-12=15, Resulting Numbers: [74, 15] Generated Node #0,1,2: 59:[74, 15] Operation: 27-12=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[27, 62], Operations: ['98-24=74', '74-12=62'] Exploring Operation: 27*62=1674, Resulting Numbers: [1674] 1674,59 unequal: No Solution Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[74, 39], Operations: ['98-24=74', '12+27=39'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,59 unequal: No Solution Exploring Operation: 74*39=2886, Resulting Numbers: [2886] 2886,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[74, 15], Operations: ['98-24=74', '27-12=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[24, 12, 98, 27], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [12, 27, 74] Generated Node #0,1: 59:[12, 27, 74] Operation: 98-24=74 Moving to Node #0,1 Current State: 59:[12, 27, 74], Operations: ['98-24=74'] Exploring Operation: 27-12=15, Resulting Numbers: [74, 15] Generated Node #0,1,2: 59:[74, 15] Operation: 27-12=15 Moving to Node #0,1,2 Current State: 59:[74, 15], Operations: ['98-24=74', '27-12=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 54, 61, 97, 99 ]
88
[ "99-97=2", "54/2=27", "61+27=88" ]
Current State: 88:[54, 61, 97, 99], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [54, 61, 2] Generated Node #2: [54, 61, 2] from Operation: 99-97=2 Current State: 88:[54, 61, 2], Operations: ['99-97=2'] Exploring Operation: 54/2=27, Resulting Numbers: [61, 27] Generated Node #3: [61, 27] from Operation: 54/2=27 Current State: 88:[61, 27], Operations: ['99-97=2', '54/2=27'] Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[54, 61, 97, 99], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [54, 61, 2] Generated Node #0,0: 88:[54, 61, 2] Operation: 99-97=2 Exploring Operation: 99-54=45, Resulting Numbers: [61, 97, 45] Generated Node #0,1: 88:[61, 97, 45] Operation: 99-54=45 Exploring Operation: 99-61=38, Resulting Numbers: [54, 97, 38] Generated Node #0,2: 88:[54, 97, 38] Operation: 99-61=38 Exploring Operation: 97-54=43, Resulting Numbers: [61, 99, 43] Generated Node #0,3: 88:[61, 99, 43] Operation: 97-54=43 Exploring Operation: 61-54=7, Resulting Numbers: [97, 99, 7] Generated Node #0,4: 88:[97, 99, 7] Operation: 61-54=7 Moving to Node #0,4 Current State: 88:[97, 99, 7], Operations: ['61-54=7'] Exploring Operation: 99-7=92, Resulting Numbers: [97, 92] Generated Node #0,4,0: 88:[97, 92] Operation: 99-7=92 Exploring Operation: 97+7=104, Resulting Numbers: [99, 104] Generated Node #0,4,1: 88:[99, 104] Operation: 97+7=104 Exploring Operation: 97-7=90, Resulting Numbers: [99, 90] Generated Node #0,4,2: 88:[99, 90] Operation: 97-7=90 Exploring Operation: 99-97=2, Resulting Numbers: [7, 2] Generated Node #0,4,3: 88:[7, 2] Operation: 99-97=2 Exploring Operation: 99+7=106, Resulting Numbers: [97, 106] Generated Node #0,4,4: 88:[97, 106] Operation: 99+7=106 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[7, 2], Operations: ['61-54=7', '99-97=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[97, 92], Operations: ['61-54=7', '99-7=92'] Exploring Operation: 97*92=8924, Resulting Numbers: [8924] 8924,88 unequal: No Solution Exploring Operation: 97+92=189, Resulting Numbers: [189] 189,88 unequal: No Solution Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[99, 90], Operations: ['61-54=7', '97-7=90'] Exploring Operation: 99*90=8910, Resulting Numbers: [8910] 8910,88 unequal: No Solution Exploring Operation: 99+90=189, Resulting Numbers: [189] 189,88 unequal: No Solution Exploring Operation: 99-90=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[99, 104], Operations: ['61-54=7', '97+7=104'] Exploring Operation: 99*104=10296, Resulting Numbers: [10296] 10296,88 unequal: No Solution Exploring Operation: 104-99=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 99+104=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,4,4 Current State: 88:[97, 106], Operations: ['61-54=7', '99+7=106'] Exploring Operation: 97*106=10282, Resulting Numbers: [10282] 10282,88 unequal: No Solution Exploring Operation: 97+106=203, Resulting Numbers: [203] 203,88 unequal: No Solution Exploring Operation: 106-97=9, Resulting Numbers: [9] 9,88 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: 88:[54, 97, 38], Operations: ['99-61=38'] Exploring Operation: 97-54=43, Resulting Numbers: [38, 43] Generated Node #0,2,0: 88:[38, 43] Operation: 97-54=43 Exploring Operation: 54+38=92, Resulting Numbers: [97, 92] Generated Node #0,2,1: 88:[97, 92] Operation: 54+38=92 Exploring Operation: 54-38=16, Resulting Numbers: [97, 16] Generated Node #0,2,2: 88:[97, 16] Operation: 54-38=16 Exploring Operation: 97-38=59, Resulting Numbers: [54, 59] Generated Node #0,2,3: 88:[54, 59] Operation: 97-38=59 Exploring Operation: 97+38=135, Resulting Numbers: [54, 135] Generated Node #0,2,4: 88:[54, 135] Operation: 97+38=135 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[38, 43], Operations: ['99-61=38', '97-54=43'] Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,88 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,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:[97, 92], Operations: ['99-61=38', '54+38=92'] Exploring Operation: 97*92=8924, Resulting Numbers: [8924] 8924,88 unequal: No Solution Exploring Operation: 97+92=189, Resulting Numbers: [189] 189,88 unequal: No Solution Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,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:[97, 16], Operations: ['99-61=38', '54-38=16'] Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,88 unequal: No Solution Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[54, 59], Operations: ['99-61=38', '97-38=59'] Exploring Operation: 54*59=3186, Resulting Numbers: [3186] 3186,88 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 54+59=113, Resulting Numbers: [113] 113,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 88:[54, 135], Operations: ['99-61=38', '97+38=135'] Exploring Operation: 135-54=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 54*135=7290, Resulting Numbers: [7290] 7290,88 unequal: No Solution Exploring Operation: 54+135=189, Resulting Numbers: [189] 189,88 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: 88:[54, 61, 2], Operations: ['99-97=2'] Exploring Operation: 54-2=52, Resulting Numbers: [61, 52] Generated Node #0,0,0: 88:[61, 52] Operation: 54-2=52 Exploring Operation: 61-2=59, Resulting Numbers: [54, 59] Generated Node #0,0,1: 88:[54, 59] Operation: 61-2=59 Exploring Operation: 54+61=115, Resulting Numbers: [2, 115] Generated Node #0,0,2: 88:[2, 115] Operation: 54+61=115 Exploring Operation: 61-54=7, Resulting Numbers: [2, 7] Generated Node #0,0,3: 88:[2, 7] Operation: 61-54=7 Exploring Operation: 54/2=27, Resulting Numbers: [61, 27] Generated Node #0,0,4: 88:[61, 27] Operation: 54/2=27 Moving to Node #0,1 Current State: 88:[61, 97, 45], Operations: ['99-54=45'] Exploring Operation: 61-45=16, Resulting Numbers: [97, 16] Generated Node #0,1,0: 88:[97, 16] Operation: 61-45=16 Exploring Operation: 97-61=36, Resulting Numbers: [45, 36] Generated Node #0,1,1: 88:[45, 36] Operation: 97-61=36 Exploring Operation: 97-45=52, Resulting Numbers: [61, 52] Generated Node #0,1,2: 88:[61, 52] Operation: 97-45=52 Exploring Operation: 61+97=158, Resulting Numbers: [45, 158] Generated Node #0,1,3: 88:[45, 158] Operation: 61+97=158 Exploring Operation: 61+45=106, Resulting Numbers: [97, 106] Generated Node #0,1,4: 88:[97, 106] Operation: 61+45=106 Moving to Node #0,3 Current State: 88:[61, 99, 43], Operations: ['97-54=43'] Exploring Operation: 61-43=18, Resulting Numbers: [99, 18] Generated Node #0,3,0: 88:[99, 18] Operation: 61-43=18 Exploring Operation: 99+43=142, Resulting Numbers: [61, 142] Generated Node #0,3,1: 88:[61, 142] Operation: 99+43=142 Exploring Operation: 99-61=38, Resulting Numbers: [43, 38] Generated Node #0,3,2: 88:[43, 38] Operation: 99-61=38 Exploring Operation: 99-43=56, Resulting Numbers: [61, 56] Generated Node #0,3,3: 88:[61, 56] Operation: 99-43=56 Exploring Operation: 61+43=104, Resulting Numbers: [99, 104] Generated Node #0,3,4: 88:[99, 104] Operation: 61+43=104 Moving to Node #0,0,3 Current State: 88:[2, 7], Operations: ['99-97=2', '61-54=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[43, 38], Operations: ['97-54=43', '99-61=38'] Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,88 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[45, 36], Operations: ['99-54=45', '97-61=36'] Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,88 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[97, 16], Operations: ['99-54=45', '61-45=16'] Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[99, 18], Operations: ['97-54=43', '61-43=18'] Exploring Operation: 99*18=1782, Resulting Numbers: [1782] 1782,88 unequal: No Solution Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 99+18=117, Resulting Numbers: [117] 117,88 unequal: No Solution Moving to Node #0,0,4 Current State: 88:[61, 27], Operations: ['99-97=2', '54/2=27'] Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,88 unequal: No Solution Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[54, 61, 97, 99], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [54, 61, 2] Generated Node #0,0: 88:[54, 61, 2] Operation: 99-97=2 Moving to Node #0,0 Current State: 88:[54, 61, 2], Operations: ['99-97=2'] Exploring Operation: 54/2=27, Resulting Numbers: [61, 27] Generated Node #0,0,4: 88:[61, 27] Operation: 54/2=27 Moving to Node #0,0,4 Current State: 88:[61, 27], Operations: ['99-97=2', '54/2=27'] Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.929688
hs_5
sum_heuristic
[ 15, 52, 9, 8 ]
68
[ "15+52=67", "9-8=1", "67+1=68" ]
Current State: 68:[15, 52, 9, 8], Operations: [] Exploring Operation: 15+52=67, Resulting Numbers: [9, 8, 67] Generated Node #2: [9, 8, 67] from Operation: 15+52=67 Current State: 68:[9, 8, 67], Operations: ['15+52=67'] Exploring Operation: 9-8=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 9-8=1 Current State: 68:[67, 1], Operations: ['15+52=67', '9-8=1'] Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[15, 52, 9, 8], Operations: [] Exploring Operation: 52+9=61, Resulting Numbers: [15, 8, 61] Generated Node #0,0: 68:[15, 8, 61] Operation: 52+9=61 Exploring Operation: 52+8=60, Resulting Numbers: [15, 9, 60] Generated Node #0,1: 68:[15, 9, 60] Operation: 52+8=60 Exploring Operation: 15+52=67, Resulting Numbers: [9, 8, 67] Generated Node #0,2: 68:[9, 8, 67] Operation: 15+52=67 Exploring Operation: 52-9=43, Resulting Numbers: [15, 8, 43] Generated Node #0,3: 68:[15, 8, 43] Operation: 52-9=43 Exploring Operation: 52-15=37, Resulting Numbers: [9, 8, 37] Generated Node #0,4: 68:[9, 8, 37] Operation: 52-15=37 Moving to Node #0,2 Current State: 68:[9, 8, 67], Operations: ['15+52=67'] Exploring Operation: 9+8=17, Resulting Numbers: [67, 17] Generated Node #0,2,0: 68:[67, 17] Operation: 9+8=17 Exploring Operation: 9-8=1, Resulting Numbers: [67, 1] Generated Node #0,2,1: 68:[67, 1] Operation: 9-8=1 Exploring Operation: 9+67=76, Resulting Numbers: [8, 76] Generated Node #0,2,2: 68:[8, 76] Operation: 9+67=76 Exploring Operation: 9*8=72, Resulting Numbers: [67, 72] Generated Node #0,2,3: 68:[67, 72] Operation: 9*8=72 Exploring Operation: 8+67=75, Resulting Numbers: [9, 75] Generated Node #0,2,4: 68:[9, 75] Operation: 8+67=75 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[67, 17], Operations: ['15+52=67', '9+8=17'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 67*17=1139, Resulting Numbers: [1139] 1139,68 unequal: No Solution Exploring Operation: 67+17=84, Resulting Numbers: [84] 84,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[67, 1], Operations: ['15+52=67', '9-8=1'] Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[15, 52, 9, 8], Operations: [] Exploring Operation: 15+52=67, Resulting Numbers: [9, 8, 67] Generated Node #0,2: 68:[9, 8, 67] Operation: 15+52=67 Moving to Node #0,2 Current State: 68:[9, 8, 67], Operations: ['15+52=67'] Exploring Operation: 9-8=1, Resulting Numbers: [67, 1] Generated Node #0,2,1: 68:[67, 1] Operation: 9-8=1 Moving to Node #0,2,1 Current State: 68:[67, 1], Operations: ['15+52=67', '9-8=1'] Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 37, 40, 23, 48 ]
28
[ "40-37=3", "48-23=25", "3+25=28" ]
Current State: 28:[37, 40, 23, 48], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [23, 48, 3] Generated Node #2: [23, 48, 3] from Operation: 40-37=3 Current State: 28:[23, 48, 3], Operations: ['40-37=3'] Exploring Operation: 48-23=25, Resulting Numbers: [3, 25] Generated Node #3: [3, 25] from Operation: 48-23=25 Current State: 28:[3, 25], Operations: ['40-37=3', '48-23=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[37, 40, 23, 48], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [37, 23, 8] Generated Node #0,0: 28:[37, 23, 8] Operation: 48-40=8 Exploring Operation: 48-37=11, Resulting Numbers: [40, 23, 11] Generated Node #0,1: 28:[40, 23, 11] Operation: 48-37=11 Exploring Operation: 48-23=25, Resulting Numbers: [37, 40, 25] Generated Node #0,2: 28:[37, 40, 25] Operation: 48-23=25 Exploring Operation: 40-37=3, Resulting Numbers: [23, 48, 3] Generated Node #0,3: 28:[23, 48, 3] Operation: 40-37=3 Moving to Node #0,0 Current State: 28:[37, 23, 8], Operations: ['48-40=8'] Exploring Operation: 23+8=31, Resulting Numbers: [37, 31] Generated Node #0,0,0: 28:[37, 31] Operation: 23+8=31 Exploring Operation: 37-23=14, Resulting Numbers: [8, 14] Generated Node #0,0,1: 28:[8, 14] Operation: 37-23=14 Exploring Operation: 23-8=15, Resulting Numbers: [37, 15] Generated Node #0,0,2: 28:[37, 15] Operation: 23-8=15 Exploring Operation: 37-8=29, Resulting Numbers: [23, 29] Generated Node #0,0,3: 28:[23, 29] Operation: 37-8=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[8, 14], Operations: ['48-40=8', '37-23=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[23, 29], Operations: ['48-40=8', '37-8=29'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,28 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[37, 15], Operations: ['48-40=8', '23-8=15'] Exploring Operation: 37+15=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 37*15=555, Resulting Numbers: [555] 555,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[37, 31], Operations: ['48-40=8', '23+8=31'] Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,28 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: 28:[40, 23, 11], Operations: ['48-37=11'] Exploring Operation: 40-11=29, Resulting Numbers: [23, 29] Generated Node #0,1,0: 28:[23, 29] Operation: 40-11=29 Exploring Operation: 23+11=34, Resulting Numbers: [40, 34] Generated Node #0,1,1: 28:[40, 34] Operation: 23+11=34 Exploring Operation: 40-23=17, Resulting Numbers: [11, 17] Generated Node #0,1,2: 28:[11, 17] Operation: 40-23=17 Exploring Operation: 23-11=12, Resulting Numbers: [40, 12] Generated Node #0,1,3: 28:[40, 12] Operation: 23-11=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[23, 29], Operations: ['48-37=11', '40-11=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,28 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[11, 17], Operations: ['48-37=11', '40-23=17'] Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,28 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[37, 40, 23, 48], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [40, 23, 11] Generated Node #0,1: 28:[40, 23, 11] Operation: 48-37=11 Moving to Node #0,1 Current State: 28:[40, 23, 11], Operations: ['48-37=11'] Exploring Operation: 40-23=17, Resulting Numbers: [11, 17] Generated Node #0,1,2: 28:[11, 17] Operation: 40-23=17 Moving to Node #0,1,2 Current State: 28:[11, 17], Operations: ['48-37=11', '40-23=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 49, 6, 17, 13 ]
11
[ "49-13=36", "36/6=6", "17-6=11" ]
Current State: 11:[49, 6, 17, 13], Operations: [] Exploring Operation: 49-13=36, Resulting Numbers: [6, 17, 36] Generated Node #2: [6, 17, 36] from Operation: 49-13=36 Current State: 11:[6, 17, 36], Operations: ['49-13=36'] Exploring Operation: 36/6=6, Resulting Numbers: [17, 6] Generated Node #3: [17, 6] from Operation: 36/6=6 Current State: 11:[17, 6], Operations: ['49-13=36', '36/6=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[49, 6, 17, 13], Operations: [] Exploring Operation: 17-6=11, Resulting Numbers: [49, 13, 11] Generated Node #0,0: 11:[49, 13, 11] Operation: 17-6=11 Exploring Operation: 49-13=36, Resulting Numbers: [6, 17, 36] Generated Node #0,1: 11:[6, 17, 36] Operation: 49-13=36 Exploring Operation: 13-6=7, Resulting Numbers: [49, 17, 7] Generated Node #0,2: 11:[49, 17, 7] Operation: 13-6=7 Exploring Operation: 49-17=32, Resulting Numbers: [6, 13, 32] Generated Node #0,3: 11:[6, 13, 32] Operation: 49-17=32 Exploring Operation: 49-6=43, Resulting Numbers: [17, 13, 43] Generated Node #0,4: 11:[17, 13, 43] Operation: 49-6=43 Moving to Node #0,3 Current State: 11:[6, 13, 32], Operations: ['49-17=32'] Exploring Operation: 6+32=38, Resulting Numbers: [13, 38] Generated Node #0,3,0: 11:[13, 38] Operation: 6+32=38 Exploring Operation: 13-6=7, Resulting Numbers: [32, 7] Generated Node #0,3,1: 11:[32, 7] Operation: 13-6=7 Exploring Operation: 32-6=26, Resulting Numbers: [13, 26] Generated Node #0,3,2: 11:[13, 26] Operation: 32-6=26 Exploring Operation: 32-13=19, Resulting Numbers: [6, 19] Generated Node #0,3,3: 11:[6, 19] Operation: 32-13=19 Exploring Operation: 6+13=19, Resulting Numbers: [32, 19] Generated Node #0,3,4: 11:[32, 19] Operation: 6+13=19 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[6, 19], Operations: ['49-17=32', '32-13=19'] Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,11 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[13, 26], Operations: ['49-17=32', '32-6=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[32, 7], Operations: ['49-17=32', '13-6=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,11 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[13, 38], Operations: ['49-17=32', '6+32=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,11 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 11:[32, 19], Operations: ['49-17=32', '6+13=19'] Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,11 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 11:[6, 17, 36], Operations: ['49-13=36'] Exploring Operation: 36-6=30, Resulting Numbers: [17, 30] Generated Node #0,1,0: 11:[17, 30] Operation: 36-6=30 Exploring Operation: 6+17=23, Resulting Numbers: [36, 23] Generated Node #0,1,1: 11:[36, 23] Operation: 6+17=23 Exploring Operation: 36-17=19, Resulting Numbers: [6, 19] Generated Node #0,1,2: 11:[6, 19] Operation: 36-17=19 Exploring Operation: 36/6=6, Resulting Numbers: [17, 6] Generated Node #0,1,3: 11:[17, 6] Operation: 36/6=6 Exploring Operation: 17-6=11, Resulting Numbers: [36, 11] Generated Node #0,1,4: 11:[36, 11] Operation: 17-6=11 Moving to Node #0,0 Current State: 11:[49, 13, 11], Operations: ['17-6=11'] Exploring Operation: 49-11=38, Resulting Numbers: [13, 38] Generated Node #0,0,0: 11:[13, 38] Operation: 49-11=38 Exploring Operation: 49+11=60, Resulting Numbers: [13, 60] Generated Node #0,0,1: 11:[13, 60] Operation: 49+11=60 Exploring Operation: 49-13=36, Resulting Numbers: [11, 36] Generated Node #0,0,2: 11:[11, 36] Operation: 49-13=36 Exploring Operation: 13-11=2, Resulting Numbers: [49, 2] Generated Node #0,0,3: 11:[49, 2] Operation: 13-11=2 Exploring Operation: 49+13=62, Resulting Numbers: [11, 62] Generated Node #0,0,4: 11:[11, 62] Operation: 49+13=62 Moving to Node #0,4 Current State: 11:[17, 13, 43], Operations: ['49-6=43'] Exploring Operation: 17+43=60, Resulting Numbers: [13, 60] Generated Node #0,4,0: 11:[13, 60] Operation: 17+43=60 Exploring Operation: 43-17=26, Resulting Numbers: [13, 26] Generated Node #0,4,1: 11:[13, 26] Operation: 43-17=26 Exploring Operation: 17-13=4, Resulting Numbers: [43, 4] Generated Node #0,4,2: 11:[43, 4] Operation: 17-13=4 Exploring Operation: 17+13=30, Resulting Numbers: [43, 30] Generated Node #0,4,3: 11:[43, 30] Operation: 17+13=30 Exploring Operation: 43-13=30, Resulting Numbers: [17, 30] Generated Node #0,4,4: 11:[17, 30] Operation: 43-13=30 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[13, 26], Operations: ['49-6=43', '43-17=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 11:[17, 30], Operations: ['49-6=43', '43-13=30'] Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 11:[43, 4], Operations: ['49-6=43', '17-13=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 11:[13, 60], Operations: ['49-6=43', '17+43=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,11 unequal: No Solution Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,11 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 11:[43, 30], Operations: ['49-6=43', '17+13=30'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,11 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,11 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: 11:[49, 17, 7], Operations: ['13-6=7'] Exploring Operation: 49-17=32, Resulting Numbers: [7, 32] Generated Node #0,2,0: 11:[7, 32] Operation: 49-17=32 Exploring Operation: 17-7=10, Resulting Numbers: [49, 10] Generated Node #0,2,1: 11:[49, 10] Operation: 17-7=10 Exploring Operation: 49+7=56, Resulting Numbers: [17, 56] Generated Node #0,2,2: 11:[17, 56] Operation: 49+7=56 Exploring Operation: 49/7=7, Resulting Numbers: [17, 7] Generated Node #0,2,3: 11:[17, 7] Operation: 49/7=7 Exploring Operation: 49-7=42, Resulting Numbers: [17, 42] Generated Node #0,2,4: 11:[17, 42] Operation: 49-7=42 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[17, 7], Operations: ['13-6=7', '49/7=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[7, 32], Operations: ['13-6=7', '49-17=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,11 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 11:[17, 42], Operations: ['13-6=7', '49-7=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,11 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[49, 10], Operations: ['13-6=7', '17-7=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[17, 56], Operations: ['13-6=7', '49+7=56'] Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,11 unequal: No Solution Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,11 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 11:[17, 6], Operations: ['49-13=36', '36/6=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[49, 6, 17, 13], Operations: [] Exploring Operation: 49-13=36, Resulting Numbers: [6, 17, 36] Generated Node #0,1: 11:[6, 17, 36] Operation: 49-13=36 Moving to Node #0,1 Current State: 11:[6, 17, 36], Operations: ['49-13=36'] Exploring Operation: 36/6=6, Resulting Numbers: [17, 6] Generated Node #0,1,3: 11:[17, 6] Operation: 36/6=6 Moving to Node #0,1,3 Current State: 11:[17, 6], Operations: ['49-13=36', '36/6=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.928819
hs_5
sum_heuristic
[ 73, 60, 72, 27 ]
88
[ "73+60=133", "72-27=45", "133-45=88" ]
Current State: 88:[73, 60, 72, 27], Operations: [] Exploring Operation: 73+60=133, Resulting Numbers: [72, 27, 133] Generated Node #2: [72, 27, 133] from Operation: 73+60=133 Current State: 88:[72, 27, 133], Operations: ['73+60=133'] Exploring Operation: 72-27=45, Resulting Numbers: [133, 45] Generated Node #3: [133, 45] from Operation: 72-27=45 Current State: 88:[133, 45], Operations: ['73+60=133', '72-27=45'] Exploring Operation: 133-45=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[73, 60, 72, 27], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [73, 27, 12] Generated Node #0,0: 88:[73, 27, 12] Operation: 72-60=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[73, 27, 12], Operations: ['72-60=12'] Exploring Operation: 73-27=46, Resulting Numbers: [12, 46] Generated Node #0,0,0: 88:[12, 46] Operation: 73-27=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[12, 46], Operations: ['72-60=12', '73-27=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 66, 42, 35, 86 ]
24
[ "86-66=20", "42*20=840", "840/35=24" ]
Current State: 24:[66, 42, 35, 86], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [42, 35, 20] Generated Node #2: [42, 35, 20] from Operation: 86-66=20 Current State: 24:[42, 35, 20], Operations: ['86-66=20'] Exploring Operation: 42*20=840, Resulting Numbers: [35, 840] Generated Node #3: [35, 840] from Operation: 42*20=840 Current State: 24:[35, 840], Operations: ['86-66=20', '42*20=840'] Exploring Operation: 840/35=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[66, 42, 35, 86], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [42, 35, 20] Generated Node #0,0: 24:[42, 35, 20] Operation: 86-66=20 Exploring Operation: 66-42=24, Resulting Numbers: [35, 86, 24] Generated Node #0,1: 24:[35, 86, 24] Operation: 66-42=24 Moving to Node #0,0 Current State: 24:[42, 35, 20], Operations: ['86-66=20'] Exploring Operation: 42-20=22, Resulting Numbers: [35, 22] Generated Node #0,0,0: 24:[35, 22] Operation: 42-20=22 Exploring Operation: 42-35=7, Resulting Numbers: [20, 7] Generated Node #0,0,1: 24:[20, 7] Operation: 42-35=7 Moving to Node #0,1 Current State: 24:[35, 86, 24], Operations: ['66-42=24'] Exploring Operation: 86-35=51, Resulting Numbers: [24, 51] Generated Node #0,1,0: 24:[24, 51] Operation: 86-35=51 Exploring Operation: 86-24=62, Resulting Numbers: [35, 62] Generated Node #0,1,1: 24:[35, 62] Operation: 86-24=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[24, 51], Operations: ['66-42=24', '86-35=51'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[35, 62], Operations: ['66-42=24', '86-24=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,24 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 24:[20, 7], Operations: ['86-66=20', '42-35=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[35, 22], Operations: ['86-66=20', '42-20=22'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,24 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 13, 33, 87, 95 ]
47
[ "87+95=182", "182/13=14", "33+14=47" ]
Current State: 47:[13, 33, 87, 95], Operations: [] Exploring Operation: 87+95=182, Resulting Numbers: [13, 33, 182] Generated Node #2: [13, 33, 182] from Operation: 87+95=182 Current State: 47:[13, 33, 182], Operations: ['87+95=182'] Exploring Operation: 182/13=14, Resulting Numbers: [33, 14] Generated Node #3: [33, 14] from Operation: 182/13=14 Current State: 47:[33, 14], Operations: ['87+95=182', '182/13=14'] Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[13, 33, 87, 95], Operations: [] Exploring Operation: 13+33=46, Resulting Numbers: [87, 95, 46] Generated Node #0,0: 47:[87, 95, 46] Operation: 13+33=46 Exploring Operation: 87-13=74, Resulting Numbers: [33, 95, 74] Generated Node #0,1: 47:[33, 95, 74] Operation: 87-13=74 Exploring Operation: 95-13=82, Resulting Numbers: [33, 87, 82] Generated Node #0,2: 47:[33, 87, 82] Operation: 95-13=82 Exploring Operation: 95-87=8, Resulting Numbers: [13, 33, 8] Generated Node #0,3: 47:[13, 33, 8] Operation: 95-87=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[13, 33, 8], Operations: ['95-87=8'] Exploring Operation: 13+33=46, Resulting Numbers: [8, 46] Generated Node #0,3,0: 47:[8, 46] Operation: 13+33=46 Exploring Operation: 13-8=5, Resulting Numbers: [33, 5] Generated Node #0,3,1: 47:[33, 5] Operation: 13-8=5 Exploring Operation: 13+8=21, Resulting Numbers: [33, 21] Generated Node #0,3,2: 47:[33, 21] Operation: 13+8=21 Exploring Operation: 33+8=41, Resulting Numbers: [13, 41] Generated Node #0,3,3: 47:[13, 41] Operation: 33+8=41 Moving to Node #0,3,0 Current State: 47:[8, 46], Operations: ['95-87=8', '13+33=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,47 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[13, 41], Operations: ['95-87=8', '33+8=41'] Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,47 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[33, 21], Operations: ['95-87=8', '13+8=21'] Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,47 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[33, 5], Operations: ['95-87=8', '13-8=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[87, 95, 46], Operations: ['13+33=46'] Exploring Operation: 95-87=8, Resulting Numbers: [46, 8] Generated Node #0,0,0: 47:[46, 8] Operation: 95-87=8 Exploring Operation: 95-46=49, Resulting Numbers: [87, 49] Generated Node #0,0,1: 47:[87, 49] Operation: 95-46=49 Exploring Operation: 87-46=41, Resulting Numbers: [95, 41] Generated Node #0,0,2: 47:[95, 41] Operation: 87-46=41 Exploring Operation: 87+46=133, Resulting Numbers: [95, 133] Generated Node #0,0,3: 47:[95, 133] Operation: 87+46=133 Moving to Node #0,0,0 Current State: 47:[46, 8], Operations: ['13+33=46', '95-87=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,47 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[87, 49], Operations: ['13+33=46', '95-46=49'] Exploring Operation: 87*49=4263, Resulting Numbers: [4263] 4263,47 unequal: No Solution Exploring Operation: 87+49=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[95, 41], Operations: ['13+33=46', '87-46=41'] Exploring Operation: 95+41=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 95*41=3895, Resulting Numbers: [3895] 3895,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[95, 133], Operations: ['13+33=46', '87+46=133'] Exploring Operation: 133-95=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 95*133=12635, Resulting Numbers: [12635] 12635,47 unequal: No Solution Exploring Operation: 95+133=228, Resulting Numbers: [228] 228,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[33, 95, 74], Operations: ['87-13=74'] Exploring Operation: 33+95=128, Resulting Numbers: [74, 128] Generated Node #0,1,0: 47:[74, 128] Operation: 33+95=128 Exploring Operation: 95-74=21, Resulting Numbers: [33, 21] Generated Node #0,1,1: 47:[33, 21] Operation: 95-74=21 Exploring Operation: 74-33=41, Resulting Numbers: [95, 41] Generated Node #0,1,2: 47:[95, 41] Operation: 74-33=41 Exploring Operation: 95-33=62, Resulting Numbers: [74, 62] Generated Node #0,1,3: 47:[74, 62] Operation: 95-33=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[33, 21], Operations: ['87-13=74', '95-74=21'] Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,47 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[74, 62], Operations: ['87-13=74', '95-33=62'] Exploring Operation: 74+62=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 74*62=4588, Resulting Numbers: [4588] 4588,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[95, 41], Operations: ['87-13=74', '74-33=41'] Exploring Operation: 95*41=3895, Resulting Numbers: [3895] 3895,47 unequal: No Solution Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 95+41=136, Resulting Numbers: [136] 136,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[74, 128], Operations: ['87-13=74', '33+95=128'] Exploring Operation: 128-74=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 74+128=202, Resulting Numbers: [202] 202,47 unequal: No Solution Exploring Operation: 74*128=9472, Resulting Numbers: [9472] 9472,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[33, 87, 82], Operations: ['95-13=82'] Exploring Operation: 87-82=5, Resulting Numbers: [33, 5] Generated Node #0,2,0: 47:[33, 5] Operation: 87-82=5 Exploring Operation: 87-33=54, Resulting Numbers: [82, 54] Generated Node #0,2,1: 47:[82, 54] Operation: 87-33=54 Exploring Operation: 33+87=120, Resulting Numbers: [82, 120] Generated Node #0,2,2: 47:[82, 120] Operation: 33+87=120 Exploring Operation: 82-33=49, Resulting Numbers: [87, 49] Generated Node #0,2,3: 47:[87, 49] Operation: 82-33=49 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[82, 54], Operations: ['95-13=82', '87-33=54'] Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,47 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[87, 49], Operations: ['95-13=82', '82-33=49'] Exploring Operation: 87+49=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 87*49=4263, Resulting Numbers: [4263] 4263,47 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[33, 5], Operations: ['95-13=82', '87-82=5'] Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,47 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[82, 120], Operations: ['95-13=82', '33+87=120'] Exploring Operation: 120-82=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 82+120=202, Resulting Numbers: [202] 202,47 unequal: No Solution Exploring Operation: 82*120=9840, Resulting Numbers: [9840] 9840,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 69, 8, 56, 5 ]
34
[ "56/8=7", "5*7=35", "69-35=34" ]
Current State: 34:[69, 8, 56, 5], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [69, 5, 7] Generated Node #2: [69, 5, 7] from Operation: 56/8=7 Current State: 34:[69, 5, 7], Operations: ['56/8=7'] Exploring Operation: 5*7=35, Resulting Numbers: [69, 35] Generated Node #3: [69, 35] from Operation: 5*7=35 Current State: 34:[69, 35], Operations: ['56/8=7', '5*7=35'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[69, 8, 56, 5], Operations: [] Exploring Operation: 69-56=13, Resulting Numbers: [8, 5, 13] Generated Node #0,0: 34:[8, 5, 13] Operation: 69-56=13 Exploring Operation: 56/8=7, Resulting Numbers: [69, 5, 7] Generated Node #0,1: 34:[69, 5, 7] Operation: 56/8=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[8, 5, 13], Operations: ['69-56=13'] Exploring Operation: 8-5=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 34:[13, 3] Operation: 8-5=3 Exploring Operation: 13-8=5, Resulting Numbers: [5, 5] Generated Node #0,0,1: 34:[5, 5] Operation: 13-8=5 Moving to Node #0,0,0 Current State: 34:[13, 3], Operations: ['69-56=13', '8-5=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[5, 5], Operations: ['69-56=13', '13-8=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 5-5=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,1 Current State: 34:[69, 5, 7], Operations: ['56/8=7'] Exploring Operation: 69-5=64, Resulting Numbers: [7, 64] Generated Node #0,1,0: 34:[7, 64] Operation: 69-5=64 Exploring Operation: 69-7=62, Resulting Numbers: [5, 62] Generated Node #0,1,1: 34:[5, 62] Operation: 69-7=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[5, 62], Operations: ['56/8=7', '69-7=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[7, 64], Operations: ['56/8=7', '69-5=64'] Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,34 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 96, 56, 79, 89 ]
99
[ "79+89=168", "168/56=3", "96+3=99" ]
Current State: 99:[96, 56, 79, 89], Operations: [] Exploring Operation: 79+89=168, Resulting Numbers: [96, 56, 168] Generated Node #2: [96, 56, 168] from Operation: 79+89=168 Current State: 99:[96, 56, 168], Operations: ['79+89=168'] Exploring Operation: 168/56=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 168/56=3 Current State: 99:[96, 3], Operations: ['79+89=168', '168/56=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[96, 56, 79, 89], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [96, 79, 33] Generated Node #0,0: 99:[96, 79, 33] Operation: 89-56=33 Exploring Operation: 79-56=23, Resulting Numbers: [96, 89, 23] Generated Node #0,1: 99:[96, 89, 23] Operation: 79-56=23 Exploring Operation: 96-56=40, Resulting Numbers: [79, 89, 40] Generated Node #0,2: 99:[79, 89, 40] Operation: 96-56=40 Exploring Operation: 89-79=10, Resulting Numbers: [96, 56, 10] Generated Node #0,3: 99:[96, 56, 10] Operation: 89-79=10 Moving to Node #0,0 Current State: 99:[96, 79, 33], Operations: ['89-56=33'] Exploring Operation: 96-79=17, Resulting Numbers: [33, 17] Generated Node #0,0,0: 99:[33, 17] Operation: 96-79=17 Exploring Operation: 79+33=112, Resulting Numbers: [96, 112] Generated Node #0,0,1: 99:[96, 112] Operation: 79+33=112 Exploring Operation: 79-33=46, Resulting Numbers: [96, 46] Generated Node #0,0,2: 99:[96, 46] Operation: 79-33=46 Exploring Operation: 96+33=129, Resulting Numbers: [79, 129] Generated Node #0,0,3: 99:[79, 129] Operation: 96+33=129 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[33, 17], Operations: ['89-56=33', '96-79=17'] Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[96, 112], Operations: ['89-56=33', '79+33=112'] Exploring Operation: 96+112=208, Resulting Numbers: [208] 208,99 unequal: No Solution Exploring Operation: 96*112=10752, Resulting Numbers: [10752] 10752,99 unequal: No Solution Exploring Operation: 112-96=16, Resulting Numbers: [16] 16,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[96, 46], Operations: ['89-56=33', '79-33=46'] Exploring Operation: 96+46=142, Resulting Numbers: [142] 142,99 unequal: No Solution Exploring Operation: 96*46=4416, Resulting Numbers: [4416] 4416,99 unequal: No Solution Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 99:[79, 129], Operations: ['89-56=33', '96+33=129'] Exploring Operation: 79+129=208, Resulting Numbers: [208] 208,99 unequal: No Solution Exploring Operation: 79*129=10191, Resulting Numbers: [10191] 10191,99 unequal: No Solution Exploring Operation: 129-79=50, Resulting Numbers: [50] 50,99 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: 99:[96, 89, 23], Operations: ['79-56=23'] Exploring Operation: 96-23=73, Resulting Numbers: [89, 73] Generated Node #0,1,0: 99:[89, 73] Operation: 96-23=73 Exploring Operation: 96+23=119, Resulting Numbers: [89, 119] Generated Node #0,1,1: 99:[89, 119] Operation: 96+23=119 Exploring Operation: 89+23=112, Resulting Numbers: [96, 112] Generated Node #0,1,2: 99:[96, 112] Operation: 89+23=112 Exploring Operation: 96-89=7, Resulting Numbers: [23, 7] Generated Node #0,1,3: 99:[23, 7] Operation: 96-89=7 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 99:[23, 7], Operations: ['79-56=23', '96-89=7'] Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,99 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[96, 112], Operations: ['79-56=23', '89+23=112'] Exploring Operation: 96*112=10752, Resulting Numbers: [10752] 10752,99 unequal: No Solution Exploring Operation: 96+112=208, Resulting Numbers: [208] 208,99 unequal: No Solution Exploring Operation: 112-96=16, Resulting Numbers: [16] 16,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[89, 119], Operations: ['79-56=23', '96+23=119'] Exploring Operation: 89*119=10591, Resulting Numbers: [10591] 10591,99 unequal: No Solution Exploring Operation: 89+119=208, Resulting Numbers: [208] 208,99 unequal: No Solution Exploring Operation: 119-89=30, Resulting Numbers: [30] 30,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[89, 73], Operations: ['79-56=23', '96-23=73'] Exploring Operation: 89-73=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 89+73=162, Resulting Numbers: [162] 162,99 unequal: No Solution Exploring Operation: 89*73=6497, Resulting Numbers: [6497] 6497,99 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: 99:[96, 56, 10], Operations: ['89-79=10'] Exploring Operation: 56-10=46, Resulting Numbers: [96, 46] Generated Node #0,3,0: 99:[96, 46] Operation: 56-10=46 Exploring Operation: 96-56=40, Resulting Numbers: [10, 40] Generated Node #0,3,1: 99:[10, 40] Operation: 96-56=40 Exploring Operation: 96-10=86, Resulting Numbers: [56, 86] Generated Node #0,3,2: 99:[56, 86] Operation: 96-10=86 Exploring Operation: 96+10=106, Resulting Numbers: [56, 106] Generated Node #0,3,3: 99:[56, 106] Operation: 96+10=106 Moving to Node #0,2 Current State: 99:[79, 89, 40], Operations: ['96-56=40'] Exploring Operation: 79-40=39, Resulting Numbers: [89, 39] Generated Node #0,2,0: 99:[89, 39] Operation: 79-40=39 Exploring Operation: 89-79=10, Resulting Numbers: [40, 10] Generated Node #0,2,1: 99:[40, 10] Operation: 89-79=10 Exploring Operation: 89-40=49, Resulting Numbers: [79, 49] Generated Node #0,2,2: 99:[79, 49] Operation: 89-40=49 Exploring Operation: 79+40=119, Resulting Numbers: [89, 119] Generated Node #0,2,3: 99:[89, 119] Operation: 79+40=119 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[40, 10], Operations: ['96-56=40', '89-79=10'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,99 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[89, 39], Operations: ['96-56=40', '79-40=39'] Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,99 unequal: No Solution Exploring Operation: 89*39=3471, Resulting Numbers: [3471] 3471,99 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[89, 119], Operations: ['96-56=40', '79+40=119'] Exploring Operation: 119-89=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 89*119=10591, Resulting Numbers: [10591] 10591,99 unequal: No Solution Exploring Operation: 89+119=208, Resulting Numbers: [208] 208,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[79, 49], Operations: ['96-56=40', '89-40=49'] Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,99 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,99 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: 99:[10, 40], Operations: ['89-79=10', '96-56=40'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,99 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[96, 46], Operations: ['89-79=10', '56-10=46'] Exploring Operation: 96+46=142, Resulting Numbers: [142] 142,99 unequal: No Solution Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 96*46=4416, Resulting Numbers: [4416] 4416,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[56, 106], Operations: ['89-79=10', '96+10=106'] Exploring Operation: 56*106=5936, Resulting Numbers: [5936] 5936,99 unequal: No Solution Exploring Operation: 106-56=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 56+106=162, Resulting Numbers: [162] 162,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[56, 86], Operations: ['89-79=10', '96-10=86'] Exploring Operation: 56+86=142, Resulting Numbers: [142] 142,99 unequal: No Solution Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 56*86=4816, Resulting Numbers: [4816] 4816,99 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 85, 81, 27, 8 ]
61
[ "81/27=3", "8*3=24", "85-24=61" ]
Current State: 61:[85, 81, 27, 8], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [85, 8, 3] Generated Node #2: [85, 8, 3] from Operation: 81/27=3 Current State: 61:[85, 8, 3], Operations: ['81/27=3'] Exploring Operation: 8*3=24, Resulting Numbers: [85, 24] Generated Node #3: [85, 24] from Operation: 8*3=24 Current State: 61:[85, 24], Operations: ['81/27=3', '8*3=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[85, 81, 27, 8], Operations: [] Exploring Operation: 27+8=35, Resulting Numbers: [85, 81, 35] Generated Node #0,0: 61:[85, 81, 35] Operation: 27+8=35 Exploring Operation: 85-8=77, Resulting Numbers: [81, 27, 77] Generated Node #0,1: 61:[81, 27, 77] Operation: 85-8=77 Exploring Operation: 81-8=73, Resulting Numbers: [85, 27, 73] Generated Node #0,2: 61:[85, 27, 73] Operation: 81-8=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[85, 81, 35], Operations: ['27+8=35'] Exploring Operation: 85-35=50, Resulting Numbers: [81, 50] Generated Node #0,0,0: 61:[81, 50] Operation: 85-35=50 Exploring Operation: 85+35=120, Resulting Numbers: [81, 120] Generated Node #0,0,1: 61:[81, 120] Operation: 85+35=120 Exploring Operation: 81-35=46, Resulting Numbers: [85, 46] Generated Node #0,0,2: 61:[85, 46] Operation: 81-35=46 Moving to Node #0,0,0 Current State: 61:[81, 50], Operations: ['27+8=35', '85-35=50'] Exploring Operation: 81*50=4050, Resulting Numbers: [4050] 4050,61 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 81+50=131, Resulting Numbers: [131] 131,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[85, 46], Operations: ['27+8=35', '81-35=46'] Exploring Operation: 85*46=3910, Resulting Numbers: [3910] 3910,61 unequal: No Solution Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,61 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[81, 120], Operations: ['27+8=35', '85+35=120'] Exploring Operation: 81+120=201, Resulting Numbers: [201] 201,61 unequal: No Solution Exploring Operation: 81*120=9720, Resulting Numbers: [9720] 9720,61 unequal: No Solution Exploring Operation: 120-81=39, Resulting Numbers: [39] 39,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 Current State: 61:[81, 27, 77], Operations: ['85-8=77'] Exploring Operation: 77-27=50, Resulting Numbers: [81, 50] Generated Node #0,1,0: 61:[81, 50] Operation: 77-27=50 Exploring Operation: 81-27=54, Resulting Numbers: [77, 54] Generated Node #0,1,1: 61:[77, 54] Operation: 81-27=54 Exploring Operation: 81+27=108, Resulting Numbers: [77, 108] Generated Node #0,1,2: 61:[77, 108] Operation: 81+27=108 Moving to Node #0,1,1 Current State: 61:[77, 54], Operations: ['85-8=77', '81-27=54'] Exploring Operation: 77+54=131, Resulting Numbers: [131] 131,61 unequal: No Solution Exploring Operation: 77*54=4158, Resulting Numbers: [4158] 4158,61 unequal: No Solution Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[81, 50], Operations: ['85-8=77', '77-27=50'] Exploring Operation: 81+50=131, Resulting Numbers: [131] 131,61 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 81*50=4050, Resulting Numbers: [4050] 4050,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[77, 108], Operations: ['85-8=77', '81+27=108'] Exploring Operation: 77*108=8316, Resulting Numbers: [8316] 8316,61 unequal: No Solution Exploring Operation: 77+108=185, Resulting Numbers: [185] 185,61 unequal: No Solution Exploring Operation: 108-77=31, Resulting Numbers: [31] 31,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 Current State: 61:[85, 27, 73], Operations: ['81-8=73'] Exploring Operation: 85-27=58, Resulting Numbers: [73, 58] Generated Node #0,2,0: 61:[73, 58] Operation: 85-27=58 Exploring Operation: 85+27=112, Resulting Numbers: [73, 112] Generated Node #0,2,1: 61:[73, 112] Operation: 85+27=112 Exploring Operation: 73-27=46, Resulting Numbers: [85, 46] Generated Node #0,2,2: 61:[85, 46] Operation: 73-27=46 Moving to Node #0,2,0 Current State: 61:[73, 58], Operations: ['81-8=73', '85-27=58'] Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,61 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[85, 46], Operations: ['81-8=73', '73-27=46'] Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,61 unequal: No Solution Exploring Operation: 85*46=3910, Resulting Numbers: [3910] 3910,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[73, 112], Operations: ['81-8=73', '85+27=112'] Exploring Operation: 73+112=185, Resulting Numbers: [185] 185,61 unequal: No Solution Exploring Operation: 112-73=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 73*112=8176, Resulting Numbers: [8176] 8176,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
mult_heuristic
[ 50, 77, 12, 5 ]
10
[ "77-50=27", "12+5=17", "27-17=10" ]
Current State: 10:[50, 77, 12, 5], Operations: [] Exploring Operation: 77-50=27, Resulting Numbers: [12, 5, 27] Generated Node #2: [12, 5, 27] from Operation: 77-50=27 Current State: 10:[12, 5, 27], Operations: ['77-50=27'] Exploring Operation: 12+5=17, Resulting Numbers: [27, 17] Generated Node #3: [27, 17] from Operation: 12+5=17 Current State: 10:[27, 17], Operations: ['77-50=27', '12+5=17'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[50, 77, 12, 5], Operations: [] Exploring Operation: 77-12=65, Resulting Numbers: [50, 5, 65] Generated Node #0,0: 10:[50, 5, 65] Operation: 77-12=65 Exploring Operation: 50-12=38, Resulting Numbers: [77, 5, 38] Generated Node #0,1: 10:[77, 5, 38] Operation: 50-12=38 Exploring Operation: 77-50=27, Resulting Numbers: [12, 5, 27] Generated Node #0,2: 10:[12, 5, 27] Operation: 77-50=27 Exploring Operation: 50/5=10, Resulting Numbers: [77, 12, 10] Generated Node #0,3: 10:[77, 12, 10] Operation: 50/5=10 Moving to Node #0,2 Current State: 10:[12, 5, 27], Operations: ['77-50=27'] Exploring Operation: 12+5=17, Resulting Numbers: [27, 17] Generated Node #0,2,0: 10:[27, 17] Operation: 12+5=17 Exploring Operation: 27-5=22, Resulting Numbers: [12, 22] Generated Node #0,2,1: 10:[12, 22] Operation: 27-5=22 Exploring Operation: 27-12=15, Resulting Numbers: [5, 15] Generated Node #0,2,2: 10:[5, 15] Operation: 27-12=15 Exploring Operation: 12-5=7, Resulting Numbers: [27, 7] Generated Node #0,2,3: 10:[27, 7] Operation: 12-5=7 Moving to Node #0,3 Current State: 10:[77, 12, 10], Operations: ['50/5=10'] Exploring Operation: 12-10=2, Resulting Numbers: [77, 2] Generated Node #0,3,0: 10:[77, 2] Operation: 12-10=2 Exploring Operation: 77-10=67, Resulting Numbers: [12, 67] Generated Node #0,3,1: 10:[12, 67] Operation: 77-10=67 Exploring Operation: 77+12=89, Resulting Numbers: [10, 89] Generated Node #0,3,2: 10:[10, 89] Operation: 77+12=89 Exploring Operation: 77-12=65, Resulting Numbers: [10, 65] Generated Node #0,3,3: 10:[10, 65] Operation: 77-12=65 Moving to Node #0,1 Current State: 10:[77, 5, 38], Operations: ['50-12=38'] Exploring Operation: 77-5=72, Resulting Numbers: [38, 72] Generated Node #0,1,0: 10:[38, 72] Operation: 77-5=72 Exploring Operation: 77+5=82, Resulting Numbers: [38, 82] Generated Node #0,1,1: 10:[38, 82] Operation: 77+5=82 Exploring Operation: 38-5=33, Resulting Numbers: [77, 33] Generated Node #0,1,2: 10:[77, 33] Operation: 38-5=33 Exploring Operation: 77-38=39, Resulting Numbers: [5, 39] Generated Node #0,1,3: 10:[5, 39] Operation: 77-38=39 Moving to Node #0,0 Current State: 10:[50, 5, 65], Operations: ['77-12=65'] Exploring Operation: 65-50=15, Resulting Numbers: [5, 15] Generated Node #0,0,0: 10:[5, 15] Operation: 65-50=15 Exploring Operation: 50/5=10, Resulting Numbers: [65, 10] Generated Node #0,0,1: 10:[65, 10] Operation: 50/5=10 Exploring Operation: 65/5=13, Resulting Numbers: [50, 13] Generated Node #0,0,2: 10:[50, 13] Operation: 65/5=13 Exploring Operation: 50-5=45, Resulting Numbers: [65, 45] Generated Node #0,0,3: 10:[65, 45] Operation: 50-5=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[5, 15], Operations: ['77-12=65', '65-50=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[50, 77, 12, 5], Operations: [] Exploring Operation: 77-12=65, Resulting Numbers: [50, 5, 65] Generated Node #0,0: 10:[50, 5, 65] Operation: 77-12=65 Moving to Node #0,0 Current State: 10:[50, 5, 65], Operations: ['77-12=65'] Exploring Operation: 65-50=15, Resulting Numbers: [5, 15] Generated Node #0,0,0: 10:[5, 15] Operation: 65-50=15 Moving to Node #0,0,0 Current State: 10:[5, 15], Operations: ['77-12=65', '65-50=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
sum_heuristic
[ 21, 24, 9, 99 ]
87
[ "24-21=3", "99-9=90", "90-3=87" ]
Current State: 87:[21, 24, 9, 99], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [9, 99, 3] Generated Node #2: [9, 99, 3] from Operation: 24-21=3 Current State: 87:[9, 99, 3], Operations: ['24-21=3'] Exploring Operation: 99-9=90, Resulting Numbers: [3, 90] Generated Node #3: [3, 90] from Operation: 99-9=90 Current State: 87:[3, 90], Operations: ['24-21=3', '99-9=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[21, 24, 9, 99], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [9, 99, 3] Generated Node #0,0: 87:[9, 99, 3] Operation: 24-21=3 Exploring Operation: 99-9=90, Resulting Numbers: [21, 24, 90] Generated Node #0,1: 87:[21, 24, 90] Operation: 99-9=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[21, 24, 90], Operations: ['99-9=90'] Exploring Operation: 21+24=45, Resulting Numbers: [90, 45] Generated Node #0,1,0: 87:[90, 45] Operation: 21+24=45 Exploring Operation: 24-21=3, Resulting Numbers: [90, 3] Generated Node #0,1,1: 87:[90, 3] Operation: 24-21=3 Moving to Node #0,1,1 Current State: 87:[90, 3], Operations: ['99-9=90', '24-21=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[21, 24, 9, 99], Operations: [] Exploring Operation: 99-9=90, Resulting Numbers: [21, 24, 90] Generated Node #0,1: 87:[21, 24, 90] Operation: 99-9=90 Moving to Node #0,1 Current State: 87:[21, 24, 90], Operations: ['99-9=90'] Exploring Operation: 24-21=3, Resulting Numbers: [90, 3] Generated Node #0,1,1: 87:[90, 3] Operation: 24-21=3 Moving to Node #0,1,1 Current State: 87:[90, 3], Operations: ['99-9=90', '24-21=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 70, 11, 14, 3 ]
38
[ "70/14=5", "11*3=33", "5+33=38" ]
Current State: 38:[70, 11, 14, 3], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [11, 3, 5] Generated Node #2: [11, 3, 5] from Operation: 70/14=5 Current State: 38:[11, 3, 5], Operations: ['70/14=5'] Exploring Operation: 11*3=33, Resulting Numbers: [5, 33] Generated Node #3: [5, 33] from Operation: 11*3=33 Current State: 38:[5, 33], Operations: ['70/14=5', '11*3=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[70, 11, 14, 3], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [11, 3, 5] Generated Node #0,0: 38:[11, 3, 5] Operation: 70/14=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[11, 3, 5], Operations: ['70/14=5'] Exploring Operation: 11+5=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 38:[3, 16] Operation: 11+5=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[3, 16], Operations: ['70/14=5', '11+5=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 60, 60, 75, 18 ]
56
[ "60/60=1", "75-18=57", "57-1=56" ]
Current State: 56:[60, 60, 75, 18], Operations: [] Exploring Operation: 60/60=1, Resulting Numbers: [75, 18, 1] Generated Node #2: [75, 18, 1] from Operation: 60/60=1 Current State: 56:[75, 18, 1], Operations: ['60/60=1'] Exploring Operation: 75-18=57, Resulting Numbers: [1, 57] Generated Node #3: [1, 57] from Operation: 75-18=57 Current State: 56:[1, 57], Operations: ['60/60=1', '75-18=57'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[60, 60, 75, 18], Operations: [] Exploring Operation: 75-60=15, Resulting Numbers: [60, 18, 15] Generated Node #0,0: 56:[60, 18, 15] Operation: 75-60=15 Moving to Node #0,0 Current State: 56:[60, 18, 15], Operations: ['75-60=15'] Exploring Operation: 60/15=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 56:[18, 4] Operation: 60/15=4 Moving to Node #0,0,0 Current State: 56:[18, 4], Operations: ['75-60=15', '60/15=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,56 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 70, 23, 23, 17 ]
41
[ "70-23=47", "23-17=6", "47-6=41" ]
Current State: 41:[70, 23, 23, 17], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [17, 47] Generated Node #2: [17, 47] from Operation: 70-23=47 Current State: 41:[17, 47], Operations: ['70-23=47'] Exploring Operation: 23-17=6, Resulting Numbers: [47, 6] Generated Node #3: [47, 6] from Operation: 23-17=6 Current State: 41:[47, 6], Operations: ['70-23=47', '23-17=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[70, 23, 23, 17], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [23, 17, 47] Generated Node #0,0: 41:[23, 17, 47] Operation: 70-23=47 Exploring Operation: 23+17=40, Resulting Numbers: [70, 23, 40] Generated Node #0,1: 41:[70, 23, 40] Operation: 23+17=40 Exploring Operation: 70-17=53, Resulting Numbers: [23, 23, 53] Generated Node #0,2: 41:[23, 23, 53] Operation: 70-17=53 Exploring Operation: 23+17=40, Resulting Numbers: [70, 23, 40] Generated Node #0,3: 41:[70, 23, 40] Operation: 23+17=40 Exploring Operation: 70-23=47, Resulting Numbers: [23, 17, 47] Generated Node #0,4: 41:[23, 17, 47] Operation: 70-23=47 Moving to Node #0,0 Current State: 41:[23, 17, 47], Operations: ['70-23=47'] Exploring Operation: 23-17=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 41:[47, 6] Operation: 23-17=6 Exploring Operation: 23+17=40, Resulting Numbers: [47, 40] Generated Node #0,0,1: 41:[47, 40] Operation: 23+17=40 Exploring Operation: 47-17=30, Resulting Numbers: [23, 30] Generated Node #0,0,2: 41:[23, 30] Operation: 47-17=30 Exploring Operation: 17+47=64, Resulting Numbers: [23, 64] Generated Node #0,0,3: 41:[23, 64] Operation: 17+47=64 Exploring Operation: 47-23=24, Resulting Numbers: [17, 24] Generated Node #0,0,4: 41:[17, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[47, 40], Operations: ['70-23=47', '23+17=40'] Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,41 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[23, 30], Operations: ['70-23=47', '47-17=30'] Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,41 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[47, 6], Operations: ['70-23=47', '23-17=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[70, 23, 23, 17], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [23, 17, 47] Generated Node #0,0: 41:[23, 17, 47] Operation: 70-23=47 Moving to Node #0,0 Current State: 41:[23, 17, 47], Operations: ['70-23=47'] Exploring Operation: 23-17=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 41:[47, 6] Operation: 23-17=6 Moving to Node #0,0,0 Current State: 41:[47, 6], Operations: ['70-23=47', '23-17=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 46, 4, 26, 52 ]
88
[ "46*52=2392", "2392/26=92", "92-4=88" ]
Current State: 88:[46, 4, 26, 52], Operations: [] Exploring Operation: 46*52=2392, Resulting Numbers: [4, 26, 2392] Generated Node #2: [4, 26, 2392] from Operation: 46*52=2392 Current State: 88:[4, 26, 2392], Operations: ['46*52=2392'] Exploring Operation: 2392/26=92, Resulting Numbers: [4, 92] Generated Node #3: [4, 92] from Operation: 2392/26=92 Current State: 88:[4, 92], Operations: ['46*52=2392', '2392/26=92'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[46, 4, 26, 52], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [46, 4, 2] Generated Node #0,0: 88:[46, 4, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [46, 4, 26] Generated Node #0,1: 88:[46, 4, 26] Operation: 52-26=26 Exploring Operation: 52/4=13, Resulting Numbers: [46, 26, 13] Generated Node #0,2: 88:[46, 26, 13] Operation: 52/4=13 Exploring Operation: 46-26=20, Resulting Numbers: [4, 52, 20] Generated Node #0,3: 88:[4, 52, 20] Operation: 46-26=20 Exploring Operation: 52-46=6, Resulting Numbers: [4, 26, 6] Generated Node #0,4: 88:[4, 26, 6] Operation: 52-46=6 Moving to Node #0,0 Current State: 88:[46, 4, 2], Operations: ['52/26=2'] Exploring Operation: 46-4=42, Resulting Numbers: [2, 42] Generated Node #0,0,0: 88:[2, 42] Operation: 46-4=42 Exploring Operation: 4-2=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 88:[46, 2] Operation: 4-2=2 Exploring Operation: 46/2=23, Resulting Numbers: [4, 23] Generated Node #0,0,2: 88:[4, 23] Operation: 46/2=23 Exploring Operation: 46-2=44, Resulting Numbers: [4, 44] Generated Node #0,0,3: 88:[4, 44] Operation: 46-2=44 Exploring Operation: 4*2=8, Resulting Numbers: [46, 8] Generated Node #0,0,4: 88:[46, 8] Operation: 4*2=8 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[4, 44], Operations: ['52/26=2', '46-2=44'] Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,88 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,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:[4, 23], Operations: ['52/26=2', '46/2=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,88 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,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,0 Current State: 88:[2, 42], Operations: ['52/26=2', '46-4=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,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:[46, 2], Operations: ['52/26=2', '4-2=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,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:[46, 8], Operations: ['52/26=2', '4*2=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,88 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,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:[4, 26, 6], Operations: ['52-46=6'] Exploring Operation: 26-4=22, Resulting Numbers: [6, 22] Generated Node #0,4,0: 88:[6, 22] Operation: 26-4=22 Exploring Operation: 6-4=2, Resulting Numbers: [26, 2] Generated Node #0,4,1: 88:[26, 2] Operation: 6-4=2 Exploring Operation: 26-6=20, Resulting Numbers: [4, 20] Generated Node #0,4,2: 88:[4, 20] Operation: 26-6=20 Exploring Operation: 4+6=10, Resulting Numbers: [26, 10] Generated Node #0,4,3: 88:[26, 10] Operation: 4+6=10 Exploring Operation: 4*6=24, Resulting Numbers: [26, 24] Generated Node #0,4,4: 88:[26, 24] Operation: 4*6=24 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[6, 22], Operations: ['52-46=6', '26-4=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,88 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[4, 20], Operations: ['52-46=6', '26-6=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[26, 2], Operations: ['52-46=6', '6-4=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[26, 10], Operations: ['52-46=6', '4+6=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,88 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[26, 24], Operations: ['52-46=6', '4*6=24'] Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,88 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,88 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: 88:[46, 4, 26], Operations: ['52-26=26'] Exploring Operation: 46-4=42, Resulting Numbers: [26, 42] Generated Node #0,1,0: 88:[26, 42] Operation: 46-4=42 Exploring Operation: 4+26=30, Resulting Numbers: [46, 30] Generated Node #0,1,1: 88:[46, 30] Operation: 4+26=30 Exploring Operation: 46+4=50, Resulting Numbers: [26, 50] Generated Node #0,1,2: 88:[26, 50] Operation: 46+4=50 Exploring Operation: 46-26=20, Resulting Numbers: [4, 20] Generated Node #0,1,3: 88:[4, 20] Operation: 46-26=20 Exploring Operation: 26-4=22, Resulting Numbers: [46, 22] Generated Node #0,1,4: 88:[46, 22] Operation: 26-4=22 Moving to Node #0,2 Current State: 88:[46, 26, 13], Operations: ['52/4=13'] Exploring Operation: 26-13=13, Resulting Numbers: [46, 13] Generated Node #0,2,0: 88:[46, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [46, 2] Generated Node #0,2,1: 88:[46, 2] Operation: 26/13=2 Exploring Operation: 46-13=33, Resulting Numbers: [26, 33] Generated Node #0,2,2: 88:[26, 33] Operation: 46-13=33 Exploring Operation: 26+13=39, Resulting Numbers: [46, 39] Generated Node #0,2,3: 88:[46, 39] Operation: 26+13=39 Exploring Operation: 46-26=20, Resulting Numbers: [13, 20] Generated Node #0,2,4: 88:[13, 20] Operation: 46-26=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[46, 2], Operations: ['52/4=13', '26/13=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,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:[46, 13], Operations: ['52/4=13', '26-13=13'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,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,4 Current State: 88:[13, 20], Operations: ['52/4=13', '46-26=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,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:[46, 39], Operations: ['52/4=13', '26+13=39'] Exploring Operation: 46+39=85, Resulting Numbers: [85] 85,88 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 46*39=1794, Resulting Numbers: [1794] 1794,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:[26, 33], Operations: ['52/4=13', '46-13=33'] Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,88 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,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:[4, 52, 20], Operations: ['46-26=20'] Exploring Operation: 4+20=24, Resulting Numbers: [52, 24] Generated Node #0,3,0: 88:[52, 24] Operation: 4+20=24 Exploring Operation: 52-20=32, Resulting Numbers: [4, 32] Generated Node #0,3,1: 88:[4, 32] Operation: 52-20=32 Exploring Operation: 52-4=48, Resulting Numbers: [20, 48] Generated Node #0,3,2: 88:[20, 48] Operation: 52-4=48 Exploring Operation: 52/4=13, Resulting Numbers: [20, 13] Generated Node #0,3,3: 88:[20, 13] Operation: 52/4=13 Exploring Operation: 20/4=5, Resulting Numbers: [52, 5] Generated Node #0,3,4: 88:[52, 5] Operation: 20/4=5 Moving to Node #0,1,3 Current State: 88:[4, 20], Operations: ['52-26=26', '46-26=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,88 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[46, 22], Operations: ['52-26=26', '26-4=22'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,88 unequal: No Solution Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[20, 13], Operations: ['46-26=20', '52/4=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[20, 48], Operations: ['46-26=20', '52-4=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,88 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[26, 42], Operations: ['52-26=26', '46-4=42'] Exploring Operation: 26*42=1092, Resulting Numbers: [1092] 1092,88 unequal: No Solution Exploring Operation: 26+42=68, Resulting Numbers: [68] 68,88 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[52, 5], Operations: ['46-26=20', '20/4=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[46, 30], Operations: ['52-26=26', '4+26=30'] Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,88 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[4, 32], Operations: ['46-26=20', '52-20=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,88 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,88 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[26, 50], Operations: ['52-26=26', '46+4=50'] Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[52, 24], Operations: ['46-26=20', '4+20=24'] Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,88 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 9, 59, 46, 13 ]
17
[ "59-9=50", "46-13=33", "50-33=17" ]
Current State: 17:[9, 59, 46, 13], Operations: [] Exploring Operation: 59-9=50, Resulting Numbers: [46, 13, 50] Generated Node #2: [46, 13, 50] from Operation: 59-9=50 Current State: 17:[46, 13, 50], Operations: ['59-9=50'] Exploring Operation: 46-13=33, Resulting Numbers: [50, 33] Generated Node #3: [50, 33] from Operation: 46-13=33 Current State: 17:[50, 33], Operations: ['59-9=50', '46-13=33'] Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[9, 59, 46, 13], Operations: [] Exploring Operation: 59-13=46, Resulting Numbers: [9, 46, 46] Generated Node #0,0: 17:[9, 46, 46] Operation: 59-13=46 Exploring Operation: 59-46=13, Resulting Numbers: [9, 13, 13] Generated Node #0,1: 17:[9, 13, 13] Operation: 59-46=13 Exploring Operation: 59-9=50, Resulting Numbers: [46, 13, 50] Generated Node #0,2: 17:[46, 13, 50] Operation: 59-9=50 Exploring Operation: 46-9=37, Resulting Numbers: [59, 13, 37] Generated Node #0,3: 17:[59, 13, 37] Operation: 46-9=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[9, 13, 13], Operations: ['59-46=13'] Exploring Operation: 13-9=4, Resulting Numbers: [13, 4] Generated Node #0,1,0: 17:[13, 4] Operation: 13-9=4 Exploring Operation: 13-9=4, Resulting Numbers: [13, 4] Generated Node #0,1,1: 17:[13, 4] Operation: 13-9=4 Exploring Operation: 9+13=22, Resulting Numbers: [13, 22] Generated Node #0,1,2: 17:[13, 22] Operation: 9+13=22 Exploring Operation: 9+13=22, Resulting Numbers: [13, 22] Generated Node #0,1,3: 17:[13, 22] Operation: 9+13=22 Moving to Node #0,1,2 Current State: 17:[13, 22], Operations: ['59-46=13', '9+13=22'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,17 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[13, 22], Operations: ['59-46=13', '9+13=22'] Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[13, 4], Operations: ['59-46=13', '13-9=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[9, 59, 46, 13], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [9, 13, 13] Generated Node #0,1: 17:[9, 13, 13] Operation: 59-46=13 Moving to Node #0,1 Current State: 17:[9, 13, 13], Operations: ['59-46=13'] Exploring Operation: 13-9=4, Resulting Numbers: [13, 4] Generated Node #0,1,1: 17:[13, 4] Operation: 13-9=4 Moving to Node #0,1,1 Current State: 17:[13, 4], Operations: ['59-46=13', '13-9=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 26, 76, 20, 18 ]
13
[ "20+18=38", "26*38=988", "988/76=13" ]
Current State: 13:[26, 76, 20, 18], Operations: [] Exploring Operation: 20+18=38, Resulting Numbers: [26, 76, 38] Generated Node #2: [26, 76, 38] from Operation: 20+18=38 Current State: 13:[26, 76, 38], Operations: ['20+18=38'] Exploring Operation: 26*38=988, Resulting Numbers: [76, 988] Generated Node #3: [76, 988] from Operation: 26*38=988 Current State: 13:[76, 988], Operations: ['20+18=38', '26*38=988'] Exploring Operation: 988/76=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[26, 76, 20, 18], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [26, 18, 56] Generated Node #0,0: 13:[26, 18, 56] Operation: 76-20=56 Exploring Operation: 76-26=50, Resulting Numbers: [20, 18, 50] Generated Node #0,1: 13:[20, 18, 50] Operation: 76-26=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[20, 18, 50], Operations: ['76-26=50'] Exploring Operation: 50-18=32, Resulting Numbers: [20, 32] Generated Node #0,1,0: 13:[20, 32] Operation: 50-18=32 Exploring Operation: 50-20=30, Resulting Numbers: [18, 30] Generated Node #0,1,1: 13:[18, 30] Operation: 50-20=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[18, 30], Operations: ['76-26=50', '50-20=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,13 unequal: No Solution No 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: 13:[20, 32], Operations: ['76-26=50', '50-18=32'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,13 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: 13:[26, 18, 56], Operations: ['76-20=56'] Exploring Operation: 56-26=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 13:[18, 30] Operation: 56-26=30 Exploring Operation: 56-18=38, Resulting Numbers: [26, 38] Generated Node #0,0,1: 13:[26, 38] Operation: 56-18=38 Moving to Node #0,0,0 Current State: 13:[18, 30], Operations: ['76-20=56', '56-26=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[26, 38], Operations: ['76-20=56', '56-18=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,13 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
[ 6, 95, 80, 85 ]
96
[ "6+95=101", "85-80=5", "101-5=96" ]
Current State: 96:[6, 95, 80, 85], Operations: [] Exploring Operation: 6+95=101, Resulting Numbers: [80, 85, 101] Generated Node #2: [80, 85, 101] from Operation: 6+95=101 Current State: 96:[80, 85, 101], Operations: ['6+95=101'] Exploring Operation: 85-80=5, Resulting Numbers: [101, 5] Generated Node #3: [101, 5] from Operation: 85-80=5 Current State: 96:[101, 5], Operations: ['6+95=101', '85-80=5'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 95, 80, 85], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [6, 80, 10] Generated Node #0,0: 96:[6, 80, 10] Operation: 95-85=10 Exploring Operation: 85-80=5, Resulting Numbers: [6, 95, 5] Generated Node #0,1: 96:[6, 95, 5] Operation: 85-80=5 Exploring Operation: 95-80=15, Resulting Numbers: [6, 85, 15] Generated Node #0,2: 96:[6, 85, 15] Operation: 95-80=15 Exploring Operation: 6+80=86, Resulting Numbers: [95, 85, 86] Generated Node #0,3: 96:[95, 85, 86] Operation: 6+80=86 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[6, 95, 5], Operations: ['85-80=5'] Exploring Operation: 6+5=11, Resulting Numbers: [95, 11] Generated Node #0,1,0: 96:[95, 11] Operation: 6+5=11 Exploring Operation: 6*5=30, Resulting Numbers: [95, 30] Generated Node #0,1,1: 96:[95, 30] Operation: 6*5=30 Exploring Operation: 95/5=19, Resulting Numbers: [6, 19] Generated Node #0,1,2: 96:[6, 19] Operation: 95/5=19 Exploring Operation: 6-5=1, Resulting Numbers: [95, 1] Generated Node #0,1,3: 96:[95, 1] Operation: 6-5=1 Moving to Node #0,1,0 Current State: 96:[95, 11], Operations: ['85-80=5', '6+5=11'] Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,96 unequal: No Solution Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,96 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[95, 1], Operations: ['85-80=5', '6-5=1'] Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[6, 95, 80, 85], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [6, 95, 5] Generated Node #0,1: 96:[6, 95, 5] Operation: 85-80=5 Moving to Node #0,1 Current State: 96:[6, 95, 5], Operations: ['85-80=5'] Exploring Operation: 6-5=1, Resulting Numbers: [95, 1] Generated Node #0,1,3: 96:[95, 1] Operation: 6-5=1 Moving to Node #0,1,3 Current State: 96:[95, 1], Operations: ['85-80=5', '6-5=1'] Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 10, 63, 17, 25 ]
33
[ "63+17=80", "80/10=8", "25+8=33" ]
Current State: 33:[10, 63, 17, 25], Operations: [] Exploring Operation: 63+17=80, Resulting Numbers: [10, 25, 80] Generated Node #2: [10, 25, 80] from Operation: 63+17=80 Current State: 33:[10, 25, 80], Operations: ['63+17=80'] Exploring Operation: 80/10=8, Resulting Numbers: [25, 8] Generated Node #3: [25, 8] from Operation: 80/10=8 Current State: 33:[25, 8], Operations: ['63+17=80', '80/10=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[10, 63, 17, 25], Operations: [] Exploring Operation: 63-25=38, Resulting Numbers: [10, 17, 38] Generated Node #0,0: 33:[10, 17, 38] Operation: 63-25=38 Moving to Node #0,0 Current State: 33:[10, 17, 38], Operations: ['63-25=38'] Exploring Operation: 17-10=7, Resulting Numbers: [38, 7] Generated Node #0,0,0: 33:[38, 7] Operation: 17-10=7 Moving to Node #0,0,0 Current State: 33:[38, 7], Operations: ['63-25=38', '17-10=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,33 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 10, 40, 77, 45 ]
26
[ "40+77=117", "10*117=1170", "1170/45=26" ]
Current State: 26:[10, 40, 77, 45], Operations: [] Exploring Operation: 40+77=117, Resulting Numbers: [10, 45, 117] Generated Node #2: [10, 45, 117] from Operation: 40+77=117 Current State: 26:[10, 45, 117], Operations: ['40+77=117'] Exploring Operation: 10*117=1170, Resulting Numbers: [45, 1170] Generated Node #3: [45, 1170] from Operation: 10*117=1170 Current State: 26:[45, 1170], Operations: ['40+77=117', '10*117=1170'] Exploring Operation: 1170/45=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[10, 40, 77, 45], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [10, 77, 5] Generated Node #0,0: 26:[10, 77, 5] Operation: 45-40=5 Exploring Operation: 77-40=37, Resulting Numbers: [10, 45, 37] Generated Node #0,1: 26:[10, 45, 37] Operation: 77-40=37 Exploring Operation: 77-45=32, Resulting Numbers: [10, 40, 32] Generated Node #0,2: 26:[10, 40, 32] Operation: 77-45=32 Moving to Node #0,2 Current State: 26:[10, 40, 32], Operations: ['77-45=32'] Exploring Operation: 40/10=4, Resulting Numbers: [32, 4] Generated Node #0,2,0: 26:[32, 4] Operation: 40/10=4 Exploring Operation: 40-32=8, Resulting Numbers: [10, 8] Generated Node #0,2,1: 26:[10, 8] Operation: 40-32=8 Exploring Operation: 40-10=30, Resulting Numbers: [32, 30] Generated Node #0,2,2: 26:[32, 30] Operation: 40-10=30 Moving to Node #0,1 Current State: 26:[10, 45, 37], Operations: ['77-40=37'] Exploring Operation: 45-37=8, Resulting Numbers: [10, 8] Generated Node #0,1,0: 26:[10, 8] Operation: 45-37=8 Exploring Operation: 45-10=35, Resulting Numbers: [37, 35] Generated Node #0,1,1: 26:[37, 35] Operation: 45-10=35 Exploring Operation: 37-10=27, Resulting Numbers: [45, 27] Generated Node #0,1,2: 26:[45, 27] Operation: 37-10=27 Moving to Node #0,0 Current State: 26:[10, 77, 5], Operations: ['45-40=5'] Exploring Operation: 77-5=72, Resulting Numbers: [10, 72] Generated Node #0,0,0: 26:[10, 72] Operation: 77-5=72 Exploring Operation: 10/5=2, Resulting Numbers: [77, 2] Generated Node #0,0,1: 26:[77, 2] Operation: 10/5=2 Exploring Operation: 77-10=67, Resulting Numbers: [5, 67] Generated Node #0,0,2: 26:[5, 67] Operation: 77-10=67 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[5, 67], Operations: ['45-40=5', '77-10=67'] Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,26 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,26 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,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:[10, 72], Operations: ['45-40=5', '77-5=72'] Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,26 unequal: No Solution Exploring Operation: 10*72=720, Resulting Numbers: [720] 720,26 unequal: No Solution Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,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,1 Current State: 26:[77, 2], Operations: ['45-40=5', '10/5=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,26 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,26 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: 26:[32, 4], Operations: ['77-45=32', '40/10=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[10, 8], Operations: ['77-45=32', '40-32=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,26 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[10, 8], Operations: ['77-40=37', '45-37=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[32, 30], Operations: ['77-45=32', '40-10=30'] Exploring Operation: 32*30=960, Resulting Numbers: [960] 960,26 unequal: No Solution Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,26 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[45, 27], Operations: ['77-40=37', '37-10=27'] Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,26 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[37, 35], Operations: ['77-40=37', '45-10=35'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,26 unequal: No Solution Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,26 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 29, 62, 14, 30 ]
48
[ "30-29=1", "62-14=48", "1*48=48" ]
Current State: 48:[29, 62, 14, 30], Operations: [] Exploring Operation: 30-29=1, Resulting Numbers: [62, 14, 1] Generated Node #2: [62, 14, 1] from Operation: 30-29=1 Current State: 48:[62, 14, 1], Operations: ['30-29=1'] Exploring Operation: 62-14=48, Resulting Numbers: [1, 48] Generated Node #3: [1, 48] from Operation: 62-14=48 Current State: 48:[1, 48], Operations: ['30-29=1', '62-14=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[29, 62, 14, 30], Operations: [] Exploring Operation: 62-29=33, Resulting Numbers: [14, 30, 33] Generated Node #0,0: 48:[14, 30, 33] Operation: 62-29=33 Exploring Operation: 62-30=32, Resulting Numbers: [29, 14, 32] Generated Node #0,1: 48:[29, 14, 32] Operation: 62-30=32 Exploring Operation: 62-14=48, Resulting Numbers: [29, 30, 48] Generated Node #0,2: 48:[29, 30, 48] Operation: 62-14=48 Moving to Node #0,2 Current State: 48:[29, 30, 48], Operations: ['62-14=48'] Exploring Operation: 48-29=19, Resulting Numbers: [30, 19] Generated Node #0,2,0: 48:[30, 19] Operation: 48-29=19 Exploring Operation: 30-29=1, Resulting Numbers: [48, 1] Generated Node #0,2,1: 48:[48, 1] Operation: 30-29=1 Exploring Operation: 48-30=18, Resulting Numbers: [29, 18] Generated Node #0,2,2: 48:[29, 18] Operation: 48-30=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[48, 1], Operations: ['62-14=48', '30-29=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[29, 62, 14, 30], Operations: [] Exploring Operation: 62-14=48, Resulting Numbers: [29, 30, 48] Generated Node #0,2: 48:[29, 30, 48] Operation: 62-14=48 Moving to Node #0,2 Current State: 48:[29, 30, 48], Operations: ['62-14=48'] Exploring Operation: 30-29=1, Resulting Numbers: [48, 1] Generated Node #0,2,1: 48:[48, 1] Operation: 30-29=1 Moving to Node #0,2,1 Current State: 48:[48, 1], Operations: ['62-14=48', '30-29=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 32, 90, 79, 91 ]
48
[ "32+90=122", "79+91=170", "170-122=48" ]
Current State: 48:[32, 90, 79, 91], Operations: [] Exploring Operation: 32+90=122, Resulting Numbers: [79, 91, 122] Generated Node #2: [79, 91, 122] from Operation: 32+90=122 Current State: 48:[79, 91, 122], Operations: ['32+90=122'] Exploring Operation: 79+91=170, Resulting Numbers: [122, 170] Generated Node #3: [122, 170] from Operation: 79+91=170 Current State: 48:[122, 170], Operations: ['32+90=122', '79+91=170'] Exploring Operation: 170-122=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[32, 90, 79, 91], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [32, 91, 11] Generated Node #0,0: 48:[32, 91, 11] Operation: 90-79=11 Exploring Operation: 91-79=12, Resulting Numbers: [32, 90, 12] Generated Node #0,1: 48:[32, 90, 12] Operation: 91-79=12 Exploring Operation: 91-90=1, Resulting Numbers: [32, 79, 1] Generated Node #0,2: 48:[32, 79, 1] Operation: 91-90=1 Moving to Node #0,2 Current State: 48:[32, 79, 1], Operations: ['91-90=1'] Exploring Operation: 79-1=78, Resulting Numbers: [32, 78] Generated Node #0,2,0: 48:[32, 78] Operation: 79-1=78 Exploring Operation: 79-32=47, Resulting Numbers: [1, 47] Generated Node #0,2,1: 48:[1, 47] Operation: 79-32=47 Exploring Operation: 32-1=31, Resulting Numbers: [79, 31] Generated Node #0,2,2: 48:[79, 31] Operation: 32-1=31 Moving to Node #0,1 Current State: 48:[32, 90, 12], Operations: ['91-79=12'] Exploring Operation: 90-32=58, Resulting Numbers: [12, 58] Generated Node #0,1,0: 48:[12, 58] Operation: 90-32=58 Exploring Operation: 90-12=78, Resulting Numbers: [32, 78] Generated Node #0,1,1: 48:[32, 78] Operation: 90-12=78 Exploring Operation: 32+12=44, Resulting Numbers: [90, 44] Generated Node #0,1,2: 48:[90, 44] Operation: 32+12=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[12, 58], Operations: ['91-79=12', '90-32=58'] Exploring Operation: 12*58=696, Resulting Numbers: [696] 696,48 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[32, 78], Operations: ['91-79=12', '90-12=78'] Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,48 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[90, 44], Operations: ['91-79=12', '32+12=44'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 90+44=134, Resulting Numbers: [134] 134,48 unequal: No Solution Exploring Operation: 90*44=3960, Resulting Numbers: [3960] 3960,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 48:[32, 91, 11], Operations: ['90-79=11'] Exploring Operation: 91-32=59, Resulting Numbers: [11, 59] Generated Node #0,0,0: 48:[11, 59] Operation: 91-32=59 Exploring Operation: 32-11=21, Resulting Numbers: [91, 21] Generated Node #0,0,1: 48:[91, 21] Operation: 32-11=21 Exploring Operation: 91-11=80, Resulting Numbers: [32, 80] Generated Node #0,0,2: 48:[32, 80] Operation: 91-11=80 Moving to Node #0,2,1 Current State: 48:[1, 47], Operations: ['91-90=1', '79-32=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[32, 90, 79, 91], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [32, 79, 1] Generated Node #0,2: 48:[32, 79, 1] Operation: 91-90=1 Moving to Node #0,2 Current State: 48:[32, 79, 1], Operations: ['91-90=1'] Exploring Operation: 79-32=47, Resulting Numbers: [1, 47] Generated Node #0,2,1: 48:[1, 47] Operation: 79-32=47 Moving to Node #0,2,1 Current State: 48:[1, 47], Operations: ['91-90=1', '79-32=47'] Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 9, 89, 83, 23 ]
93
[ "9+83=92", "92/23=4", "89+4=93" ]
Current State: 93:[9, 89, 83, 23], Operations: [] Exploring Operation: 9+83=92, Resulting Numbers: [89, 23, 92] Generated Node #2: [89, 23, 92] from Operation: 9+83=92 Current State: 93:[89, 23, 92], Operations: ['9+83=92'] Exploring Operation: 92/23=4, Resulting Numbers: [89, 4] Generated Node #3: [89, 4] from Operation: 92/23=4 Current State: 93:[89, 4], Operations: ['9+83=92', '92/23=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[9, 89, 83, 23], Operations: [] Exploring Operation: 9+83=92, Resulting Numbers: [89, 23, 92] Generated Node #0,0: 93:[89, 23, 92] Operation: 9+83=92 Exploring Operation: 9+23=32, Resulting Numbers: [89, 83, 32] Generated Node #0,1: 93:[89, 83, 32] Operation: 9+23=32 Moving to Node #0,0 Current State: 93:[89, 23, 92], Operations: ['9+83=92'] Exploring Operation: 92/23=4, Resulting Numbers: [89, 4] Generated Node #0,0,0: 93:[89, 4] Operation: 92/23=4 Exploring Operation: 92-89=3, Resulting Numbers: [23, 3] Generated Node #0,0,1: 93:[23, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[89, 4], Operations: ['9+83=92', '92/23=4'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[9, 89, 83, 23], Operations: [] Exploring Operation: 9+83=92, Resulting Numbers: [89, 23, 92] Generated Node #0,0: 93:[89, 23, 92] Operation: 9+83=92 Moving to Node #0,0 Current State: 93:[89, 23, 92], Operations: ['9+83=92'] Exploring Operation: 92/23=4, Resulting Numbers: [89, 4] Generated Node #0,0,0: 93:[89, 4] Operation: 92/23=4 Moving to Node #0,0,0 Current State: 93:[89, 4], Operations: ['9+83=92', '92/23=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 76, 94, 19, 50 ]
87
[ "94-76=18", "19+50=69", "18+69=87" ]
Current State: 87:[76, 94, 19, 50], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [19, 50, 18] Generated Node #2: [19, 50, 18] from Operation: 94-76=18 Current State: 87:[19, 50, 18], Operations: ['94-76=18'] Exploring Operation: 19+50=69, Resulting Numbers: [18, 69] Generated Node #3: [18, 69] from Operation: 19+50=69 Current State: 87:[18, 69], Operations: ['94-76=18', '19+50=69'] Exploring Operation: 18+69=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[76, 94, 19, 50], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [94, 50, 4] Generated Node #0,0: 87:[94, 50, 4] Operation: 76/19=4 Exploring Operation: 76-50=26, Resulting Numbers: [94, 19, 26] Generated Node #0,1: 87:[94, 19, 26] Operation: 76-50=26 Exploring Operation: 76+19=95, Resulting Numbers: [94, 50, 95] Generated Node #0,2: 87:[94, 50, 95] Operation: 76+19=95 Exploring Operation: 50-19=31, Resulting Numbers: [76, 94, 31] Generated Node #0,3: 87:[76, 94, 31] Operation: 50-19=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[94, 19, 26], Operations: ['76-50=26'] Exploring Operation: 19+26=45, Resulting Numbers: [94, 45] Generated Node #0,1,0: 87:[94, 45] Operation: 19+26=45 Exploring Operation: 26-19=7, Resulting Numbers: [94, 7] Generated Node #0,1,1: 87:[94, 7] Operation: 26-19=7 Exploring Operation: 94-19=75, Resulting Numbers: [26, 75] Generated Node #0,1,2: 87:[26, 75] Operation: 94-19=75 Exploring Operation: 94+19=113, Resulting Numbers: [26, 113] Generated Node #0,1,3: 87:[26, 113] Operation: 94+19=113 Moving to Node #0,1,1 Current State: 87:[94, 7], Operations: ['76-50=26', '26-19=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[76, 94, 19, 50], Operations: [] Exploring Operation: 76-50=26, Resulting Numbers: [94, 19, 26] Generated Node #0,1: 87:[94, 19, 26] Operation: 76-50=26 Moving to Node #0,1 Current State: 87:[94, 19, 26], Operations: ['76-50=26'] Exploring Operation: 26-19=7, Resulting Numbers: [94, 7] Generated Node #0,1,1: 87:[94, 7] Operation: 26-19=7 Moving to Node #0,1,1 Current State: 87:[94, 7], Operations: ['76-50=26', '26-19=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 58, 38, 60, 65 ]
68
[ "58-38=20", "60/20=3", "65+3=68" ]
Current State: 68:[58, 38, 60, 65], Operations: [] Exploring Operation: 58-38=20, Resulting Numbers: [60, 65, 20] Generated Node #2: [60, 65, 20] from Operation: 58-38=20 Current State: 68:[60, 65, 20], Operations: ['58-38=20'] Exploring Operation: 60/20=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 60/20=3 Current State: 68:[65, 3], Operations: ['58-38=20', '60/20=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[58, 38, 60, 65], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [38, 65, 2] Generated Node #0,0: 68:[38, 65, 2] Operation: 60-58=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[38, 65, 2], Operations: ['60-58=2'] Exploring Operation: 38-2=36, Resulting Numbers: [65, 36] Generated Node #0,0,0: 68:[65, 36] Operation: 38-2=36 Moving to Node #0,0,0 Current State: 68:[65, 36], Operations: ['60-58=2', '38-2=36'] Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,68 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
[ 33, 86, 13, 46 ]
91
[ "86-33=53", "53-46=7", "13*7=91" ]
Current State: 91:[33, 86, 13, 46], Operations: [] Exploring Operation: 86-33=53, Resulting Numbers: [13, 46, 53] Generated Node #2: [13, 46, 53] from Operation: 86-33=53 Current State: 91:[13, 46, 53], Operations: ['86-33=53'] Exploring Operation: 53-46=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 53-46=7 Current State: 91:[13, 7], Operations: ['86-33=53', '53-46=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[33, 86, 13, 46], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [86, 13, 13] Generated Node #0,0: 91:[86, 13, 13] Operation: 46-33=13 Exploring Operation: 33+46=79, Resulting Numbers: [86, 13, 79] Generated Node #0,1: 91:[86, 13, 79] Operation: 33+46=79 Moving to Node #0,0 Current State: 91:[86, 13, 13], Operations: ['46-33=13'] Exploring Operation: 86+13=99, Resulting Numbers: [13, 99] Generated Node #0,0,0: 91:[13, 99] Operation: 86+13=99 Exploring Operation: 86+13=99, Resulting Numbers: [13, 99] Generated Node #0,0,1: 91:[13, 99] Operation: 86+13=99 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[13, 99], Operations: ['46-33=13', '86+13=99'] Exploring Operation: 13+99=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[13, 99], Operations: ['46-33=13', '86+13=99'] Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,91 unequal: No Solution Exploring Operation: 13+99=112, Resulting Numbers: [112] 112,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[86, 13, 79], Operations: ['33+46=79'] Exploring Operation: 86-79=7, Resulting Numbers: [13, 7] Generated Node #0,1,0: 91:[13, 7] Operation: 86-79=7 Exploring Operation: 13+79=92, Resulting Numbers: [86, 92] Generated Node #0,1,1: 91:[86, 92] Operation: 13+79=92 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[13, 7], Operations: ['33+46=79', '86-79=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[33, 86, 13, 46], Operations: [] Exploring Operation: 33+46=79, Resulting Numbers: [86, 13, 79] Generated Node #0,1: 91:[86, 13, 79] Operation: 33+46=79 Moving to Node #0,1 Current State: 91:[86, 13, 79], Operations: ['33+46=79'] Exploring Operation: 86-79=7, Resulting Numbers: [13, 7] Generated Node #0,1,0: 91:[13, 7] Operation: 86-79=7 Moving to Node #0,1,0 Current State: 91:[13, 7], Operations: ['33+46=79', '86-79=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 4, 3, 21, 29 ]
56
[ "4+3=7", "29-21=8", "7*8=56" ]
Current State: 56:[4, 3, 21, 29], Operations: [] Exploring Operation: 4+3=7, Resulting Numbers: [21, 29, 7] Generated Node #2: [21, 29, 7] from Operation: 4+3=7 Current State: 56:[21, 29, 7], Operations: ['4+3=7'] Exploring Operation: 29-21=8, Resulting Numbers: [7, 8] Generated Node #3: [7, 8] from Operation: 29-21=8 Current State: 56:[7, 8], Operations: ['4+3=7', '29-21=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[4, 3, 21, 29], Operations: [] Exploring Operation: 4+21=25, Resulting Numbers: [3, 29, 25] Generated Node #0,0: 56:[3, 29, 25] Operation: 4+21=25 Exploring Operation: 21/3=7, Resulting Numbers: [4, 29, 7] Generated Node #0,1: 56:[4, 29, 7] Operation: 21/3=7 Exploring Operation: 29-21=8, Resulting Numbers: [4, 3, 8] Generated Node #0,2: 56:[4, 3, 8] Operation: 29-21=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[4, 29, 7], Operations: ['21/3=7'] Exploring Operation: 29-4=25, Resulting Numbers: [7, 25] Generated Node #0,1,0: 56:[7, 25] Operation: 29-4=25 Exploring Operation: 7-4=3, Resulting Numbers: [29, 3] Generated Node #0,1,1: 56:[29, 3] Operation: 7-4=3 Exploring Operation: 4*7=28, Resulting Numbers: [29, 28] Generated Node #0,1,2: 56:[29, 28] Operation: 4*7=28 Moving to Node #0,1,2 Current State: 56:[29, 28], Operations: ['21/3=7', '4*7=28'] Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,56 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[29, 3], Operations: ['21/3=7', '7-4=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[7, 25], Operations: ['21/3=7', '29-4=25'] Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,56 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[4, 3, 8], Operations: ['29-21=8'] Exploring Operation: 4+3=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 56:[8, 7] Operation: 4+3=7 Exploring Operation: 4-3=1, Resulting Numbers: [8, 1] Generated Node #0,2,1: 56:[8, 1] Operation: 4-3=1 Exploring Operation: 8-4=4, Resulting Numbers: [3, 4] Generated Node #0,2,2: 56:[3, 4] Operation: 8-4=4 Moving to Node #0,2,0 Current State: 56:[8, 7], Operations: ['29-21=8', '4+3=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[4, 3, 21, 29], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [4, 3, 8] Generated Node #0,2: 56:[4, 3, 8] Operation: 29-21=8 Moving to Node #0,2 Current State: 56:[4, 3, 8], Operations: ['29-21=8'] Exploring Operation: 4+3=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 56:[8, 7] Operation: 4+3=7 Moving to Node #0,2,0 Current State: 56:[8, 7], Operations: ['29-21=8', '4+3=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 18, 33, 29, 72 ]
16
[ "72/18=4", "33-29=4", "4*4=16" ]
Current State: 16:[18, 33, 29, 72], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [33, 29, 4] Generated Node #2: [33, 29, 4] from Operation: 72/18=4 Current State: 16:[33, 29, 4], Operations: ['72/18=4'] Exploring Operation: 33-29=4, Resulting Numbers: [4, 4] Generated Node #3: [4, 4] from Operation: 33-29=4 Current State: 16:[4, 4], Operations: ['72/18=4', '33-29=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[18, 33, 29, 72], Operations: [] Exploring Operation: 72-33=39, Resulting Numbers: [18, 29, 39] Generated Node #0,0: 16:[18, 29, 39] Operation: 72-33=39 Exploring Operation: 72/18=4, Resulting Numbers: [33, 29, 4] Generated Node #0,1: 16:[33, 29, 4] Operation: 72/18=4 Moving to Node #0,1 Current State: 16:[33, 29, 4], Operations: ['72/18=4'] Exploring Operation: 33-29=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 16:[4, 4] Operation: 33-29=4 Exploring Operation: 33-4=29, Resulting Numbers: [29, 29] Generated Node #0,1,1: 16:[29, 29] Operation: 33-4=29 Moving to Node #0,0 Current State: 16:[18, 29, 39], Operations: ['72-33=39'] Exploring Operation: 39-18=21, Resulting Numbers: [29, 21] Generated Node #0,0,0: 16:[29, 21] Operation: 39-18=21 Exploring Operation: 39-29=10, Resulting Numbers: [18, 10] Generated Node #0,0,1: 16:[18, 10] Operation: 39-29=10 Moving to Node #0,1,0 Current State: 16:[4, 4], Operations: ['72/18=4', '33-29=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[18, 33, 29, 72], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [33, 29, 4] Generated Node #0,1: 16:[33, 29, 4] Operation: 72/18=4 Moving to Node #0,1 Current State: 16:[33, 29, 4], Operations: ['72/18=4'] Exploring Operation: 33-29=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 16:[4, 4] Operation: 33-29=4 Moving to Node #0,1,0 Current State: 16:[4, 4], Operations: ['72/18=4', '33-29=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 42, 25, 13, 76 ]
84
[ "42*76=3192", "25+13=38", "3192/38=84" ]
Current State: 84:[42, 25, 13, 76], Operations: [] Exploring Operation: 42*76=3192, Resulting Numbers: [25, 13, 3192] Generated Node #2: [25, 13, 3192] from Operation: 42*76=3192 Current State: 84:[25, 13, 3192], Operations: ['42*76=3192'] Exploring Operation: 25+13=38, Resulting Numbers: [3192, 38] Generated Node #3: [3192, 38] from Operation: 25+13=38 Current State: 84:[3192, 38], Operations: ['42*76=3192', '25+13=38'] Exploring Operation: 3192/38=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[42, 25, 13, 76], Operations: [] Exploring Operation: 25-13=12, Resulting Numbers: [42, 76, 12] Generated Node #0,0: 84:[42, 76, 12] Operation: 25-13=12 Exploring Operation: 13+76=89, Resulting Numbers: [42, 25, 89] Generated Node #0,1: 84:[42, 25, 89] Operation: 13+76=89 Moving to Node #0,0 Current State: 84:[42, 76, 12], Operations: ['25-13=12'] Exploring Operation: 76-42=34, Resulting Numbers: [12, 34] Generated Node #0,0,0: 84:[12, 34] Operation: 76-42=34 Exploring Operation: 76+12=88, Resulting Numbers: [42, 88] Generated Node #0,0,1: 84:[42, 88] Operation: 76+12=88 Moving to Node #0,1 Current State: 84:[42, 25, 89], Operations: ['13+76=89'] Exploring Operation: 89-42=47, Resulting Numbers: [25, 47] Generated Node #0,1,0: 84:[25, 47] Operation: 89-42=47 Exploring Operation: 42-25=17, Resulting Numbers: [89, 17] Generated Node #0,1,1: 84:[89, 17] Operation: 42-25=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[25, 47], Operations: ['13+76=89', '89-42=47'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[89, 17], Operations: ['13+76=89', '42-25=17'] Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 89+17=106, Resulting Numbers: [106] 106,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 84:[42, 88], Operations: ['25-13=12', '76+12=88'] Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 42+88=130, Resulting Numbers: [130] 130,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[12, 34], Operations: ['25-13=12', '76-42=34'] Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 53, 66, 17, 82 ]
75
[ "53+66=119", "119/17=7", "82-7=75" ]
Current State: 75:[53, 66, 17, 82], Operations: [] Exploring Operation: 53+66=119, Resulting Numbers: [17, 82, 119] Generated Node #2: [17, 82, 119] from Operation: 53+66=119 Current State: 75:[17, 82, 119], Operations: ['53+66=119'] Exploring Operation: 119/17=7, Resulting Numbers: [82, 7] Generated Node #3: [82, 7] from Operation: 119/17=7 Current State: 75:[82, 7], Operations: ['53+66=119', '119/17=7'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[53, 66, 17, 82], Operations: [] Exploring Operation: 53+17=70, Resulting Numbers: [66, 82, 70] Generated Node #0,0: 75:[66, 82, 70] Operation: 53+17=70 Exploring Operation: 82-53=29, Resulting Numbers: [66, 17, 29] Generated Node #0,1: 75:[66, 17, 29] Operation: 82-53=29 Exploring Operation: 66-53=13, Resulting Numbers: [17, 82, 13] Generated Node #0,2: 75:[17, 82, 13] Operation: 66-53=13 Moving to Node #0,2 Current State: 75:[17, 82, 13], Operations: ['66-53=13'] Exploring Operation: 17-13=4, Resulting Numbers: [82, 4] Generated Node #0,2,0: 75:[82, 4] Operation: 17-13=4 Exploring Operation: 82-17=65, Resulting Numbers: [13, 65] Generated Node #0,2,1: 75:[13, 65] Operation: 82-17=65 Exploring Operation: 82-13=69, Resulting Numbers: [17, 69] Generated Node #0,2,2: 75:[17, 69] Operation: 82-13=69 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[82, 4], Operations: ['66-53=13', '17-13=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,75 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[17, 69], Operations: ['66-53=13', '82-13=69'] Exploring Operation: 17+69=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,75 unequal: No Solution Exploring Operation: 17*69=1173, Resulting Numbers: [1173] 1173,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[13, 65], Operations: ['66-53=13', '82-17=65'] Exploring Operation: 65/13=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 13+65=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 75:[66, 17, 29], Operations: ['82-53=29'] Exploring Operation: 66+17=83, Resulting Numbers: [29, 83] Generated Node #0,1,0: 75:[29, 83] Operation: 66+17=83 Exploring Operation: 66-29=37, Resulting Numbers: [17, 37] Generated Node #0,1,1: 75:[17, 37] Operation: 66-29=37 Exploring Operation: 29-17=12, Resulting Numbers: [66, 12] Generated Node #0,1,2: 75:[66, 12] Operation: 29-17=12 Moving to Node #0,0 Current State: 75:[66, 82, 70], Operations: ['53+17=70'] Exploring Operation: 82-70=12, Resulting Numbers: [66, 12] Generated Node #0,0,0: 75:[66, 12] Operation: 82-70=12 Exploring Operation: 70-66=4, Resulting Numbers: [82, 4] Generated Node #0,0,1: 75:[82, 4] Operation: 70-66=4 Exploring Operation: 82-66=16, Resulting Numbers: [70, 16] Generated Node #0,0,2: 75:[70, 16] Operation: 82-66=16 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[70, 16], Operations: ['53+17=70', '82-66=16'] Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,75 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[82, 4], Operations: ['53+17=70', '70-66=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,75 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[66, 12], Operations: ['53+17=70', '82-70=12'] Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 66*12=792, Resulting Numbers: [792] 792,75 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 75:[29, 83], Operations: ['82-53=29', '66+17=83'] Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,75 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,75 unequal: No Solution Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[66, 12], Operations: ['82-53=29', '29-17=12'] Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 66*12=792, Resulting Numbers: [792] 792,75 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[17, 37], Operations: ['82-53=29', '66-29=37'] Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,75 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,75 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,75 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 30, 62, 28, 10 ]
37
[ "30/10=3", "62-28=34", "3+34=37" ]
Current State: 37:[30, 62, 28, 10], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [62, 28, 3] Generated Node #2: [62, 28, 3] from Operation: 30/10=3 Current State: 37:[62, 28, 3], Operations: ['30/10=3'] Exploring Operation: 62-28=34, Resulting Numbers: [3, 34] Generated Node #3: [3, 34] from Operation: 62-28=34 Current State: 37:[3, 34], Operations: ['30/10=3', '62-28=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[30, 62, 28, 10], Operations: [] Exploring Operation: 30+10=40, Resulting Numbers: [62, 28, 40] Generated Node #0,0: 37:[62, 28, 40] Operation: 30+10=40 Exploring Operation: 62-10=52, Resulting Numbers: [30, 28, 52] Generated Node #0,1: 37:[30, 28, 52] Operation: 62-10=52 Exploring Operation: 28+10=38, Resulting Numbers: [30, 62, 38] Generated Node #0,2: 37:[30, 62, 38] Operation: 28+10=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[30, 28, 52], Operations: ['62-10=52'] Exploring Operation: 52-30=22, Resulting Numbers: [28, 22] Generated Node #0,1,0: 37:[28, 22] Operation: 52-30=22 Exploring Operation: 30+28=58, Resulting Numbers: [52, 58] Generated Node #0,1,1: 37:[52, 58] Operation: 30+28=58 Exploring Operation: 52-28=24, Resulting Numbers: [30, 24] Generated Node #0,1,2: 37:[30, 24] Operation: 52-28=24 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[30, 24], Operations: ['62-10=52', '52-28=24'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,37 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[28, 22], Operations: ['62-10=52', '52-30=22'] Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,37 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[52, 58], Operations: ['62-10=52', '30+28=58'] Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,37 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 52*58=3016, Resulting Numbers: [3016] 3016,37 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: 37:[30, 62, 38], Operations: ['28+10=38'] Exploring Operation: 62-30=32, Resulting Numbers: [38, 32] Generated Node #0,2,0: 37:[38, 32] Operation: 62-30=32 Exploring Operation: 38-30=8, Resulting Numbers: [62, 8] Generated Node #0,2,1: 37:[62, 8] Operation: 38-30=8 Exploring Operation: 62-38=24, Resulting Numbers: [30, 24] Generated Node #0,2,2: 37:[30, 24] Operation: 62-38=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[38, 32], Operations: ['28+10=38', '62-30=32'] Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,37 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[30, 24], Operations: ['28+10=38', '62-38=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[62, 8], Operations: ['28+10=38', '38-30=8'] Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 62*8=496, Resulting Numbers: [496] 496,37 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: 37:[62, 28, 40], Operations: ['30+10=40'] Exploring Operation: 62-28=34, Resulting Numbers: [40, 34] Generated Node #0,0,0: 37:[40, 34] Operation: 62-28=34 Exploring Operation: 62-40=22, Resulting Numbers: [28, 22] Generated Node #0,0,1: 37:[28, 22] Operation: 62-40=22 Exploring Operation: 40-28=12, Resulting Numbers: [62, 12] Generated Node #0,0,2: 37:[62, 12] Operation: 40-28=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[40, 34], Operations: ['30+10=40', '62-28=34'] Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,37 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[28, 22], Operations: ['30+10=40', '62-40=22'] Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,37 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,37 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[62, 12], Operations: ['30+10=40', '40-28=12'] Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,37 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,37 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, 10, 93, 26 ]
97
[ "26-10=16", "16/4=4", "93+4=97" ]
Current State: 97:[4, 10, 93, 26], Operations: [] Exploring Operation: 26-10=16, Resulting Numbers: [4, 93, 16] Generated Node #2: [4, 93, 16] from Operation: 26-10=16 Current State: 97:[4, 93, 16], Operations: ['26-10=16'] Exploring Operation: 16/4=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 16/4=4 Current State: 97:[93, 4], Operations: ['26-10=16', '16/4=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[4, 10, 93, 26], Operations: [] Exploring Operation: 4*10=40, Resulting Numbers: [93, 26, 40] Generated Node #0,0: 97:[93, 26, 40] Operation: 4*10=40 Exploring Operation: 4*26=104, Resulting Numbers: [10, 93, 104] Generated Node #0,1: 97:[10, 93, 104] Operation: 4*26=104 Moving to Node #0,1 Current State: 97:[10, 93, 104], Operations: ['4*26=104'] Exploring Operation: 10+93=103, Resulting Numbers: [104, 103] Generated Node #0,1,0: 97:[104, 103] Operation: 10+93=103 Exploring Operation: 104-10=94, Resulting Numbers: [93, 94] Generated Node #0,1,1: 97:[93, 94] Operation: 104-10=94 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[93, 94], Operations: ['4*26=104', '104-10=94'] Exploring Operation: 94-93=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 93+94=187, Resulting Numbers: [187] 187,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[104, 103], Operations: ['4*26=104', '10+93=103'] Exploring Operation: 104-103=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 104+103=207, Resulting Numbers: [207] 207,97 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: 97:[93, 26, 40], Operations: ['4*10=40'] Exploring Operation: 26+40=66, Resulting Numbers: [93, 66] Generated Node #0,0,0: 97:[93, 66] Operation: 26+40=66 Exploring Operation: 93+26=119, Resulting Numbers: [40, 119] Generated Node #0,0,1: 97:[40, 119] Operation: 93+26=119 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[93, 66], Operations: ['4*10=40', '26+40=66'] Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,97 unequal: No Solution Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[40, 119], Operations: ['4*10=40', '93+26=119'] Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 40+119=159, Resulting Numbers: [159] 159,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 10, 4, 68, 99 ]
25
[ "10-4=6", "99-68=31", "31-6=25" ]
Current State: 25:[10, 4, 68, 99], Operations: [] Exploring Operation: 10-4=6, Resulting Numbers: [68, 99, 6] Generated Node #2: [68, 99, 6] from Operation: 10-4=6 Current State: 25:[68, 99, 6], Operations: ['10-4=6'] Exploring Operation: 99-68=31, Resulting Numbers: [6, 31] Generated Node #3: [6, 31] from Operation: 99-68=31 Current State: 25:[6, 31], Operations: ['10-4=6', '99-68=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[10, 4, 68, 99], Operations: [] Exploring Operation: 99-10=89, Resulting Numbers: [4, 68, 89] Generated Node #0,0: 25:[4, 68, 89] Operation: 99-10=89 Exploring Operation: 68/4=17, Resulting Numbers: [10, 99, 17] Generated Node #0,1: 25:[10, 99, 17] Operation: 68/4=17 Exploring Operation: 68-10=58, Resulting Numbers: [4, 99, 58] Generated Node #0,2: 25:[4, 99, 58] Operation: 68-10=58 Exploring Operation: 99-68=31, Resulting Numbers: [10, 4, 31] Generated Node #0,3: 25:[10, 4, 31] Operation: 99-68=31 Moving to Node #0,3 Current State: 25:[10, 4, 31], Operations: ['99-68=31'] Exploring Operation: 31-4=27, Resulting Numbers: [10, 27] Generated Node #0,3,0: 25:[10, 27] Operation: 31-4=27 Exploring Operation: 10+4=14, Resulting Numbers: [31, 14] Generated Node #0,3,1: 25:[31, 14] Operation: 10+4=14 Exploring Operation: 31-10=21, Resulting Numbers: [4, 21] Generated Node #0,3,2: 25:[4, 21] Operation: 31-10=21 Exploring Operation: 10-4=6, Resulting Numbers: [31, 6] Generated Node #0,3,3: 25:[31, 6] Operation: 10-4=6 Moving to Node #0,1 Current State: 25:[10, 99, 17], Operations: ['68/4=17'] Exploring Operation: 99-17=82, Resulting Numbers: [10, 82] Generated Node #0,1,0: 25:[10, 82] Operation: 99-17=82 Exploring Operation: 17-10=7, Resulting Numbers: [99, 7] Generated Node #0,1,1: 25:[99, 7] Operation: 17-10=7 Exploring Operation: 10+17=27, Resulting Numbers: [99, 27] Generated Node #0,1,2: 25:[99, 27] Operation: 10+17=27 Exploring Operation: 99-10=89, Resulting Numbers: [17, 89] Generated Node #0,1,3: 25:[17, 89] Operation: 99-10=89 Moving to Node #0,2 Current State: 25:[4, 99, 58], Operations: ['68-10=58'] Exploring Operation: 99-4=95, Resulting Numbers: [58, 95] Generated Node #0,2,0: 25:[58, 95] Operation: 99-4=95 Exploring Operation: 99-58=41, Resulting Numbers: [4, 41] Generated Node #0,2,1: 25:[4, 41] Operation: 99-58=41 Exploring Operation: 4+99=103, Resulting Numbers: [58, 103] Generated Node #0,2,2: 25:[58, 103] Operation: 4+99=103 Exploring Operation: 58-4=54, Resulting Numbers: [99, 54] Generated Node #0,2,3: 25:[99, 54] Operation: 58-4=54 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[4, 41], Operations: ['68-10=58', '99-58=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[58, 95], Operations: ['68-10=58', '99-4=95'] Exploring Operation: 58+95=153, Resulting Numbers: [153] 153,25 unequal: No Solution Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 58*95=5510, Resulting Numbers: [5510] 5510,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[99, 54], Operations: ['68-10=58', '58-4=54'] Exploring Operation: 99+54=153, Resulting Numbers: [153] 153,25 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 99*54=5346, Resulting Numbers: [5346] 5346,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[58, 103], Operations: ['68-10=58', '4+99=103'] Exploring Operation: 58+103=161, Resulting Numbers: [161] 161,25 unequal: No Solution Exploring Operation: 103-58=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 58*103=5974, Resulting Numbers: [5974] 5974,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 25:[4, 68, 89], Operations: ['99-10=89'] Exploring Operation: 89-4=85, Resulting Numbers: [68, 85] Generated Node #0,0,0: 25:[68, 85] Operation: 89-4=85 Exploring Operation: 68-4=64, Resulting Numbers: [89, 64] Generated Node #0,0,1: 25:[89, 64] Operation: 68-4=64 Exploring Operation: 68/4=17, Resulting Numbers: [89, 17] Generated Node #0,0,2: 25:[89, 17] Operation: 68/4=17 Exploring Operation: 89-68=21, Resulting Numbers: [4, 21] Generated Node #0,0,3: 25:[4, 21] Operation: 89-68=21 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[4, 21], Operations: ['99-10=89', '89-68=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[10, 4, 68, 99], Operations: [] Exploring Operation: 99-10=89, Resulting Numbers: [4, 68, 89] Generated Node #0,0: 25:[4, 68, 89] Operation: 99-10=89 Moving to Node #0,0 Current State: 25:[4, 68, 89], Operations: ['99-10=89'] Exploring Operation: 89-68=21, Resulting Numbers: [4, 21] Generated Node #0,0,3: 25:[4, 21] Operation: 89-68=21 Moving to Node #0,0,3 Current State: 25:[4, 21], Operations: ['99-10=89', '89-68=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 30, 85, 75, 12 ]
36
[ "30*12=360", "85-75=10", "360/10=36" ]
Current State: 36:[30, 85, 75, 12], Operations: [] Exploring Operation: 30*12=360, Resulting Numbers: [85, 75, 360] Generated Node #2: [85, 75, 360] from Operation: 30*12=360 Current State: 36:[85, 75, 360], Operations: ['30*12=360'] Exploring Operation: 85-75=10, Resulting Numbers: [360, 10] Generated Node #3: [360, 10] from Operation: 85-75=10 Current State: 36:[360, 10], Operations: ['30*12=360', '85-75=10'] Exploring Operation: 360/10=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[30, 85, 75, 12], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [30, 12, 10] Generated Node #0,0: 36:[30, 12, 10] Operation: 85-75=10 Exploring Operation: 85-12=73, Resulting Numbers: [30, 75, 73] Generated Node #0,1: 36:[30, 75, 73] Operation: 85-12=73 Exploring Operation: 85-30=55, Resulting Numbers: [75, 12, 55] Generated Node #0,2: 36:[75, 12, 55] Operation: 85-30=55 Exploring Operation: 75-30=45, Resulting Numbers: [85, 12, 45] Generated Node #0,3: 36:[85, 12, 45] Operation: 75-30=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[30, 12, 10], Operations: ['85-75=10'] Exploring Operation: 30/10=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 36:[12, 3] Operation: 30/10=3 Exploring Operation: 30+10=40, Resulting Numbers: [12, 40] Generated Node #0,0,1: 36:[12, 40] Operation: 30+10=40 Exploring Operation: 30-12=18, Resulting Numbers: [10, 18] Generated Node #0,0,2: 36:[10, 18] Operation: 30-12=18 Exploring Operation: 30-10=20, Resulting Numbers: [12, 20] Generated Node #0,0,3: 36:[12, 20] Operation: 30-10=20 Moving to Node #0,0,0 Current State: 36:[12, 3], Operations: ['85-75=10', '30/10=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[30, 85, 75, 12], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [30, 12, 10] Generated Node #0,0: 36:[30, 12, 10] Operation: 85-75=10 Moving to Node #0,0 Current State: 36:[30, 12, 10], Operations: ['85-75=10'] Exploring Operation: 30/10=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 36:[12, 3] Operation: 30/10=3 Moving to Node #0,0,0 Current State: 36:[12, 3], Operations: ['85-75=10', '30/10=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 61, 40, 33, 89 ]
38
[ "33+89=122", "122/61=2", "40-2=38" ]
Current State: 38:[61, 40, 33, 89], Operations: [] Exploring Operation: 33+89=122, Resulting Numbers: [61, 40, 122] Generated Node #2: [61, 40, 122] from Operation: 33+89=122 Current State: 38:[61, 40, 122], Operations: ['33+89=122'] Exploring Operation: 122/61=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 122/61=2 Current State: 38:[40, 2], Operations: ['33+89=122', '122/61=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[61, 40, 33, 89], Operations: [] Exploring Operation: 89-33=56, Resulting Numbers: [61, 40, 56] Generated Node #0,0: 38:[61, 40, 56] Operation: 89-33=56 Exploring Operation: 89-61=28, Resulting Numbers: [40, 33, 28] Generated Node #0,1: 38:[40, 33, 28] Operation: 89-61=28 Exploring Operation: 61-40=21, Resulting Numbers: [33, 89, 21] Generated Node #0,2: 38:[33, 89, 21] Operation: 61-40=21 Exploring Operation: 61-33=28, Resulting Numbers: [40, 89, 28] Generated Node #0,3: 38:[40, 89, 28] Operation: 61-33=28 Exploring Operation: 89-40=49, Resulting Numbers: [61, 33, 49] Generated Node #0,4: 38:[61, 33, 49] Operation: 89-40=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[40, 33, 28], Operations: ['89-61=28'] Exploring Operation: 33-28=5, Resulting Numbers: [40, 5] Generated Node #0,1,0: 38:[40, 5] Operation: 33-28=5 Exploring Operation: 40-33=7, Resulting Numbers: [28, 7] Generated Node #0,1,1: 38:[28, 7] Operation: 40-33=7 Exploring Operation: 40+28=68, Resulting Numbers: [33, 68] Generated Node #0,1,2: 38:[33, 68] Operation: 40+28=68 Exploring Operation: 33+28=61, Resulting Numbers: [40, 61] Generated Node #0,1,3: 38:[40, 61] Operation: 33+28=61 Exploring Operation: 40-28=12, Resulting Numbers: [33, 12] Generated Node #0,1,4: 38:[33, 12] Operation: 40-28=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[40, 5], Operations: ['89-61=28', '33-28=5'] Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,38 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 38:[33, 12], Operations: ['89-61=28', '40-28=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,38 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[28, 7], Operations: ['89-61=28', '40-33=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 38:[40, 61], Operations: ['89-61=28', '33+28=61'] Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,38 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[33, 68], Operations: ['89-61=28', '40+28=68'] Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,38 unequal: No Solution Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,38 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 38:[61, 33, 49], Operations: ['89-40=49'] Exploring Operation: 49-33=16, Resulting Numbers: [61, 16] Generated Node #0,4,0: 38:[61, 16] Operation: 49-33=16 Exploring Operation: 61+33=94, Resulting Numbers: [49, 94] Generated Node #0,4,1: 38:[49, 94] Operation: 61+33=94 Exploring Operation: 61-33=28, Resulting Numbers: [49, 28] Generated Node #0,4,2: 38:[49, 28] Operation: 61-33=28 Exploring Operation: 33+49=82, Resulting Numbers: [61, 82] Generated Node #0,4,3: 38:[61, 82] Operation: 33+49=82 Exploring Operation: 61-49=12, Resulting Numbers: [33, 12] Generated Node #0,4,4: 38:[33, 12] Operation: 61-49=12 Moving to Node #0,4,4 Current State: 38:[33, 12], Operations: ['89-40=49', '61-49=12'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,38 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,38 unequal: No Solution Moving to Node #0,4,2 Current State: 38:[49, 28], Operations: ['89-40=49', '61-33=28'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 49*28=1372, Resulting Numbers: [1372] 1372,38 unequal: No Solution Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,38 unequal: No Solution Moving to Node #0,4,0 Current State: 38:[61, 16], Operations: ['89-40=49', '49-33=16'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,38 unequal: No Solution Moving to Node #0,4,1 Current State: 38:[49, 94], Operations: ['89-40=49', '61+33=94'] Exploring Operation: 49*94=4606, Resulting Numbers: [4606] 4606,38 unequal: No Solution Exploring Operation: 94-49=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 49+94=143, Resulting Numbers: [143] 143,38 unequal: No Solution Moving to Node #0,4,3 Current State: 38:[61, 82], Operations: ['89-40=49', '33+49=82'] Exploring Operation: 61+82=143, Resulting Numbers: [143] 143,38 unequal: No Solution Exploring Operation: 82-61=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 61*82=5002, Resulting Numbers: [5002] 5002,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,0 Current State: 38:[61, 40, 56], Operations: ['89-33=56'] Exploring Operation: 61-56=5, Resulting Numbers: [40, 5] Generated Node #0,0,0: 38:[40, 5] Operation: 61-56=5 Exploring Operation: 61-40=21, Resulting Numbers: [56, 21] Generated Node #0,0,1: 38:[56, 21] Operation: 61-40=21 Exploring Operation: 56-40=16, Resulting Numbers: [61, 16] Generated Node #0,0,2: 38:[61, 16] Operation: 56-40=16 Exploring Operation: 61+40=101, Resulting Numbers: [56, 101] Generated Node #0,0,3: 38:[56, 101] Operation: 61+40=101 Exploring Operation: 61+56=117, Resulting Numbers: [40, 117] Generated Node #0,0,4: 38:[40, 117] Operation: 61+56=117 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[40, 5], Operations: ['89-33=56', '61-56=5'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,38 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[56, 21], Operations: ['89-33=56', '61-40=21'] Exploring Operation: 56*21=1176, Resulting Numbers: [1176] 1176,38 unequal: No Solution Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[61, 16], Operations: ['89-33=56', '56-40=16'] Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 38:[56, 101], Operations: ['89-33=56', '61+40=101'] Exploring Operation: 101-56=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 56+101=157, Resulting Numbers: [157] 157,38 unequal: No Solution Exploring Operation: 56*101=5656, Resulting Numbers: [5656] 5656,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 38:[40, 117], Operations: ['89-33=56', '61+56=117'] Exploring Operation: 40+117=157, Resulting Numbers: [157] 157,38 unequal: No Solution Exploring Operation: 40*117=4680, Resulting Numbers: [4680] 4680,38 unequal: No Solution Exploring Operation: 117-40=77, Resulting Numbers: [77] 77,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[33, 89, 21], Operations: ['61-40=21'] Exploring Operation: 89+21=110, Resulting Numbers: [33, 110] Generated Node #0,2,0: 38:[33, 110] Operation: 89+21=110 Exploring Operation: 33-21=12, Resulting Numbers: [89, 12] Generated Node #0,2,1: 38:[89, 12] Operation: 33-21=12 Exploring Operation: 89-33=56, Resulting Numbers: [21, 56] Generated Node #0,2,2: 38:[21, 56] Operation: 89-33=56 Exploring Operation: 33+21=54, Resulting Numbers: [89, 54] Generated Node #0,2,3: 38:[89, 54] Operation: 33+21=54 Exploring Operation: 89-21=68, Resulting Numbers: [33, 68] Generated Node #0,2,4: 38:[33, 68] Operation: 89-21=68 Moving to Node #0,2,2 Current State: 38:[21, 56], Operations: ['61-40=21', '89-33=56'] Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 21*56=1176, Resulting Numbers: [1176] 1176,38 unequal: No Solution Exploring Operation: 21+56=77, Resulting Numbers: [77] 77,38 unequal: No Solution Moving to Node #0,2,4 Current State: 38:[33, 68], Operations: ['61-40=21', '89-21=68'] Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,38 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[89, 12], Operations: ['61-40=21', '33-21=12'] Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,38 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[89, 54], Operations: ['61-40=21', '33+21=54'] Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,38 unequal: No Solution Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,38 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[33, 110], Operations: ['61-40=21', '89+21=110'] Exploring Operation: 110-33=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 33+110=143, Resulting Numbers: [143] 143,38 unequal: No Solution Exploring Operation: 33*110=3630, Resulting Numbers: [3630] 3630,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[40, 89, 28], Operations: ['61-33=28'] Exploring Operation: 89-28=61, Resulting Numbers: [40, 61] Generated Node #0,3,0: 38:[40, 61] Operation: 89-28=61 Exploring Operation: 89-40=49, Resulting Numbers: [28, 49] Generated Node #0,3,1: 38:[28, 49] Operation: 89-40=49 Exploring Operation: 40+28=68, Resulting Numbers: [89, 68] Generated Node #0,3,2: 38:[89, 68] Operation: 40+28=68 Exploring Operation: 40-28=12, Resulting Numbers: [89, 12] Generated Node #0,3,3: 38:[89, 12] Operation: 40-28=12 Exploring Operation: 89+28=117, Resulting Numbers: [40, 117] Generated Node #0,3,4: 38:[40, 117] Operation: 89+28=117 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 38:[28, 49], Operations: ['61-33=28', '89-40=49'] Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[40, 61], Operations: ['61-33=28', '89-28=61'] Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,38 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[89, 12], Operations: ['61-33=28', '40-28=12'] Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,38 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,38 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[89, 68], Operations: ['61-33=28', '40+28=68'] Exploring Operation: 89*68=6052, Resulting Numbers: [6052] 6052,38 unequal: No Solution Exploring Operation: 89+68=157, Resulting Numbers: [157] 157,38 unequal: No Solution Exploring Operation: 89-68=21, Resulting Numbers: [21] 21,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 38:[40, 117], Operations: ['61-33=28', '89+28=117'] Exploring Operation: 40+117=157, Resulting Numbers: [157] 157,38 unequal: No Solution Exploring Operation: 117-40=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 40*117=4680, Resulting Numbers: [4680] 4680,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 63, 37, 45, 58 ]
77
[ "63-37=26", "45+58=103", "103-26=77" ]
Current State: 77:[63, 37, 45, 58], Operations: [] Exploring Operation: 63-37=26, Resulting Numbers: [45, 58, 26] Generated Node #2: [45, 58, 26] from Operation: 63-37=26 Current State: 77:[45, 58, 26], Operations: ['63-37=26'] Exploring Operation: 45+58=103, Resulting Numbers: [26, 103] Generated Node #3: [26, 103] from Operation: 45+58=103 Current State: 77:[26, 103], Operations: ['63-37=26', '45+58=103'] Exploring Operation: 103-26=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[63, 37, 45, 58], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [63, 58, 8] Generated Node #0,0: 77:[63, 58, 8] Operation: 45-37=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[63, 58, 8], Operations: ['45-37=8'] Exploring Operation: 63-58=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 77:[8, 5] Operation: 63-58=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[8, 5], Operations: ['45-37=8', '63-58=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,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 No solution found.
0
hs_1
mult_heuristic
[ 46, 85, 3, 14 ]
79
[ "85+14=99", "99/3=33", "46+33=79" ]
Current State: 79:[46, 85, 3, 14], Operations: [] Exploring Operation: 85+14=99, Resulting Numbers: [46, 3, 99] Generated Node #2: [46, 3, 99] from Operation: 85+14=99 Current State: 79:[46, 3, 99], Operations: ['85+14=99'] Exploring Operation: 99/3=33, Resulting Numbers: [46, 33] Generated Node #3: [46, 33] from Operation: 99/3=33 Current State: 79:[46, 33], Operations: ['85+14=99', '99/3=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[46, 85, 3, 14], Operations: [] Exploring Operation: 46+3=49, Resulting Numbers: [85, 14, 49] Generated Node #0,0: 79:[85, 14, 49] Operation: 46+3=49 Exploring Operation: 3*14=42, Resulting Numbers: [46, 85, 42] Generated Node #0,1: 79:[46, 85, 42] Operation: 3*14=42 Exploring Operation: 46+14=60, Resulting Numbers: [85, 3, 60] Generated Node #0,2: 79:[85, 3, 60] Operation: 46+14=60 Exploring Operation: 85-3=82, Resulting Numbers: [46, 14, 82] Generated Node #0,3: 79:[46, 14, 82] Operation: 85-3=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[46, 85, 42], Operations: ['3*14=42'] Exploring Operation: 85-42=43, Resulting Numbers: [46, 43] Generated Node #0,1,0: 79:[46, 43] Operation: 85-42=43 Exploring Operation: 46-42=4, Resulting Numbers: [85, 4] Generated Node #0,1,1: 79:[85, 4] Operation: 46-42=4 Exploring Operation: 85-46=39, Resulting Numbers: [42, 39] Generated Node #0,1,2: 79:[42, 39] Operation: 85-46=39 Exploring Operation: 46+42=88, Resulting Numbers: [85, 88] Generated Node #0,1,3: 79:[85, 88] Operation: 46+42=88 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[85, 88], Operations: ['3*14=42', '46+42=88'] Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,79 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[46, 43], Operations: ['3*14=42', '85-42=43'] Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,79 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[42, 39], Operations: ['3*14=42', '85-46=39'] Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,79 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[85, 4], Operations: ['3*14=42', '46-42=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,79 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[85, 14, 49], Operations: ['46+3=49'] Exploring Operation: 49-14=35, Resulting Numbers: [85, 35] Generated Node #0,0,0: 79:[85, 35] Operation: 49-14=35 Exploring Operation: 85-14=71, Resulting Numbers: [49, 71] Generated Node #0,0,1: 79:[49, 71] Operation: 85-14=71 Exploring Operation: 85+14=99, Resulting Numbers: [49, 99] Generated Node #0,0,2: 79:[49, 99] Operation: 85+14=99 Exploring Operation: 14+49=63, Resulting Numbers: [85, 63] Generated Node #0,0,3: 79:[85, 63] Operation: 14+49=63 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 79:[85, 63], Operations: ['46+3=49', '14+49=63'] Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,79 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,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:[49, 71], Operations: ['46+3=49', '85-14=71'] Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[85, 35], Operations: ['46+3=49', '49-14=35'] Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,79 unequal: No Solution Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,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:[49, 99], Operations: ['46+3=49', '85+14=99'] Exploring Operation: 49+99=148, Resulting Numbers: [148] 148,79 unequal: No Solution Exploring Operation: 49*99=4851, Resulting Numbers: [4851] 4851,79 unequal: No Solution Exploring Operation: 99-49=50, Resulting Numbers: [50] 50,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[85, 3, 60], Operations: ['46+14=60'] Exploring Operation: 85+3=88, Resulting Numbers: [60, 88] Generated Node #0,2,0: 79:[60, 88] Operation: 85+3=88 Exploring Operation: 60-3=57, Resulting Numbers: [85, 57] Generated Node #0,2,1: 79:[85, 57] Operation: 60-3=57 Exploring Operation: 3+60=63, Resulting Numbers: [85, 63] Generated Node #0,2,2: 79:[85, 63] Operation: 3+60=63 Exploring Operation: 85-3=82, Resulting Numbers: [60, 82] Generated Node #0,2,3: 79:[60, 82] Operation: 85-3=82 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[85, 63], Operations: ['46+14=60', '3+60=63'] Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,79 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,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:[60, 82], Operations: ['46+14=60', '85-3=82'] Exploring Operation: 60+82=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 60*82=4920, Resulting Numbers: [4920] 4920,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[60, 88], Operations: ['46+14=60', '85+3=88'] Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 60*88=5280, Resulting Numbers: [5280] 5280,79 unequal: No Solution Exploring Operation: 60+88=148, Resulting Numbers: [148] 148,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:[85, 57], Operations: ['46+14=60', '60-3=57'] Exploring Operation: 85+57=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 85*57=4845, Resulting Numbers: [4845] 4845,79 unequal: No Solution Exploring Operation: 85-57=28, Resulting Numbers: [28] 28,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[46, 14, 82], Operations: ['85-3=82'] Exploring Operation: 46-14=32, Resulting Numbers: [82, 32] Generated Node #0,3,0: 79:[82, 32] Operation: 46-14=32 Exploring Operation: 14+82=96, Resulting Numbers: [46, 96] Generated Node #0,3,1: 79:[46, 96] Operation: 14+82=96 Exploring Operation: 82-14=68, Resulting Numbers: [46, 68] Generated Node #0,3,2: 79:[46, 68] Operation: 82-14=68 Exploring Operation: 46+14=60, Resulting Numbers: [82, 60] Generated Node #0,3,3: 79:[82, 60] Operation: 46+14=60 Moving to Node #0,3,3 Current State: 79:[82, 60], Operations: ['85-3=82', '46+14=60'] Exploring Operation: 82*60=4920, Resulting Numbers: [4920] 4920,79 unequal: No Solution Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 82+60=142, Resulting Numbers: [142] 142,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[46, 68], Operations: ['85-3=82', '82-14=68'] Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 46*68=3128, Resulting Numbers: [3128] 3128,79 unequal: No Solution Exploring Operation: 46+68=114, Resulting Numbers: [114] 114,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[46, 96], Operations: ['85-3=82', '14+82=96'] Exploring Operation: 46*96=4416, Resulting Numbers: [4416] 4416,79 unequal: No Solution Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,79 unequal: No Solution Exploring Operation: 46+96=142, Resulting Numbers: [142] 142,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[82, 32], Operations: ['85-3=82', '46-14=32'] Exploring Operation: 82+32=114, Resulting Numbers: [114] 114,79 unequal: No Solution Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,79 unequal: No Solution Exploring Operation: 82*32=2624, Resulting Numbers: [2624] 2624,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 95, 76, 89, 90 ]
91
[ "95-89=6", "90/6=15", "76+15=91" ]
Current State: 91:[95, 76, 89, 90], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [76, 90, 6] Generated Node #2: [76, 90, 6] from Operation: 95-89=6 Current State: 91:[76, 90, 6], Operations: ['95-89=6'] Exploring Operation: 90/6=15, Resulting Numbers: [76, 15] Generated Node #3: [76, 15] from Operation: 90/6=15 Current State: 91:[76, 15], Operations: ['95-89=6', '90/6=15'] Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[95, 76, 89, 90], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [95, 89, 14] Generated Node #0,0: 91:[95, 89, 14] Operation: 90-76=14 Exploring Operation: 89-76=13, Resulting Numbers: [95, 90, 13] Generated Node #0,1: 91:[95, 90, 13] Operation: 89-76=13 Exploring Operation: 95-76=19, Resulting Numbers: [89, 90, 19] Generated Node #0,2: 91:[89, 90, 19] Operation: 95-76=19 Moving to Node #0,1 Current State: 91:[95, 90, 13], Operations: ['89-76=13'] Exploring Operation: 90+13=103, Resulting Numbers: [95, 103] Generated Node #0,1,0: 91:[95, 103] Operation: 90+13=103 Exploring Operation: 95-90=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 91:[13, 5] Operation: 95-90=5 Exploring Operation: 95-13=82, Resulting Numbers: [90, 82] Generated Node #0,1,2: 91:[90, 82] Operation: 95-13=82 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[13, 5], Operations: ['89-76=13', '95-90=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[90, 82], Operations: ['89-76=13', '95-13=82'] Exploring Operation: 90+82=172, Resulting Numbers: [172] 172,91 unequal: No Solution Exploring Operation: 90*82=7380, Resulting Numbers: [7380] 7380,91 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[95, 103], Operations: ['89-76=13', '90+13=103'] Exploring Operation: 103-95=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 95+103=198, Resulting Numbers: [198] 198,91 unequal: No Solution Exploring Operation: 95*103=9785, Resulting Numbers: [9785] 9785,91 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: 91:[95, 89, 14], Operations: ['90-76=14'] Exploring Operation: 95-89=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 91:[14, 6] Operation: 95-89=6 Exploring Operation: 89+14=103, Resulting Numbers: [95, 103] Generated Node #0,0,1: 91:[95, 103] Operation: 89+14=103 Exploring Operation: 95-14=81, Resulting Numbers: [89, 81] Generated Node #0,0,2: 91:[89, 81] Operation: 95-14=81 Moving to Node #0,2 Current State: 91:[89, 90, 19], Operations: ['95-76=19'] Exploring Operation: 89+19=108, Resulting Numbers: [90, 108] Generated Node #0,2,0: 91:[90, 108] Operation: 89+19=108 Exploring Operation: 90+19=109, Resulting Numbers: [89, 109] Generated Node #0,2,1: 91:[89, 109] Operation: 90+19=109 Exploring Operation: 90-89=1, Resulting Numbers: [19, 1] Generated Node #0,2,2: 91:[19, 1] Operation: 90-89=1 Moving to Node #0,0,0 Current State: 91:[14, 6], Operations: ['90-76=14', '95-89=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,91 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[89, 81], Operations: ['90-76=14', '95-14=81'] Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 89+81=170, Resulting Numbers: [170] 170,91 unequal: No Solution Exploring Operation: 89*81=7209, Resulting Numbers: [7209] 7209,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[19, 1], Operations: ['95-76=19', '90-89=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[95, 103], Operations: ['90-76=14', '89+14=103'] Exploring Operation: 95*103=9785, Resulting Numbers: [9785] 9785,91 unequal: No Solution Exploring Operation: 95+103=198, Resulting Numbers: [198] 198,91 unequal: No Solution Exploring Operation: 103-95=8, Resulting Numbers: [8] 8,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[90, 108], Operations: ['95-76=19', '89+19=108'] Exploring Operation: 90+108=198, Resulting Numbers: [198] 198,91 unequal: No Solution Exploring Operation: 108-90=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 90*108=9720, Resulting Numbers: [9720] 9720,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[89, 109], Operations: ['95-76=19', '90+19=109'] Exploring Operation: 89+109=198, Resulting Numbers: [198] 198,91 unequal: No Solution Exploring Operation: 89*109=9701, Resulting Numbers: [9701] 9701,91 unequal: No Solution Exploring Operation: 109-89=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 18, 13, 11, 63 ]
14
[ "63-11=52", "52/13=4", "18-4=14" ]
Current State: 14:[18, 13, 11, 63], Operations: [] Exploring Operation: 63-11=52, Resulting Numbers: [18, 13, 52] Generated Node #2: [18, 13, 52] from Operation: 63-11=52 Current State: 14:[18, 13, 52], Operations: ['63-11=52'] Exploring Operation: 52/13=4, Resulting Numbers: [18, 4] Generated Node #3: [18, 4] from Operation: 52/13=4 Current State: 14:[18, 4], Operations: ['63-11=52', '52/13=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[18, 13, 11, 63], Operations: [] Exploring Operation: 63-13=50, Resulting Numbers: [18, 11, 50] Generated Node #0,0: 14:[18, 11, 50] Operation: 63-13=50 Exploring Operation: 63-18=45, Resulting Numbers: [13, 11, 45] Generated Node #0,1: 14:[13, 11, 45] Operation: 63-18=45 Moving to Node #0,1 Current State: 14:[13, 11, 45], Operations: ['63-18=45'] Exploring Operation: 45-11=34, Resulting Numbers: [13, 34] Generated Node #0,1,0: 14:[13, 34] Operation: 45-11=34 Exploring Operation: 45-13=32, Resulting Numbers: [11, 32] Generated Node #0,1,1: 14:[11, 32] Operation: 45-13=32 Moving to Node #0,0 Current State: 14:[18, 11, 50], Operations: ['63-13=50'] Exploring Operation: 50-18=32, Resulting Numbers: [11, 32] Generated Node #0,0,0: 14:[11, 32] Operation: 50-18=32 Exploring Operation: 50-11=39, Resulting Numbers: [18, 39] Generated Node #0,0,1: 14:[18, 39] Operation: 50-11=39 Moving to Node #0,1,0 Current State: 14:[13, 34], Operations: ['63-18=45', '45-11=34'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[11, 32], Operations: ['63-13=50', '50-18=32'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[11, 32], Operations: ['63-18=45', '45-13=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,14 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[18, 39], Operations: ['63-13=50', '50-11=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,14 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 21, 52, 23, 8 ]
88
[ "21+52=73", "23-8=15", "73+15=88" ]
Current State: 88:[21, 52, 23, 8], Operations: [] Exploring Operation: 21+52=73, Resulting Numbers: [23, 8, 73] Generated Node #2: [23, 8, 73] from Operation: 21+52=73 Current State: 88:[23, 8, 73], Operations: ['21+52=73'] Exploring Operation: 23-8=15, Resulting Numbers: [73, 15] Generated Node #3: [73, 15] from Operation: 23-8=15 Current State: 88:[73, 15], Operations: ['21+52=73', '23-8=15'] Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[21, 52, 23, 8], Operations: [] Exploring Operation: 21+23=44, Resulting Numbers: [52, 8, 44] Generated Node #0,0: 88:[52, 8, 44] Operation: 21+23=44 Exploring Operation: 23-21=2, Resulting Numbers: [52, 8, 2] Generated Node #0,1: 88:[52, 8, 2] Operation: 23-21=2 Exploring Operation: 52-8=44, Resulting Numbers: [21, 23, 44] Generated Node #0,2: 88:[21, 23, 44] Operation: 52-8=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[21, 23, 44], Operations: ['52-8=44'] Exploring Operation: 23-21=2, Resulting Numbers: [44, 2] Generated Node #0,2,0: 88:[44, 2] Operation: 23-21=2 Exploring Operation: 44-21=23, Resulting Numbers: [23, 23] Generated Node #0,2,1: 88:[23, 23] Operation: 44-21=23 Exploring Operation: 21+23=44, Resulting Numbers: [44, 44] Generated Node #0,2,2: 88:[44, 44] Operation: 21+23=44 Moving to Node #0,2,0 Current State: 88:[44, 2], Operations: ['52-8=44', '23-21=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[21, 52, 23, 8], Operations: [] Exploring Operation: 52-8=44, Resulting Numbers: [21, 23, 44] Generated Node #0,2: 88:[21, 23, 44] Operation: 52-8=44 Moving to Node #0,2 Current State: 88:[21, 23, 44], Operations: ['52-8=44'] Exploring Operation: 23-21=2, Resulting Numbers: [44, 2] Generated Node #0,2,0: 88:[44, 2] Operation: 23-21=2 Moving to Node #0,2,0 Current State: 88:[44, 2], Operations: ['52-8=44', '23-21=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic