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
[ 74, 40, 26, 70 ]
10
[ "74-40=34", "70-26=44", "44-34=10" ]
Current State: 10:[74, 40, 26, 70], Operations: [] Exploring Operation: 74-40=34, Resulting Numbers: [26, 70, 34] Generated Node #2: [26, 70, 34] from Operation: 74-40=34 Current State: 10:[26, 70, 34], Operations: ['74-40=34'] Exploring Operation: 70-26=44, Resulting Numbers: [34, 44] Generated Node #3: [34, 44] from Operation: 70-26=44 Current State: 10:[34, 44], Operations: ['74-40=34', '70-26=44'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[74, 40, 26, 70], Operations: [] Exploring Operation: 40-26=14, Resulting Numbers: [74, 70, 14] Generated Node #0,0: 10:[74, 70, 14] Operation: 40-26=14 Exploring Operation: 74-70=4, Resulting Numbers: [40, 26, 4] Generated Node #0,1: 10:[40, 26, 4] Operation: 74-70=4 Exploring Operation: 74-40=34, Resulting Numbers: [26, 70, 34] Generated Node #0,2: 10:[26, 70, 34] Operation: 74-40=34 Exploring Operation: 70-40=30, Resulting Numbers: [74, 26, 30] Generated Node #0,3: 10:[74, 26, 30] Operation: 70-40=30 Exploring Operation: 74-26=48, Resulting Numbers: [40, 70, 48] Generated Node #0,4: 10:[40, 70, 48] Operation: 74-26=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[40, 26, 4], Operations: ['74-70=4'] Exploring Operation: 40/4=10, Resulting Numbers: [26, 10] Generated Node #0,1,0: 10:[26, 10] Operation: 40/4=10 Exploring Operation: 40+4=44, Resulting Numbers: [26, 44] Generated Node #0,1,1: 10:[26, 44] Operation: 40+4=44 Exploring Operation: 40-26=14, Resulting Numbers: [4, 14] Generated Node #0,1,2: 10:[4, 14] Operation: 40-26=14 Exploring Operation: 26-4=22, Resulting Numbers: [40, 22] Generated Node #0,1,3: 10:[40, 22] Operation: 26-4=22 Exploring Operation: 40-4=36, Resulting Numbers: [26, 36] Generated Node #0,1,4: 10:[26, 36] Operation: 40-4=36 Moving to Node #0,1,2 Current State: 10:[4, 14], Operations: ['74-70=4', '40-26=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[74, 40, 26, 70], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [40, 26, 4] Generated Node #0,1: 10:[40, 26, 4] Operation: 74-70=4 Moving to Node #0,1 Current State: 10:[40, 26, 4], Operations: ['74-70=4'] Exploring Operation: 40-26=14, Resulting Numbers: [4, 14] Generated Node #0,1,2: 10:[4, 14] Operation: 40-26=14 Moving to Node #0,1,2 Current State: 10:[4, 14], Operations: ['74-70=4', '40-26=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 26, 74, 9, 17 ]
92
[ "26+74=100", "17-9=8", "100-8=92" ]
Current State: 92:[26, 74, 9, 17], Operations: [] Exploring Operation: 26+74=100, Resulting Numbers: [9, 17, 100] Generated Node #2: [9, 17, 100] from Operation: 26+74=100 Current State: 92:[9, 17, 100], Operations: ['26+74=100'] Exploring Operation: 17-9=8, Resulting Numbers: [100, 8] Generated Node #3: [100, 8] from Operation: 17-9=8 Current State: 92:[100, 8], Operations: ['26+74=100', '17-9=8'] Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[26, 74, 9, 17], Operations: [] Exploring Operation: 74+9=83, Resulting Numbers: [26, 17, 83] Generated Node #0,0: 92:[26, 17, 83] Operation: 74+9=83 Exploring Operation: 26+74=100, Resulting Numbers: [9, 17, 100] Generated Node #0,1: 92:[9, 17, 100] Operation: 26+74=100 Exploring Operation: 74+17=91, Resulting Numbers: [26, 9, 91] Generated Node #0,2: 92:[26, 9, 91] Operation: 74+17=91 Exploring Operation: 74-26=48, Resulting Numbers: [9, 17, 48] Generated Node #0,3: 92:[9, 17, 48] Operation: 74-26=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[26, 9, 91], Operations: ['74+17=91'] Exploring Operation: 26+9=35, Resulting Numbers: [91, 35] Generated Node #0,2,0: 92:[91, 35] Operation: 26+9=35 Exploring Operation: 91-9=82, Resulting Numbers: [26, 82] Generated Node #0,2,1: 92:[26, 82] Operation: 91-9=82 Exploring Operation: 26-9=17, Resulting Numbers: [91, 17] Generated Node #0,2,2: 92:[91, 17] Operation: 26-9=17 Exploring Operation: 9+91=100, Resulting Numbers: [26, 100] Generated Node #0,2,3: 92:[26, 100] Operation: 9+91=100 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[91, 17], Operations: ['74+17=91', '26-9=17'] Exploring Operation: 91*17=1547, Resulting Numbers: [1547] 1547,92 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,92 unequal: No Solution No 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: 92:[26, 100], Operations: ['74+17=91', '9+91=100'] Exploring Operation: 26+100=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 26*100=2600, Resulting Numbers: [2600] 2600,92 unequal: No Solution Exploring Operation: 100-26=74, Resulting Numbers: [74] 74,92 unequal: No Solution No 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: 92:[91, 35], Operations: ['74+17=91', '26+9=35'] Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,92 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,92 unequal: No Solution No 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: 92:[26, 82], Operations: ['74+17=91', '91-9=82'] Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,92 unequal: No Solution Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,92 unequal: No Solution Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,92 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: 92:[9, 17, 48], Operations: ['74-26=48'] Exploring Operation: 48-9=39, Resulting Numbers: [17, 39] Generated Node #0,3,0: 92:[17, 39] Operation: 48-9=39 Exploring Operation: 48-17=31, Resulting Numbers: [9, 31] Generated Node #0,3,1: 92:[9, 31] Operation: 48-17=31 Exploring Operation: 9+17=26, Resulting Numbers: [48, 26] Generated Node #0,3,2: 92:[48, 26] Operation: 9+17=26 Exploring Operation: 17-9=8, Resulting Numbers: [48, 8] Generated Node #0,3,3: 92:[48, 8] Operation: 17-9=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 92:[48, 26], Operations: ['74-26=48', '9+17=26'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,92 unequal: No Solution No 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: 92:[48, 8], Operations: ['74-26=48', '17-9=8'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,92 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,92 unequal: No Solution No 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: 92:[17, 39], Operations: ['74-26=48', '48-9=39'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 17*39=663, Resulting Numbers: [663] 663,92 unequal: No Solution No 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: 92:[9, 31], Operations: ['74-26=48', '48-17=31'] Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,92 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,92 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: 92:[26, 17, 83], Operations: ['74+9=83'] Exploring Operation: 83-26=57, Resulting Numbers: [17, 57] Generated Node #0,0,0: 92:[17, 57] Operation: 83-26=57 Exploring Operation: 26-17=9, Resulting Numbers: [83, 9] Generated Node #0,0,1: 92:[83, 9] Operation: 26-17=9 Exploring Operation: 26+17=43, Resulting Numbers: [83, 43] Generated Node #0,0,2: 92:[83, 43] Operation: 26+17=43 Exploring Operation: 17+83=100, Resulting Numbers: [26, 100] Generated Node #0,0,3: 92:[26, 100] Operation: 17+83=100 Moving to Node #0,0,3 Current State: 92:[26, 100], Operations: ['74+9=83', '17+83=100'] Exploring Operation: 100-26=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 26*100=2600, Resulting Numbers: [2600] 2600,92 unequal: No Solution Exploring Operation: 26+100=126, Resulting Numbers: [126] 126,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[83, 43], Operations: ['74+9=83', '26+17=43'] Exploring Operation: 83+43=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 83*43=3569, Resulting Numbers: [3569] 3569,92 unequal: No Solution Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[83, 9], Operations: ['74+9=83', '26-17=9'] Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[26, 74, 9, 17], Operations: [] Exploring Operation: 74+9=83, Resulting Numbers: [26, 17, 83] Generated Node #0,0: 92:[26, 17, 83] Operation: 74+9=83 Moving to Node #0,0 Current State: 92:[26, 17, 83], Operations: ['74+9=83'] Exploring Operation: 26-17=9, Resulting Numbers: [83, 9] Generated Node #0,0,1: 92:[83, 9] Operation: 26-17=9 Moving to Node #0,0,1 Current State: 92:[83, 9], Operations: ['74+9=83', '26-17=9'] Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
sum_heuristic
[ 44, 26, 21, 57 ]
47
[ "21+57=78", "78/26=3", "44+3=47" ]
Current State: 47:[44, 26, 21, 57], Operations: [] Exploring Operation: 21+57=78, Resulting Numbers: [44, 26, 78] Generated Node #2: [44, 26, 78] from Operation: 21+57=78 Current State: 47:[44, 26, 78], Operations: ['21+57=78'] Exploring Operation: 78/26=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 78/26=3 Current State: 47:[44, 3], Operations: ['21+57=78', '78/26=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[44, 26, 21, 57], Operations: [] Exploring Operation: 44-21=23, Resulting Numbers: [26, 57, 23] Generated Node #0,0: 47:[26, 57, 23] Operation: 44-21=23 Exploring Operation: 26+21=47, Resulting Numbers: [44, 57, 47] Generated Node #0,1: 47:[44, 57, 47] Operation: 26+21=47 Exploring Operation: 57-21=36, Resulting Numbers: [44, 26, 36] Generated Node #0,2: 47:[44, 26, 36] Operation: 57-21=36 Exploring Operation: 44+21=65, Resulting Numbers: [26, 57, 65] Generated Node #0,3: 47:[26, 57, 65] Operation: 44+21=65 Exploring Operation: 57-26=31, Resulting Numbers: [44, 21, 31] Generated Node #0,4: 47:[44, 21, 31] Operation: 57-26=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[44, 57, 47], Operations: ['26+21=47'] Exploring Operation: 44+57=101, Resulting Numbers: [47, 101] Generated Node #0,1,0: 47:[47, 101] Operation: 44+57=101 Exploring Operation: 47-44=3, Resulting Numbers: [57, 3] Generated Node #0,1,1: 47:[57, 3] Operation: 47-44=3 Exploring Operation: 57-47=10, Resulting Numbers: [44, 10] Generated Node #0,1,2: 47:[44, 10] Operation: 57-47=10 Exploring Operation: 57-44=13, Resulting Numbers: [47, 13] Generated Node #0,1,3: 47:[47, 13] Operation: 57-44=13 Exploring Operation: 44+47=91, Resulting Numbers: [57, 91] Generated Node #0,1,4: 47:[57, 91] Operation: 44+47=91 Moving to Node #0,1,3 Current State: 47:[47, 13], Operations: ['26+21=47', '57-44=13'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[44, 10], Operations: ['26+21=47', '57-47=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[47, 101], Operations: ['26+21=47', '44+57=101'] Exploring Operation: 47*101=4747, Resulting Numbers: [4747] 4747,47 unequal: No Solution Exploring Operation: 47+101=148, Resulting Numbers: [148] 148,47 unequal: No Solution Exploring Operation: 101-47=54, Resulting Numbers: [54] 54,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[57, 3], Operations: ['26+21=47', '47-44=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,47 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,47 unequal: No Solution Moving to Node #0,1,4 Current State: 47:[57, 91], Operations: ['26+21=47', '44+47=91'] Exploring Operation: 57+91=148, Resulting Numbers: [148] 148,47 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 57*91=5187, Resulting Numbers: [5187] 5187,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[44, 26, 36], Operations: ['57-21=36'] Exploring Operation: 44-26=18, Resulting Numbers: [36, 18] Generated Node #0,2,0: 47:[36, 18] Operation: 44-26=18 Exploring Operation: 36-26=10, Resulting Numbers: [44, 10] Generated Node #0,2,1: 47:[44, 10] Operation: 36-26=10 Exploring Operation: 44+36=80, Resulting Numbers: [26, 80] Generated Node #0,2,2: 47:[26, 80] Operation: 44+36=80 Exploring Operation: 26+36=62, Resulting Numbers: [44, 62] Generated Node #0,2,3: 47:[44, 62] Operation: 26+36=62 Exploring Operation: 44+26=70, Resulting Numbers: [36, 70] Generated Node #0,2,4: 47:[36, 70] Operation: 44+26=70 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[44, 62], Operations: ['57-21=36', '26+36=62'] Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 44+62=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 44*62=2728, Resulting Numbers: [2728] 2728,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,4 Current State: 47:[36, 70], Operations: ['57-21=36', '44+26=70'] Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 36*70=2520, Resulting Numbers: [2520] 2520,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:[36, 18], Operations: ['57-21=36', '44-26=18'] Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,47 unequal: No Solution Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,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,1 Current State: 47:[44, 10], Operations: ['57-21=36', '36-26=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,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:[26, 80], Operations: ['57-21=36', '44+36=80'] Exploring Operation: 26*80=2080, Resulting Numbers: [2080] 2080,47 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 26+80=106, Resulting Numbers: [106] 106,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,4 Current State: 47:[44, 21, 31], Operations: ['57-26=31'] Exploring Operation: 44-21=23, Resulting Numbers: [31, 23] Generated Node #0,4,0: 47:[31, 23] Operation: 44-21=23 Exploring Operation: 44+21=65, Resulting Numbers: [31, 65] Generated Node #0,4,1: 47:[31, 65] Operation: 44+21=65 Exploring Operation: 31-21=10, Resulting Numbers: [44, 10] Generated Node #0,4,2: 47:[44, 10] Operation: 31-21=10 Exploring Operation: 21+31=52, Resulting Numbers: [44, 52] Generated Node #0,4,3: 47:[44, 52] Operation: 21+31=52 Exploring Operation: 44+31=75, Resulting Numbers: [21, 75] Generated Node #0,4,4: 47:[21, 75] Operation: 44+31=75 Moving to Node #0,4,3 Current State: 47:[44, 52], Operations: ['57-26=31', '21+31=52'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 44*52=2288, Resulting Numbers: [2288] 2288,47 unequal: No Solution Moving to Node #0,4,1 Current State: 47:[31, 65], Operations: ['57-26=31', '44+21=65'] Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,47 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,47 unequal: No Solution Moving to Node #0,4,0 Current State: 47:[31, 23], Operations: ['57-26=31', '44-21=23'] Exploring Operation: 31*23=713, Resulting Numbers: [713] 713,47 unequal: No Solution Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[44, 10], Operations: ['57-26=31', '31-21=10'] Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,47 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[21, 75], Operations: ['57-26=31', '44+31=75'] Exploring Operation: 21*75=1575, Resulting Numbers: [1575] 1575,47 unequal: No Solution Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 21+75=96, Resulting Numbers: [96] 96,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[26, 57, 65], Operations: ['44+21=65'] Exploring Operation: 26+57=83, Resulting Numbers: [65, 83] Generated Node #0,3,0: 47:[65, 83] Operation: 26+57=83 Exploring Operation: 57-26=31, Resulting Numbers: [65, 31] Generated Node #0,3,1: 47:[65, 31] Operation: 57-26=31 Exploring Operation: 65-26=39, Resulting Numbers: [57, 39] Generated Node #0,3,2: 47:[57, 39] Operation: 65-26=39 Exploring Operation: 65-57=8, Resulting Numbers: [26, 8] Generated Node #0,3,3: 47:[26, 8] Operation: 65-57=8 Exploring Operation: 26+65=91, Resulting Numbers: [57, 91] Generated Node #0,3,4: 47:[57, 91] Operation: 26+65=91 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[57, 39], Operations: ['44+21=65', '65-26=39'] Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,47 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[65, 31], Operations: ['44+21=65', '57-26=31'] Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[65, 83], Operations: ['44+21=65', '26+57=83'] Exploring Operation: 65+83=148, Resulting Numbers: [148] 148,47 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 65*83=5395, Resulting Numbers: [5395] 5395,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 47:[57, 91], Operations: ['44+21=65', '26+65=91'] Exploring Operation: 57+91=148, Resulting Numbers: [148] 148,47 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 57*91=5187, Resulting Numbers: [5187] 5187,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[26, 8], Operations: ['44+21=65', '65-57=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[26, 57, 23], Operations: ['44-21=23'] Exploring Operation: 57+23=80, Resulting Numbers: [26, 80] Generated Node #0,0,0: 47:[26, 80] Operation: 57+23=80 Exploring Operation: 26-23=3, Resulting Numbers: [57, 3] Generated Node #0,0,1: 47:[57, 3] Operation: 26-23=3 Exploring Operation: 57-26=31, Resulting Numbers: [23, 31] Generated Node #0,0,2: 47:[23, 31] Operation: 57-26=31 Exploring Operation: 57-23=34, Resulting Numbers: [26, 34] Generated Node #0,0,3: 47:[26, 34] Operation: 57-23=34 Exploring Operation: 26+23=49, Resulting Numbers: [57, 49] Generated Node #0,0,4: 47:[57, 49] Operation: 26+23=49 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 47:[57, 49], Operations: ['44-21=23', '26+23=49'] Exploring Operation: 57+49=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 57*49=2793, Resulting Numbers: [2793] 2793,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,0,3 Current State: 47:[26, 34], Operations: ['44-21=23', '57-23=34'] Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,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,0,2 Current State: 47:[23, 31], Operations: ['44-21=23', '57-26=31'] Exploring Operation: 23+31=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 23*31=713, Resulting Numbers: [713] 713,47 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,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,0,0 Current State: 47:[26, 80], Operations: ['44-21=23', '57+23=80'] Exploring Operation: 26+80=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 26*80=2080, Resulting Numbers: [2080] 2080,47 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,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,0,1 Current State: 47:[57, 3], Operations: ['44-21=23', '26-23=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,47 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,47 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,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_5
mult_heuristic
[ 2, 80, 98, 73 ]
82
[ "98-80=18", "18/2=9", "73+9=82" ]
Current State: 82:[2, 80, 98, 73], Operations: [] Exploring Operation: 98-80=18, Resulting Numbers: [2, 73, 18] Generated Node #2: [2, 73, 18] from Operation: 98-80=18 Current State: 82:[2, 73, 18], Operations: ['98-80=18'] Exploring Operation: 18/2=9, Resulting Numbers: [73, 9] Generated Node #3: [73, 9] from Operation: 18/2=9 Current State: 82:[73, 9], Operations: ['98-80=18', '18/2=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[2, 80, 98, 73], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [2, 80, 25] Generated Node #0,0: 82:[2, 80, 25] Operation: 98-73=25 Exploring Operation: 2+80=82, Resulting Numbers: [98, 73, 82] Generated Node #0,1: 82:[98, 73, 82] Operation: 2+80=82 Exploring Operation: 98-2=96, Resulting Numbers: [80, 73, 96] Generated Node #0,2: 82:[80, 73, 96] Operation: 98-2=96 Exploring Operation: 80-73=7, Resulting Numbers: [2, 98, 7] Generated Node #0,3: 82:[2, 98, 7] Operation: 80-73=7 Exploring Operation: 98/2=49, Resulting Numbers: [80, 73, 49] Generated Node #0,4: 82:[80, 73, 49] Operation: 98/2=49 Moving to Node #0,0 Current State: 82:[2, 80, 25], Operations: ['98-73=25'] Exploring Operation: 2+80=82, Resulting Numbers: [25, 82] Generated Node #0,0,0: 82:[25, 82] Operation: 2+80=82 Exploring Operation: 2*25=50, Resulting Numbers: [80, 50] Generated Node #0,0,1: 82:[80, 50] Operation: 2*25=50 Exploring Operation: 80-25=55, Resulting Numbers: [2, 55] Generated Node #0,0,2: 82:[2, 55] Operation: 80-25=55 Exploring Operation: 80/2=40, Resulting Numbers: [25, 40] Generated Node #0,0,3: 82:[25, 40] Operation: 80/2=40 Exploring Operation: 2+25=27, Resulting Numbers: [80, 27] Generated Node #0,0,4: 82:[80, 27] Operation: 2+25=27 Moving to Node #0,4 Current State: 82:[80, 73, 49], Operations: ['98/2=49'] Exploring Operation: 80-49=31, Resulting Numbers: [73, 31] Generated Node #0,4,0: 82:[73, 31] Operation: 80-49=31 Exploring Operation: 73-49=24, Resulting Numbers: [80, 24] Generated Node #0,4,1: 82:[80, 24] Operation: 73-49=24 Exploring Operation: 80+49=129, Resulting Numbers: [73, 129] Generated Node #0,4,2: 82:[73, 129] Operation: 80+49=129 Exploring Operation: 73+49=122, Resulting Numbers: [80, 122] Generated Node #0,4,3: 82:[80, 122] Operation: 73+49=122 Exploring Operation: 80-73=7, Resulting Numbers: [49, 7] Generated Node #0,4,4: 82:[49, 7] Operation: 80-73=7 Moving to Node #0,3 Current State: 82:[2, 98, 7], Operations: ['80-73=7'] Exploring Operation: 98-2=96, Resulting Numbers: [7, 96] Generated Node #0,3,0: 82:[7, 96] Operation: 98-2=96 Exploring Operation: 7-2=5, Resulting Numbers: [98, 5] Generated Node #0,3,1: 82:[98, 5] Operation: 7-2=5 Exploring Operation: 98/2=49, Resulting Numbers: [7, 49] Generated Node #0,3,2: 82:[7, 49] Operation: 98/2=49 Exploring Operation: 98/7=14, Resulting Numbers: [2, 14] Generated Node #0,3,3: 82:[2, 14] Operation: 98/7=14 Exploring Operation: 98-7=91, Resulting Numbers: [2, 91] Generated Node #0,3,4: 82:[2, 91] Operation: 98-7=91 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[2, 91], Operations: ['80-73=7', '98-7=91'] Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,82 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,82 unequal: No Solution No 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: 82:[2, 14], Operations: ['80-73=7', '98/7=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,82 unequal: No Solution No 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: 82:[7, 49], Operations: ['80-73=7', '98/2=49'] Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,82 unequal: No Solution No 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: 82:[7, 96], Operations: ['80-73=7', '98-2=96'] Exploring Operation: 7*96=672, Resulting Numbers: [672] 672,82 unequal: No Solution Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 7+96=103, Resulting Numbers: [103] 103,82 unequal: No Solution No 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: 82:[98, 5], Operations: ['80-73=7', '7-2=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 98*5=490, Resulting Numbers: [490] 490,82 unequal: No Solution Exploring Operation: 98+5=103, Resulting Numbers: [103] 103,82 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: 82:[98, 73, 82], Operations: ['2+80=82'] Exploring Operation: 82-73=9, Resulting Numbers: [98, 9] Generated Node #0,1,0: 82:[98, 9] Operation: 82-73=9 Exploring Operation: 98-73=25, Resulting Numbers: [82, 25] Generated Node #0,1,1: 82:[82, 25] Operation: 98-73=25 Exploring Operation: 73+82=155, Resulting Numbers: [98, 155] Generated Node #0,1,2: 82:[98, 155] Operation: 73+82=155 Exploring Operation: 98-82=16, Resulting Numbers: [73, 16] Generated Node #0,1,3: 82:[73, 16] Operation: 98-82=16 Exploring Operation: 98+73=171, Resulting Numbers: [82, 171] Generated Node #0,1,4: 82:[82, 171] Operation: 98+73=171 Moving to Node #0,2 Current State: 82:[80, 73, 96], Operations: ['98-2=96'] Exploring Operation: 80+73=153, Resulting Numbers: [96, 153] Generated Node #0,2,0: 82:[96, 153] Operation: 80+73=153 Exploring Operation: 96-80=16, Resulting Numbers: [73, 16] Generated Node #0,2,1: 82:[73, 16] Operation: 96-80=16 Exploring Operation: 73+96=169, Resulting Numbers: [80, 169] Generated Node #0,2,2: 82:[80, 169] Operation: 73+96=169 Exploring Operation: 96-73=23, Resulting Numbers: [80, 23] Generated Node #0,2,3: 82:[80, 23] Operation: 96-73=23 Exploring Operation: 80-73=7, Resulting Numbers: [96, 7] Generated Node #0,2,4: 82:[96, 7] Operation: 80-73=7 Moving to Node #0,0,1 Current State: 82:[80, 50], Operations: ['98-73=25', '2*25=50'] Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 80*50=4000, Resulting Numbers: [4000] 4000,82 unequal: No Solution Moving to Node #0,4,4 Current State: 82:[49, 7], Operations: ['98/2=49', '80-73=7'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[2, 55], Operations: ['98-73=25', '80-25=55'] Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[25, 82], Operations: ['98-73=25', '2+80=82'] Exploring Operation: 25*82=2050, Resulting Numbers: [2050] 2050,82 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 25+82=107, Resulting Numbers: [107] 107,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[82, 25], Operations: ['2+80=82', '98-73=25'] Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,82 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[80, 27], Operations: ['98-73=25', '2+25=27'] Exploring Operation: 80+27=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 80*27=2160, Resulting Numbers: [2160] 2160,82 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[25, 40], Operations: ['98-73=25', '80/2=40'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 25*40=1000, Resulting Numbers: [1000] 1000,82 unequal: No Solution Moving to Node #0,4,0 Current State: 82:[73, 31], Operations: ['98/2=49', '80-49=31'] Exploring Operation: 73*31=2263, Resulting Numbers: [2263] 2263,82 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,82 unequal: No Solution Moving to Node #0,4,1 Current State: 82:[80, 24], Operations: ['98/2=49', '73-49=24'] Exploring Operation: 80+24=104, Resulting Numbers: [104] 104,82 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 80*24=1920, Resulting Numbers: [1920] 1920,82 unequal: No Solution Moving to Node #0,2,4 Current State: 82:[96, 7], Operations: ['98-2=96', '80-73=7'] Exploring Operation: 96*7=672, Resulting Numbers: [672] 672,82 unequal: No Solution Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 96+7=103, Resulting Numbers: [103] 103,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[80, 23], Operations: ['98-2=96', '96-73=23'] Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,82 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[73, 16], Operations: ['2+80=82', '98-82=16'] Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[98, 9], Operations: ['2+80=82', '82-73=9'] Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[73, 16], Operations: ['98-2=96', '96-80=16'] Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[80, 122], Operations: ['98/2=49', '73+49=122'] Exploring Operation: 80+122=202, Resulting Numbers: [202] 202,82 unequal: No Solution Exploring Operation: 122-80=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 80*122=9760, Resulting Numbers: [9760] 9760,82 unequal: No Solution Moving to Node #0,4,2 Current State: 82:[73, 129], Operations: ['98/2=49', '80+49=129'] Exploring Operation: 73*129=9417, Resulting Numbers: [9417] 9417,82 unequal: No Solution Exploring Operation: 73+129=202, Resulting Numbers: [202] 202,82 unequal: No Solution Exploring Operation: 129-73=56, Resulting Numbers: [56] 56,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[96, 153], Operations: ['98-2=96', '80+73=153'] Exploring Operation: 96*153=14688, Resulting Numbers: [14688] 14688,82 unequal: No Solution Exploring Operation: 153-96=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 96+153=249, Resulting Numbers: [249] 249,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[98, 155], Operations: ['2+80=82', '73+82=155'] Exploring Operation: 98*155=15190, Resulting Numbers: [15190] 15190,82 unequal: No Solution Exploring Operation: 98+155=253, Resulting Numbers: [253] 253,82 unequal: No Solution Exploring Operation: 155-98=57, Resulting Numbers: [57] 57,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[80, 169], Operations: ['98-2=96', '73+96=169'] Exploring Operation: 80+169=249, Resulting Numbers: [249] 249,82 unequal: No Solution Exploring Operation: 80*169=13520, Resulting Numbers: [13520] 13520,82 unequal: No Solution Exploring Operation: 169-80=89, Resulting Numbers: [89] 89,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[82, 171], Operations: ['2+80=82', '98+73=171'] Exploring Operation: 82*171=14022, Resulting Numbers: [14022] 14022,82 unequal: No Solution Exploring Operation: 171-82=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 82+171=253, Resulting Numbers: [253] 253,82 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 54, 84, 6, 89 ]
94
[ "84-54=30", "30/6=5", "89+5=94" ]
Current State: 94:[54, 84, 6, 89], Operations: [] Exploring Operation: 84-54=30, Resulting Numbers: [6, 89, 30] Generated Node #2: [6, 89, 30] from Operation: 84-54=30 Current State: 94:[6, 89, 30], Operations: ['84-54=30'] Exploring Operation: 30/6=5, Resulting Numbers: [89, 5] Generated Node #3: [89, 5] from Operation: 30/6=5 Current State: 94:[89, 5], Operations: ['84-54=30', '30/6=5'] Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[54, 84, 6, 89], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [54, 6, 5] Generated Node #0,0: 94:[54, 6, 5] Operation: 89-84=5 Exploring Operation: 54-6=48, Resulting Numbers: [84, 89, 48] Generated Node #0,1: 94:[84, 89, 48] Operation: 54-6=48 Exploring Operation: 84+6=90, Resulting Numbers: [54, 89, 90] Generated Node #0,2: 94:[54, 89, 90] Operation: 84+6=90 Moving to Node #0,0 Current State: 94:[54, 6, 5], Operations: ['89-84=5'] Exploring Operation: 54-6=48, Resulting Numbers: [5, 48] Generated Node #0,0,0: 94:[5, 48] Operation: 54-6=48 Exploring Operation: 54-5=49, Resulting Numbers: [6, 49] Generated Node #0,0,1: 94:[6, 49] Operation: 54-5=49 Exploring Operation: 6-5=1, Resulting Numbers: [54, 1] Generated Node #0,0,2: 94:[54, 1] Operation: 6-5=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[5, 48], Operations: ['89-84=5', '54-6=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[6, 49], Operations: ['89-84=5', '54-5=49'] Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,94 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[54, 1], Operations: ['89-84=5', '6-5=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 94:[84, 89, 48], Operations: ['54-6=48'] Exploring Operation: 84-48=36, Resulting Numbers: [89, 36] Generated Node #0,1,0: 94:[89, 36] Operation: 84-48=36 Exploring Operation: 89-84=5, Resulting Numbers: [48, 5] Generated Node #0,1,1: 94:[48, 5] Operation: 89-84=5 Exploring Operation: 89-48=41, Resulting Numbers: [84, 41] Generated Node #0,1,2: 94:[84, 41] Operation: 89-48=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[48, 5], Operations: ['54-6=48', '89-84=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,94 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[89, 36], Operations: ['54-6=48', '84-48=36'] Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,94 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[84, 41], Operations: ['54-6=48', '89-48=41'] Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 94:[54, 89, 90], Operations: ['84+6=90'] Exploring Operation: 90-54=36, Resulting Numbers: [89, 36] Generated Node #0,2,0: 94:[89, 36] Operation: 90-54=36 Exploring Operation: 90-89=1, Resulting Numbers: [54, 1] Generated Node #0,2,1: 94:[54, 1] Operation: 90-89=1 Exploring Operation: 89-54=35, Resulting Numbers: [90, 35] Generated Node #0,2,2: 94:[90, 35] Operation: 89-54=35 Moving to Node #0,2,1 Current State: 94:[54, 1], Operations: ['84+6=90', '90-89=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[89, 36], Operations: ['84+6=90', '90-54=36'] Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[90, 35], Operations: ['84+6=90', '89-54=35'] Exploring Operation: 90+35=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 90*35=3150, Resulting Numbers: [3150] 3150,94 unequal: No Solution Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 33, 79, 80, 63 ]
97
[ "79-33=46", "80+63=143", "143-46=97" ]
Current State: 97:[33, 79, 80, 63], Operations: [] Exploring Operation: 79-33=46, Resulting Numbers: [80, 63, 46] Generated Node #2: [80, 63, 46] from Operation: 79-33=46 Current State: 97:[80, 63, 46], Operations: ['79-33=46'] Exploring Operation: 80+63=143, Resulting Numbers: [46, 143] Generated Node #3: [46, 143] from Operation: 80+63=143 Current State: 97:[46, 143], Operations: ['79-33=46', '80+63=143'] Exploring Operation: 143-46=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[33, 79, 80, 63], Operations: [] Exploring Operation: 33+63=96, Resulting Numbers: [79, 80, 96] Generated Node #0,0: 97:[79, 80, 96] Operation: 33+63=96 Moving to Node #0,0 Current State: 97:[79, 80, 96], Operations: ['33+63=96'] Exploring Operation: 79+80=159, Resulting Numbers: [96, 159] Generated Node #0,0,0: 97:[96, 159] Operation: 79+80=159 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[96, 159], Operations: ['33+63=96', '79+80=159'] Exploring Operation: 159-96=63, Resulting Numbers: [63] 63,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 49, 3, 28, 29 ]
53
[ "49+3=52", "29-28=1", "52+1=53" ]
Current State: 53:[49, 3, 28, 29], Operations: [] Exploring Operation: 49+3=52, Resulting Numbers: [28, 29, 52] Generated Node #2: [28, 29, 52] from Operation: 49+3=52 Current State: 53:[28, 29, 52], Operations: ['49+3=52'] Exploring Operation: 29-28=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 29-28=1 Current State: 53:[52, 1], Operations: ['49+3=52', '29-28=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[49, 3, 28, 29], Operations: [] Exploring Operation: 28-3=25, Resulting Numbers: [49, 29, 25] Generated Node #0,0: 53:[49, 29, 25] Operation: 28-3=25 Exploring Operation: 49-3=46, Resulting Numbers: [28, 29, 46] Generated Node #0,1: 53:[28, 29, 46] Operation: 49-3=46 Exploring Operation: 3+29=32, Resulting Numbers: [49, 28, 32] Generated Node #0,2: 53:[49, 28, 32] Operation: 3+29=32 Exploring Operation: 3+28=31, Resulting Numbers: [49, 29, 31] Generated Node #0,3: 53:[49, 29, 31] Operation: 3+28=31 Exploring Operation: 49+3=52, Resulting Numbers: [28, 29, 52] Generated Node #0,4: 53:[28, 29, 52] Operation: 49+3=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[49, 28, 32], Operations: ['3+29=32'] Exploring Operation: 32-28=4, Resulting Numbers: [49, 4] Generated Node #0,2,0: 53:[49, 4] Operation: 32-28=4 Exploring Operation: 28+32=60, Resulting Numbers: [49, 60] Generated Node #0,2,1: 53:[49, 60] Operation: 28+32=60 Exploring Operation: 49+32=81, Resulting Numbers: [28, 81] Generated Node #0,2,2: 53:[28, 81] Operation: 49+32=81 Exploring Operation: 49-28=21, Resulting Numbers: [32, 21] Generated Node #0,2,3: 53:[32, 21] Operation: 49-28=21 Exploring Operation: 49+28=77, Resulting Numbers: [32, 77] Generated Node #0,2,4: 53:[32, 77] Operation: 49+28=77 Moving to Node #0,2,1 Current State: 53:[49, 60], Operations: ['3+29=32', '28+32=60'] Exploring Operation: 49*60=2940, Resulting Numbers: [2940] 2940,53 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 49+60=109, Resulting Numbers: [109] 109,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[32, 77], Operations: ['3+29=32', '49+28=77'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,53 unequal: No Solution Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[49, 4], Operations: ['3+29=32', '32-28=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[49, 3, 28, 29], Operations: [] Exploring Operation: 3+29=32, Resulting Numbers: [49, 28, 32] Generated Node #0,2: 53:[49, 28, 32] Operation: 3+29=32 Moving to Node #0,2 Current State: 53:[49, 28, 32], Operations: ['3+29=32'] Exploring Operation: 32-28=4, Resulting Numbers: [49, 4] Generated Node #0,2,0: 53:[49, 4] Operation: 32-28=4 Moving to Node #0,2,0 Current State: 53:[49, 4], Operations: ['3+29=32', '32-28=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 70, 36, 10, 88 ]
20
[ "88-70=18", "36*10=360", "360/18=20" ]
Current State: 20:[70, 36, 10, 88], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [36, 10, 18] Generated Node #2: [36, 10, 18] from Operation: 88-70=18 Current State: 20:[36, 10, 18], Operations: ['88-70=18'] Exploring Operation: 36*10=360, Resulting Numbers: [18, 360] Generated Node #3: [18, 360] from Operation: 36*10=360 Current State: 20:[18, 360], Operations: ['88-70=18', '36*10=360'] Exploring Operation: 360/18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[70, 36, 10, 88], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [36, 10, 18] Generated Node #0,0: 20:[36, 10, 18] Operation: 88-70=18 Exploring Operation: 70-36=34, Resulting Numbers: [10, 88, 34] Generated Node #0,1: 20:[10, 88, 34] Operation: 70-36=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[36, 10, 18], Operations: ['88-70=18'] Exploring Operation: 36/18=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 20:[10, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [10, 18] Generated Node #0,0,1: 20:[10, 18] Operation: 36-18=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[10, 2], Operations: ['88-70=18', '36/18=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[70, 36, 10, 88], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [36, 10, 18] Generated Node #0,0: 20:[36, 10, 18] Operation: 88-70=18 Moving to Node #0,0 Current State: 20:[36, 10, 18], Operations: ['88-70=18'] Exploring Operation: 36/18=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 20:[10, 2] Operation: 36/18=2 Moving to Node #0,0,0 Current State: 20:[10, 2], Operations: ['88-70=18', '36/18=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 54, 19, 68, 4 ]
52
[ "54-19=35", "68/4=17", "35+17=52" ]
Current State: 52:[54, 19, 68, 4], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [68, 4, 35] Generated Node #2: [68, 4, 35] from Operation: 54-19=35 Current State: 52:[68, 4, 35], Operations: ['54-19=35'] Exploring Operation: 68/4=17, Resulting Numbers: [35, 17] Generated Node #3: [35, 17] from Operation: 68/4=17 Current State: 52:[35, 17], Operations: ['54-19=35', '68/4=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[54, 19, 68, 4], Operations: [] Exploring Operation: 68-19=49, Resulting Numbers: [54, 4, 49] Generated Node #0,0: 52:[54, 4, 49] Operation: 68-19=49 Moving to Node #0,0 Current State: 52:[54, 4, 49], Operations: ['68-19=49'] Exploring Operation: 54-49=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 52:[4, 5] Operation: 54-49=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 5], Operations: ['68-19=49', '54-49=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 85, 3, 54, 82 ]
45
[ "85-82=3", "3*3=9", "54-9=45" ]
Current State: 45:[85, 3, 54, 82], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [3, 54, 3] Generated Node #2: [3, 54, 3] from Operation: 85-82=3 Current State: 45:[3, 54, 3], Operations: ['85-82=3'] Exploring Operation: 3*3=9, Resulting Numbers: [54, 9] Generated Node #3: [54, 9] from Operation: 3*3=9 Current State: 45:[54, 9], Operations: ['85-82=3', '3*3=9'] Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[85, 3, 54, 82], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [85, 3, 28] Generated Node #0,0: 45:[85, 3, 28] Operation: 82-54=28 Exploring Operation: 85-82=3, Resulting Numbers: [3, 54, 3] Generated Node #0,1: 45:[3, 54, 3] Operation: 85-82=3 Exploring Operation: 54/3=18, Resulting Numbers: [85, 82, 18] Generated Node #0,2: 45:[85, 82, 18] Operation: 54/3=18 Exploring Operation: 85-54=31, Resulting Numbers: [3, 82, 31] Generated Node #0,3: 45:[3, 82, 31] Operation: 85-54=31 Moving to Node #0,1 Current State: 45:[3, 54, 3], Operations: ['85-82=3'] Exploring Operation: 54/3=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 45:[3, 18] Operation: 54/3=18 Exploring Operation: 54-3=51, Resulting Numbers: [3, 51] Generated Node #0,1,1: 45:[3, 51] Operation: 54-3=51 Exploring Operation: 54-3=51, Resulting Numbers: [3, 51] Generated Node #0,1,2: 45:[3, 51] Operation: 54-3=51 Exploring Operation: 54/3=18, Resulting Numbers: [3, 18] Generated Node #0,1,3: 45:[3, 18] Operation: 54/3=18 Moving to Node #0,3 Current State: 45:[3, 82, 31], Operations: ['85-54=31'] Exploring Operation: 31-3=28, Resulting Numbers: [82, 28] Generated Node #0,3,0: 45:[82, 28] Operation: 31-3=28 Exploring Operation: 3+31=34, Resulting Numbers: [82, 34] Generated Node #0,3,1: 45:[82, 34] Operation: 3+31=34 Exploring Operation: 82-31=51, Resulting Numbers: [3, 51] Generated Node #0,3,2: 45:[3, 51] Operation: 82-31=51 Exploring Operation: 82-3=79, Resulting Numbers: [31, 79] Generated Node #0,3,3: 45:[31, 79] Operation: 82-3=79 Moving to Node #0,0 Current State: 45:[85, 3, 28], Operations: ['82-54=28'] Exploring Operation: 85-3=82, Resulting Numbers: [28, 82] Generated Node #0,0,0: 45:[28, 82] Operation: 85-3=82 Exploring Operation: 3+28=31, Resulting Numbers: [85, 31] Generated Node #0,0,1: 45:[85, 31] Operation: 3+28=31 Exploring Operation: 85-28=57, Resulting Numbers: [3, 57] Generated Node #0,0,2: 45:[3, 57] Operation: 85-28=57 Exploring Operation: 28-3=25, Resulting Numbers: [85, 25] Generated Node #0,0,3: 45:[85, 25] Operation: 28-3=25 Moving to Node #0,2 Current State: 45:[85, 82, 18], Operations: ['54/3=18'] Exploring Operation: 85-82=3, Resulting Numbers: [18, 3] Generated Node #0,2,0: 45:[18, 3] Operation: 85-82=3 Exploring Operation: 82-18=64, Resulting Numbers: [85, 64] Generated Node #0,2,1: 45:[85, 64] Operation: 82-18=64 Exploring Operation: 85-18=67, Resulting Numbers: [82, 67] Generated Node #0,2,2: 45:[82, 67] Operation: 85-18=67 Exploring Operation: 85+18=103, Resulting Numbers: [82, 103] Generated Node #0,2,3: 45:[82, 103] Operation: 85+18=103 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[18, 3], Operations: ['54/3=18', '85-82=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[85, 64], Operations: ['54/3=18', '82-18=64'] Exploring Operation: 85+64=149, Resulting Numbers: [149] 149,45 unequal: No Solution Exploring Operation: 85*64=5440, Resulting Numbers: [5440] 5440,45 unequal: No Solution Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[82, 67], Operations: ['54/3=18', '85-18=67'] Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 82*67=5494, Resulting Numbers: [5494] 5494,45 unequal: No Solution Exploring Operation: 82+67=149, Resulting Numbers: [149] 149,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[82, 103], Operations: ['54/3=18', '85+18=103'] Exploring Operation: 82*103=8446, Resulting Numbers: [8446] 8446,45 unequal: No Solution Exploring Operation: 82+103=185, Resulting Numbers: [185] 185,45 unequal: No Solution Exploring Operation: 103-82=21, Resulting Numbers: [21] 21,45 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: 45:[3, 18], Operations: ['85-82=3', '54/3=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[3, 18], Operations: ['85-82=3', '54/3=18'] Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[3, 51], Operations: ['85-82=3', '54-3=51'] Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,45 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[3, 51], Operations: ['85-54=31', '82-31=51'] Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[3, 51], Operations: ['85-82=3', '54-3=51'] Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,45 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[3, 57], Operations: ['82-54=28', '85-28=57'] Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 3*57=171, Resulting Numbers: [171] 171,45 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[31, 79], Operations: ['85-54=31', '82-3=79'] Exploring Operation: 31*79=2449, Resulting Numbers: [2449] 2449,45 unequal: No Solution Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 31+79=110, Resulting Numbers: [110] 110,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[82, 34], Operations: ['85-54=31', '3+31=34'] Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 82*34=2788, Resulting Numbers: [2788] 2788,45 unequal: No Solution Exploring Operation: 82+34=116, Resulting Numbers: [116] 116,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[85, 25], Operations: ['82-54=28', '28-3=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,45 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[82, 28], Operations: ['85-54=31', '31-3=28'] Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,45 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,45 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[28, 82], Operations: ['82-54=28', '85-3=82'] Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,45 unequal: No Solution Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,45 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[85, 31], Operations: ['82-54=28', '3+28=31'] Exploring Operation: 85+31=116, Resulting Numbers: [116] 116,45 unequal: No Solution Exploring Operation: 85*31=2635, Resulting Numbers: [2635] 2635,45 unequal: No Solution Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,45 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 29, 6, 23, 13 ]
96
[ "29+13=42", "6*23=138", "138-42=96" ]
Current State: 96:[29, 6, 23, 13], Operations: [] Exploring Operation: 29+13=42, Resulting Numbers: [6, 23, 42] Generated Node #2: [6, 23, 42] from Operation: 29+13=42 Current State: 96:[6, 23, 42], Operations: ['29+13=42'] Exploring Operation: 6*23=138, Resulting Numbers: [42, 138] Generated Node #3: [42, 138] from Operation: 6*23=138 Current State: 96:[42, 138], Operations: ['29+13=42', '6*23=138'] Exploring Operation: 138-42=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[29, 6, 23, 13], Operations: [] Exploring Operation: 29-23=6, Resulting Numbers: [6, 13, 6] Generated Node #0,0: 96:[6, 13, 6] Operation: 29-23=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[6, 13, 6], Operations: ['29-23=6'] Exploring Operation: 13-6=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 96:[6, 7] Operation: 13-6=7 Moving to Node #0,0,0 Current State: 96:[6, 7], Operations: ['29-23=6', '13-6=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 19, 40, 93 ]
17
[ "96-93=3", "19*3=57", "57-40=17" ]
Current State: 17:[96, 19, 40, 93], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [19, 40, 3] Generated Node #2: [19, 40, 3] from Operation: 96-93=3 Current State: 17:[19, 40, 3], Operations: ['96-93=3'] Exploring Operation: 19*3=57, Resulting Numbers: [40, 57] Generated Node #3: [40, 57] from Operation: 19*3=57 Current State: 17:[40, 57], Operations: ['96-93=3', '19*3=57'] Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[96, 19, 40, 93], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [19, 40, 3] Generated Node #0,0: 17:[19, 40, 3] Operation: 96-93=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[19, 40, 3], Operations: ['96-93=3'] Exploring Operation: 40-19=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 17:[3, 21] Operation: 40-19=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[3, 21], Operations: ['96-93=3', '40-19=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 9, 75, 83 ]
58
[ "12-9=3", "75/3=25", "83-25=58" ]
Current State: 58:[12, 9, 75, 83], Operations: [] Exploring Operation: 12-9=3, Resulting Numbers: [75, 83, 3] Generated Node #2: [75, 83, 3] from Operation: 12-9=3 Current State: 58:[75, 83, 3], Operations: ['12-9=3'] Exploring Operation: 75/3=25, Resulting Numbers: [83, 25] Generated Node #3: [83, 25] from Operation: 75/3=25 Current State: 58:[83, 25], Operations: ['12-9=3', '75/3=25'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[12, 9, 75, 83], Operations: [] Exploring Operation: 75-12=63, Resulting Numbers: [9, 83, 63] Generated Node #0,0: 58:[9, 83, 63] Operation: 75-12=63 Exploring Operation: 83-75=8, Resulting Numbers: [12, 9, 8] Generated Node #0,1: 58:[12, 9, 8] Operation: 83-75=8 Moving to Node #0,1 Current State: 58:[12, 9, 8], Operations: ['83-75=8'] Exploring Operation: 12-8=4, Resulting Numbers: [9, 4] Generated Node #0,1,0: 58:[9, 4] Operation: 12-8=4 Exploring Operation: 12-9=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 58:[8, 3] Operation: 12-9=3 Moving to Node #0,0 Current State: 58:[9, 83, 63], Operations: ['75-12=63'] Exploring Operation: 83-63=20, Resulting Numbers: [9, 20] Generated Node #0,0,0: 58:[9, 20] Operation: 83-63=20 Exploring Operation: 83-9=74, Resulting Numbers: [63, 74] Generated Node #0,0,1: 58:[63, 74] Operation: 83-9=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[9, 20], Operations: ['75-12=63', '83-63=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[63, 74], Operations: ['75-12=63', '83-9=74'] Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,58 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,58 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: 58:[8, 3], Operations: ['83-75=8', '12-9=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[9, 4], Operations: ['83-75=8', '12-8=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,58 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 35, 35, 6, 71 ]
41
[ "71-35=36", "36/6=6", "35+6=41" ]
Current State: 41:[35, 35, 6, 71], Operations: [] Exploring Operation: 71-35=36, Resulting Numbers: [6, 36] Generated Node #2: [6, 36] from Operation: 71-35=36 Current State: 41:[6, 36], Operations: ['71-35=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,41 equal: Goal Reached Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[35, 35, 6, 71], Operations: [] Exploring Operation: 71-6=65, Resulting Numbers: [35, 35, 65] Generated Node #0,0: 41:[35, 35, 65] Operation: 71-6=65 Exploring Operation: 71-35=36, Resulting Numbers: [35, 6, 36] Generated Node #0,1: 41:[35, 6, 36] Operation: 71-35=36 Exploring Operation: 35+6=41, Resulting Numbers: [35, 71, 41] Generated Node #0,2: 41:[35, 71, 41] Operation: 35+6=41 Exploring Operation: 71-35=36, Resulting Numbers: [35, 6, 36] Generated Node #0,3: 41:[35, 6, 36] Operation: 71-35=36 Exploring Operation: 35+6=41, Resulting Numbers: [35, 71, 41] Generated Node #0,4: 41:[35, 71, 41] Operation: 35+6=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[35, 35, 65], Operations: ['71-6=65'] Exploring Operation: 35/35=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 41:[65, 1] Operation: 35/35=1 Exploring Operation: 35-35=0, Resulting Numbers: [65, 0] Generated Node #0,0,1: 41:[65, 0] Operation: 35-35=0 Exploring Operation: 65-35=30, Resulting Numbers: [35, 30] Generated Node #0,0,2: 41:[35, 30] Operation: 65-35=30 Exploring Operation: 65-35=30, Resulting Numbers: [35, 30] Generated Node #0,0,3: 41:[35, 30] Operation: 65-35=30 Exploring Operation: 35+35=70, Resulting Numbers: [65, 70] Generated Node #0,0,4: 41:[65, 70] Operation: 35+35=70 Moving to Node #0,0,2 Current State: 41:[35, 30], Operations: ['71-6=65', '65-35=30'] Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[35, 30], Operations: ['71-6=65', '65-35=30'] Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,41 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[65, 70], Operations: ['71-6=65', '35+35=70'] Exploring Operation: 65*70=4550, Resulting Numbers: [4550] 4550,41 unequal: No Solution Exploring Operation: 65+70=135, Resulting Numbers: [135] 135,41 unequal: No Solution Exploring Operation: 70-65=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[65, 1], Operations: ['71-6=65', '35/35=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[65, 0], Operations: ['71-6=65', '35-35=0'] Exploring Operation: 65-0=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 65*0=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 65+0=65, Resulting Numbers: [65] 65,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[35, 71, 41], Operations: ['35+6=41'] Exploring Operation: 41-35=6, Resulting Numbers: [71, 6] Generated Node #0,2,0: 41:[71, 6] Operation: 41-35=6 Exploring Operation: 71-41=30, Resulting Numbers: [35, 30] Generated Node #0,2,1: 41:[35, 30] Operation: 71-41=30 Exploring Operation: 35+41=76, Resulting Numbers: [71, 76] Generated Node #0,2,2: 41:[71, 76] Operation: 35+41=76 Exploring Operation: 35+71=106, Resulting Numbers: [41, 106] Generated Node #0,2,3: 41:[41, 106] Operation: 35+71=106 Exploring Operation: 71-35=36, Resulting Numbers: [41, 36] Generated Node #0,2,4: 41:[41, 36] Operation: 71-35=36 Moving to Node #0,2,4 Current State: 41:[41, 36], Operations: ['35+6=41', '71-35=36'] Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,41 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[35, 30], Operations: ['35+6=41', '71-41=30'] Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,41 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[71, 6], Operations: ['35+6=41', '41-35=6'] Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,41 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[71, 76], Operations: ['35+6=41', '35+41=76'] Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,41 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[41, 106], Operations: ['35+6=41', '35+71=106'] Exploring Operation: 41+106=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 106-41=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 41*106=4346, Resulting Numbers: [4346] 4346,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:[35, 71, 41], Operations: ['35+6=41'] Exploring Operation: 71-35=36, Resulting Numbers: [41, 36] Generated Node #0,4,0: 41:[41, 36] Operation: 71-35=36 Exploring Operation: 71-41=30, Resulting Numbers: [35, 30] Generated Node #0,4,1: 41:[35, 30] Operation: 71-41=30 Exploring Operation: 35+41=76, Resulting Numbers: [71, 76] Generated Node #0,4,2: 41:[71, 76] Operation: 35+41=76 Exploring Operation: 35+71=106, Resulting Numbers: [41, 106] Generated Node #0,4,3: 41:[41, 106] Operation: 35+71=106 Exploring Operation: 41-35=6, Resulting Numbers: [71, 6] Generated Node #0,4,4: 41:[71, 6] Operation: 41-35=6 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 41:[41, 36], Operations: ['35+6=41', '71-35=36'] Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,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:[35, 30], Operations: ['35+6=41', '71-41=30'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,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,2 Current State: 41:[71, 76], Operations: ['35+6=41', '35+41=76'] Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,41 unequal: No Solution Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,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:[41, 106], Operations: ['35+6=41', '35+71=106'] Exploring Operation: 41+106=147, Resulting Numbers: [147] 147,41 unequal: No Solution Exploring Operation: 41*106=4346, Resulting Numbers: [4346] 4346,41 unequal: No Solution Exploring Operation: 106-41=65, Resulting Numbers: [65] 65,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:[71, 6], Operations: ['35+6=41', '41-35=6'] Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,41 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[35, 6, 36], Operations: ['71-35=36'] Exploring Operation: 35+6=41, Resulting Numbers: [36, 41] Generated Node #0,1,0: 41:[36, 41] Operation: 35+6=41 Exploring Operation: 36-6=30, Resulting Numbers: [35, 30] Generated Node #0,1,1: 41:[35, 30] Operation: 36-6=30 Exploring Operation: 35-6=29, Resulting Numbers: [36, 29] Generated Node #0,1,2: 41:[36, 29] Operation: 35-6=29 Exploring Operation: 36/6=6, Resulting Numbers: [35, 6] Generated Node #0,1,3: 41:[35, 6] Operation: 36/6=6 Exploring Operation: 6+36=42, Resulting Numbers: [35, 42] Generated Node #0,1,4: 41:[35, 42] Operation: 6+36=42 Moving to Node #0,1,0 Current State: 41:[36, 41], Operations: ['71-35=36', '35+6=41'] Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[35, 42], Operations: ['71-35=36', '6+36=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[35, 30], Operations: ['71-35=36', '36-6=30'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[36, 29], Operations: ['71-35=36', '35-6=29'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[35, 6], Operations: ['71-35=36', '36/6=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[35, 35, 6, 71], Operations: [] Exploring Operation: 71-35=36, Resulting Numbers: [35, 6, 36] Generated Node #0,1: 41:[35, 6, 36] Operation: 71-35=36 Moving to Node #0,1 Current State: 41:[35, 6, 36], Operations: ['71-35=36'] Exploring Operation: 36/6=6, Resulting Numbers: [35, 6] Generated Node #0,1,3: 41:[35, 6] Operation: 36/6=6 Moving to Node #0,1,3 Current State: 41:[35, 6], Operations: ['71-35=36', '36/6=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.923611
hs_5
mult_heuristic
[ 32, 38, 20, 74 ]
48
[ "38-32=6", "74-20=54", "54-6=48" ]
Current State: 48:[32, 38, 20, 74], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [20, 74, 6] Generated Node #2: [20, 74, 6] from Operation: 38-32=6 Current State: 48:[20, 74, 6], Operations: ['38-32=6'] Exploring Operation: 74-20=54, Resulting Numbers: [6, 54] Generated Node #3: [6, 54] from Operation: 74-20=54 Current State: 48:[6, 54], Operations: ['38-32=6', '74-20=54'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[32, 38, 20, 74], Operations: [] Exploring Operation: 74-38=36, Resulting Numbers: [32, 20, 36] Generated Node #0,0: 48:[32, 20, 36] Operation: 74-38=36 Exploring Operation: 74-32=42, Resulting Numbers: [38, 20, 42] Generated Node #0,1: 48:[38, 20, 42] Operation: 74-32=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[38, 20, 42], Operations: ['74-32=42'] Exploring Operation: 38-20=18, Resulting Numbers: [42, 18] Generated Node #0,1,0: 48:[42, 18] Operation: 38-20=18 Exploring Operation: 42-38=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 48:[20, 4] Operation: 42-38=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[20, 4], Operations: ['74-32=42', '42-38=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[42, 18], Operations: ['74-32=42', '38-20=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[32, 20, 36], Operations: ['74-38=36'] Exploring Operation: 36-20=16, Resulting Numbers: [32, 16] Generated Node #0,0,0: 48:[32, 16] Operation: 36-20=16 Exploring Operation: 36-32=4, Resulting Numbers: [20, 4] Generated Node #0,0,1: 48:[20, 4] Operation: 36-32=4 Moving to Node #0,0,1 Current State: 48:[20, 4], Operations: ['74-38=36', '36-32=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[32, 16], Operations: ['74-38=36', '36-20=16'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[32, 38, 20, 74], Operations: [] Exploring Operation: 74-38=36, Resulting Numbers: [32, 20, 36] Generated Node #0,0: 48:[32, 20, 36] Operation: 74-38=36 Moving to Node #0,0 Current State: 48:[32, 20, 36], Operations: ['74-38=36'] Exploring Operation: 36-20=16, Resulting Numbers: [32, 16] Generated Node #0,0,0: 48:[32, 16] Operation: 36-20=16 Moving to Node #0,0,0 Current State: 48:[32, 16], Operations: ['74-38=36', '36-20=16'] Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 8, 63, 44, 28 ]
49
[ "44-8=36", "63*28=1764", "1764/36=49" ]
Current State: 49:[8, 63, 44, 28], Operations: [] Exploring Operation: 44-8=36, Resulting Numbers: [63, 28, 36] Generated Node #2: [63, 28, 36] from Operation: 44-8=36 Current State: 49:[63, 28, 36], Operations: ['44-8=36'] Exploring Operation: 63*28=1764, Resulting Numbers: [36, 1764] Generated Node #3: [36, 1764] from Operation: 63*28=1764 Current State: 49:[36, 1764], Operations: ['44-8=36', '63*28=1764'] Exploring Operation: 1764/36=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[8, 63, 44, 28], Operations: [] Exploring Operation: 28-8=20, Resulting Numbers: [63, 44, 20] Generated Node #0,0: 49:[63, 44, 20] Operation: 28-8=20 Exploring Operation: 63-28=35, Resulting Numbers: [8, 44, 35] Generated Node #0,1: 49:[8, 44, 35] Operation: 63-28=35 Exploring Operation: 63-8=55, Resulting Numbers: [44, 28, 55] Generated Node #0,2: 49:[44, 28, 55] Operation: 63-8=55 Exploring Operation: 8+28=36, Resulting Numbers: [63, 44, 36] Generated Node #0,3: 49:[63, 44, 36] Operation: 8+28=36 Exploring Operation: 44-28=16, Resulting Numbers: [8, 63, 16] Generated Node #0,4: 49:[8, 63, 16] Operation: 44-28=16 Moving to Node #0,1 Current State: 49:[8, 44, 35], Operations: ['63-28=35'] Exploring Operation: 8+44=52, Resulting Numbers: [35, 52] Generated Node #0,1,0: 49:[35, 52] Operation: 8+44=52 Exploring Operation: 44-8=36, Resulting Numbers: [35, 36] Generated Node #0,1,1: 49:[35, 36] Operation: 44-8=36 Exploring Operation: 44-35=9, Resulting Numbers: [8, 9] Generated Node #0,1,2: 49:[8, 9] Operation: 44-35=9 Exploring Operation: 8+35=43, Resulting Numbers: [44, 43] Generated Node #0,1,3: 49:[44, 43] Operation: 8+35=43 Exploring Operation: 35-8=27, Resulting Numbers: [44, 27] Generated Node #0,1,4: 49:[44, 27] Operation: 35-8=27 Moving to Node #0,4 Current State: 49:[8, 63, 16], Operations: ['44-28=16'] Exploring Operation: 16-8=8, Resulting Numbers: [63, 8] Generated Node #0,4,0: 49:[63, 8] Operation: 16-8=8 Exploring Operation: 63-16=47, Resulting Numbers: [8, 47] Generated Node #0,4,1: 49:[8, 47] Operation: 63-16=47 Exploring Operation: 8+63=71, Resulting Numbers: [16, 71] Generated Node #0,4,2: 49:[16, 71] Operation: 8+63=71 Exploring Operation: 63-8=55, Resulting Numbers: [16, 55] Generated Node #0,4,3: 49:[16, 55] Operation: 63-8=55 Exploring Operation: 16/8=2, Resulting Numbers: [63, 2] Generated Node #0,4,4: 49:[63, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 49:[8, 47], Operations: ['44-28=16', '63-16=47'] Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,49 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 49:[63, 8], Operations: ['44-28=16', '16-8=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,49 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 49:[16, 55], Operations: ['44-28=16', '63-8=55'] Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 16*55=880, Resulting Numbers: [880] 880,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 49:[63, 2], Operations: ['44-28=16', '16/8=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,49 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 49:[16, 71], Operations: ['44-28=16', '8+63=71'] Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 16+71=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 16*71=1136, Resulting Numbers: [1136] 1136,49 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: 49:[63, 44, 20], Operations: ['28-8=20'] Exploring Operation: 63-44=19, Resulting Numbers: [20, 19] Generated Node #0,0,0: 49:[20, 19] Operation: 63-44=19 Exploring Operation: 63+20=83, Resulting Numbers: [44, 83] Generated Node #0,0,1: 49:[44, 83] Operation: 63+20=83 Exploring Operation: 63-20=43, Resulting Numbers: [44, 43] Generated Node #0,0,2: 49:[44, 43] Operation: 63-20=43 Exploring Operation: 44+20=64, Resulting Numbers: [63, 64] Generated Node #0,0,3: 49:[63, 64] Operation: 44+20=64 Exploring Operation: 44-20=24, Resulting Numbers: [63, 24] Generated Node #0,0,4: 49:[63, 24] Operation: 44-20=24 Moving to Node #0,2 Current State: 49:[44, 28, 55], Operations: ['63-8=55'] Exploring Operation: 55-28=27, Resulting Numbers: [44, 27] Generated Node #0,2,0: 49:[44, 27] Operation: 55-28=27 Exploring Operation: 44-28=16, Resulting Numbers: [55, 16] Generated Node #0,2,1: 49:[55, 16] Operation: 44-28=16 Exploring Operation: 44+28=72, Resulting Numbers: [55, 72] Generated Node #0,2,2: 49:[55, 72] Operation: 44+28=72 Exploring Operation: 28+55=83, Resulting Numbers: [44, 83] Generated Node #0,2,3: 49:[44, 83] Operation: 28+55=83 Exploring Operation: 55-44=11, Resulting Numbers: [28, 11] Generated Node #0,2,4: 49:[28, 11] Operation: 55-44=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[55, 16], Operations: ['63-8=55', '44-28=16'] Exploring Operation: 55*16=880, Resulting Numbers: [880] 880,49 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[44, 27], Operations: ['63-8=55', '55-28=27'] Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,49 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 49:[28, 11], Operations: ['63-8=55', '55-44=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,49 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[55, 72], Operations: ['63-8=55', '44+28=72'] Exploring Operation: 55*72=3960, Resulting Numbers: [3960] 3960,49 unequal: No Solution Exploring Operation: 55+72=127, Resulting Numbers: [127] 127,49 unequal: No Solution Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 49:[44, 83], Operations: ['63-8=55', '28+55=83'] Exploring Operation: 44+83=127, Resulting Numbers: [127] 127,49 unequal: No Solution Exploring Operation: 44*83=3652, Resulting Numbers: [3652] 3652,49 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,49 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: 49:[63, 44, 36], Operations: ['8+28=36'] Exploring Operation: 63+36=99, Resulting Numbers: [44, 99] Generated Node #0,3,0: 49:[44, 99] Operation: 63+36=99 Exploring Operation: 63-44=19, Resulting Numbers: [36, 19] Generated Node #0,3,1: 49:[36, 19] Operation: 63-44=19 Exploring Operation: 63-36=27, Resulting Numbers: [44, 27] Generated Node #0,3,2: 49:[44, 27] Operation: 63-36=27 Exploring Operation: 44+36=80, Resulting Numbers: [63, 80] Generated Node #0,3,3: 49:[63, 80] Operation: 44+36=80 Exploring Operation: 44-36=8, Resulting Numbers: [63, 8] Generated Node #0,3,4: 49:[63, 8] Operation: 44-36=8 Moving to Node #0,1,2 Current State: 49:[8, 9], Operations: ['63-28=35', '44-35=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[44, 43], Operations: ['28-8=20', '63-20=43'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[44, 43], Operations: ['63-28=35', '8+35=43'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,49 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,49 unequal: No Solution Moving to Node #0,3,4 Current State: 49:[63, 8], Operations: ['8+28=36', '44-36=8'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,49 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[35, 52], Operations: ['63-28=35', '8+44=52'] Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 35*52=1820, Resulting Numbers: [1820] 1820,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[20, 19], Operations: ['28-8=20', '63-44=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,49 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[36, 19], Operations: ['8+28=36', '63-44=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,49 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[44, 27], Operations: ['8+28=36', '63-36=27'] Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,49 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[44, 27], Operations: ['63-28=35', '35-8=27'] Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,49 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[35, 36], Operations: ['63-28=35', '44-8=36'] Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,49 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[63, 64], Operations: ['28-8=20', '44+20=64'] Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,49 unequal: No Solution Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,49 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[63, 24], Operations: ['28-8=20', '44-20=24'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[44, 83], Operations: ['28-8=20', '63+20=83'] Exploring Operation: 44*83=3652, Resulting Numbers: [3652] 3652,49 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 44+83=127, Resulting Numbers: [127] 127,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[63, 80], Operations: ['8+28=36', '44+36=80'] Exploring Operation: 63*80=5040, Resulting Numbers: [5040] 5040,49 unequal: No Solution Exploring Operation: 63+80=143, Resulting Numbers: [143] 143,49 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[44, 99], Operations: ['8+28=36', '63+36=99'] Exploring Operation: 44*99=4356, Resulting Numbers: [4356] 4356,49 unequal: No Solution Exploring Operation: 44+99=143, Resulting Numbers: [143] 143,49 unequal: No Solution Exploring Operation: 99-44=55, Resulting Numbers: [55] 55,49 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 3, 67, 2 ]
59
[ "22+2=24", "24/3=8", "67-8=59" ]
Current State: 59:[22, 3, 67, 2], Operations: [] Exploring Operation: 22+2=24, Resulting Numbers: [3, 67, 24] Generated Node #2: [3, 67, 24] from Operation: 22+2=24 Current State: 59:[3, 67, 24], Operations: ['22+2=24'] Exploring Operation: 24/3=8, Resulting Numbers: [67, 8] Generated Node #3: [67, 8] from Operation: 24/3=8 Current State: 59:[67, 8], Operations: ['22+2=24', '24/3=8'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[22, 3, 67, 2], Operations: [] Exploring Operation: 22*3=66, Resulting Numbers: [67, 2, 66] Generated Node #0,0: 59:[67, 2, 66] Operation: 22*3=66 Exploring Operation: 22*2=44, Resulting Numbers: [3, 67, 44] Generated Node #0,1: 59:[3, 67, 44] Operation: 22*2=44 Exploring Operation: 22+2=24, Resulting Numbers: [3, 67, 24] Generated Node #0,2: 59:[3, 67, 24] Operation: 22+2=24 Exploring Operation: 22+3=25, Resulting Numbers: [67, 2, 25] Generated Node #0,3: 59:[67, 2, 25] Operation: 22+3=25 Exploring Operation: 3*2=6, Resulting Numbers: [22, 67, 6] Generated Node #0,4: 59:[22, 67, 6] Operation: 3*2=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[67, 2, 66], Operations: ['22*3=66'] Exploring Operation: 67+2=69, Resulting Numbers: [66, 69] Generated Node #0,0,0: 59:[66, 69] Operation: 67+2=69 Exploring Operation: 66/2=33, Resulting Numbers: [67, 33] Generated Node #0,0,1: 59:[67, 33] Operation: 66/2=33 Exploring Operation: 2+66=68, Resulting Numbers: [67, 68] Generated Node #0,0,2: 59:[67, 68] Operation: 2+66=68 Exploring Operation: 67-2=65, Resulting Numbers: [66, 65] Generated Node #0,0,3: 59:[66, 65] Operation: 67-2=65 Exploring Operation: 66-2=64, Resulting Numbers: [67, 64] Generated Node #0,0,4: 59:[67, 64] Operation: 66-2=64 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[66, 65], Operations: ['22*3=66', '67-2=65'] Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 66*65=4290, Resulting Numbers: [4290] 4290,59 unequal: No Solution Exploring Operation: 66+65=131, Resulting Numbers: [131] 131,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 59:[67, 64], Operations: ['22*3=66', '66-2=64'] Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 67+64=131, Resulting Numbers: [131] 131,59 unequal: No Solution Exploring Operation: 67*64=4288, Resulting Numbers: [4288] 4288,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[66, 69], Operations: ['22*3=66', '67+2=69'] Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 66+69=135, Resulting Numbers: [135] 135,59 unequal: No Solution Exploring Operation: 66*69=4554, Resulting Numbers: [4554] 4554,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[67, 68], Operations: ['22*3=66', '2+66=68'] Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 67*68=4556, Resulting Numbers: [4556] 4556,59 unequal: No Solution Exploring Operation: 67+68=135, Resulting Numbers: [135] 135,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[67, 33], Operations: ['22*3=66', '66/2=33'] Exploring Operation: 67*33=2211, Resulting Numbers: [2211] 2211,59 unequal: No Solution Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 67+33=100, Resulting Numbers: [100] 100,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[3, 67, 44], Operations: ['22*2=44'] Exploring Operation: 3+44=47, Resulting Numbers: [67, 47] Generated Node #0,1,0: 59:[67, 47] Operation: 3+44=47 Exploring Operation: 3*44=132, Resulting Numbers: [67, 132] Generated Node #0,1,1: 59:[67, 132] Operation: 3*44=132 Exploring Operation: 3+67=70, Resulting Numbers: [44, 70] Generated Node #0,1,2: 59:[44, 70] Operation: 3+67=70 Exploring Operation: 44-3=41, Resulting Numbers: [67, 41] Generated Node #0,1,3: 59:[67, 41] Operation: 44-3=41 Exploring Operation: 67-3=64, Resulting Numbers: [44, 64] Generated Node #0,1,4: 59:[44, 64] Operation: 67-3=64 Moving to Node #0,1,0 Current State: 59:[67, 47], Operations: ['22*2=44', '3+44=47'] Exploring Operation: 67+47=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 67*47=3149, Resulting Numbers: [3149] 3149,59 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[44, 64], Operations: ['22*2=44', '67-3=64'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[44, 70], Operations: ['22*2=44', '3+67=70'] Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,59 unequal: No Solution Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[67, 41], Operations: ['22*2=44', '44-3=41'] Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 67*41=2747, Resulting Numbers: [2747] 2747,59 unequal: No Solution Exploring Operation: 67+41=108, Resulting Numbers: [108] 108,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[67, 132], Operations: ['22*2=44', '3*44=132'] Exploring Operation: 67+132=199, Resulting Numbers: [199] 199,59 unequal: No Solution Exploring Operation: 67*132=8844, Resulting Numbers: [8844] 8844,59 unequal: No Solution Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 59:[22, 67, 6], Operations: ['3*2=6'] Exploring Operation: 67-6=61, Resulting Numbers: [22, 61] Generated Node #0,4,0: 59:[22, 61] Operation: 67-6=61 Exploring Operation: 67-22=45, Resulting Numbers: [6, 45] Generated Node #0,4,1: 59:[6, 45] Operation: 67-22=45 Exploring Operation: 22-6=16, Resulting Numbers: [67, 16] Generated Node #0,4,2: 59:[67, 16] Operation: 22-6=16 Exploring Operation: 22+6=28, Resulting Numbers: [67, 28] Generated Node #0,4,3: 59:[67, 28] Operation: 22+6=28 Exploring Operation: 67+6=73, Resulting Numbers: [22, 73] Generated Node #0,4,4: 59:[22, 73] Operation: 67+6=73 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 59:[22, 61], Operations: ['3*2=6', '67-6=61'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,59 unequal: No Solution Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,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,4,3 Current State: 59:[67, 28], Operations: ['3*2=6', '22+6=28'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,59 unequal: No Solution Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,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,4,2 Current State: 59:[67, 16], Operations: ['3*2=6', '22-6=16'] Exploring Operation: 67*16=1072, Resulting Numbers: [1072] 1072,59 unequal: No Solution Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,59 unequal: No Solution Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,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,4,4 Current State: 59:[22, 73], Operations: ['3*2=6', '67+6=73'] Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 22+73=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 22*73=1606, Resulting Numbers: [1606] 1606,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,4,1 Current State: 59:[6, 45], Operations: ['3*2=6', '67-22=45'] Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,59 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[3, 67, 24], Operations: ['22+2=24'] Exploring Operation: 24-3=21, Resulting Numbers: [67, 21] Generated Node #0,2,0: 59:[67, 21] Operation: 24-3=21 Exploring Operation: 3*24=72, Resulting Numbers: [67, 72] Generated Node #0,2,1: 59:[67, 72] Operation: 3*24=72 Exploring Operation: 3+67=70, Resulting Numbers: [24, 70] Generated Node #0,2,2: 59:[24, 70] Operation: 3+67=70 Exploring Operation: 3+24=27, Resulting Numbers: [67, 27] Generated Node #0,2,3: 59:[67, 27] Operation: 3+24=27 Exploring Operation: 67-3=64, Resulting Numbers: [24, 64] Generated Node #0,2,4: 59:[24, 64] Operation: 67-3=64 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[67, 72], Operations: ['22+2=24', '3*24=72'] Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 67*72=4824, Resulting Numbers: [4824] 4824,59 unequal: No Solution Exploring Operation: 67+72=139, Resulting Numbers: [139] 139,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[67, 27], Operations: ['22+2=24', '3+24=27'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,59 unequal: No Solution Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 59:[24, 64], Operations: ['22+2=24', '67-3=64'] Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 24+64=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 24*64=1536, Resulting Numbers: [1536] 1536,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[67, 21], Operations: ['22+2=24', '24-3=21'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,59 unequal: No Solution Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[24, 70], Operations: ['22+2=24', '3+67=70'] Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,59 unequal: No Solution Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[67, 2, 25], Operations: ['22+3=25'] Exploring Operation: 25-2=23, Resulting Numbers: [67, 23] Generated Node #0,3,0: 59:[67, 23] Operation: 25-2=23 Exploring Operation: 2*25=50, Resulting Numbers: [67, 50] Generated Node #0,3,1: 59:[67, 50] Operation: 2*25=50 Exploring Operation: 2+25=27, Resulting Numbers: [67, 27] Generated Node #0,3,2: 59:[67, 27] Operation: 2+25=27 Exploring Operation: 67+2=69, Resulting Numbers: [25, 69] Generated Node #0,3,3: 59:[25, 69] Operation: 67+2=69 Exploring Operation: 67-2=65, Resulting Numbers: [25, 65] Generated Node #0,3,4: 59:[25, 65] Operation: 67-2=65 Moving to Node #0,3,1 Current State: 59:[67, 50], Operations: ['22+3=25', '2*25=50'] Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 67*50=3350, Resulting Numbers: [3350] 3350,59 unequal: No Solution Exploring Operation: 67+50=117, Resulting Numbers: [117] 117,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[25, 65], Operations: ['22+3=25', '67-2=65'] Exploring Operation: 25+65=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 25*65=1625, Resulting Numbers: [1625] 1625,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[67, 27], Operations: ['22+3=25', '2+25=27'] Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,59 unequal: No Solution Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[67, 23], Operations: ['22+3=25', '25-2=23'] Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,59 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[25, 69], Operations: ['22+3=25', '67+2=69'] Exploring Operation: 25*69=1725, Resulting Numbers: [1725] 1725,59 unequal: No Solution Exploring Operation: 25+69=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 28, 3, 4, 39 ]
12
[ "28+3=31", "4+39=43", "43-31=12" ]
Current State: 12:[28, 3, 4, 39], Operations: [] Exploring Operation: 28+3=31, Resulting Numbers: [4, 39, 31] Generated Node #2: [4, 39, 31] from Operation: 28+3=31 Current State: 12:[4, 39, 31], Operations: ['28+3=31'] Exploring Operation: 4+39=43, Resulting Numbers: [31, 43] Generated Node #3: [31, 43] from Operation: 4+39=43 Current State: 12:[31, 43], Operations: ['28+3=31', '4+39=43'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[28, 3, 4, 39], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [3, 39, 7] Generated Node #0,0: 12:[3, 39, 7] Operation: 28/4=7 Exploring Operation: 39-28=11, Resulting Numbers: [3, 4, 11] Generated Node #0,1: 12:[3, 4, 11] Operation: 39-28=11 Exploring Operation: 39/3=13, Resulting Numbers: [28, 4, 13] Generated Node #0,2: 12:[28, 4, 13] Operation: 39/3=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[3, 4, 11], Operations: ['39-28=11'] Exploring Operation: 11-4=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 12:[3, 7] Operation: 11-4=7 Exploring Operation: 3+4=7, Resulting Numbers: [11, 7] Generated Node #0,1,1: 12:[11, 7] Operation: 3+4=7 Exploring Operation: 3*4=12, Resulting Numbers: [11, 12] Generated Node #0,1,2: 12:[11, 12] Operation: 3*4=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[3, 7], Operations: ['39-28=11', '11-4=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,12 unequal: No Solution No 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: 12:[11, 12], Operations: ['39-28=11', '3*4=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,12 unequal: No Solution No 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: 12:[11, 7], Operations: ['39-28=11', '3+4=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,12 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: 12:[28, 4, 13], Operations: ['39/3=13'] Exploring Operation: 28-13=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 12:[4, 15] Operation: 28-13=15 Exploring Operation: 28/4=7, Resulting Numbers: [13, 7] Generated Node #0,2,1: 12:[13, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [13, 24] Generated Node #0,2,2: 12:[13, 24] Operation: 28-4=24 Moving to Node #0,2,1 Current State: 12:[13, 7], Operations: ['39/3=13', '28/4=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[4, 15], Operations: ['39/3=13', '28-13=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[13, 24], Operations: ['39/3=13', '28-4=24'] Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,12 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,12 unequal: No Solution No 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: 12:[3, 39, 7], Operations: ['28/4=7'] Exploring Operation: 39-7=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 12:[3, 32] Operation: 39-7=32 Exploring Operation: 39-3=36, Resulting Numbers: [7, 36] Generated Node #0,0,1: 12:[7, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [7, 13] Generated Node #0,0,2: 12:[7, 13] Operation: 39/3=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[7, 13], Operations: ['28/4=7', '39/3=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,12 unequal: No Solution No 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: 12:[3, 32], Operations: ['28/4=7', '39-7=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,12 unequal: No Solution No 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: 12:[7, 36], Operations: ['28/4=7', '39-3=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,12 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,12 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
[ 2, 88, 29, 91 ]
27
[ "88-29=59", "2*59=118", "118-91=27" ]
Current State: 27:[2, 88, 29, 91], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [2, 91, 59] Generated Node #2: [2, 91, 59] from Operation: 88-29=59 Current State: 27:[2, 91, 59], Operations: ['88-29=59'] Exploring Operation: 2*59=118, Resulting Numbers: [91, 118] Generated Node #3: [91, 118] from Operation: 2*59=118 Current State: 27:[91, 118], Operations: ['88-29=59', '2*59=118'] Exploring Operation: 118-91=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[2, 88, 29, 91], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [29, 91, 44] Generated Node #0,0: 27:[29, 91, 44] Operation: 88/2=44 Exploring Operation: 88-29=59, Resulting Numbers: [2, 91, 59] Generated Node #0,1: 27:[2, 91, 59] Operation: 88-29=59 Exploring Operation: 91-88=3, Resulting Numbers: [2, 29, 3] Generated Node #0,2: 27:[2, 29, 3] Operation: 91-88=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[2, 29, 3], Operations: ['91-88=3'] Exploring Operation: 2+29=31, Resulting Numbers: [3, 31] Generated Node #0,2,0: 27:[3, 31] Operation: 2+29=31 Exploring Operation: 29-3=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 27:[2, 26] Operation: 29-3=26 Exploring Operation: 29-2=27, Resulting Numbers: [3, 27] Generated Node #0,2,2: 27:[3, 27] Operation: 29-2=27 Moving to Node #0,2,2 Current State: 27:[3, 27], Operations: ['91-88=3', '29-2=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[2, 26], Operations: ['91-88=3', '29-3=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[3, 31], Operations: ['91-88=3', '2+29=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,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:[29, 91, 44], Operations: ['88/2=44'] Exploring Operation: 91-29=62, Resulting Numbers: [44, 62] Generated Node #0,0,0: 27:[44, 62] Operation: 91-29=62 Exploring Operation: 44-29=15, Resulting Numbers: [91, 15] Generated Node #0,0,1: 27:[91, 15] Operation: 44-29=15 Exploring Operation: 91-44=47, Resulting Numbers: [29, 47] Generated Node #0,0,2: 27:[29, 47] Operation: 91-44=47 Moving to Node #0,0,2 Current State: 27:[29, 47], Operations: ['88/2=44', '91-44=47'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,27 unequal: No Solution Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[44, 62], Operations: ['88/2=44', '91-29=62'] Exploring Operation: 44*62=2728, Resulting Numbers: [2728] 2728,27 unequal: No Solution Exploring Operation: 44+62=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[91, 15], Operations: ['88/2=44', '44-29=15'] Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,27 unequal: No Solution Exploring Operation: 91+15=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 91*15=1365, Resulting Numbers: [1365] 1365,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:[2, 91, 59], Operations: ['88-29=59'] Exploring Operation: 91-59=32, Resulting Numbers: [2, 32] Generated Node #0,1,0: 27:[2, 32] Operation: 91-59=32 Exploring Operation: 91-2=89, Resulting Numbers: [59, 89] Generated Node #0,1,1: 27:[59, 89] Operation: 91-2=89 Exploring Operation: 59-2=57, Resulting Numbers: [91, 57] Generated Node #0,1,2: 27:[91, 57] Operation: 59-2=57 Moving to Node #0,1,0 Current State: 27:[2, 32], Operations: ['88-29=59', '91-59=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[59, 89], Operations: ['88-29=59', '91-2=89'] Exploring Operation: 59+89=148, Resulting Numbers: [148] 148,27 unequal: No Solution Exploring Operation: 59*89=5251, Resulting Numbers: [5251] 5251,27 unequal: No Solution Exploring Operation: 89-59=30, Resulting Numbers: [30] 30,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[91, 57], Operations: ['88-29=59', '59-2=57'] Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 91*57=5187, Resulting Numbers: [5187] 5187,27 unequal: No Solution Exploring Operation: 91+57=148, Resulting Numbers: [148] 148,27 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
[ 63, 4, 68, 9 ]
37
[ "63-9=54", "68/4=17", "54-17=37" ]
Current State: 37:[63, 4, 68, 9], Operations: [] Exploring Operation: 63-9=54, Resulting Numbers: [4, 68, 54] Generated Node #2: [4, 68, 54] from Operation: 63-9=54 Current State: 37:[4, 68, 54], Operations: ['63-9=54'] Exploring Operation: 68/4=17, Resulting Numbers: [54, 17] Generated Node #3: [54, 17] from Operation: 68/4=17 Current State: 37:[54, 17], Operations: ['63-9=54', '68/4=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[63, 4, 68, 9], Operations: [] Exploring Operation: 4*9=36, Resulting Numbers: [63, 68, 36] Generated Node #0,0: 37:[63, 68, 36] Operation: 4*9=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[63, 68, 36], Operations: ['4*9=36'] Exploring Operation: 68-36=32, Resulting Numbers: [63, 32] Generated Node #0,0,0: 37:[63, 32] Operation: 68-36=32 Moving to Node #0,0,0 Current State: 37:[63, 32], Operations: ['4*9=36', '68-36=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 16, 91, 66 ]
36
[ "12*91=1092", "16*66=1056", "1092-1056=36" ]
Current State: 36:[12, 16, 91, 66], Operations: [] Exploring Operation: 12*91=1092, Resulting Numbers: [16, 66, 1092] Generated Node #2: [16, 66, 1092] from Operation: 12*91=1092 Current State: 36:[16, 66, 1092], Operations: ['12*91=1092'] Exploring Operation: 16*66=1056, Resulting Numbers: [1092, 1056] Generated Node #3: [1092, 1056] from Operation: 16*66=1056 Current State: 36:[1092, 1056], Operations: ['12*91=1092', '16*66=1056'] Exploring Operation: 1092-1056=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[12, 16, 91, 66], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [12, 16, 25] Generated Node #0,0: 36:[12, 16, 25] Operation: 91-66=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[12, 16, 25], Operations: ['91-66=25'] Exploring Operation: 25-16=9, Resulting Numbers: [12, 9] Generated Node #0,0,0: 36:[12, 9] Operation: 25-16=9 Moving to Node #0,0,0 Current State: 36:[12, 9], Operations: ['91-66=25', '25-16=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 40, 95, 35, 36 ]
17
[ "40-35=5", "95/5=19", "36-19=17" ]
Current State: 17:[40, 95, 35, 36], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [95, 36, 5] Generated Node #2: [95, 36, 5] from Operation: 40-35=5 Current State: 17:[95, 36, 5], Operations: ['40-35=5'] Exploring Operation: 95/5=19, Resulting Numbers: [36, 19] Generated Node #3: [36, 19] from Operation: 95/5=19 Current State: 17:[36, 19], Operations: ['40-35=5', '95/5=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[40, 95, 35, 36], Operations: [] Exploring Operation: 95-36=59, Resulting Numbers: [40, 35, 59] Generated Node #0,0: 17:[40, 35, 59] Operation: 95-36=59 Exploring Operation: 95-40=55, Resulting Numbers: [35, 36, 55] Generated Node #0,1: 17:[35, 36, 55] Operation: 95-40=55 Exploring Operation: 95-35=60, Resulting Numbers: [40, 36, 60] Generated Node #0,2: 17:[40, 36, 60] Operation: 95-35=60 Exploring Operation: 40-36=4, Resulting Numbers: [95, 35, 4] Generated Node #0,3: 17:[95, 35, 4] Operation: 40-36=4 Exploring Operation: 40-35=5, Resulting Numbers: [95, 36, 5] Generated Node #0,4: 17:[95, 36, 5] Operation: 40-35=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[35, 36, 55], Operations: ['95-40=55'] Exploring Operation: 55-35=20, Resulting Numbers: [36, 20] Generated Node #0,1,0: 17:[36, 20] Operation: 55-35=20 Exploring Operation: 36-35=1, Resulting Numbers: [55, 1] Generated Node #0,1,1: 17:[55, 1] Operation: 36-35=1 Exploring Operation: 35+55=90, Resulting Numbers: [36, 90] Generated Node #0,1,2: 17:[36, 90] Operation: 35+55=90 Exploring Operation: 55-36=19, Resulting Numbers: [35, 19] Generated Node #0,1,3: 17:[35, 19] Operation: 55-36=19 Exploring Operation: 35+36=71, Resulting Numbers: [55, 71] Generated Node #0,1,4: 17:[55, 71] Operation: 35+36=71 Moving to Node #0,1,3 Current State: 17:[35, 19], Operations: ['95-40=55', '55-36=19'] Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,17 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[36, 20], Operations: ['95-40=55', '55-35=20'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[55, 1], Operations: ['95-40=55', '36-35=1'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[36, 90], Operations: ['95-40=55', '35+55=90'] Exploring Operation: 36*90=3240, Resulting Numbers: [3240] 3240,17 unequal: No Solution Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,17 unequal: No Solution Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[55, 71], Operations: ['95-40=55', '35+36=71'] Exploring Operation: 71-55=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 55*71=3905, Resulting Numbers: [3905] 3905,17 unequal: No Solution Exploring Operation: 55+71=126, Resulting Numbers: [126] 126,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[40, 35, 59], Operations: ['95-36=59'] Exploring Operation: 40+35=75, Resulting Numbers: [59, 75] Generated Node #0,0,0: 17:[59, 75] Operation: 40+35=75 Exploring Operation: 59-35=24, Resulting Numbers: [40, 24] Generated Node #0,0,1: 17:[40, 24] Operation: 59-35=24 Exploring Operation: 40-35=5, Resulting Numbers: [59, 5] Generated Node #0,0,2: 17:[59, 5] Operation: 40-35=5 Exploring Operation: 40+59=99, Resulting Numbers: [35, 99] Generated Node #0,0,3: 17:[35, 99] Operation: 40+59=99 Exploring Operation: 59-40=19, Resulting Numbers: [35, 19] Generated Node #0,0,4: 17:[35, 19] Operation: 59-40=19 Moving to Node #0,0,4 Current State: 17:[35, 19], Operations: ['95-36=59', '59-40=19'] Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,17 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[40, 24], Operations: ['95-36=59', '59-35=24'] Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,17 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[59, 5], Operations: ['95-36=59', '40-35=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,17 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[59, 75], Operations: ['95-36=59', '40+35=75'] Exploring Operation: 59*75=4425, Resulting Numbers: [4425] 4425,17 unequal: No Solution Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 59+75=134, Resulting Numbers: [134] 134,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[35, 99], Operations: ['95-36=59', '40+59=99'] Exploring Operation: 35+99=134, Resulting Numbers: [134] 134,17 unequal: No Solution Exploring Operation: 35*99=3465, Resulting Numbers: [3465] 3465,17 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[40, 36, 60], Operations: ['95-35=60'] Exploring Operation: 60-36=24, Resulting Numbers: [40, 24] Generated Node #0,2,0: 17:[40, 24] Operation: 60-36=24 Exploring Operation: 40+60=100, Resulting Numbers: [36, 100] Generated Node #0,2,1: 17:[36, 100] Operation: 40+60=100 Exploring Operation: 40-36=4, Resulting Numbers: [60, 4] Generated Node #0,2,2: 17:[60, 4] Operation: 40-36=4 Exploring Operation: 60-40=20, Resulting Numbers: [36, 20] Generated Node #0,2,3: 17:[36, 20] Operation: 60-40=20 Exploring Operation: 40+36=76, Resulting Numbers: [60, 76] Generated Node #0,2,4: 17:[60, 76] Operation: 40+36=76 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[36, 20], Operations: ['95-35=60', '60-40=20'] Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,17 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[40, 24], Operations: ['95-35=60', '60-36=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 17:[60, 4], Operations: ['95-35=60', '40-36=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,17 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 17:[36, 100], Operations: ['95-35=60', '40+60=100'] Exploring Operation: 36+100=136, Resulting Numbers: [136] 136,17 unequal: No Solution Exploring Operation: 100-36=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 36*100=3600, Resulting Numbers: [3600] 3600,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 17:[60, 76], Operations: ['95-35=60', '40+36=76'] Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 60+76=136, Resulting Numbers: [136] 136,17 unequal: No Solution Exploring Operation: 60*76=4560, Resulting Numbers: [4560] 4560,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[95, 35, 4], Operations: ['40-36=4'] Exploring Operation: 35+4=39, Resulting Numbers: [95, 39] Generated Node #0,3,0: 17:[95, 39] Operation: 35+4=39 Exploring Operation: 95-4=91, Resulting Numbers: [35, 91] Generated Node #0,3,1: 17:[35, 91] Operation: 95-4=91 Exploring Operation: 95-35=60, Resulting Numbers: [4, 60] Generated Node #0,3,2: 17:[4, 60] Operation: 95-35=60 Exploring Operation: 95+4=99, Resulting Numbers: [35, 99] Generated Node #0,3,3: 17:[35, 99] Operation: 95+4=99 Exploring Operation: 35-4=31, Resulting Numbers: [95, 31] Generated Node #0,3,4: 17:[95, 31] Operation: 35-4=31 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[4, 60], Operations: ['40-36=4', '95-35=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[35, 91], Operations: ['40-36=4', '95-4=91'] Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 35+91=126, Resulting Numbers: [126] 126,17 unequal: No Solution Exploring Operation: 35*91=3185, Resulting Numbers: [3185] 3185,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 17:[95, 31], Operations: ['40-36=4', '35-4=31'] Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 95+31=126, Resulting Numbers: [126] 126,17 unequal: No Solution Exploring Operation: 95*31=2945, Resulting Numbers: [2945] 2945,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 17:[95, 39], Operations: ['40-36=4', '35+4=39'] Exploring Operation: 95+39=134, Resulting Numbers: [134] 134,17 unequal: No Solution Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 95*39=3705, Resulting Numbers: [3705] 3705,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 17:[35, 99], Operations: ['40-36=4', '95+4=99'] Exploring Operation: 35*99=3465, Resulting Numbers: [3465] 3465,17 unequal: No Solution Exploring Operation: 35+99=134, Resulting Numbers: [134] 134,17 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[95, 36, 5], Operations: ['40-35=5'] Exploring Operation: 95-5=90, Resulting Numbers: [36, 90] Generated Node #0,4,0: 17:[36, 90] Operation: 95-5=90 Exploring Operation: 95/5=19, Resulting Numbers: [36, 19] Generated Node #0,4,1: 17:[36, 19] Operation: 95/5=19 Exploring Operation: 95-36=59, Resulting Numbers: [5, 59] Generated Node #0,4,2: 17:[5, 59] Operation: 95-36=59 Exploring Operation: 36-5=31, Resulting Numbers: [95, 31] Generated Node #0,4,3: 17:[95, 31] Operation: 36-5=31 Exploring Operation: 95+5=100, Resulting Numbers: [36, 100] Generated Node #0,4,4: 17:[36, 100] Operation: 95+5=100 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 17:[36, 19], Operations: ['40-35=5', '95/5=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,17 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[40, 95, 35, 36], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [95, 36, 5] Generated Node #0,4: 17:[95, 36, 5] Operation: 40-35=5 Moving to Node #0,4 Current State: 17:[95, 36, 5], Operations: ['40-35=5'] Exploring Operation: 95/5=19, Resulting Numbers: [36, 19] Generated Node #0,4,1: 17:[36, 19] Operation: 95/5=19 Moving to Node #0,4,1 Current State: 17:[36, 19], Operations: ['40-35=5', '95/5=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.913194
hs_5
mult_heuristic
[ 56, 7, 7, 2 ]
27
[ "56/2=28", "7/7=1", "28-1=27" ]
Current State: 27:[56, 7, 7, 2], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [7, 7, 28] Generated Node #2: [7, 7, 28] from Operation: 56/2=28 Current State: 27:[7, 7, 28], Operations: ['56/2=28'] Exploring Operation: 7/7=1, Resulting Numbers: [28, 1] Generated Node #3: [28, 1] from Operation: 7/7=1 Current State: 27:[28, 1], Operations: ['56/2=28', '7/7=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[56, 7, 7, 2], Operations: [] Exploring Operation: 56/7=8, Resulting Numbers: [7, 2, 8] Generated Node #0,0: 27:[7, 2, 8] Operation: 56/7=8 Moving to Node #0,0 Current State: 27:[7, 2, 8], Operations: ['56/7=8'] Exploring Operation: 7+2=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 27:[8, 9] Operation: 7+2=9 Moving to Node #0,0,0 Current State: 27:[8, 9], Operations: ['56/7=8', '7+2=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,27 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 50, 42, 47, 6 ]
60
[ "50-47=3", "6*3=18", "42+18=60" ]
Current State: 60:[50, 42, 47, 6], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [42, 6, 3] Generated Node #2: [42, 6, 3] from Operation: 50-47=3 Current State: 60:[42, 6, 3], Operations: ['50-47=3'] Exploring Operation: 6*3=18, Resulting Numbers: [42, 18] Generated Node #3: [42, 18] from Operation: 6*3=18 Current State: 60:[42, 18], Operations: ['50-47=3', '6*3=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[50, 42, 47, 6], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [47, 6, 8] Generated Node #0,0: 60:[47, 6, 8] Operation: 50-42=8 Exploring Operation: 50-47=3, Resulting Numbers: [42, 6, 3] Generated Node #0,1: 60:[42, 6, 3] Operation: 50-47=3 Exploring Operation: 47-42=5, Resulting Numbers: [50, 6, 5] Generated Node #0,2: 60:[50, 6, 5] Operation: 47-42=5 Exploring Operation: 42/6=7, Resulting Numbers: [50, 47, 7] Generated Node #0,3: 60:[50, 47, 7] Operation: 42/6=7 Exploring Operation: 50+6=56, Resulting Numbers: [42, 47, 56] Generated Node #0,4: 60:[42, 47, 56] Operation: 50+6=56 Moving to Node #0,2 Current State: 60:[50, 6, 5], Operations: ['47-42=5'] Exploring Operation: 6+5=11, Resulting Numbers: [50, 11] Generated Node #0,2,0: 60:[50, 11] Operation: 6+5=11 Exploring Operation: 6*5=30, Resulting Numbers: [50, 30] Generated Node #0,2,1: 60:[50, 30] Operation: 6*5=30 Exploring Operation: 50+5=55, Resulting Numbers: [6, 55] Generated Node #0,2,2: 60:[6, 55] Operation: 50+5=55 Exploring Operation: 50+6=56, Resulting Numbers: [5, 56] Generated Node #0,2,3: 60:[5, 56] Operation: 50+6=56 Exploring Operation: 50/5=10, Resulting Numbers: [6, 10] Generated Node #0,2,4: 60:[6, 10] Operation: 50/5=10 Moving to Node #0,1 Current State: 60:[42, 6, 3], Operations: ['50-47=3'] Exploring Operation: 42/3=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 60:[6, 14] Operation: 42/3=14 Exploring Operation: 42-3=39, Resulting Numbers: [6, 39] Generated Node #0,1,1: 60:[6, 39] Operation: 42-3=39 Exploring Operation: 42-6=36, Resulting Numbers: [3, 36] Generated Node #0,1,2: 60:[3, 36] Operation: 42-6=36 Exploring Operation: 42/6=7, Resulting Numbers: [3, 7] Generated Node #0,1,3: 60:[3, 7] Operation: 42/6=7 Exploring Operation: 42+6=48, Resulting Numbers: [3, 48] Generated Node #0,1,4: 60:[3, 48] Operation: 42+6=48 Moving to Node #0,0 Current State: 60:[47, 6, 8], Operations: ['50-42=8'] Exploring Operation: 47-6=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 60:[8, 41] Operation: 47-6=41 Exploring Operation: 47+6=53, Resulting Numbers: [8, 53] Generated Node #0,0,1: 60:[8, 53] Operation: 47+6=53 Exploring Operation: 47+8=55, Resulting Numbers: [6, 55] Generated Node #0,0,2: 60:[6, 55] Operation: 47+8=55 Exploring Operation: 8-6=2, Resulting Numbers: [47, 2] Generated Node #0,0,3: 60:[47, 2] Operation: 8-6=2 Exploring Operation: 47-8=39, Resulting Numbers: [6, 39] Generated Node #0,0,4: 60:[6, 39] Operation: 47-8=39 Moving to Node #0,3 Current State: 60:[50, 47, 7], Operations: ['42/6=7'] Exploring Operation: 50+7=57, Resulting Numbers: [47, 57] Generated Node #0,3,0: 60:[47, 57] Operation: 50+7=57 Exploring Operation: 50-47=3, Resulting Numbers: [7, 3] Generated Node #0,3,1: 60:[7, 3] Operation: 50-47=3 Exploring Operation: 50-7=43, Resulting Numbers: [47, 43] Generated Node #0,3,2: 60:[47, 43] Operation: 50-7=43 Exploring Operation: 47+7=54, Resulting Numbers: [50, 54] Generated Node #0,3,3: 60:[50, 54] Operation: 47+7=54 Exploring Operation: 47-7=40, Resulting Numbers: [50, 40] Generated Node #0,3,4: 60:[50, 40] Operation: 47-7=40 Moving to Node #0,4 Current State: 60:[42, 47, 56], Operations: ['50+6=56'] Exploring Operation: 56-47=9, Resulting Numbers: [42, 9] Generated Node #0,4,0: 60:[42, 9] Operation: 56-47=9 Exploring Operation: 47-42=5, Resulting Numbers: [56, 5] Generated Node #0,4,1: 60:[56, 5] Operation: 47-42=5 Exploring Operation: 42+47=89, Resulting Numbers: [56, 89] Generated Node #0,4,2: 60:[56, 89] Operation: 42+47=89 Exploring Operation: 56-42=14, Resulting Numbers: [47, 14] Generated Node #0,4,3: 60:[47, 14] Operation: 56-42=14 Exploring Operation: 42+56=98, Resulting Numbers: [47, 98] Generated Node #0,4,4: 60:[47, 98] Operation: 42+56=98 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 60:[56, 5], Operations: ['50+6=56', '47-42=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,60 unequal: No Solution Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 60:[42, 9], Operations: ['50+6=56', '56-47=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 60:[47, 14], Operations: ['50+6=56', '56-42=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,60 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 60:[56, 89], Operations: ['50+6=56', '42+47=89'] Exploring Operation: 56*89=4984, Resulting Numbers: [4984] 4984,60 unequal: No Solution Exploring Operation: 56+89=145, Resulting Numbers: [145] 145,60 unequal: No Solution Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 60:[47, 98], Operations: ['50+6=56', '42+56=98'] Exploring Operation: 47+98=145, Resulting Numbers: [145] 145,60 unequal: No Solution Exploring Operation: 47*98=4606, Resulting Numbers: [4606] 4606,60 unequal: No Solution Exploring Operation: 98-47=51, Resulting Numbers: [51] 51,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 60:[6, 10], Operations: ['47-42=5', '50/5=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[50, 42, 47, 6], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [50, 6, 5] Generated Node #0,2: 60:[50, 6, 5] Operation: 47-42=5 Moving to Node #0,2 Current State: 60:[50, 6, 5], Operations: ['47-42=5'] Exploring Operation: 50/5=10, Resulting Numbers: [6, 10] Generated Node #0,2,4: 60:[6, 10] Operation: 50/5=10 Moving to Node #0,2,4 Current State: 60:[6, 10], Operations: ['47-42=5', '50/5=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.956597
hs_5
mult_heuristic
[ 89, 95, 34, 72 ]
78
[ "89+95=184", "34+72=106", "184-106=78" ]
Current State: 78:[89, 95, 34, 72], Operations: [] Exploring Operation: 89+95=184, Resulting Numbers: [34, 72, 184] Generated Node #2: [34, 72, 184] from Operation: 89+95=184 Current State: 78:[34, 72, 184], Operations: ['89+95=184'] Exploring Operation: 34+72=106, Resulting Numbers: [184, 106] Generated Node #3: [184, 106] from Operation: 34+72=106 Current State: 78:[184, 106], Operations: ['89+95=184', '34+72=106'] Exploring Operation: 184-106=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[89, 95, 34, 72], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [89, 34, 23] Generated Node #0,0: 78:[89, 34, 23] Operation: 95-72=23 Exploring Operation: 95-89=6, Resulting Numbers: [34, 72, 6] Generated Node #0,1: 78:[34, 72, 6] Operation: 95-89=6 Moving to Node #0,1 Current State: 78:[34, 72, 6], Operations: ['95-89=6'] Exploring Operation: 72-34=38, Resulting Numbers: [6, 38] Generated Node #0,1,0: 78:[6, 38] Operation: 72-34=38 Exploring Operation: 72+6=78, Resulting Numbers: [34, 78] Generated Node #0,1,1: 78:[34, 78] Operation: 72+6=78 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[6, 38], Operations: ['95-89=6', '72-34=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[34, 78], Operations: ['95-89=6', '72+6=78'] Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 34+78=112, Resulting Numbers: [112] 112,78 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: 78:[89, 34, 23], Operations: ['95-72=23'] Exploring Operation: 89-23=66, Resulting Numbers: [34, 66] Generated Node #0,0,0: 78:[34, 66] Operation: 89-23=66 Exploring Operation: 34-23=11, Resulting Numbers: [89, 11] Generated Node #0,0,1: 78:[89, 11] Operation: 34-23=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[89, 11], Operations: ['95-72=23', '34-23=11'] Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,78 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[89, 95, 34, 72], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [89, 34, 23] Generated Node #0,0: 78:[89, 34, 23] Operation: 95-72=23 Moving to Node #0,0 Current State: 78:[89, 34, 23], Operations: ['95-72=23'] Exploring Operation: 34-23=11, Resulting Numbers: [89, 11] Generated Node #0,0,1: 78:[89, 11] Operation: 34-23=11 Moving to Node #0,0,1 Current State: 78:[89, 11], Operations: ['95-72=23', '34-23=11'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 20, 72, 96, 4 ]
26
[ "96-72=24", "24/4=6", "20+6=26" ]
Current State: 26:[20, 72, 96, 4], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [20, 4, 24] Generated Node #2: [20, 4, 24] from Operation: 96-72=24 Current State: 26:[20, 4, 24], Operations: ['96-72=24'] Exploring Operation: 24/4=6, Resulting Numbers: [20, 6] Generated Node #3: [20, 6] from Operation: 24/4=6 Current State: 26:[20, 6], Operations: ['96-72=24', '24/4=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[20, 72, 96, 4], Operations: [] Exploring Operation: 72-20=52, Resulting Numbers: [96, 4, 52] Generated Node #0,0: 26:[96, 4, 52] Operation: 72-20=52 Exploring Operation: 96-20=76, Resulting Numbers: [72, 4, 76] Generated Node #0,1: 26:[72, 4, 76] Operation: 96-20=76 Exploring Operation: 96/4=24, Resulting Numbers: [20, 72, 24] Generated Node #0,2: 26:[20, 72, 24] Operation: 96/4=24 Exploring Operation: 96-72=24, Resulting Numbers: [20, 4, 24] Generated Node #0,3: 26:[20, 4, 24] Operation: 96-72=24 Exploring Operation: 72/4=18, Resulting Numbers: [20, 96, 18] Generated Node #0,4: 26:[20, 96, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[20, 4, 24], Operations: ['96-72=24'] Exploring Operation: 20-4=16, Resulting Numbers: [24, 16] Generated Node #0,3,0: 26:[24, 16] Operation: 20-4=16 Exploring Operation: 20+4=24, Resulting Numbers: [24, 24] Generated Node #0,3,1: 26:[24, 24] Operation: 20+4=24 Exploring Operation: 20/4=5, Resulting Numbers: [24, 5] Generated Node #0,3,2: 26:[24, 5] Operation: 20/4=5 Exploring Operation: 24-20=4, Resulting Numbers: [4, 4] Generated Node #0,3,3: 26:[4, 4] Operation: 24-20=4 Exploring Operation: 4+24=28, Resulting Numbers: [20, 28] Generated Node #0,3,4: 26:[20, 28] Operation: 4+24=28 Moving to Node #0,3,1 Current State: 26:[24, 24], Operations: ['96-72=24', '20+4=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,26 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[4, 4], Operations: ['96-72=24', '24-20=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[24, 16], Operations: ['96-72=24', '20-4=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[24, 5], Operations: ['96-72=24', '20/4=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,26 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,26 unequal: No Solution Moving to Node #0,3,4 Current State: 26:[20, 28], Operations: ['96-72=24', '4+24=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,26 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[20, 72, 24], Operations: ['96/4=24'] Exploring Operation: 72/24=3, Resulting Numbers: [20, 3] Generated Node #0,2,0: 26:[20, 3] Operation: 72/24=3 Exploring Operation: 72-20=52, Resulting Numbers: [24, 52] Generated Node #0,2,1: 26:[24, 52] Operation: 72-20=52 Exploring Operation: 24-20=4, Resulting Numbers: [72, 4] Generated Node #0,2,2: 26:[72, 4] Operation: 24-20=4 Exploring Operation: 72-24=48, Resulting Numbers: [20, 48] Generated Node #0,2,3: 26:[20, 48] Operation: 72-24=48 Exploring Operation: 20+24=44, Resulting Numbers: [72, 44] Generated Node #0,2,4: 26:[72, 44] Operation: 20+24=44 Moving to Node #0,2,0 Current State: 26:[20, 3], Operations: ['96/4=24', '72/24=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[20, 48], Operations: ['96/4=24', '72-24=48'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,26 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[24, 52], Operations: ['96/4=24', '72-20=52'] Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,26 unequal: No Solution Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,26 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[72, 4], Operations: ['96/4=24', '24-20=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,26 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,26 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,26 unequal: No Solution Moving to Node #0,2,4 Current State: 26:[72, 44], Operations: ['96/4=24', '20+24=44'] Exploring Operation: 72*44=3168, Resulting Numbers: [3168] 3168,26 unequal: No Solution Exploring Operation: 72+44=116, Resulting Numbers: [116] 116,26 unequal: No Solution Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,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,4 Current State: 26:[20, 96, 18], Operations: ['72/4=18'] Exploring Operation: 20+18=38, Resulting Numbers: [96, 38] Generated Node #0,4,0: 26:[96, 38] Operation: 20+18=38 Exploring Operation: 96-18=78, Resulting Numbers: [20, 78] Generated Node #0,4,1: 26:[20, 78] Operation: 96-18=78 Exploring Operation: 20-18=2, Resulting Numbers: [96, 2] Generated Node #0,4,2: 26:[96, 2] Operation: 20-18=2 Exploring Operation: 96+18=114, Resulting Numbers: [20, 114] Generated Node #0,4,3: 26:[20, 114] Operation: 96+18=114 Exploring Operation: 96-20=76, Resulting Numbers: [18, 76] Generated Node #0,4,4: 26:[18, 76] Operation: 96-20=76 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 26:[18, 76], Operations: ['72/4=18', '96-20=76'] Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,26 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,26 unequal: No Solution No 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: 26:[20, 78], Operations: ['72/4=18', '96-18=78'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 20*78=1560, Resulting Numbers: [1560] 1560,26 unequal: No Solution Exploring Operation: 20+78=98, Resulting Numbers: [98] 98,26 unequal: No Solution No 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: 26:[96, 2], Operations: ['72/4=18', '20-18=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,26 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 96*2=192, Resulting Numbers: [192] 192,26 unequal: No Solution Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,26 unequal: No Solution No 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: 26:[96, 38], Operations: ['72/4=18', '20+18=38'] Exploring Operation: 96+38=134, Resulting Numbers: [134] 134,26 unequal: No Solution Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 96*38=3648, Resulting Numbers: [3648] 3648,26 unequal: No Solution No 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: 26:[20, 114], Operations: ['72/4=18', '96+18=114'] Exploring Operation: 114-20=94, Resulting Numbers: [94] 94,26 unequal: No Solution Exploring Operation: 20*114=2280, Resulting Numbers: [2280] 2280,26 unequal: No Solution Exploring Operation: 20+114=134, Resulting Numbers: [134] 134,26 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: 26:[96, 4, 52], Operations: ['72-20=52'] Exploring Operation: 52-4=48, Resulting Numbers: [96, 48] Generated Node #0,0,0: 26:[96, 48] Operation: 52-4=48 Exploring Operation: 96/4=24, Resulting Numbers: [52, 24] Generated Node #0,0,1: 26:[52, 24] Operation: 96/4=24 Exploring Operation: 96-4=92, Resulting Numbers: [52, 92] Generated Node #0,0,2: 26:[52, 92] Operation: 96-4=92 Exploring Operation: 52/4=13, Resulting Numbers: [96, 13] Generated Node #0,0,3: 26:[96, 13] Operation: 52/4=13 Exploring Operation: 96-52=44, Resulting Numbers: [4, 44] Generated Node #0,0,4: 26:[4, 44] Operation: 96-52=44 Moving to Node #0,0,4 Current State: 26:[4, 44], Operations: ['72-20=52', '96-52=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,26 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[52, 24], Operations: ['72-20=52', '96/4=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,26 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,26 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[96, 13], Operations: ['72-20=52', '52/4=13'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,26 unequal: No Solution Exploring Operation: 96*13=1248, Resulting Numbers: [1248] 1248,26 unequal: No Solution Exploring Operation: 96+13=109, Resulting Numbers: [109] 109,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[96, 48], Operations: ['72-20=52', '52-4=48'] Exploring Operation: 96*48=4608, Resulting Numbers: [4608] 4608,26 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,26 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[52, 92], Operations: ['72-20=52', '96-4=92'] Exploring Operation: 52+92=144, Resulting Numbers: [144] 144,26 unequal: No Solution Exploring Operation: 52*92=4784, Resulting Numbers: [4784] 4784,26 unequal: No Solution Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[72, 4, 76], Operations: ['96-20=76'] Exploring Operation: 76-4=72, Resulting Numbers: [72, 72] Generated Node #0,1,0: 26:[72, 72] Operation: 76-4=72 Exploring Operation: 72-4=68, Resulting Numbers: [76, 68] Generated Node #0,1,1: 26:[76, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [76, 18] Generated Node #0,1,2: 26:[76, 18] Operation: 72/4=18 Exploring Operation: 76/4=19, Resulting Numbers: [72, 19] Generated Node #0,1,3: 26:[72, 19] Operation: 76/4=19 Exploring Operation: 76-72=4, Resulting Numbers: [4, 4] Generated Node #0,1,4: 26:[4, 4] Operation: 76-72=4 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 26:[4, 4], Operations: ['96-20=76', '76-72=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,26 unequal: No Solution No 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: 26:[72, 19], Operations: ['96-20=76', '76/4=19'] Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,26 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,26 unequal: No Solution No 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: 26:[76, 18], Operations: ['96-20=76', '72/4=18'] Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,26 unequal: No Solution Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,26 unequal: No Solution No 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: 26:[72, 72], Operations: ['96-20=76', '76-4=72'] Exploring Operation: 72+72=144, Resulting Numbers: [144] 144,26 unequal: No Solution Exploring Operation: 72-72=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 72*72=5184, Resulting Numbers: [5184] 5184,26 unequal: No Solution Exploring Operation: 72/72=1, Resulting Numbers: [1] 1,26 unequal: No Solution No 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: 26:[76, 68], Operations: ['96-20=76', '72-4=68'] Exploring Operation: 76+68=144, Resulting Numbers: [144] 144,26 unequal: No Solution Exploring Operation: 76*68=5168, Resulting Numbers: [5168] 5168,26 unequal: No Solution Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,26 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
[ 97, 11, 22, 11 ]
84
[ "97-11=86", "22/11=2", "86-2=84" ]
Current State: 84:[97, 11, 22, 11], Operations: [] Exploring Operation: 97-11=86, Resulting Numbers: [22, 86] Generated Node #2: [22, 86] from Operation: 97-11=86 Current State: 84:[22, 86], Operations: ['97-11=86'] Exploring Operation: 22/11=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 22/11=2 Current State: 84:[86, 2], Operations: ['97-11=86', '22/11=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[97, 11, 22, 11], Operations: [] Exploring Operation: 97-11=86, Resulting Numbers: [11, 22, 86] Generated Node #0,0: 84:[11, 22, 86] Operation: 97-11=86 Exploring Operation: 97-22=75, Resulting Numbers: [11, 11, 75] Generated Node #0,1: 84:[11, 11, 75] Operation: 97-22=75 Exploring Operation: 97-11=86, Resulting Numbers: [22, 11, 86] Generated Node #0,2: 84:[22, 11, 86] Operation: 97-11=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[11, 22, 86], Operations: ['97-11=86'] Exploring Operation: 22/11=2, Resulting Numbers: [86, 2] Generated Node #0,0,0: 84:[86, 2] Operation: 22/11=2 Exploring Operation: 11+22=33, Resulting Numbers: [86, 33] Generated Node #0,0,1: 84:[86, 33] Operation: 11+22=33 Exploring Operation: 22-11=11, Resulting Numbers: [86, 11] Generated Node #0,0,2: 84:[86, 11] Operation: 22-11=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[86, 2], Operations: ['97-11=86', '22/11=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[97, 11, 22, 11], Operations: [] Exploring Operation: 97-11=86, Resulting Numbers: [11, 22, 86] Generated Node #0,0: 84:[11, 22, 86] Operation: 97-11=86 Moving to Node #0,0 Current State: 84:[11, 22, 86], Operations: ['97-11=86'] Exploring Operation: 22/11=2, Resulting Numbers: [86, 2] Generated Node #0,0,0: 84:[86, 2] Operation: 22/11=2 Moving to Node #0,0,0 Current State: 84:[86, 2], Operations: ['97-11=86', '22/11=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 7, 39, 54, 2 ]
17
[ "7+54=61", "39*2=78", "78-61=17" ]
Current State: 17:[7, 39, 54, 2], Operations: [] Exploring Operation: 7+54=61, Resulting Numbers: [39, 2, 61] Generated Node #2: [39, 2, 61] from Operation: 7+54=61 Current State: 17:[39, 2, 61], Operations: ['7+54=61'] Exploring Operation: 39*2=78, Resulting Numbers: [61, 78] Generated Node #3: [61, 78] from Operation: 39*2=78 Current State: 17:[61, 78], Operations: ['7+54=61', '39*2=78'] Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[7, 39, 54, 2], Operations: [] Exploring Operation: 7*2=14, Resulting Numbers: [39, 54, 14] Generated Node #0,0: 17:[39, 54, 14] Operation: 7*2=14 Exploring Operation: 54/2=27, Resulting Numbers: [7, 39, 27] Generated Node #0,1: 17:[7, 39, 27] Operation: 54/2=27 Exploring Operation: 39-7=32, Resulting Numbers: [54, 2, 32] Generated Node #0,2: 17:[54, 2, 32] Operation: 39-7=32 Exploring Operation: 54-39=15, Resulting Numbers: [7, 2, 15] Generated Node #0,3: 17:[7, 2, 15] Operation: 54-39=15 Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[7, 2, 15], Operations: ['54-39=15'] Exploring Operation: 7-2=5, Resulting Numbers: [15, 5] Generated Node #0,3,0: 17:[15, 5] Operation: 7-2=5 Exploring Operation: 7*2=14, Resulting Numbers: [15, 14] Generated Node #0,3,1: 17:[15, 14] Operation: 7*2=14 Exploring Operation: 7+2=9, Resulting Numbers: [15, 9] Generated Node #0,3,2: 17:[15, 9] Operation: 7+2=9 Exploring Operation: 2+15=17, Resulting Numbers: [7, 17] Generated Node #0,3,3: 17:[7, 17] Operation: 2+15=17 Moving to Node #0,3,1 Current State: 17:[15, 14], Operations: ['54-39=15', '7*2=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,17 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[7, 17], Operations: ['54-39=15', '2+15=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[15, 9], Operations: ['54-39=15', '7+2=9'] Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,17 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[15, 5], Operations: ['54-39=15', '7-2=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,17 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[7, 39, 27], Operations: ['54/2=27'] Exploring Operation: 7+39=46, Resulting Numbers: [27, 46] Generated Node #0,1,0: 17:[27, 46] Operation: 7+39=46 Exploring Operation: 27-7=20, Resulting Numbers: [39, 20] Generated Node #0,1,1: 17:[39, 20] Operation: 27-7=20 Exploring Operation: 39-7=32, Resulting Numbers: [27, 32] Generated Node #0,1,2: 17:[27, 32] Operation: 39-7=32 Exploring Operation: 39-27=12, Resulting Numbers: [7, 12] Generated Node #0,1,3: 17:[7, 12] Operation: 39-27=12 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 17:[7, 12], Operations: ['54/2=27', '39-27=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[39, 20], Operations: ['54/2=27', '27-7=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,17 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 17:[27, 32], Operations: ['54/2=27', '39-7=32'] Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,17 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[27, 46], Operations: ['54/2=27', '7+39=46'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,17 unequal: No Solution Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[39, 54, 14], Operations: ['7*2=14'] Exploring Operation: 39+14=53, Resulting Numbers: [54, 53] Generated Node #0,0,0: 17:[54, 53] Operation: 39+14=53 Exploring Operation: 54-39=15, Resulting Numbers: [14, 15] Generated Node #0,0,1: 17:[14, 15] Operation: 54-39=15 Exploring Operation: 54-14=40, Resulting Numbers: [39, 40] Generated Node #0,0,2: 17:[39, 40] Operation: 54-14=40 Exploring Operation: 39-14=25, Resulting Numbers: [54, 25] Generated Node #0,0,3: 17:[54, 25] Operation: 39-14=25 Moving to Node #0,0,1 Current State: 17:[14, 15], Operations: ['7*2=14', '54-39=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,17 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[54, 25], Operations: ['7*2=14', '39-14=25'] Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 54*25=1350, Resulting Numbers: [1350] 1350,17 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[39, 40], Operations: ['7*2=14', '54-14=40'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[54, 53], Operations: ['7*2=14', '39+14=53'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,17 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[54, 2, 32], Operations: ['39-7=32'] Exploring Operation: 54-2=52, Resulting Numbers: [32, 52] Generated Node #0,2,0: 17:[32, 52] Operation: 54-2=52 Exploring Operation: 54/2=27, Resulting Numbers: [32, 27] Generated Node #0,2,1: 17:[32, 27] Operation: 54/2=27 Exploring Operation: 32/2=16, Resulting Numbers: [54, 16] Generated Node #0,2,2: 17:[54, 16] Operation: 32/2=16 Exploring Operation: 54-32=22, Resulting Numbers: [2, 22] Generated Node #0,2,3: 17:[2, 22] Operation: 54-32=22 Moving to Node #0,2,3 Current State: 17:[2, 22], Operations: ['39-7=32', '54-32=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[32, 27], Operations: ['39-7=32', '54/2=27'] Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,17 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[54, 16], Operations: ['39-7=32', '32/2=16'] Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,17 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[32, 52], Operations: ['39-7=32', '54-2=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,17 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,17 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
[ 83, 70, 26, 98 ]
81
[ "83+70=153", "98-26=72", "153-72=81" ]
Current State: 81:[83, 70, 26, 98], Operations: [] Exploring Operation: 83+70=153, Resulting Numbers: [26, 98, 153] Generated Node #2: [26, 98, 153] from Operation: 83+70=153 Current State: 81:[26, 98, 153], Operations: ['83+70=153'] Exploring Operation: 98-26=72, Resulting Numbers: [153, 72] Generated Node #3: [153, 72] from Operation: 98-26=72 Current State: 81:[153, 72], Operations: ['83+70=153', '98-26=72'] Exploring Operation: 153-72=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[83, 70, 26, 98], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [83, 70, 72] Generated Node #0,0: 81:[83, 70, 72] Operation: 98-26=72 Exploring Operation: 83-70=13, Resulting Numbers: [26, 98, 13] Generated Node #0,1: 81:[26, 98, 13] Operation: 83-70=13 Exploring Operation: 98-70=28, Resulting Numbers: [83, 26, 28] Generated Node #0,2: 81:[83, 26, 28] Operation: 98-70=28 Exploring Operation: 98-83=15, Resulting Numbers: [70, 26, 15] Generated Node #0,3: 81:[70, 26, 15] Operation: 98-83=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[83, 26, 28], Operations: ['98-70=28'] Exploring Operation: 83+26=109, Resulting Numbers: [28, 109] Generated Node #0,2,0: 81:[28, 109] Operation: 83+26=109 Exploring Operation: 83-26=57, Resulting Numbers: [28, 57] Generated Node #0,2,1: 81:[28, 57] Operation: 83-26=57 Exploring Operation: 28-26=2, Resulting Numbers: [83, 2] Generated Node #0,2,2: 81:[83, 2] Operation: 28-26=2 Exploring Operation: 83-28=55, Resulting Numbers: [26, 55] Generated Node #0,2,3: 81:[26, 55] Operation: 83-28=55 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[83, 2], Operations: ['98-70=28', '28-26=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[83, 70, 26, 98], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [83, 26, 28] Generated Node #0,2: 81:[83, 26, 28] Operation: 98-70=28 Moving to Node #0,2 Current State: 81:[83, 26, 28], Operations: ['98-70=28'] Exploring Operation: 28-26=2, Resulting Numbers: [83, 2] Generated Node #0,2,2: 81:[83, 2] Operation: 28-26=2 Moving to Node #0,2,2 Current State: 81:[83, 2], Operations: ['98-70=28', '28-26=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 30, 17, 11, 3 ]
39
[ "30+17=47", "11-3=8", "47-8=39" ]
Current State: 39:[30, 17, 11, 3], Operations: [] Exploring Operation: 30+17=47, Resulting Numbers: [11, 3, 47] Generated Node #2: [11, 3, 47] from Operation: 30+17=47 Current State: 39:[11, 3, 47], Operations: ['30+17=47'] Exploring Operation: 11-3=8, Resulting Numbers: [47, 8] Generated Node #3: [47, 8] from Operation: 11-3=8 Current State: 39:[47, 8], Operations: ['30+17=47', '11-3=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[30, 17, 11, 3], Operations: [] Exploring Operation: 30-17=13, Resulting Numbers: [11, 3, 13] Generated Node #0,0: 39:[11, 3, 13] Operation: 30-17=13 Exploring Operation: 30+11=41, Resulting Numbers: [17, 3, 41] Generated Node #0,1: 39:[17, 3, 41] Operation: 30+11=41 Exploring Operation: 30/3=10, Resulting Numbers: [17, 11, 10] Generated Node #0,2: 39:[17, 11, 10] Operation: 30/3=10 Moving to Node #0,0 Current State: 39:[11, 3, 13], Operations: ['30-17=13'] Exploring Operation: 13-11=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 39:[3, 2] Operation: 13-11=2 Exploring Operation: 11+3=14, Resulting Numbers: [13, 14] Generated Node #0,0,1: 39:[13, 14] Operation: 11+3=14 Exploring Operation: 3*13=39, Resulting Numbers: [11, 39] Generated Node #0,0,2: 39:[11, 39] Operation: 3*13=39 Moving to Node #0,1 Current State: 39:[17, 3, 41], Operations: ['30+11=41'] Exploring Operation: 41-3=38, Resulting Numbers: [17, 38] Generated Node #0,1,0: 39:[17, 38] Operation: 41-3=38 Exploring Operation: 17-3=14, Resulting Numbers: [41, 14] Generated Node #0,1,1: 39:[41, 14] Operation: 17-3=14 Exploring Operation: 17+3=20, Resulting Numbers: [41, 20] Generated Node #0,1,2: 39:[41, 20] Operation: 17+3=20 Moving to Node #0,2 Current State: 39:[17, 11, 10], Operations: ['30/3=10'] Exploring Operation: 17-10=7, Resulting Numbers: [11, 7] Generated Node #0,2,0: 39:[11, 7] Operation: 17-10=7 Exploring Operation: 17-11=6, Resulting Numbers: [10, 6] Generated Node #0,2,1: 39:[10, 6] Operation: 17-11=6 Exploring Operation: 11-10=1, Resulting Numbers: [17, 1] Generated Node #0,2,2: 39:[17, 1] Operation: 11-10=1 Moving to Node #0,0,0 Current State: 39:[3, 2], Operations: ['30-17=13', '13-11=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[13, 14], Operations: ['30-17=13', '11+3=14'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[11, 39], Operations: ['30-17=13', '3*13=39'] Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,39 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,39 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[41, 14], Operations: ['30+11=41', '17-3=14'] Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,39 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[17, 38], Operations: ['30+11=41', '41-3=38'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,39 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[11, 7], Operations: ['30/3=10', '17-10=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,39 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[17, 1], Operations: ['30/3=10', '11-10=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[10, 6], Operations: ['30/3=10', '17-11=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[41, 20], Operations: ['30+11=41', '17+3=20'] Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,39 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,39 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 51, 43, 93 ]
92
[ "2*93=186", "51+43=94", "186-94=92" ]
Current State: 92:[2, 51, 43, 93], Operations: [] Exploring Operation: 2*93=186, Resulting Numbers: [51, 43, 186] Generated Node #2: [51, 43, 186] from Operation: 2*93=186 Current State: 92:[51, 43, 186], Operations: ['2*93=186'] Exploring Operation: 51+43=94, Resulting Numbers: [186, 94] Generated Node #3: [186, 94] from Operation: 51+43=94 Current State: 92:[186, 94], Operations: ['2*93=186', '51+43=94'] Exploring Operation: 186-94=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[2, 51, 43, 93], Operations: [] Exploring Operation: 51-43=8, Resulting Numbers: [2, 93, 8] Generated Node #0,0: 92:[2, 93, 8] Operation: 51-43=8 Exploring Operation: 51-2=49, Resulting Numbers: [43, 93, 49] Generated Node #0,1: 92:[43, 93, 49] Operation: 51-2=49 Exploring Operation: 51+43=94, Resulting Numbers: [2, 93, 94] Generated Node #0,2: 92:[2, 93, 94] Operation: 51+43=94 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[2, 93, 94], Operations: ['51+43=94'] Exploring Operation: 94-93=1, Resulting Numbers: [2, 1] Generated Node #0,2,0: 92:[2, 1] Operation: 94-93=1 Exploring Operation: 94-2=92, Resulting Numbers: [93, 92] Generated Node #0,2,1: 92:[93, 92] Operation: 94-2=92 Exploring Operation: 94/2=47, Resulting Numbers: [93, 47] Generated Node #0,2,2: 92:[93, 47] Operation: 94/2=47 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[2, 1], Operations: ['51+43=94', '94-93=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,92 unequal: No Solution No 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: 92:[93, 92], Operations: ['51+43=94', '94-2=92'] Exploring Operation: 93*92=8556, Resulting Numbers: [8556] 8556,92 unequal: No Solution Exploring Operation: 93-92=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 93+92=185, Resulting Numbers: [185] 185,92 unequal: No Solution No 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: 92:[93, 47], Operations: ['51+43=94', '94/2=47'] Exploring Operation: 93*47=4371, Resulting Numbers: [4371] 4371,92 unequal: No Solution Exploring Operation: 93-47=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 93+47=140, Resulting Numbers: [140] 140,92 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: 92:[2, 93, 8], Operations: ['51-43=8'] Exploring Operation: 8/2=4, Resulting Numbers: [93, 4] Generated Node #0,0,0: 92:[93, 4] Operation: 8/2=4 Exploring Operation: 93-2=91, Resulting Numbers: [8, 91] Generated Node #0,0,1: 92:[8, 91] Operation: 93-2=91 Exploring Operation: 8-2=6, Resulting Numbers: [93, 6] Generated Node #0,0,2: 92:[93, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[93, 4], Operations: ['51-43=8', '8/2=4'] Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,92 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,92 unequal: No Solution No 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: 92:[93, 6], Operations: ['51-43=8', '8-2=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,92 unequal: No Solution Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,92 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,92 unequal: No Solution No 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: 92:[8, 91], Operations: ['51-43=8', '93-2=91'] Exploring Operation: 8+91=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 8*91=728, Resulting Numbers: [728] 728,92 unequal: No Solution Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,92 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: 92:[43, 93, 49], Operations: ['51-2=49'] Exploring Operation: 43+49=92, Resulting Numbers: [93, 92] Generated Node #0,1,0: 92:[93, 92] Operation: 43+49=92 Exploring Operation: 49-43=6, Resulting Numbers: [93, 6] Generated Node #0,1,1: 92:[93, 6] Operation: 49-43=6 Exploring Operation: 93-49=44, Resulting Numbers: [43, 44] Generated Node #0,1,2: 92:[43, 44] Operation: 93-49=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[93, 92], Operations: ['51-2=49', '43+49=92'] Exploring Operation: 93+92=185, Resulting Numbers: [185] 185,92 unequal: No Solution Exploring Operation: 93-92=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 93*92=8556, Resulting Numbers: [8556] 8556,92 unequal: No Solution No 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: 92:[93, 6], Operations: ['51-2=49', '49-43=6'] Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,92 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,92 unequal: No Solution No 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: 92:[43, 44], Operations: ['51-2=49', '93-49=44'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,92 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,92 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
[ 11, 96, 43, 63 ]
40
[ "96-63=33", "33/11=3", "43-3=40" ]
Current State: 40:[11, 96, 43, 63], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [11, 43, 33] Generated Node #2: [11, 43, 33] from Operation: 96-63=33 Current State: 40:[11, 43, 33], Operations: ['96-63=33'] Exploring Operation: 33/11=3, Resulting Numbers: [43, 3] Generated Node #3: [43, 3] from Operation: 33/11=3 Current State: 40:[43, 3], Operations: ['96-63=33', '33/11=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[11, 96, 43, 63], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [11, 43, 33] Generated Node #0,0: 40:[11, 43, 33] Operation: 96-63=33 Moving to Node #0,0 Current State: 40:[11, 43, 33], Operations: ['96-63=33'] Exploring Operation: 43-33=10, Resulting Numbers: [11, 10] Generated Node #0,0,0: 40:[11, 10] Operation: 43-33=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[11, 10], Operations: ['96-63=33', '43-33=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,40 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
[ 42, 53, 52, 31 ]
10
[ "53-42=11", "52-31=21", "21-11=10" ]
Current State: 10:[42, 53, 52, 31], Operations: [] Exploring Operation: 53-42=11, Resulting Numbers: [52, 31, 11] Generated Node #2: [52, 31, 11] from Operation: 53-42=11 Current State: 10:[52, 31, 11], Operations: ['53-42=11'] Exploring Operation: 52-31=21, Resulting Numbers: [11, 21] Generated Node #3: [11, 21] from Operation: 52-31=21 Current State: 10:[11, 21], Operations: ['53-42=11', '52-31=21'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[42, 53, 52, 31], Operations: [] Exploring Operation: 53-42=11, Resulting Numbers: [52, 31, 11] Generated Node #0,0: 10:[52, 31, 11] Operation: 53-42=11 Exploring Operation: 53-52=1, Resulting Numbers: [42, 31, 1] Generated Node #0,1: 10:[42, 31, 1] Operation: 53-52=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[42, 31, 1], Operations: ['53-52=1'] Exploring Operation: 42-1=41, Resulting Numbers: [31, 41] Generated Node #0,1,0: 10:[31, 41] Operation: 42-1=41 Exploring Operation: 42-31=11, Resulting Numbers: [1, 11] Generated Node #0,1,1: 10:[1, 11] Operation: 42-31=11 Moving to Node #0,1,1 Current State: 10:[1, 11], Operations: ['53-52=1', '42-31=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[42, 53, 52, 31], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [42, 31, 1] Generated Node #0,1: 10:[42, 31, 1] Operation: 53-52=1 Moving to Node #0,1 Current State: 10:[42, 31, 1], Operations: ['53-52=1'] Exploring Operation: 42-31=11, Resulting Numbers: [1, 11] Generated Node #0,1,1: 10:[1, 11] Operation: 42-31=11 Moving to Node #0,1,1 Current State: 10:[1, 11], Operations: ['53-52=1', '42-31=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 52, 58, 78, 57 ]
30
[ "58*78=4524", "4524/52=87", "87-57=30" ]
Current State: 30:[52, 58, 78, 57], Operations: [] Exploring Operation: 58*78=4524, Resulting Numbers: [52, 57, 4524] Generated Node #2: [52, 57, 4524] from Operation: 58*78=4524 Current State: 30:[52, 57, 4524], Operations: ['58*78=4524'] Exploring Operation: 4524/52=87, Resulting Numbers: [57, 87] Generated Node #3: [57, 87] from Operation: 4524/52=87 Current State: 30:[57, 87], Operations: ['58*78=4524', '4524/52=87'] Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[52, 58, 78, 57], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [58, 57, 26] Generated Node #0,0: 30:[58, 57, 26] Operation: 78-52=26 Exploring Operation: 58-57=1, Resulting Numbers: [52, 78, 1] Generated Node #0,1: 30:[52, 78, 1] Operation: 58-57=1 Exploring Operation: 78-57=21, Resulting Numbers: [52, 58, 21] Generated Node #0,2: 30:[52, 58, 21] Operation: 78-57=21 Exploring Operation: 78-58=20, Resulting Numbers: [52, 57, 20] Generated Node #0,3: 30:[52, 57, 20] Operation: 78-58=20 Exploring Operation: 58-52=6, Resulting Numbers: [78, 57, 6] Generated Node #0,4: 30:[78, 57, 6] Operation: 58-52=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[52, 57, 20], Operations: ['78-58=20'] Exploring Operation: 57+20=77, Resulting Numbers: [52, 77] Generated Node #0,3,0: 30:[52, 77] Operation: 57+20=77 Exploring Operation: 57-52=5, Resulting Numbers: [20, 5] Generated Node #0,3,1: 30:[20, 5] Operation: 57-52=5 Exploring Operation: 57-20=37, Resulting Numbers: [52, 37] Generated Node #0,3,2: 30:[52, 37] Operation: 57-20=37 Exploring Operation: 52-20=32, Resulting Numbers: [57, 32] Generated Node #0,3,3: 30:[57, 32] Operation: 52-20=32 Exploring Operation: 52+20=72, Resulting Numbers: [57, 72] Generated Node #0,3,4: 30:[57, 72] Operation: 52+20=72 Moving to Node #0,3,1 Current State: 30:[20, 5], Operations: ['78-58=20', '57-52=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,30 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[57, 32], Operations: ['78-58=20', '52-20=32'] Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,30 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[52, 37], Operations: ['78-58=20', '57-20=37'] Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[52, 77], Operations: ['78-58=20', '57+20=77'] Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,30 unequal: No Solution Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[57, 72], Operations: ['78-58=20', '52+20=72'] Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,30 unequal: No Solution Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,30 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[52, 58, 21], Operations: ['78-57=21'] Exploring Operation: 58-21=37, Resulting Numbers: [52, 37] Generated Node #0,2,0: 30:[52, 37] Operation: 58-21=37 Exploring Operation: 58-52=6, Resulting Numbers: [21, 6] Generated Node #0,2,1: 30:[21, 6] Operation: 58-52=6 Exploring Operation: 52-21=31, Resulting Numbers: [58, 31] Generated Node #0,2,2: 30:[58, 31] Operation: 52-21=31 Exploring Operation: 58+21=79, Resulting Numbers: [52, 79] Generated Node #0,2,3: 30:[52, 79] Operation: 58+21=79 Exploring Operation: 52+21=73, Resulting Numbers: [58, 73] Generated Node #0,2,4: 30:[58, 73] Operation: 52+21=73 Moving to Node #0,2,1 Current State: 30:[21, 6], Operations: ['78-57=21', '58-52=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[58, 31], Operations: ['78-57=21', '52-21=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,30 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[52, 37], Operations: ['78-57=21', '58-21=37'] Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[52, 79], Operations: ['78-57=21', '58+21=79'] Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 52*79=4108, Resulting Numbers: [4108] 4108,30 unequal: No Solution Exploring Operation: 52+79=131, Resulting Numbers: [131] 131,30 unequal: No Solution Moving to Node #0,2,4 Current State: 30:[58, 73], Operations: ['78-57=21', '52+21=73'] Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,30 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[58, 57, 26], Operations: ['78-52=26'] Exploring Operation: 58-26=32, Resulting Numbers: [57, 32] Generated Node #0,0,0: 30:[57, 32] Operation: 58-26=32 Exploring Operation: 57-26=31, Resulting Numbers: [58, 31] Generated Node #0,0,1: 30:[58, 31] Operation: 57-26=31 Exploring Operation: 58-57=1, Resulting Numbers: [26, 1] Generated Node #0,0,2: 30:[26, 1] Operation: 58-57=1 Exploring Operation: 58+26=84, Resulting Numbers: [57, 84] Generated Node #0,0,3: 30:[57, 84] Operation: 58+26=84 Exploring Operation: 57+26=83, Resulting Numbers: [58, 83] Generated Node #0,0,4: 30:[58, 83] Operation: 57+26=83 Moving to Node #0,0,2 Current State: 30:[26, 1], Operations: ['78-52=26', '58-57=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[58, 31], Operations: ['78-52=26', '57-26=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[57, 32], Operations: ['78-52=26', '58-26=32'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[57, 84], Operations: ['78-52=26', '58+26=84'] Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 57+84=141, Resulting Numbers: [141] 141,30 unequal: No Solution Exploring Operation: 57*84=4788, Resulting Numbers: [4788] 4788,30 unequal: No Solution Moving to Node #0,0,4 Current State: 30:[58, 83], Operations: ['78-52=26', '57+26=83'] Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 58*83=4814, Resulting Numbers: [4814] 4814,30 unequal: No Solution Exploring Operation: 58+83=141, Resulting Numbers: [141] 141,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[52, 78, 1], Operations: ['58-57=1'] Exploring Operation: 78-52=26, Resulting Numbers: [1, 26] Generated Node #0,1,0: 30:[1, 26] Operation: 78-52=26 Exploring Operation: 78-1=77, Resulting Numbers: [52, 77] Generated Node #0,1,1: 30:[52, 77] Operation: 78-1=77 Exploring Operation: 52-1=51, Resulting Numbers: [78, 51] Generated Node #0,1,2: 30:[78, 51] Operation: 52-1=51 Exploring Operation: 52/1=52, Resulting Numbers: [78, 52] Generated Node #0,1,3: 30:[78, 52] Operation: 52/1=52 Exploring Operation: 52*1=52, Resulting Numbers: [78, 52] Generated Node #0,1,4: 30:[78, 52] Operation: 52*1=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[1, 26], Operations: ['58-57=1', '78-52=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,30 unequal: No Solution No 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: 30:[52, 77], Operations: ['58-57=1', '78-1=77'] Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,30 unequal: No Solution Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,30 unequal: No Solution No 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: 30:[78, 51], Operations: ['58-57=1', '52-1=51'] Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,30 unequal: No Solution Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,30 unequal: No Solution Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,30 unequal: No Solution No 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: 30:[78, 52], Operations: ['58-57=1', '52/1=52'] Exploring Operation: 78*52=4056, Resulting Numbers: [4056] 4056,30 unequal: No Solution Exploring Operation: 78+52=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,30 unequal: No Solution No 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: 30:[78, 52], Operations: ['58-57=1', '52*1=52'] Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 78+52=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 78*52=4056, Resulting Numbers: [4056] 4056,30 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: 30:[78, 57, 6], Operations: ['58-52=6'] Exploring Operation: 78-57=21, Resulting Numbers: [6, 21] Generated Node #0,4,0: 30:[6, 21] Operation: 78-57=21 Exploring Operation: 57-6=51, Resulting Numbers: [78, 51] Generated Node #0,4,1: 30:[78, 51] Operation: 57-6=51 Exploring Operation: 78+6=84, Resulting Numbers: [57, 84] Generated Node #0,4,2: 30:[57, 84] Operation: 78+6=84 Exploring Operation: 78/6=13, Resulting Numbers: [57, 13] Generated Node #0,4,3: 30:[57, 13] Operation: 78/6=13 Exploring Operation: 78-6=72, Resulting Numbers: [57, 72] Generated Node #0,4,4: 30:[57, 72] Operation: 78-6=72 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 30:[6, 21], Operations: ['58-52=6', '78-57=21'] Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,30 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,30 unequal: No Solution No 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: 30:[57, 13], Operations: ['58-52=6', '78/6=13'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,30 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,30 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,30 unequal: No Solution No 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: 30:[78, 51], Operations: ['58-52=6', '57-6=51'] Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,30 unequal: No Solution Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,30 unequal: No Solution No 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: 30:[57, 72], Operations: ['58-52=6', '78-6=72'] Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,30 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,30 unequal: No Solution No 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: 30:[57, 84], Operations: ['58-52=6', '78+6=84'] Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 57*84=4788, Resulting Numbers: [4788] 4788,30 unequal: No Solution Exploring Operation: 57+84=141, Resulting Numbers: [141] 141,30 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
[ 4, 67, 78, 98 ]
92
[ "4*67=268", "78+98=176", "268-176=92" ]
Current State: 92:[4, 67, 78, 98], Operations: [] Exploring Operation: 4*67=268, Resulting Numbers: [78, 98, 268] Generated Node #2: [78, 98, 268] from Operation: 4*67=268 Current State: 92:[78, 98, 268], Operations: ['4*67=268'] Exploring Operation: 78+98=176, Resulting Numbers: [268, 176] Generated Node #3: [268, 176] from Operation: 78+98=176 Current State: 92:[268, 176], Operations: ['4*67=268', '78+98=176'] Exploring Operation: 268-176=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[4, 67, 78, 98], Operations: [] Exploring Operation: 67-4=63, Resulting Numbers: [78, 98, 63] Generated Node #0,0: 92:[78, 98, 63] Operation: 67-4=63 Exploring Operation: 98-67=31, Resulting Numbers: [4, 78, 31] Generated Node #0,1: 92:[4, 78, 31] Operation: 98-67=31 Exploring Operation: 98-78=20, Resulting Numbers: [4, 67, 20] Generated Node #0,2: 92:[4, 67, 20] Operation: 98-78=20 Exploring Operation: 78-67=11, Resulting Numbers: [4, 98, 11] Generated Node #0,3: 92:[4, 98, 11] Operation: 78-67=11 Moving to Node #0,3 Current State: 92:[4, 98, 11], Operations: ['78-67=11'] Exploring Operation: 11-4=7, Resulting Numbers: [98, 7] Generated Node #0,3,0: 92:[98, 7] Operation: 11-4=7 Exploring Operation: 98-11=87, Resulting Numbers: [4, 87] Generated Node #0,3,1: 92:[4, 87] Operation: 98-11=87 Exploring Operation: 98-4=94, Resulting Numbers: [11, 94] Generated Node #0,3,2: 92:[11, 94] Operation: 98-4=94 Exploring Operation: 4*11=44, Resulting Numbers: [98, 44] Generated Node #0,3,3: 92:[98, 44] Operation: 4*11=44 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[4, 87], Operations: ['78-67=11', '98-11=87'] Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,92 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,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,3,3 Current State: 92:[98, 44], Operations: ['78-67=11', '4*11=44'] Exploring Operation: 98*44=4312, Resulting Numbers: [4312] 4312,92 unequal: No Solution Exploring Operation: 98+44=142, Resulting Numbers: [142] 142,92 unequal: No Solution Exploring Operation: 98-44=54, Resulting Numbers: [54] 54,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,3,0 Current State: 92:[98, 7], Operations: ['78-67=11', '11-4=7'] Exploring Operation: 98+7=105, Resulting Numbers: [105] 105,92 unequal: No Solution Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 98*7=686, Resulting Numbers: [686] 686,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,3,2 Current State: 92:[11, 94], Operations: ['78-67=11', '98-4=94'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 11*94=1034, Resulting Numbers: [1034] 1034,92 unequal: No Solution Exploring Operation: 11+94=105, Resulting Numbers: [105] 105,92 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: 92:[4, 78, 31], Operations: ['98-67=31'] Exploring Operation: 31-4=27, Resulting Numbers: [78, 27] Generated Node #0,1,0: 92:[78, 27] Operation: 31-4=27 Exploring Operation: 78+31=109, Resulting Numbers: [4, 109] Generated Node #0,1,1: 92:[4, 109] Operation: 78+31=109 Exploring Operation: 4+78=82, Resulting Numbers: [31, 82] Generated Node #0,1,2: 92:[31, 82] Operation: 4+78=82 Exploring Operation: 78-31=47, Resulting Numbers: [4, 47] Generated Node #0,1,3: 92:[4, 47] Operation: 78-31=47 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[4, 47], Operations: ['98-67=31', '78-31=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,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,1 Current State: 92:[4, 109], Operations: ['98-67=31', '78+31=109'] Exploring Operation: 109-4=105, Resulting Numbers: [105] 105,92 unequal: No Solution Exploring Operation: 4*109=436, Resulting Numbers: [436] 436,92 unequal: No Solution Exploring Operation: 4+109=113, Resulting Numbers: [113] 113,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:[78, 27], Operations: ['98-67=31', '31-4=27'] Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,92 unequal: No Solution Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,92 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,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,2 Current State: 92:[31, 82], Operations: ['98-67=31', '4+78=82'] Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 31+82=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 31*82=2542, Resulting Numbers: [2542] 2542,92 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: 92:[4, 67, 20], Operations: ['98-78=20'] Exploring Operation: 67+20=87, Resulting Numbers: [4, 87] Generated Node #0,2,0: 92:[4, 87] Operation: 67+20=87 Exploring Operation: 67-4=63, Resulting Numbers: [20, 63] Generated Node #0,2,1: 92:[20, 63] Operation: 67-4=63 Exploring Operation: 67-20=47, Resulting Numbers: [4, 47] Generated Node #0,2,2: 92:[4, 47] Operation: 67-20=47 Exploring Operation: 4+20=24, Resulting Numbers: [67, 24] Generated Node #0,2,3: 92:[67, 24] Operation: 4+20=24 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[4, 47], Operations: ['98-78=20', '67-20=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,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,2,0 Current State: 92:[4, 87], Operations: ['98-78=20', '67+20=87'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,92 unequal: No Solution Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,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,2,1 Current State: 92:[20, 63], Operations: ['98-78=20', '67-4=63'] Exploring Operation: 20+63=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 20*63=1260, Resulting Numbers: [1260] 1260,92 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,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,2,3 Current State: 92:[67, 24], Operations: ['98-78=20', '4+20=24'] Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,92 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,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:[78, 98, 63], Operations: ['67-4=63'] Exploring Operation: 98-63=35, Resulting Numbers: [78, 35] Generated Node #0,0,0: 92:[78, 35] Operation: 98-63=35 Exploring Operation: 78+63=141, Resulting Numbers: [98, 141] Generated Node #0,0,1: 92:[98, 141] Operation: 78+63=141 Exploring Operation: 78-63=15, Resulting Numbers: [98, 15] Generated Node #0,0,2: 92:[98, 15] Operation: 78-63=15 Exploring Operation: 98-78=20, Resulting Numbers: [63, 20] Generated Node #0,0,3: 92:[63, 20] Operation: 98-78=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[98, 15], Operations: ['67-4=63', '78-63=15'] Exploring Operation: 98+15=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 98*15=1470, Resulting Numbers: [1470] 1470,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,3 Current State: 92:[63, 20], Operations: ['67-4=63', '98-78=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,92 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,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,0 Current State: 92:[78, 35], Operations: ['67-4=63', '98-63=35'] Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,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:[98, 141], Operations: ['67-4=63', '78+63=141'] Exploring Operation: 98*141=13818, Resulting Numbers: [13818] 13818,92 unequal: No Solution Exploring Operation: 141-98=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 98+141=239, Resulting Numbers: [239] 239,92 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
[ 2, 53, 20, 29 ]
34
[ "20/2=10", "53-29=24", "10+24=34" ]
Current State: 34:[2, 53, 20, 29], Operations: [] Exploring Operation: 20/2=10, Resulting Numbers: [53, 29, 10] Generated Node #2: [53, 29, 10] from Operation: 20/2=10 Current State: 34:[53, 29, 10], Operations: ['20/2=10'] Exploring Operation: 53-29=24, Resulting Numbers: [10, 24] Generated Node #3: [10, 24] from Operation: 53-29=24 Current State: 34:[10, 24], Operations: ['20/2=10', '53-29=24'] Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 53, 20, 29], Operations: [] Exploring Operation: 53-20=33, Resulting Numbers: [2, 29, 33] Generated Node #0,0: 34:[2, 29, 33] Operation: 53-20=33 Exploring Operation: 53-29=24, Resulting Numbers: [2, 20, 24] Generated Node #0,1: 34:[2, 20, 24] Operation: 53-29=24 Exploring Operation: 53-2=51, Resulting Numbers: [20, 29, 51] Generated Node #0,2: 34:[20, 29, 51] Operation: 53-2=51 Moving to Node #0,0 Current State: 34:[2, 29, 33], Operations: ['53-20=33'] Exploring Operation: 2+29=31, Resulting Numbers: [33, 31] Generated Node #0,0,0: 34:[33, 31] Operation: 2+29=31 Exploring Operation: 33-29=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 34:[2, 4] Operation: 33-29=4 Exploring Operation: 2+33=35, Resulting Numbers: [29, 35] Generated Node #0,0,2: 34:[29, 35] Operation: 2+33=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[2, 4], Operations: ['53-20=33', '33-29=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[33, 31], Operations: ['53-20=33', '2+29=31'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,34 unequal: No Solution Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[29, 35], Operations: ['53-20=33', '2+33=35'] Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,34 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: 34:[2, 20, 24], Operations: ['53-29=24'] Exploring Operation: 24-20=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 34:[2, 4] Operation: 24-20=4 Exploring Operation: 24-2=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 34:[20, 22] Operation: 24-2=22 Exploring Operation: 20-2=18, Resulting Numbers: [24, 18] Generated Node #0,1,2: 34:[24, 18] Operation: 20-2=18 Moving to Node #0,2 Current State: 34:[20, 29, 51], Operations: ['53-2=51'] Exploring Operation: 29-20=9, Resulting Numbers: [51, 9] Generated Node #0,2,0: 34:[51, 9] Operation: 29-20=9 Exploring Operation: 51-29=22, Resulting Numbers: [20, 22] Generated Node #0,2,1: 34:[20, 22] Operation: 51-29=22 Exploring Operation: 51-20=31, Resulting Numbers: [29, 31] Generated Node #0,2,2: 34:[29, 31] Operation: 51-20=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[20, 22], Operations: ['53-2=51', '51-29=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[29, 31], Operations: ['53-2=51', '51-20=31'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[51, 9], Operations: ['53-2=51', '29-20=9'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 51+9=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 51*9=459, Resulting Numbers: [459] 459,34 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: 34:[2, 4], Operations: ['53-29=24', '24-20=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[20, 22], Operations: ['53-29=24', '24-2=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,34 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[24, 18], Operations: ['53-29=24', '20-2=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,34 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,34 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 98, 48, 3, 5 ]
30
[ "98-48=50", "3*50=150", "150/5=30" ]
Current State: 30:[98, 48, 3, 5], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [3, 5, 50] Generated Node #2: [3, 5, 50] from Operation: 98-48=50 Current State: 30:[3, 5, 50], Operations: ['98-48=50'] Exploring Operation: 3*50=150, Resulting Numbers: [5, 150] Generated Node #3: [5, 150] from Operation: 3*50=150 Current State: 30:[5, 150], Operations: ['98-48=50', '3*50=150'] Exploring Operation: 150/5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[98, 48, 3, 5], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [3, 5, 50] Generated Node #0,0: 30:[3, 5, 50] Operation: 98-48=50 Moving to Node #0,0 Current State: 30:[3, 5, 50], Operations: ['98-48=50'] Exploring Operation: 50/5=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 30:[3, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[3, 10], Operations: ['98-48=50', '50/5=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[98, 48, 3, 5], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [3, 5, 50] Generated Node #0,0: 30:[3, 5, 50] Operation: 98-48=50 Moving to Node #0,0 Current State: 30:[3, 5, 50], Operations: ['98-48=50'] Exploring Operation: 50/5=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 30:[3, 10] Operation: 50/5=10 Moving to Node #0,0,0 Current State: 30:[3, 10], Operations: ['98-48=50', '50/5=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 51, 9, 9, 91 ]
22
[ "51+9=60", "91-9=82", "82-60=22" ]
Current State: 22:[51, 9, 9, 91], Operations: [] Exploring Operation: 51+9=60, Resulting Numbers: [91, 60] Generated Node #2: [91, 60] from Operation: 51+9=60 Current State: 22:[91, 60], Operations: ['51+9=60'] Exploring Operation: 91-9=82, Resulting Numbers: [60, 82] Generated Node #3: [60, 82] from Operation: 91-9=82 Current State: 22:[60, 82], Operations: ['51+9=60', '91-9=82'] Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[51, 9, 9, 91], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [9, 9, 40] Generated Node #0,0: 22:[9, 9, 40] Operation: 91-51=40 Exploring Operation: 91-9=82, Resulting Numbers: [51, 9, 82] Generated Node #0,1: 22:[51, 9, 82] Operation: 91-9=82 Exploring Operation: 51-9=42, Resulting Numbers: [9, 91, 42] Generated Node #0,2: 22:[9, 91, 42] Operation: 51-9=42 Exploring Operation: 51-9=42, Resulting Numbers: [9, 91, 42] Generated Node #0,3: 22:[9, 91, 42] Operation: 51-9=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[9, 9, 40], Operations: ['91-51=40'] Exploring Operation: 9/9=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 22:[40, 1] Operation: 9/9=1 Exploring Operation: 40-9=31, Resulting Numbers: [9, 31] Generated Node #0,0,1: 22:[9, 31] Operation: 40-9=31 Exploring Operation: 9-9=0, Resulting Numbers: [40, 0] Generated Node #0,0,2: 22:[40, 0] Operation: 9-9=0 Exploring Operation: 40-9=31, Resulting Numbers: [9, 31] Generated Node #0,0,3: 22:[9, 31] Operation: 40-9=31 Moving to Node #0,0,1 Current State: 22:[9, 31], Operations: ['91-51=40', '40-9=31'] Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[51, 9, 9, 91], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [9, 9, 40] Generated Node #0,0: 22:[9, 9, 40] Operation: 91-51=40 Moving to Node #0,0 Current State: 22:[9, 9, 40], Operations: ['91-51=40'] Exploring Operation: 40-9=31, Resulting Numbers: [9, 31] Generated Node #0,0,1: 22:[9, 31] Operation: 40-9=31 Moving to Node #0,0,1 Current State: 22:[9, 31], Operations: ['91-51=40', '40-9=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 92, 74, 54, 86 ]
26
[ "92+74=166", "54+86=140", "166-140=26" ]
Current State: 26:[92, 74, 54, 86], Operations: [] Exploring Operation: 92+74=166, Resulting Numbers: [54, 86, 166] Generated Node #2: [54, 86, 166] from Operation: 92+74=166 Current State: 26:[54, 86, 166], Operations: ['92+74=166'] Exploring Operation: 54+86=140, Resulting Numbers: [166, 140] Generated Node #3: [166, 140] from Operation: 54+86=140 Current State: 26:[166, 140], Operations: ['92+74=166', '54+86=140'] Exploring Operation: 166-140=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[92, 74, 54, 86], Operations: [] Exploring Operation: 92-74=18, Resulting Numbers: [54, 86, 18] Generated Node #0,0: 26:[54, 86, 18] Operation: 92-74=18 Exploring Operation: 92-54=38, Resulting Numbers: [74, 86, 38] Generated Node #0,1: 26:[74, 86, 38] Operation: 92-54=38 Exploring Operation: 86-54=32, Resulting Numbers: [92, 74, 32] Generated Node #0,2: 26:[92, 74, 32] Operation: 86-54=32 Exploring Operation: 86-74=12, Resulting Numbers: [92, 54, 12] Generated Node #0,3: 26:[92, 54, 12] Operation: 86-74=12 Exploring Operation: 92-86=6, Resulting Numbers: [74, 54, 6] Generated Node #0,4: 26:[74, 54, 6] Operation: 92-86=6 Moving to Node #0,4 Current State: 26:[74, 54, 6], Operations: ['92-86=6'] Exploring Operation: 74-6=68, Resulting Numbers: [54, 68] Generated Node #0,4,0: 26:[54, 68] Operation: 74-6=68 Exploring Operation: 54/6=9, Resulting Numbers: [74, 9] Generated Node #0,4,1: 26:[74, 9] Operation: 54/6=9 Exploring Operation: 74+6=80, Resulting Numbers: [54, 80] Generated Node #0,4,2: 26:[54, 80] Operation: 74+6=80 Exploring Operation: 54-6=48, Resulting Numbers: [74, 48] Generated Node #0,4,3: 26:[74, 48] Operation: 54-6=48 Exploring Operation: 74-54=20, Resulting Numbers: [6, 20] Generated Node #0,4,4: 26:[6, 20] Operation: 74-54=20 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 26:[6, 20], Operations: ['92-86=6', '74-54=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,26 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[92, 74, 54, 86], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [74, 54, 6] Generated Node #0,4: 26:[74, 54, 6] Operation: 92-86=6 Moving to Node #0,4 Current State: 26:[74, 54, 6], Operations: ['92-86=6'] Exploring Operation: 74-54=20, Resulting Numbers: [6, 20] Generated Node #0,4,4: 26:[6, 20] Operation: 74-54=20 Moving to Node #0,4,4 Current State: 26:[6, 20], Operations: ['92-86=6', '74-54=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 87, 29, 52, 78 ]
78
[ "87/29=3", "78-52=26", "3*26=78" ]
Current State: 78:[87, 29, 52, 78], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [52, 78, 3] Generated Node #2: [52, 78, 3] from Operation: 87/29=3 Current State: 78:[52, 78, 3], Operations: ['87/29=3'] Exploring Operation: 78-52=26, Resulting Numbers: [3, 26] Generated Node #3: [3, 26] from Operation: 78-52=26 Current State: 78:[3, 26], Operations: ['87/29=3', '78-52=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[87, 29, 52, 78], Operations: [] Exploring Operation: 29+52=81, Resulting Numbers: [87, 78, 81] Generated Node #0,0: 78:[87, 78, 81] Operation: 29+52=81 Exploring Operation: 78-52=26, Resulting Numbers: [87, 29, 26] Generated Node #0,1: 78:[87, 29, 26] Operation: 78-52=26 Exploring Operation: 87-52=35, Resulting Numbers: [29, 78, 35] Generated Node #0,2: 78:[29, 78, 35] Operation: 87-52=35 Exploring Operation: 52-29=23, Resulting Numbers: [87, 78, 23] Generated Node #0,3: 78:[87, 78, 23] Operation: 52-29=23 Moving to Node #0,2 Current State: 78:[29, 78, 35], Operations: ['87-52=35'] Exploring Operation: 78-29=49, Resulting Numbers: [35, 49] Generated Node #0,2,0: 78:[35, 49] Operation: 78-29=49 Exploring Operation: 35-29=6, Resulting Numbers: [78, 6] Generated Node #0,2,1: 78:[78, 6] Operation: 35-29=6 Exploring Operation: 29+35=64, Resulting Numbers: [78, 64] Generated Node #0,2,2: 78:[78, 64] Operation: 29+35=64 Exploring Operation: 78-35=43, Resulting Numbers: [29, 43] Generated Node #0,2,3: 78:[29, 43] Operation: 78-35=43 Moving to Node #0,1 Current State: 78:[87, 29, 26], Operations: ['78-52=26'] Exploring Operation: 87-26=61, Resulting Numbers: [29, 61] Generated Node #0,1,0: 78:[29, 61] Operation: 87-26=61 Exploring Operation: 87-29=58, Resulting Numbers: [26, 58] Generated Node #0,1,1: 78:[26, 58] Operation: 87-29=58 Exploring Operation: 87/29=3, Resulting Numbers: [26, 3] Generated Node #0,1,2: 78:[26, 3] Operation: 87/29=3 Exploring Operation: 29-26=3, Resulting Numbers: [87, 3] Generated Node #0,1,3: 78:[87, 3] Operation: 29-26=3 Moving to Node #0,0 Current State: 78:[87, 78, 81], Operations: ['29+52=81'] Exploring Operation: 87-78=9, Resulting Numbers: [81, 9] Generated Node #0,0,0: 78:[81, 9] Operation: 87-78=9 Exploring Operation: 87+78=165, Resulting Numbers: [81, 165] Generated Node #0,0,1: 78:[81, 165] Operation: 87+78=165 Exploring Operation: 87-81=6, Resulting Numbers: [78, 6] Generated Node #0,0,2: 78:[78, 6] Operation: 87-81=6 Exploring Operation: 81-78=3, Resulting Numbers: [87, 3] Generated Node #0,0,3: 78:[87, 3] Operation: 81-78=3 Moving to Node #0,3 Current State: 78:[87, 78, 23], Operations: ['52-29=23'] Exploring Operation: 78-23=55, Resulting Numbers: [87, 55] Generated Node #0,3,0: 78:[87, 55] Operation: 78-23=55 Exploring Operation: 87+23=110, Resulting Numbers: [78, 110] Generated Node #0,3,1: 78:[78, 110] Operation: 87+23=110 Exploring Operation: 87-23=64, Resulting Numbers: [78, 64] Generated Node #0,3,2: 78:[78, 64] Operation: 87-23=64 Exploring Operation: 87-78=9, Resulting Numbers: [23, 9] Generated Node #0,3,3: 78:[23, 9] Operation: 87-78=9 Moving to Node #0,2,1 Current State: 78:[78, 6], Operations: ['87-52=35', '35-29=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,78 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,78 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[26, 3], Operations: ['78-52=26', '87/29=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[87, 29, 52, 78], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [87, 29, 26] Generated Node #0,1: 78:[87, 29, 26] Operation: 78-52=26 Moving to Node #0,1 Current State: 78:[87, 29, 26], Operations: ['78-52=26'] Exploring Operation: 87/29=3, Resulting Numbers: [26, 3] Generated Node #0,1,2: 78:[26, 3] Operation: 87/29=3 Moving to Node #0,1,2 Current State: 78:[26, 3], Operations: ['78-52=26', '87/29=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.974826
hs_4
sum_heuristic
[ 4, 97, 50, 52 ]
99
[ "4+97=101", "52-50=2", "101-2=99" ]
Current State: 99:[4, 97, 50, 52], Operations: [] Exploring Operation: 4+97=101, Resulting Numbers: [50, 52, 101] Generated Node #2: [50, 52, 101] from Operation: 4+97=101 Current State: 99:[50, 52, 101], Operations: ['4+97=101'] Exploring Operation: 52-50=2, Resulting Numbers: [101, 2] Generated Node #3: [101, 2] from Operation: 52-50=2 Current State: 99:[101, 2], Operations: ['4+97=101', '52-50=2'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[4, 97, 50, 52], Operations: [] Exploring Operation: 97-52=45, Resulting Numbers: [4, 50, 45] Generated Node #0,0: 99:[4, 50, 45] Operation: 97-52=45 Exploring Operation: 52-50=2, Resulting Numbers: [4, 97, 2] Generated Node #0,1: 99:[4, 97, 2] Operation: 52-50=2 Exploring Operation: 50+52=102, Resulting Numbers: [4, 97, 102] Generated Node #0,2: 99:[4, 97, 102] Operation: 50+52=102 Exploring Operation: 52/4=13, Resulting Numbers: [97, 50, 13] Generated Node #0,3: 99:[97, 50, 13] Operation: 52/4=13 Moving to Node #0,1 Current State: 99:[4, 97, 2], Operations: ['52-50=2'] Exploring Operation: 4*2=8, Resulting Numbers: [97, 8] Generated Node #0,1,0: 99:[97, 8] Operation: 4*2=8 Exploring Operation: 4+97=101, Resulting Numbers: [2, 101] Generated Node #0,1,1: 99:[2, 101] Operation: 4+97=101 Exploring Operation: 97+2=99, Resulting Numbers: [4, 99] Generated Node #0,1,2: 99:[4, 99] Operation: 97+2=99 Exploring Operation: 4-2=2, Resulting Numbers: [97, 2] Generated Node #0,1,3: 99:[97, 2] Operation: 4-2=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[4, 99], Operations: ['52-50=2', '97+2=99'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,99 unequal: No Solution Exploring Operation: 4*99=396, Resulting Numbers: [396] 396,99 unequal: No Solution Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,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:[97, 8], Operations: ['52-50=2', '4*2=8'] Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,99 unequal: No Solution Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,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:[2, 101], Operations: ['52-50=2', '4+97=101'] Exploring Operation: 2*101=202, Resulting Numbers: [202] 202,99 unequal: No Solution Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[4, 97, 50, 52], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [4, 97, 2] Generated Node #0,1: 99:[4, 97, 2] Operation: 52-50=2 Moving to Node #0,1 Current State: 99:[4, 97, 2], Operations: ['52-50=2'] Exploring Operation: 4+97=101, Resulting Numbers: [2, 101] Generated Node #0,1,1: 99:[2, 101] Operation: 4+97=101 Moving to Node #0,1,1 Current State: 99:[2, 101], Operations: ['52-50=2', '4+97=101'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 63, 59, 11, 24 ]
39
[ "63-59=4", "11+24=35", "4+35=39" ]
Current State: 39:[63, 59, 11, 24], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [11, 24, 4] Generated Node #2: [11, 24, 4] from Operation: 63-59=4 Current State: 39:[11, 24, 4], Operations: ['63-59=4'] Exploring Operation: 11+24=35, Resulting Numbers: [4, 35] Generated Node #3: [4, 35] from Operation: 11+24=35 Current State: 39:[4, 35], Operations: ['63-59=4', '11+24=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[63, 59, 11, 24], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [59, 11, 39] Generated Node #0,0: 39:[59, 11, 39] Operation: 63-24=39 Exploring Operation: 63-59=4, Resulting Numbers: [11, 24, 4] Generated Node #0,1: 39:[11, 24, 4] Operation: 63-59=4 Exploring Operation: 59-24=35, Resulting Numbers: [63, 11, 35] Generated Node #0,2: 39:[63, 11, 35] Operation: 59-24=35 Moving to Node #0,1 Current State: 39:[11, 24, 4], Operations: ['63-59=4'] Exploring Operation: 24-11=13, Resulting Numbers: [4, 13] Generated Node #0,1,0: 39:[4, 13] Operation: 24-11=13 Exploring Operation: 24/4=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 39:[11, 6] Operation: 24/4=6 Exploring Operation: 11+24=35, Resulting Numbers: [4, 35] Generated Node #0,1,2: 39:[4, 35] Operation: 11+24=35 Moving to Node #0,0 Current State: 39:[59, 11, 39], Operations: ['63-24=39'] Exploring Operation: 59+11=70, Resulting Numbers: [39, 70] Generated Node #0,0,0: 39:[39, 70] Operation: 59+11=70 Exploring Operation: 59-11=48, Resulting Numbers: [39, 48] Generated Node #0,0,1: 39:[39, 48] Operation: 59-11=48 Exploring Operation: 59-39=20, Resulting Numbers: [11, 20] Generated Node #0,0,2: 39:[11, 20] Operation: 59-39=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[39, 48], Operations: ['63-24=39', '59-11=48'] Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,39 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,39 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[11, 20], Operations: ['63-24=39', '59-39=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,39 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[39, 70], Operations: ['63-24=39', '59+11=70'] Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,39 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 39:[63, 11, 35], Operations: ['59-24=35'] Exploring Operation: 63-35=28, Resulting Numbers: [11, 28] Generated Node #0,2,0: 39:[11, 28] Operation: 63-35=28 Exploring Operation: 63-11=52, Resulting Numbers: [35, 52] Generated Node #0,2,1: 39:[35, 52] Operation: 63-11=52 Exploring Operation: 11+35=46, Resulting Numbers: [63, 46] Generated Node #0,2,2: 39:[63, 46] Operation: 11+35=46 Moving to Node #0,1,0 Current State: 39:[4, 13], Operations: ['63-59=4', '24-11=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[4, 35], Operations: ['63-59=4', '11+24=35'] Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,39 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[63, 59, 11, 24], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [11, 24, 4] Generated Node #0,1: 39:[11, 24, 4] Operation: 63-59=4 Moving to Node #0,1 Current State: 39:[11, 24, 4], Operations: ['63-59=4'] Exploring Operation: 11+24=35, Resulting Numbers: [4, 35] Generated Node #0,1,2: 39:[4, 35] Operation: 11+24=35 Moving to Node #0,1,2 Current State: 39:[4, 35], Operations: ['63-59=4', '11+24=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.97309
hs_3
sum_heuristic
[ 23, 74, 79, 6 ]
22
[ "74-23=51", "79-6=73", "73-51=22" ]
Current State: 22:[23, 74, 79, 6], Operations: [] Exploring Operation: 74-23=51, Resulting Numbers: [79, 6, 51] Generated Node #2: [79, 6, 51] from Operation: 74-23=51 Current State: 22:[79, 6, 51], Operations: ['74-23=51'] Exploring Operation: 79-6=73, Resulting Numbers: [51, 73] Generated Node #3: [51, 73] from Operation: 79-6=73 Current State: 22:[51, 73], Operations: ['74-23=51', '79-6=73'] Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[23, 74, 79, 6], Operations: [] Exploring Operation: 74-23=51, Resulting Numbers: [79, 6, 51] Generated Node #0,0: 22:[79, 6, 51] Operation: 74-23=51 Exploring Operation: 79-74=5, Resulting Numbers: [23, 6, 5] Generated Node #0,1: 22:[23, 6, 5] Operation: 79-74=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[23, 6, 5], Operations: ['79-74=5'] Exploring Operation: 6+5=11, Resulting Numbers: [23, 11] Generated Node #0,1,0: 22:[23, 11] Operation: 6+5=11 Exploring Operation: 6-5=1, Resulting Numbers: [23, 1] Generated Node #0,1,1: 22:[23, 1] Operation: 6-5=1 Moving to Node #0,1,0 Current State: 22:[23, 11], Operations: ['79-74=5', '6+5=11'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[23, 1], Operations: ['79-74=5', '6-5=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[23, 74, 79, 6], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [23, 6, 5] Generated Node #0,1: 22:[23, 6, 5] Operation: 79-74=5 Moving to Node #0,1 Current State: 22:[23, 6, 5], Operations: ['79-74=5'] Exploring Operation: 6-5=1, Resulting Numbers: [23, 1] Generated Node #0,1,1: 22:[23, 1] Operation: 6-5=1 Moving to Node #0,1,1 Current State: 22:[23, 1], Operations: ['79-74=5', '6-5=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 57, 52, 5, 7 ]
31
[ "7-5=2", "52/2=26", "57-26=31" ]
Current State: 31:[57, 52, 5, 7], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [57, 52, 2] Generated Node #2: [57, 52, 2] from Operation: 7-5=2 Current State: 31:[57, 52, 2], Operations: ['7-5=2'] Exploring Operation: 52/2=26, Resulting Numbers: [57, 26] Generated Node #3: [57, 26] from Operation: 52/2=26 Current State: 31:[57, 26], Operations: ['7-5=2', '52/2=26'] Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[57, 52, 5, 7], Operations: [] Exploring Operation: 5*7=35, Resulting Numbers: [57, 52, 35] Generated Node #0,0: 31:[57, 52, 35] Operation: 5*7=35 Moving to Node #0,0 Current State: 31:[57, 52, 35], Operations: ['5*7=35'] Exploring Operation: 57-52=5, Resulting Numbers: [35, 5] Generated Node #0,0,0: 31:[35, 5] Operation: 57-52=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[35, 5], Operations: ['5*7=35', '57-52=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,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
[ 65, 15, 69, 5 ]
65
[ "69-65=4", "15*4=60", "5+60=65" ]
Current State: 65:[65, 15, 69, 5], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [15, 5, 4] Generated Node #2: [15, 5, 4] from Operation: 69-65=4 Current State: 65:[15, 5, 4], Operations: ['69-65=4'] Exploring Operation: 15*4=60, Resulting Numbers: [5, 60] Generated Node #3: [5, 60] from Operation: 15*4=60 Current State: 65:[5, 60], Operations: ['69-65=4', '15*4=60'] Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[65, 15, 69, 5], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [15, 69, 13] Generated Node #0,0: 65:[15, 69, 13] Operation: 65/5=13 Exploring Operation: 69-65=4, Resulting Numbers: [15, 5, 4] Generated Node #0,1: 65:[15, 5, 4] Operation: 69-65=4 Exploring Operation: 69-5=64, Resulting Numbers: [65, 15, 64] Generated Node #0,2: 65:[65, 15, 64] Operation: 69-5=64 Moving to Node #0,1 Current State: 65:[15, 5, 4], Operations: ['69-65=4'] Exploring Operation: 15-4=11, Resulting Numbers: [5, 11] Generated Node #0,1,0: 65:[5, 11] Operation: 15-4=11 Exploring Operation: 15-5=10, Resulting Numbers: [4, 10] Generated Node #0,1,1: 65:[4, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [4, 3] Generated Node #0,1,2: 65:[4, 3] Operation: 15/5=3 Moving to Node #0,2 Current State: 65:[65, 15, 64], Operations: ['69-5=64'] Exploring Operation: 65-64=1, Resulting Numbers: [15, 1] Generated Node #0,2,0: 65:[15, 1] Operation: 65-64=1 Exploring Operation: 65+15=80, Resulting Numbers: [64, 80] Generated Node #0,2,1: 65:[64, 80] Operation: 65+15=80 Exploring Operation: 15+64=79, Resulting Numbers: [65, 79] Generated Node #0,2,2: 65:[65, 79] Operation: 15+64=79 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[15, 1], Operations: ['69-5=64', '65-64=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[65, 79], Operations: ['69-5=64', '15+64=79'] Exploring Operation: 65*79=5135, Resulting Numbers: [5135] 5135,65 unequal: No Solution Exploring Operation: 79-65=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 65+79=144, Resulting Numbers: [144] 144,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[64, 80], Operations: ['69-5=64', '65+15=80'] Exploring Operation: 64+80=144, Resulting Numbers: [144] 144,65 unequal: No Solution Exploring Operation: 64*80=5120, Resulting Numbers: [5120] 5120,65 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,65 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: 65:[15, 69, 13], Operations: ['65/5=13'] Exploring Operation: 69-15=54, Resulting Numbers: [13, 54] Generated Node #0,0,0: 65:[13, 54] Operation: 69-15=54 Exploring Operation: 15-13=2, Resulting Numbers: [69, 2] Generated Node #0,0,1: 65:[69, 2] Operation: 15-13=2 Exploring Operation: 69-13=56, Resulting Numbers: [15, 56] Generated Node #0,0,2: 65:[15, 56] Operation: 69-13=56 Moving to Node #0,1,0 Current State: 65:[5, 11], Operations: ['69-65=4', '15-4=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[4, 3], Operations: ['69-65=4', '15/5=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[4, 10], Operations: ['69-65=4', '15-5=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[69, 2], Operations: ['65/5=13', '15-13=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[15, 56], Operations: ['65/5=13', '69-13=56'] Exploring Operation: 15*56=840, Resulting Numbers: [840] 840,65 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[13, 54], Operations: ['65/5=13', '69-15=54'] Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,65 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,65 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 39, 63, 55, 12 ]
53
[ "63-39=24", "24/12=2", "55-2=53" ]
Current State: 53:[39, 63, 55, 12], Operations: [] Exploring Operation: 63-39=24, Resulting Numbers: [55, 12, 24] Generated Node #2: [55, 12, 24] from Operation: 63-39=24 Current State: 53:[55, 12, 24], Operations: ['63-39=24'] Exploring Operation: 24/12=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 24/12=2 Current State: 53:[55, 2], Operations: ['63-39=24', '24/12=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[39, 63, 55, 12], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [39, 63, 43] Generated Node #0,0: 53:[39, 63, 43] Operation: 55-12=43 Exploring Operation: 63-12=51, Resulting Numbers: [39, 55, 51] Generated Node #0,1: 53:[39, 55, 51] Operation: 63-12=51 Exploring Operation: 39+12=51, Resulting Numbers: [63, 55, 51] Generated Node #0,2: 53:[63, 55, 51] Operation: 39+12=51 Moving to Node #0,2 Current State: 53:[63, 55, 51], Operations: ['39+12=51'] Exploring Operation: 55-51=4, Resulting Numbers: [63, 4] Generated Node #0,2,0: 53:[63, 4] Operation: 55-51=4 Exploring Operation: 63-55=8, Resulting Numbers: [51, 8] Generated Node #0,2,1: 53:[51, 8] Operation: 63-55=8 Exploring Operation: 63-51=12, Resulting Numbers: [55, 12] Generated Node #0,2,2: 53:[55, 12] Operation: 63-51=12 Moving to Node #0,1 Current State: 53:[39, 55, 51], Operations: ['63-12=51'] Exploring Operation: 39+51=90, Resulting Numbers: [55, 90] Generated Node #0,1,0: 53:[55, 90] Operation: 39+51=90 Exploring Operation: 55-39=16, Resulting Numbers: [51, 16] Generated Node #0,1,1: 53:[51, 16] Operation: 55-39=16 Exploring Operation: 39+55=94, Resulting Numbers: [51, 94] Generated Node #0,1,2: 53:[51, 94] Operation: 39+55=94 Moving to Node #0,0 Current State: 53:[39, 63, 43], Operations: ['55-12=43'] Exploring Operation: 63-39=24, Resulting Numbers: [43, 24] Generated Node #0,0,0: 53:[43, 24] Operation: 63-39=24 Exploring Operation: 63-43=20, Resulting Numbers: [39, 20] Generated Node #0,0,1: 53:[39, 20] Operation: 63-43=20 Exploring Operation: 39+43=82, Resulting Numbers: [63, 82] Generated Node #0,0,2: 53:[63, 82] Operation: 39+43=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[43, 24], Operations: ['55-12=43', '63-39=24'] Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,53 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,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,2 Current State: 53:[63, 82], Operations: ['55-12=43', '39+43=82'] Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 63*82=5166, Resulting Numbers: [5166] 5166,53 unequal: No Solution Exploring Operation: 63+82=145, Resulting Numbers: [145] 145,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:[39, 20], Operations: ['55-12=43', '63-43=20'] Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,53 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 53:[55, 90], Operations: ['63-12=51', '39+51=90'] Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,53 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[51, 16], Operations: ['63-12=51', '55-39=16'] Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,53 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[51, 94], Operations: ['63-12=51', '39+55=94'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 51*94=4794, Resulting Numbers: [4794] 4794,53 unequal: No Solution Exploring Operation: 51+94=145, Resulting Numbers: [145] 145,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[55, 12], Operations: ['39+12=51', '63-51=12'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,53 unequal: No Solution Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[51, 8], Operations: ['39+12=51', '63-55=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,53 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[63, 4], Operations: ['39+12=51', '55-51=4'] Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,53 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,53 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 30, 91, 65, 93 ]
70
[ "65-30=35", "93-91=2", "35*2=70" ]
Current State: 70:[30, 91, 65, 93], Operations: [] Exploring Operation: 65-30=35, Resulting Numbers: [91, 93, 35] Generated Node #2: [91, 93, 35] from Operation: 65-30=35 Current State: 70:[91, 93, 35], Operations: ['65-30=35'] Exploring Operation: 93-91=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 93-91=2 Current State: 70:[35, 2], Operations: ['65-30=35', '93-91=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[30, 91, 65, 93], Operations: [] Exploring Operation: 93-30=63, Resulting Numbers: [91, 65, 63] Generated Node #0,0: 70:[91, 65, 63] Operation: 93-30=63 Exploring Operation: 93-91=2, Resulting Numbers: [30, 65, 2] Generated Node #0,1: 70:[30, 65, 2] Operation: 93-91=2 Moving to Node #0,1 Current State: 70:[30, 65, 2], Operations: ['93-91=2'] Exploring Operation: 30/2=15, Resulting Numbers: [65, 15] Generated Node #0,1,0: 70:[65, 15] Operation: 30/2=15 Exploring Operation: 65-30=35, Resulting Numbers: [2, 35] Generated Node #0,1,1: 70:[2, 35] Operation: 65-30=35 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[2, 35], Operations: ['93-91=2', '65-30=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[30, 91, 65, 93], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [30, 65, 2] Generated Node #0,1: 70:[30, 65, 2] Operation: 93-91=2 Moving to Node #0,1 Current State: 70:[30, 65, 2], Operations: ['93-91=2'] Exploring Operation: 65-30=35, Resulting Numbers: [2, 35] Generated Node #0,1,1: 70:[2, 35] Operation: 65-30=35 Moving to Node #0,1,1 Current State: 70:[2, 35], Operations: ['93-91=2', '65-30=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 68, 81, 78, 94 ]
76
[ "68+94=162", "162/81=2", "78-2=76" ]
Current State: 76:[68, 81, 78, 94], Operations: [] Exploring Operation: 68+94=162, Resulting Numbers: [81, 78, 162] Generated Node #2: [81, 78, 162] from Operation: 68+94=162 Current State: 76:[81, 78, 162], Operations: ['68+94=162'] Exploring Operation: 162/81=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 162/81=2 Current State: 76:[78, 2], Operations: ['68+94=162', '162/81=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[68, 81, 78, 94], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [68, 81, 16] Generated Node #0,0: 76:[68, 81, 16] Operation: 94-78=16 Exploring Operation: 94-81=13, Resulting Numbers: [68, 78, 13] Generated Node #0,1: 76:[68, 78, 13] Operation: 94-81=13 Exploring Operation: 94-68=26, Resulting Numbers: [81, 78, 26] Generated Node #0,2: 76:[81, 78, 26] Operation: 94-68=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[81, 78, 26], Operations: ['94-68=26'] Exploring Operation: 81-26=55, Resulting Numbers: [78, 55] Generated Node #0,2,0: 76:[78, 55] Operation: 81-26=55 Exploring Operation: 81-78=3, Resulting Numbers: [26, 3] Generated Node #0,2,1: 76:[26, 3] Operation: 81-78=3 Exploring Operation: 78/26=3, Resulting Numbers: [81, 3] Generated Node #0,2,2: 76:[81, 3] Operation: 78/26=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[81, 3], Operations: ['94-68=26', '78/26=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[26, 3], Operations: ['94-68=26', '81-78=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[78, 55], Operations: ['94-68=26', '81-26=55'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 78+55=133, Resulting Numbers: [133] 133,76 unequal: No Solution Exploring Operation: 78*55=4290, Resulting Numbers: [4290] 4290,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[68, 81, 16], Operations: ['94-78=16'] Exploring Operation: 81-68=13, Resulting Numbers: [16, 13] Generated Node #0,0,0: 76:[16, 13] Operation: 81-68=13 Exploring Operation: 68+16=84, Resulting Numbers: [81, 84] Generated Node #0,0,1: 76:[81, 84] Operation: 68+16=84 Exploring Operation: 68-16=52, Resulting Numbers: [81, 52] Generated Node #0,0,2: 76:[81, 52] Operation: 68-16=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[16, 13], Operations: ['94-78=16', '81-68=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,76 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[81, 84], Operations: ['94-78=16', '68+16=84'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,76 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 76:[81, 52], Operations: ['94-78=16', '68-16=52'] Exploring Operation: 81+52=133, Resulting Numbers: [133] 133,76 unequal: No Solution Exploring Operation: 81*52=4212, Resulting Numbers: [4212] 4212,76 unequal: No Solution Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[68, 78, 13], Operations: ['94-81=13'] Exploring Operation: 78-68=10, Resulting Numbers: [13, 10] Generated Node #0,1,0: 76:[13, 10] Operation: 78-68=10 Exploring Operation: 78/13=6, Resulting Numbers: [68, 6] Generated Node #0,1,1: 76:[68, 6] Operation: 78/13=6 Exploring Operation: 68+13=81, Resulting Numbers: [78, 81] Generated Node #0,1,2: 76:[78, 81] Operation: 68+13=81 Moving to Node #0,1,2 Current State: 76:[78, 81], Operations: ['94-81=13', '68+13=81'] Exploring Operation: 78*81=6318, Resulting Numbers: [6318] 6318,76 unequal: No Solution Exploring Operation: 78+81=159, Resulting Numbers: [159] 159,76 unequal: No Solution Exploring Operation: 81-78=3, Resulting Numbers: [3] 3,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[68, 6], Operations: ['94-81=13', '78/13=6'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[13, 10], Operations: ['94-81=13', '78-68=10'] Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,76 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,76 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
[ 83, 52, 26, 82 ]
78
[ "83-82=1", "52+26=78", "1*78=78" ]
Current State: 78:[83, 52, 26, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [52, 26, 1] Generated Node #2: [52, 26, 1] from Operation: 83-82=1 Current State: 78:[52, 26, 1], Operations: ['83-82=1'] Exploring Operation: 52+26=78, Resulting Numbers: [1, 78] Generated Node #3: [1, 78] from Operation: 52+26=78 Current State: 78:[1, 78], Operations: ['83-82=1', '52+26=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[83, 52, 26, 82], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [26, 82, 31] Generated Node #0,0: 78:[26, 82, 31] Operation: 83-52=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[26, 82, 31], Operations: ['83-52=31'] Exploring Operation: 31-26=5, Resulting Numbers: [82, 5] Generated Node #0,0,0: 78:[82, 5] Operation: 31-26=5 Moving to Node #0,0,0 Current State: 78:[82, 5], Operations: ['83-52=31', '31-26=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,78 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
[ 92, 11, 35, 89 ]
68
[ "92-89=3", "11*3=33", "35+33=68" ]
Current State: 68:[92, 11, 35, 89], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [11, 35, 3] Generated Node #2: [11, 35, 3] from Operation: 92-89=3 Current State: 68:[11, 35, 3], Operations: ['92-89=3'] Exploring Operation: 11*3=33, Resulting Numbers: [35, 33] Generated Node #3: [35, 33] from Operation: 11*3=33 Current State: 68:[35, 33], Operations: ['92-89=3', '11*3=33'] Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[92, 11, 35, 89], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [11, 35, 3] Generated Node #0,0: 68:[11, 35, 3] Operation: 92-89=3 Exploring Operation: 89-35=54, Resulting Numbers: [92, 11, 54] Generated Node #0,1: 68:[92, 11, 54] Operation: 89-35=54 Exploring Operation: 92-11=81, Resulting Numbers: [35, 89, 81] Generated Node #0,2: 68:[35, 89, 81] Operation: 92-11=81 Exploring Operation: 89-11=78, Resulting Numbers: [92, 35, 78] Generated Node #0,3: 68:[92, 35, 78] Operation: 89-11=78 Exploring Operation: 92-35=57, Resulting Numbers: [11, 89, 57] Generated Node #0,4: 68:[11, 89, 57] Operation: 92-35=57 Moving to Node #0,0 Current State: 68:[11, 35, 3], Operations: ['92-89=3'] Exploring Operation: 11*3=33, Resulting Numbers: [35, 33] Generated Node #0,0,0: 68:[35, 33] Operation: 11*3=33 Exploring Operation: 11+3=14, Resulting Numbers: [35, 14] Generated Node #0,0,1: 68:[35, 14] Operation: 11+3=14 Exploring Operation: 35-3=32, Resulting Numbers: [11, 32] Generated Node #0,0,2: 68:[11, 32] Operation: 35-3=32 Exploring Operation: 35-11=24, Resulting Numbers: [3, 24] Generated Node #0,0,3: 68:[3, 24] Operation: 35-11=24 Exploring Operation: 11-3=8, Resulting Numbers: [35, 8] Generated Node #0,0,4: 68:[35, 8] Operation: 11-3=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[35, 33], Operations: ['92-89=3', '11*3=33'] Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,68 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[92, 11, 35, 89], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [11, 35, 3] Generated Node #0,0: 68:[11, 35, 3] Operation: 92-89=3 Moving to Node #0,0 Current State: 68:[11, 35, 3], Operations: ['92-89=3'] Exploring Operation: 11*3=33, Resulting Numbers: [35, 33] Generated Node #0,0,0: 68:[35, 33] Operation: 11*3=33 Moving to Node #0,0,0 Current State: 68:[35, 33], Operations: ['92-89=3', '11*3=33'] Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 35, 28, 32, 56 ]
21
[ "32-28=4", "56/4=14", "35-14=21" ]
Current State: 21:[35, 28, 32, 56], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [35, 56, 4] Generated Node #2: [35, 56, 4] from Operation: 32-28=4 Current State: 21:[35, 56, 4], Operations: ['32-28=4'] Exploring Operation: 56/4=14, Resulting Numbers: [35, 14] Generated Node #3: [35, 14] from Operation: 56/4=14 Current State: 21:[35, 14], Operations: ['32-28=4', '56/4=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[35, 28, 32, 56], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [28, 32, 21] Generated Node #0,0: 21:[28, 32, 21] Operation: 56-35=21 Exploring Operation: 56-32=24, Resulting Numbers: [35, 28, 24] Generated Node #0,1: 21:[35, 28, 24] Operation: 56-32=24 Moving to Node #0,0 Current State: 21:[28, 32, 21], Operations: ['56-35=21'] Exploring Operation: 28-21=7, Resulting Numbers: [32, 7] Generated Node #0,0,0: 21:[32, 7] Operation: 28-21=7 Exploring Operation: 32-28=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 21:[21, 4] Operation: 32-28=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[21, 4], Operations: ['56-35=21', '32-28=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[32, 7], Operations: ['56-35=21', '28-21=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,21 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 21:[35, 28, 24], Operations: ['56-32=24'] Exploring Operation: 35-28=7, Resulting Numbers: [24, 7] Generated Node #0,1,0: 21:[24, 7] Operation: 35-28=7 Exploring Operation: 35-24=11, Resulting Numbers: [28, 11] Generated Node #0,1,1: 21:[28, 11] Operation: 35-24=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[24, 7], Operations: ['56-32=24', '35-28=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[28, 11], Operations: ['56-32=24', '35-24=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 50, 92, 19, 52 ]
54
[ "52-50=2", "19*2=38", "92-38=54" ]
Current State: 54:[50, 92, 19, 52], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [92, 19, 2] Generated Node #2: [92, 19, 2] from Operation: 52-50=2 Current State: 54:[92, 19, 2], Operations: ['52-50=2'] Exploring Operation: 19*2=38, Resulting Numbers: [92, 38] Generated Node #3: [92, 38] from Operation: 19*2=38 Current State: 54:[92, 38], Operations: ['52-50=2', '19*2=38'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[50, 92, 19, 52], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [50, 19, 40] Generated Node #0,0: 54:[50, 19, 40] Operation: 92-52=40 Exploring Operation: 92-50=42, Resulting Numbers: [19, 52, 42] Generated Node #0,1: 54:[19, 52, 42] Operation: 92-50=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[19, 52, 42], Operations: ['92-50=42'] Exploring Operation: 42-19=23, Resulting Numbers: [52, 23] Generated Node #0,1,0: 54:[52, 23] Operation: 42-19=23 Exploring Operation: 52-42=10, Resulting Numbers: [19, 10] Generated Node #0,1,1: 54:[19, 10] Operation: 52-42=10 Moving to Node #0,1,1 Current State: 54:[19, 10], Operations: ['92-50=42', '52-42=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[52, 23], Operations: ['92-50=42', '42-19=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[50, 19, 40], Operations: ['92-52=40'] Exploring Operation: 50-40=10, Resulting Numbers: [19, 10] Generated Node #0,0,0: 54:[19, 10] Operation: 50-40=10 Exploring Operation: 40-19=21, Resulting Numbers: [50, 21] Generated Node #0,0,1: 54:[50, 21] Operation: 40-19=21 Moving to Node #0,0,0 Current State: 54:[19, 10], Operations: ['92-52=40', '50-40=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[50, 21], Operations: ['92-52=40', '40-19=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,54 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 4, 29, 63 ]
24
[ "12/4=3", "29*3=87", "87-63=24" ]
Current State: 24:[12, 4, 29, 63], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [29, 63, 3] Generated Node #2: [29, 63, 3] from Operation: 12/4=3 Current State: 24:[29, 63, 3], Operations: ['12/4=3'] Exploring Operation: 29*3=87, Resulting Numbers: [63, 87] Generated Node #3: [63, 87] from Operation: 29*3=87 Current State: 24:[63, 87], Operations: ['12/4=3', '29*3=87'] Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[12, 4, 29, 63], Operations: [] Exploring Operation: 63-29=34, Resulting Numbers: [12, 4, 34] Generated Node #0,0: 24:[12, 4, 34] Operation: 63-29=34 Moving to Node #0,0 Current State: 24:[12, 4, 34], Operations: ['63-29=34'] Exploring Operation: 34-12=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 24:[4, 22] Operation: 34-12=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[4, 22], Operations: ['63-29=34', '34-12=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 8, 80, 72, 96 ]
52
[ "80*72=5760", "5760/96=60", "60-8=52" ]
Current State: 52:[8, 80, 72, 96], Operations: [] Exploring Operation: 80*72=5760, Resulting Numbers: [8, 96, 5760] Generated Node #2: [8, 96, 5760] from Operation: 80*72=5760 Current State: 52:[8, 96, 5760], Operations: ['80*72=5760'] Exploring Operation: 5760/96=60, Resulting Numbers: [8, 60] Generated Node #3: [8, 60] from Operation: 5760/96=60 Current State: 52:[8, 60], Operations: ['80*72=5760', '5760/96=60'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[8, 80, 72, 96], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [8, 72, 16] Generated Node #0,0: 52:[8, 72, 16] Operation: 96-80=16 Exploring Operation: 96/8=12, Resulting Numbers: [80, 72, 12] Generated Node #0,1: 52:[80, 72, 12] Operation: 96/8=12 Exploring Operation: 96-72=24, Resulting Numbers: [8, 80, 24] Generated Node #0,2: 52:[8, 80, 24] Operation: 96-72=24 Exploring Operation: 80-72=8, Resulting Numbers: [8, 96, 8] Generated Node #0,3: 52:[8, 96, 8] Operation: 80-72=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[8, 72, 16], Operations: ['96-80=16'] Exploring Operation: 72/8=9, Resulting Numbers: [16, 9] Generated Node #0,0,0: 52:[16, 9] Operation: 72/8=9 Exploring Operation: 72-16=56, Resulting Numbers: [8, 56] Generated Node #0,0,1: 52:[8, 56] Operation: 72-16=56 Exploring Operation: 72-8=64, Resulting Numbers: [16, 64] Generated Node #0,0,2: 52:[16, 64] Operation: 72-8=64 Exploring Operation: 16/8=2, Resulting Numbers: [72, 2] Generated Node #0,0,3: 52:[72, 2] Operation: 16/8=2 Moving to Node #0,0,0 Current State: 52:[16, 9], Operations: ['96-80=16', '72/8=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,52 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[8, 56], Operations: ['96-80=16', '72-16=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[16, 64], Operations: ['96-80=16', '72-8=64'] Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 16*64=1024, Resulting Numbers: [1024] 1024,52 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[72, 2], Operations: ['96-80=16', '16/8=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,52 unequal: No Solution Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,52 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[8, 80, 24], Operations: ['96-72=24'] Exploring Operation: 24/8=3, Resulting Numbers: [80, 3] Generated Node #0,2,0: 52:[80, 3] Operation: 24/8=3 Exploring Operation: 80-24=56, Resulting Numbers: [8, 56] Generated Node #0,2,1: 52:[8, 56] Operation: 80-24=56 Exploring Operation: 80/8=10, Resulting Numbers: [24, 10] Generated Node #0,2,2: 52:[24, 10] Operation: 80/8=10 Exploring Operation: 80-8=72, Resulting Numbers: [24, 72] Generated Node #0,2,3: 52:[24, 72] Operation: 80-8=72 Moving to Node #0,2,2 Current State: 52:[24, 10], Operations: ['96-72=24', '80/8=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,52 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[8, 56], Operations: ['96-72=24', '80-24=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,52 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[24, 72], Operations: ['96-72=24', '80-8=72'] Exploring Operation: 24+72=96, Resulting Numbers: [96] 96,52 unequal: No Solution Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 24*72=1728, Resulting Numbers: [1728] 1728,52 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[80, 3], Operations: ['96-72=24', '24/8=3'] Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,52 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,52 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[80, 72, 12], Operations: ['96/8=12'] Exploring Operation: 80-12=68, Resulting Numbers: [72, 68] Generated Node #0,1,0: 52:[72, 68] Operation: 80-12=68 Exploring Operation: 72-12=60, Resulting Numbers: [80, 60] Generated Node #0,1,1: 52:[80, 60] Operation: 72-12=60 Exploring Operation: 80-72=8, Resulting Numbers: [12, 8] Generated Node #0,1,2: 52:[12, 8] Operation: 80-72=8 Exploring Operation: 72/12=6, Resulting Numbers: [80, 6] Generated Node #0,1,3: 52:[80, 6] Operation: 72/12=6 Moving to Node #0,1,2 Current State: 52:[12, 8], Operations: ['96/8=12', '80-72=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[80, 6], Operations: ['96/8=12', '72/12=6'] Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,52 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[80, 60], Operations: ['96/8=12', '72-12=60'] Exploring Operation: 80*60=4800, Resulting Numbers: [4800] 4800,52 unequal: No Solution Exploring Operation: 80+60=140, Resulting Numbers: [140] 140,52 unequal: No Solution Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[72, 68], Operations: ['96/8=12', '80-12=68'] Exploring Operation: 72+68=140, Resulting Numbers: [140] 140,52 unequal: No Solution Exploring Operation: 72*68=4896, Resulting Numbers: [4896] 4896,52 unequal: No Solution Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[8, 96, 8], Operations: ['80-72=8'] Exploring Operation: 96-8=88, Resulting Numbers: [8, 88] Generated Node #0,3,0: 52:[8, 88] Operation: 96-8=88 Exploring Operation: 96-8=88, Resulting Numbers: [8, 88] Generated Node #0,3,1: 52:[8, 88] Operation: 96-8=88 Exploring Operation: 96/8=12, Resulting Numbers: [8, 12] Generated Node #0,3,2: 52:[8, 12] Operation: 96/8=12 Exploring Operation: 96/8=12, Resulting Numbers: [8, 12] Generated Node #0,3,3: 52:[8, 12] Operation: 96/8=12 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 52:[8, 12], Operations: ['80-72=8', '96/8=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[8, 12], Operations: ['80-72=8', '96/8=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,52 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 52:[8, 88], Operations: ['80-72=8', '96-8=88'] Exploring Operation: 8*88=704, Resulting Numbers: [704] 704,52 unequal: No Solution Exploring Operation: 8+88=96, Resulting Numbers: [96] 96,52 unequal: No Solution Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 52:[8, 88], Operations: ['80-72=8', '96-8=88'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 8+88=96, Resulting Numbers: [96] 96,52 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 8*88=704, Resulting Numbers: [704] 704,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 72, 24, 60, 35 ]
86
[ "24*35=840", "840/60=14", "72+14=86" ]
Current State: 86:[72, 24, 60, 35], Operations: [] Exploring Operation: 24*35=840, Resulting Numbers: [72, 60, 840] Generated Node #2: [72, 60, 840] from Operation: 24*35=840 Current State: 86:[72, 60, 840], Operations: ['24*35=840'] Exploring Operation: 840/60=14, Resulting Numbers: [72, 14] Generated Node #3: [72, 14] from Operation: 840/60=14 Current State: 86:[72, 14], Operations: ['24*35=840', '840/60=14'] Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[72, 24, 60, 35], Operations: [] Exploring Operation: 24+60=84, Resulting Numbers: [72, 35, 84] Generated Node #0,0: 86:[72, 35, 84] Operation: 24+60=84 Exploring Operation: 72/24=3, Resulting Numbers: [60, 35, 3] Generated Node #0,1: 86:[60, 35, 3] Operation: 72/24=3 Exploring Operation: 60-24=36, Resulting Numbers: [72, 35, 36] Generated Node #0,2: 86:[72, 35, 36] Operation: 60-24=36 Exploring Operation: 72-24=48, Resulting Numbers: [60, 35, 48] Generated Node #0,3: 86:[60, 35, 48] Operation: 72-24=48 Moving to Node #0,0 Current State: 86:[72, 35, 84], Operations: ['24+60=84'] Exploring Operation: 72+35=107, Resulting Numbers: [84, 107] Generated Node #0,0,0: 86:[84, 107] Operation: 72+35=107 Exploring Operation: 84-72=12, Resulting Numbers: [35, 12] Generated Node #0,0,1: 86:[35, 12] Operation: 84-72=12 Exploring Operation: 84-35=49, Resulting Numbers: [72, 49] Generated Node #0,0,2: 86:[72, 49] Operation: 84-35=49 Exploring Operation: 72-35=37, Resulting Numbers: [84, 37] Generated Node #0,0,3: 86:[84, 37] Operation: 72-35=37 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[84, 37], Operations: ['24+60=84', '72-35=37'] Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,86 unequal: No Solution Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,86 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[35, 12], Operations: ['24+60=84', '84-72=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,86 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[72, 49], Operations: ['24+60=84', '84-35=49'] Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,86 unequal: No Solution Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,86 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[84, 107], Operations: ['24+60=84', '72+35=107'] Exploring Operation: 84+107=191, Resulting Numbers: [191] 191,86 unequal: No Solution Exploring Operation: 84*107=8988, Resulting Numbers: [8988] 8988,86 unequal: No Solution Exploring Operation: 107-84=23, Resulting Numbers: [23] 23,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[60, 35, 3], Operations: ['72/24=3'] Exploring Operation: 60+35=95, Resulting Numbers: [3, 95] Generated Node #0,1,0: 86:[3, 95] Operation: 60+35=95 Exploring Operation: 35+3=38, Resulting Numbers: [60, 38] Generated Node #0,1,1: 86:[60, 38] Operation: 35+3=38 Exploring Operation: 60-3=57, Resulting Numbers: [35, 57] Generated Node #0,1,2: 86:[35, 57] Operation: 60-3=57 Exploring Operation: 60-35=25, Resulting Numbers: [3, 25] Generated Node #0,1,3: 86:[3, 25] Operation: 60-35=25 Moving to Node #0,2 Current State: 86:[72, 35, 36], Operations: ['60-24=36'] Exploring Operation: 72-35=37, Resulting Numbers: [36, 37] Generated Node #0,2,0: 86:[36, 37] Operation: 72-35=37 Exploring Operation: 72-36=36, Resulting Numbers: [35, 36] Generated Node #0,2,1: 86:[35, 36] Operation: 72-36=36 Exploring Operation: 72/36=2, Resulting Numbers: [35, 2] Generated Node #0,2,2: 86:[35, 2] Operation: 72/36=2 Exploring Operation: 36-35=1, Resulting Numbers: [72, 1] Generated Node #0,2,3: 86:[72, 1] Operation: 36-35=1 Moving to Node #0,3 Current State: 86:[60, 35, 48], Operations: ['72-24=48'] Exploring Operation: 60+35=95, Resulting Numbers: [48, 95] Generated Node #0,3,0: 86:[48, 95] Operation: 60+35=95 Exploring Operation: 60-48=12, Resulting Numbers: [35, 12] Generated Node #0,3,1: 86:[35, 12] Operation: 60-48=12 Exploring Operation: 35+48=83, Resulting Numbers: [60, 83] Generated Node #0,3,2: 86:[60, 83] Operation: 35+48=83 Exploring Operation: 60-35=25, Resulting Numbers: [48, 25] Generated Node #0,3,3: 86:[48, 25] Operation: 60-35=25 Moving to Node #0,2,2 Current State: 86:[35, 2], Operations: ['60-24=36', '72/36=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,86 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[3, 95], Operations: ['72/24=3', '60+35=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,86 unequal: No Solution Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,86 unequal: No Solution Exploring Operation: 3*95=285, Resulting Numbers: [285] 285,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[36, 37], Operations: ['60-24=36', '72-35=37'] Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,86 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,86 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[48, 95], Operations: ['72-24=48', '60+35=95'] Exploring Operation: 48*95=4560, Resulting Numbers: [4560] 4560,86 unequal: No Solution Exploring Operation: 48+95=143, Resulting Numbers: [143] 143,86 unequal: No Solution Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[35, 36], Operations: ['60-24=36', '72-36=36'] Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[72, 1], Operations: ['60-24=36', '36-35=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,86 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[35, 12], Operations: ['72-24=48', '60-48=12'] Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[3, 25], Operations: ['72/24=3', '60-35=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[60, 83], Operations: ['72-24=48', '35+48=83'] Exploring Operation: 60*83=4980, Resulting Numbers: [4980] 4980,86 unequal: No Solution Exploring Operation: 60+83=143, Resulting Numbers: [143] 143,86 unequal: No Solution Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[60, 38], Operations: ['72/24=3', '35+3=38'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,86 unequal: No Solution Exploring Operation: 60*38=2280, Resulting Numbers: [2280] 2280,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[35, 57], Operations: ['72/24=3', '60-3=57'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 35*57=1995, Resulting Numbers: [1995] 1995,86 unequal: No Solution Exploring Operation: 35+57=92, Resulting Numbers: [92] 92,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[48, 25], Operations: ['72-24=48', '60-35=25'] Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,86 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,86 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 64, 46, 13, 31 ]
92
[ "64+46=110", "31-13=18", "110-18=92" ]
Current State: 92:[64, 46, 13, 31], Operations: [] Exploring Operation: 64+46=110, Resulting Numbers: [13, 31, 110] Generated Node #2: [13, 31, 110] from Operation: 64+46=110 Current State: 92:[13, 31, 110], Operations: ['64+46=110'] Exploring Operation: 31-13=18, Resulting Numbers: [110, 18] Generated Node #3: [110, 18] from Operation: 31-13=18 Current State: 92:[110, 18], Operations: ['64+46=110', '31-13=18'] Exploring Operation: 110-18=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[64, 46, 13, 31], Operations: [] Exploring Operation: 64-13=51, Resulting Numbers: [46, 31, 51] Generated Node #0,0: 92:[46, 31, 51] Operation: 64-13=51 Exploring Operation: 13+31=44, Resulting Numbers: [64, 46, 44] Generated Node #0,1: 92:[64, 46, 44] Operation: 13+31=44 Exploring Operation: 64+31=95, Resulting Numbers: [46, 13, 95] Generated Node #0,2: 92:[46, 13, 95] Operation: 64+31=95 Exploring Operation: 64-31=33, Resulting Numbers: [46, 13, 33] Generated Node #0,3: 92:[46, 13, 33] Operation: 64-31=33 Moving to Node #0,2 Current State: 92:[46, 13, 95], Operations: ['64+31=95'] Exploring Operation: 95-13=82, Resulting Numbers: [46, 82] Generated Node #0,2,0: 92:[46, 82] Operation: 95-13=82 Exploring Operation: 46-13=33, Resulting Numbers: [95, 33] Generated Node #0,2,1: 92:[95, 33] Operation: 46-13=33 Exploring Operation: 95-46=49, Resulting Numbers: [13, 49] Generated Node #0,2,2: 92:[13, 49] Operation: 95-46=49 Exploring Operation: 46+13=59, Resulting Numbers: [95, 59] Generated Node #0,2,3: 92:[95, 59] Operation: 46+13=59 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[46, 82], Operations: ['64+31=95', '95-13=82'] Exploring Operation: 46*82=3772, Resulting Numbers: [3772] 3772,92 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 46+82=128, Resulting Numbers: [128] 128,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,2,2 Current State: 92:[13, 49], Operations: ['64+31=95', '95-46=49'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,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,2,1 Current State: 92:[95, 33], Operations: ['64+31=95', '46-13=33'] Exploring Operation: 95*33=3135, Resulting Numbers: [3135] 3135,92 unequal: No Solution Exploring Operation: 95+33=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,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,2,3 Current State: 92:[95, 59], Operations: ['64+31=95', '46+13=59'] Exploring Operation: 95-59=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 95+59=154, Resulting Numbers: [154] 154,92 unequal: No Solution Exploring Operation: 95*59=5605, Resulting Numbers: [5605] 5605,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:[46, 31, 51], Operations: ['64-13=51'] Exploring Operation: 31+51=82, Resulting Numbers: [46, 82] Generated Node #0,0,0: 92:[46, 82] Operation: 31+51=82 Exploring Operation: 51-31=20, Resulting Numbers: [46, 20] Generated Node #0,0,1: 92:[46, 20] Operation: 51-31=20 Exploring Operation: 46-31=15, Resulting Numbers: [51, 15] Generated Node #0,0,2: 92:[51, 15] Operation: 46-31=15 Exploring Operation: 51-46=5, Resulting Numbers: [31, 5] Generated Node #0,0,3: 92:[31, 5] Operation: 51-46=5 Moving to Node #0,3 Current State: 92:[46, 13, 33], Operations: ['64-31=33'] Exploring Operation: 33-13=20, Resulting Numbers: [46, 20] Generated Node #0,3,0: 92:[46, 20] Operation: 33-13=20 Exploring Operation: 46-13=33, Resulting Numbers: [33, 33] Generated Node #0,3,1: 92:[33, 33] Operation: 46-13=33 Exploring Operation: 46-33=13, Resulting Numbers: [13, 13] Generated Node #0,3,2: 92:[13, 13] Operation: 46-33=13 Exploring Operation: 13+33=46, Resulting Numbers: [46, 46] Generated Node #0,3,3: 92:[46, 46] Operation: 13+33=46 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 92:[46, 46], Operations: ['64-31=33', '13+33=46'] Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 46*46=2116, Resulting Numbers: [2116] 2116,92 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[64, 46, 13, 31], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [46, 13, 33] Generated Node #0,3: 92:[46, 13, 33] Operation: 64-31=33 Moving to Node #0,3 Current State: 92:[46, 13, 33], Operations: ['64-31=33'] Exploring Operation: 13+33=46, Resulting Numbers: [46, 46] Generated Node #0,3,3: 92:[46, 46] Operation: 13+33=46 Moving to Node #0,3,3 Current State: 92:[46, 46], Operations: ['64-31=33', '13+33=46'] Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 39, 36, 1, 46 ]
44
[ "39-36=3", "1+46=47", "47-3=44" ]
Current State: 44:[39, 36, 1, 46], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [1, 46, 3] Generated Node #2: [1, 46, 3] from Operation: 39-36=3 Current State: 44:[1, 46, 3], Operations: ['39-36=3'] Exploring Operation: 1+46=47, Resulting Numbers: [3, 47] Generated Node #3: [3, 47] from Operation: 1+46=47 Current State: 44:[3, 47], Operations: ['39-36=3', '1+46=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[39, 36, 1, 46], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [39, 1, 10] Generated Node #0,0: 44:[39, 1, 10] Operation: 46-36=10 Exploring Operation: 46-39=7, Resulting Numbers: [36, 1, 7] Generated Node #0,1: 44:[36, 1, 7] Operation: 46-39=7 Exploring Operation: 39-36=3, Resulting Numbers: [1, 46, 3] Generated Node #0,2: 44:[1, 46, 3] Operation: 39-36=3 Moving to Node #0,2 Current State: 44:[1, 46, 3], Operations: ['39-36=3'] Exploring Operation: 3-1=2, Resulting Numbers: [46, 2] Generated Node #0,2,0: 44:[46, 2] Operation: 3-1=2 Exploring Operation: 1+3=4, Resulting Numbers: [46, 4] Generated Node #0,2,1: 44:[46, 4] Operation: 1+3=4 Exploring Operation: 46-1=45, Resulting Numbers: [3, 45] Generated Node #0,2,2: 44:[3, 45] Operation: 46-1=45 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[46, 2], Operations: ['39-36=3', '3-1=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[39, 36, 1, 46], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [1, 46, 3] Generated Node #0,2: 44:[1, 46, 3] Operation: 39-36=3 Moving to Node #0,2 Current State: 44:[1, 46, 3], Operations: ['39-36=3'] Exploring Operation: 3-1=2, Resulting Numbers: [46, 2] Generated Node #0,2,0: 44:[46, 2] Operation: 3-1=2 Moving to Node #0,2,0 Current State: 44:[46, 2], Operations: ['39-36=3', '3-1=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 57, 57, 84, 23 ]
53
[ "57+57=114", "84-23=61", "114-61=53" ]
Current State: 53:[57, 57, 84, 23], Operations: [] Exploring Operation: 57+57=114, Resulting Numbers: [84, 23, 114] Generated Node #2: [84, 23, 114] from Operation: 57+57=114 Current State: 53:[84, 23, 114], Operations: ['57+57=114'] Exploring Operation: 84-23=61, Resulting Numbers: [114, 61] Generated Node #3: [114, 61] from Operation: 84-23=61 Current State: 53:[114, 61], Operations: ['57+57=114', '84-23=61'] Exploring Operation: 114-61=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[57, 57, 84, 23], Operations: [] Exploring Operation: 57-23=34, Resulting Numbers: [57, 84, 34] Generated Node #0,0: 53:[57, 84, 34] Operation: 57-23=34 Exploring Operation: 57-23=34, Resulting Numbers: [57, 84, 34] Generated Node #0,1: 53:[57, 84, 34] Operation: 57-23=34 Exploring Operation: 84-23=61, Resulting Numbers: [57, 57, 61] Generated Node #0,2: 53:[57, 57, 61] Operation: 84-23=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[57, 57, 61], Operations: ['84-23=61'] Exploring Operation: 61-57=4, Resulting Numbers: [57, 4] Generated Node #0,2,0: 53:[57, 4] Operation: 61-57=4 Exploring Operation: 57/57=1, Resulting Numbers: [61, 1] Generated Node #0,2,1: 53:[61, 1] Operation: 57/57=1 Exploring Operation: 61-57=4, Resulting Numbers: [57, 4] Generated Node #0,2,2: 53:[57, 4] Operation: 61-57=4 Moving to Node #0,2,0 Current State: 53:[57, 4], Operations: ['84-23=61', '61-57=4'] Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,53 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[57, 57, 84, 23], Operations: [] Exploring Operation: 84-23=61, Resulting Numbers: [57, 57, 61] Generated Node #0,2: 53:[57, 57, 61] Operation: 84-23=61 Moving to Node #0,2 Current State: 53:[57, 57, 61], Operations: ['84-23=61'] Exploring Operation: 61-57=4, Resulting Numbers: [57, 4] Generated Node #0,2,0: 53:[57, 4] Operation: 61-57=4 Moving to Node #0,2,0 Current State: 53:[57, 4], Operations: ['84-23=61', '61-57=4'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 20, 58, 55, 7 ]
81
[ "20+7=27", "58-55=3", "27*3=81" ]
Current State: 81:[20, 58, 55, 7], Operations: [] Exploring Operation: 20+7=27, Resulting Numbers: [58, 55, 27] Generated Node #2: [58, 55, 27] from Operation: 20+7=27 Current State: 81:[58, 55, 27], Operations: ['20+7=27'] Exploring Operation: 58-55=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 58-55=3 Current State: 81:[27, 3], Operations: ['20+7=27', '58-55=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[20, 58, 55, 7], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [20, 7, 3] Generated Node #0,0: 81:[20, 7, 3] Operation: 58-55=3 Exploring Operation: 20+55=75, Resulting Numbers: [58, 7, 75] Generated Node #0,1: 81:[58, 7, 75] Operation: 20+55=75 Exploring Operation: 55-20=35, Resulting Numbers: [58, 7, 35] Generated Node #0,2: 81:[58, 7, 35] Operation: 55-20=35 Exploring Operation: 20+58=78, Resulting Numbers: [55, 7, 78] Generated Node #0,3: 81:[55, 7, 78] Operation: 20+58=78 Moving to Node #0,0 Current State: 81:[20, 7, 3], Operations: ['58-55=3'] Exploring Operation: 20+3=23, Resulting Numbers: [7, 23] Generated Node #0,0,0: 81:[7, 23] Operation: 20+3=23 Exploring Operation: 7+3=10, Resulting Numbers: [20, 10] Generated Node #0,0,1: 81:[20, 10] Operation: 7+3=10 Exploring Operation: 20+7=27, Resulting Numbers: [3, 27] Generated Node #0,0,2: 81:[3, 27] Operation: 20+7=27 Exploring Operation: 20-7=13, Resulting Numbers: [3, 13] Generated Node #0,0,3: 81:[3, 13] Operation: 20-7=13 Moving to Node #0,3 Current State: 81:[55, 7, 78], Operations: ['20+58=78'] Exploring Operation: 78-55=23, Resulting Numbers: [7, 23] Generated Node #0,3,0: 81:[7, 23] Operation: 78-55=23 Exploring Operation: 55-7=48, Resulting Numbers: [78, 48] Generated Node #0,3,1: 81:[78, 48] Operation: 55-7=48 Exploring Operation: 55+7=62, Resulting Numbers: [78, 62] Generated Node #0,3,2: 81:[78, 62] Operation: 55+7=62 Exploring Operation: 7+78=85, Resulting Numbers: [55, 85] Generated Node #0,3,3: 81:[55, 85] Operation: 7+78=85 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[7, 23], Operations: ['20+58=78', '78-55=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[78, 62], Operations: ['20+58=78', '55+7=62'] Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 78+62=140, Resulting Numbers: [140] 140,81 unequal: No Solution Exploring Operation: 78*62=4836, Resulting Numbers: [4836] 4836,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[78, 48], Operations: ['20+58=78', '55-7=48'] Exploring Operation: 78+48=126, Resulting Numbers: [126] 126,81 unequal: No Solution Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 78*48=3744, Resulting Numbers: [3744] 3744,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[55, 85], Operations: ['20+58=78', '7+78=85'] Exploring Operation: 55*85=4675, Resulting Numbers: [4675] 4675,81 unequal: No Solution Exploring Operation: 55+85=140, Resulting Numbers: [140] 140,81 unequal: No Solution Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,81 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: 81:[58, 7, 75], Operations: ['20+55=75'] Exploring Operation: 75-58=17, Resulting Numbers: [7, 17] Generated Node #0,1,0: 81:[7, 17] Operation: 75-58=17 Exploring Operation: 58-7=51, Resulting Numbers: [75, 51] Generated Node #0,1,1: 81:[75, 51] Operation: 58-7=51 Exploring Operation: 7+75=82, Resulting Numbers: [58, 82] Generated Node #0,1,2: 81:[58, 82] Operation: 7+75=82 Exploring Operation: 58+7=65, Resulting Numbers: [75, 65] Generated Node #0,1,3: 81:[75, 65] Operation: 58+7=65 Moving to Node #0,2 Current State: 81:[58, 7, 35], Operations: ['55-20=35'] Exploring Operation: 58+35=93, Resulting Numbers: [7, 93] Generated Node #0,2,0: 81:[7, 93] Operation: 58+35=93 Exploring Operation: 58-35=23, Resulting Numbers: [7, 23] Generated Node #0,2,1: 81:[7, 23] Operation: 58-35=23 Exploring Operation: 35-7=28, Resulting Numbers: [58, 28] Generated Node #0,2,2: 81:[58, 28] Operation: 35-7=28 Exploring Operation: 58+7=65, Resulting Numbers: [35, 65] Generated Node #0,2,3: 81:[35, 65] Operation: 58+7=65 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[7, 23], Operations: ['55-20=35', '58-35=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,81 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[7, 93], Operations: ['55-20=35', '58+35=93'] Exploring Operation: 7*93=651, Resulting Numbers: [651] 651,81 unequal: No Solution Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 7+93=100, Resulting Numbers: [100] 100,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[58, 28], Operations: ['55-20=35', '35-7=28'] Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,81 unequal: No Solution Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 81:[35, 65], Operations: ['55-20=35', '58+7=65'] Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 81:[3, 27], Operations: ['58-55=3', '20+7=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[20, 58, 55, 7], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [20, 7, 3] Generated Node #0,0: 81:[20, 7, 3] Operation: 58-55=3 Moving to Node #0,0 Current State: 81:[20, 7, 3], Operations: ['58-55=3'] Exploring Operation: 20+7=27, Resulting Numbers: [3, 27] Generated Node #0,0,2: 81:[3, 27] Operation: 20+7=27 Moving to Node #0,0,2 Current State: 81:[3, 27], Operations: ['58-55=3', '20+7=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 66, 40, 45, 59 ]
30
[ "66*45=2970", "40+59=99", "2970/99=30" ]
Current State: 30:[66, 40, 45, 59], Operations: [] Exploring Operation: 66*45=2970, Resulting Numbers: [40, 59, 2970] Generated Node #2: [40, 59, 2970] from Operation: 66*45=2970 Current State: 30:[40, 59, 2970], Operations: ['66*45=2970'] Exploring Operation: 40+59=99, Resulting Numbers: [2970, 99] Generated Node #3: [2970, 99] from Operation: 40+59=99 Current State: 30:[2970, 99], Operations: ['66*45=2970', '40+59=99'] Exploring Operation: 2970/99=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[66, 40, 45, 59], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [40, 45, 7] Generated Node #0,0: 30:[40, 45, 7] Operation: 66-59=7 Moving to Node #0,0 Current State: 30:[40, 45, 7], Operations: ['66-59=7'] Exploring Operation: 45-40=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 30:[7, 5] Operation: 45-40=5 Moving to Node #0,0,0 Current State: 30:[7, 5], Operations: ['66-59=7', '45-40=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,30 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 45, 24, 2, 11 ]
87
[ "24/2=12", "11*12=132", "132-45=87" ]
Current State: 87:[45, 24, 2, 11], Operations: [] Exploring Operation: 24/2=12, Resulting Numbers: [45, 11, 12] Generated Node #2: [45, 11, 12] from Operation: 24/2=12 Current State: 87:[45, 11, 12], Operations: ['24/2=12'] Exploring Operation: 11*12=132, Resulting Numbers: [45, 132] Generated Node #3: [45, 132] from Operation: 11*12=132 Current State: 87:[45, 132], Operations: ['24/2=12', '11*12=132'] Exploring Operation: 132-45=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[45, 24, 2, 11], Operations: [] Exploring Operation: 45-11=34, Resulting Numbers: [24, 2, 34] Generated Node #0,0: 87:[24, 2, 34] Operation: 45-11=34 Exploring Operation: 45-24=21, Resulting Numbers: [2, 11, 21] Generated Node #0,1: 87:[2, 11, 21] Operation: 45-24=21 Exploring Operation: 24+11=35, Resulting Numbers: [45, 2, 35] Generated Node #0,2: 87:[45, 2, 35] Operation: 24+11=35 Exploring Operation: 45*2=90, Resulting Numbers: [24, 11, 90] Generated Node #0,3: 87:[24, 11, 90] Operation: 45*2=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[24, 2, 34], Operations: ['45-11=34'] Exploring Operation: 34-24=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 87:[2, 10] Operation: 34-24=10 Exploring Operation: 24-2=22, Resulting Numbers: [34, 22] Generated Node #0,0,1: 87:[34, 22] Operation: 24-2=22 Exploring Operation: 24+2=26, Resulting Numbers: [34, 26] Generated Node #0,0,2: 87:[34, 26] Operation: 24+2=26 Exploring Operation: 34-2=32, Resulting Numbers: [24, 32] Generated Node #0,0,3: 87:[24, 32] Operation: 34-2=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[2, 10], Operations: ['45-11=34', '34-24=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[34, 26], Operations: ['45-11=34', '24+2=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,87 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[24, 32], Operations: ['45-11=34', '34-2=32'] Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,87 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[34, 22], Operations: ['45-11=34', '24-2=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,87 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,87 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[24, 11, 90], Operations: ['45*2=90'] Exploring Operation: 24-11=13, Resulting Numbers: [90, 13] Generated Node #0,3,0: 87:[90, 13] Operation: 24-11=13 Exploring Operation: 90-11=79, Resulting Numbers: [24, 79] Generated Node #0,3,1: 87:[24, 79] Operation: 90-11=79 Exploring Operation: 11+90=101, Resulting Numbers: [24, 101] Generated Node #0,3,2: 87:[24, 101] Operation: 11+90=101 Exploring Operation: 24+11=35, Resulting Numbers: [90, 35] Generated Node #0,3,3: 87:[90, 35] Operation: 24+11=35 Moving to Node #0,3,3 Current State: 87:[90, 35], Operations: ['45*2=90', '24+11=35'] Exploring Operation: 90+35=125, Resulting Numbers: [125] 125,87 unequal: No Solution Exploring Operation: 90*35=3150, Resulting Numbers: [3150] 3150,87 unequal: No Solution Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[24, 79], Operations: ['45*2=90', '90-11=79'] Exploring Operation: 24+79=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 24*79=1896, Resulting Numbers: [1896] 1896,87 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[90, 13], Operations: ['45*2=90', '24-11=13'] Exploring Operation: 90*13=1170, Resulting Numbers: [1170] 1170,87 unequal: No Solution Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,87 unequal: No Solution Exploring Operation: 90+13=103, Resulting Numbers: [103] 103,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[24, 101], Operations: ['45*2=90', '11+90=101'] Exploring Operation: 24+101=125, Resulting Numbers: [125] 125,87 unequal: No Solution Exploring Operation: 24*101=2424, Resulting Numbers: [2424] 2424,87 unequal: No Solution Exploring Operation: 101-24=77, Resulting Numbers: [77] 77,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 Current State: 87:[2, 11, 21], Operations: ['45-24=21'] Exploring Operation: 2+21=23, Resulting Numbers: [11, 23] Generated Node #0,1,0: 87:[11, 23] Operation: 2+21=23 Exploring Operation: 11-2=9, Resulting Numbers: [21, 9] Generated Node #0,1,1: 87:[21, 9] Operation: 11-2=9 Exploring Operation: 11+21=32, Resulting Numbers: [2, 32] Generated Node #0,1,2: 87:[2, 32] Operation: 11+21=32 Exploring Operation: 21-11=10, Resulting Numbers: [2, 10] Generated Node #0,1,3: 87:[2, 10] Operation: 21-11=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[2, 32], Operations: ['45-24=21', '11+21=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 87:[2, 10], Operations: ['45-24=21', '21-11=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[11, 23], Operations: ['45-24=21', '2+21=23'] Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,87 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[21, 9], Operations: ['45-24=21', '11-2=9'] Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[45, 2, 35], Operations: ['24+11=35'] Exploring Operation: 45+35=80, Resulting Numbers: [2, 80] Generated Node #0,2,0: 87:[2, 80] Operation: 45+35=80 Exploring Operation: 45-35=10, Resulting Numbers: [2, 10] Generated Node #0,2,1: 87:[2, 10] Operation: 45-35=10 Exploring Operation: 45*2=90, Resulting Numbers: [35, 90] Generated Node #0,2,2: 87:[35, 90] Operation: 45*2=90 Exploring Operation: 45-2=43, Resulting Numbers: [35, 43] Generated Node #0,2,3: 87:[35, 43] Operation: 45-2=43 Moving to Node #0,2,0 Current State: 87:[2, 80], Operations: ['24+11=35', '45+35=80'] Exploring Operation: 2*80=160, Resulting Numbers: [160] 160,87 unequal: No Solution Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[2, 10], Operations: ['24+11=35', '45-35=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[35, 90], Operations: ['24+11=35', '45*2=90'] Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 35+90=125, Resulting Numbers: [125] 125,87 unequal: No Solution Exploring Operation: 35*90=3150, Resulting Numbers: [3150] 3150,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[35, 43], Operations: ['24+11=35', '45-2=43'] Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,87 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,87 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
[ 63, 9, 82, 61 ]
32
[ "63-61=2", "82/2=41", "41-9=32" ]
Current State: 32:[63, 9, 82, 61], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [9, 82, 2] Generated Node #2: [9, 82, 2] from Operation: 63-61=2 Current State: 32:[9, 82, 2], Operations: ['63-61=2'] Exploring Operation: 82/2=41, Resulting Numbers: [9, 41] Generated Node #3: [9, 41] from Operation: 82/2=41 Current State: 32:[9, 41], Operations: ['63-61=2', '82/2=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[63, 9, 82, 61], Operations: [] Exploring Operation: 82-61=21, Resulting Numbers: [63, 9, 21] Generated Node #0,0: 32:[63, 9, 21] Operation: 82-61=21 Exploring Operation: 63/9=7, Resulting Numbers: [82, 61, 7] Generated Node #0,1: 32:[82, 61, 7] Operation: 63/9=7 Exploring Operation: 63-9=54, Resulting Numbers: [82, 61, 54] Generated Node #0,2: 32:[82, 61, 54] Operation: 63-9=54 Exploring Operation: 63-61=2, Resulting Numbers: [9, 82, 2] Generated Node #0,3: 32:[9, 82, 2] Operation: 63-61=2 Exploring Operation: 82-63=19, Resulting Numbers: [9, 61, 19] Generated Node #0,4: 32:[9, 61, 19] Operation: 82-63=19 Start Sub Search at level 1: Moving to Node #0,4 Current State: 32:[9, 61, 19], Operations: ['82-63=19'] Exploring Operation: 9+61=70, Resulting Numbers: [19, 70] Generated Node #0,4,0: 32:[19, 70] Operation: 9+61=70 Exploring Operation: 9+19=28, Resulting Numbers: [61, 28] Generated Node #0,4,1: 32:[61, 28] Operation: 9+19=28 Exploring Operation: 19-9=10, Resulting Numbers: [61, 10] Generated Node #0,4,2: 32:[61, 10] Operation: 19-9=10 Exploring Operation: 61-9=52, Resulting Numbers: [19, 52] Generated Node #0,4,3: 32:[19, 52] Operation: 61-9=52 Exploring Operation: 61-19=42, Resulting Numbers: [9, 42] Generated Node #0,4,4: 32:[9, 42] Operation: 61-19=42 Moving to Node #0,4,4 Current State: 32:[9, 42], Operations: ['82-63=19', '61-19=42'] Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,32 unequal: No Solution Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[19, 52], Operations: ['82-63=19', '61-9=52'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,32 unequal: No Solution Exploring Operation: 19*52=988, Resulting Numbers: [988] 988,32 unequal: No Solution Moving to Node #0,4,2 Current State: 32:[61, 10], Operations: ['82-63=19', '19-9=10'] Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,32 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[61, 28], Operations: ['82-63=19', '9+19=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,32 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[19, 70], Operations: ['82-63=19', '9+61=70'] Exploring Operation: 19*70=1330, Resulting Numbers: [1330] 1330,32 unequal: No Solution Exploring Operation: 19+70=89, Resulting Numbers: [89] 89,32 unequal: No Solution Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,32 unequal: No Solution No 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: 32:[63, 9, 21], Operations: ['82-61=21'] Exploring Operation: 63/21=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 32:[9, 3] Operation: 63/21=3 Exploring Operation: 9+21=30, Resulting Numbers: [63, 30] Generated Node #0,0,1: 32:[63, 30] Operation: 9+21=30 Exploring Operation: 63-21=42, Resulting Numbers: [9, 42] Generated Node #0,0,2: 32:[9, 42] Operation: 63-21=42 Exploring Operation: 63-9=54, Resulting Numbers: [21, 54] Generated Node #0,0,3: 32:[21, 54] Operation: 63-9=54 Exploring Operation: 63/9=7, Resulting Numbers: [21, 7] Generated Node #0,0,4: 32:[21, 7] Operation: 63/9=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[9, 3], Operations: ['82-61=21', '63/21=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 32:[21, 7], Operations: ['82-61=21', '63/9=7'] Exploring Operation: 21*7=147, Resulting Numbers: [147] 147,32 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[9, 42], Operations: ['82-61=21', '63-21=42'] Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 32:[21, 54], Operations: ['82-61=21', '63-9=54'] Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,32 unequal: No Solution Exploring Operation: 21*54=1134, Resulting Numbers: [1134] 1134,32 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[63, 30], Operations: ['82-61=21', '9+21=30'] Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,32 unequal: No Solution Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[9, 82, 2], Operations: ['63-61=2'] Exploring Operation: 9-2=7, Resulting Numbers: [82, 7] Generated Node #0,3,0: 32:[82, 7] Operation: 9-2=7 Exploring Operation: 9*2=18, Resulting Numbers: [82, 18] Generated Node #0,3,1: 32:[82, 18] Operation: 9*2=18 Exploring Operation: 82-2=80, Resulting Numbers: [9, 80] Generated Node #0,3,2: 32:[9, 80] Operation: 82-2=80 Exploring Operation: 82-9=73, Resulting Numbers: [2, 73] Generated Node #0,3,3: 32:[2, 73] Operation: 82-9=73 Exploring Operation: 82/2=41, Resulting Numbers: [9, 41] Generated Node #0,3,4: 32:[9, 41] Operation: 82/2=41 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 32:[9, 41], Operations: ['63-61=2', '82/2=41'] Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,32 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[63, 9, 82, 61], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [9, 82, 2] Generated Node #0,3: 32:[9, 82, 2] Operation: 63-61=2 Moving to Node #0,3 Current State: 32:[9, 82, 2], Operations: ['63-61=2'] Exploring Operation: 82/2=41, Resulting Numbers: [9, 41] Generated Node #0,3,4: 32:[9, 41] Operation: 82/2=41 Moving to Node #0,3,4 Current State: 32:[9, 41], Operations: ['63-61=2', '82/2=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.948785
hs_5
mult_heuristic
[ 98, 50, 22, 22 ]
50
[ "22-22=0", "98*0=0", "50+0=50" ]
Current State: 50:[98, 50, 22, 22], Operations: [] Exploring Operation: 22-22=0, Resulting Numbers: [98, 50, 0] Generated Node #2: [98, 50, 0] from Operation: 22-22=0 Current State: 50:[98, 50, 0], Operations: ['22-22=0'] Exploring Operation: 98*0=0, Resulting Numbers: [50, 0] Generated Node #3: [50, 0] from Operation: 98*0=0 Current State: 50:[50, 0], Operations: ['22-22=0', '98*0=0'] Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[98, 50, 22, 22], Operations: [] Exploring Operation: 22/22=1, Resulting Numbers: [98, 50, 1] Generated Node #0,0: 50:[98, 50, 1] Operation: 22/22=1 Exploring Operation: 98-22=76, Resulting Numbers: [50, 22, 76] Generated Node #0,1: 50:[50, 22, 76] Operation: 98-22=76 Exploring Operation: 22-22=0, Resulting Numbers: [98, 50, 0] Generated Node #0,2: 50:[98, 50, 0] Operation: 22-22=0 Exploring Operation: 98-50=48, Resulting Numbers: [22, 22, 48] Generated Node #0,3: 50:[22, 22, 48] Operation: 98-50=48 Exploring Operation: 98-22=76, Resulting Numbers: [50, 22, 76] Generated Node #0,4: 50:[50, 22, 76] Operation: 98-22=76 Moving to Node #0,3 Current State: 50:[22, 22, 48], Operations: ['98-50=48'] Exploring Operation: 48-22=26, Resulting Numbers: [22, 26] Generated Node #0,3,0: 50:[22, 26] Operation: 48-22=26 Exploring Operation: 48-22=26, Resulting Numbers: [22, 26] Generated Node #0,3,1: 50:[22, 26] Operation: 48-22=26 Exploring Operation: 22+22=44, Resulting Numbers: [48, 44] Generated Node #0,3,2: 50:[48, 44] Operation: 22+22=44 Exploring Operation: 22-22=0, Resulting Numbers: [48, 0] Generated Node #0,3,3: 50:[48, 0] Operation: 22-22=0 Exploring Operation: 22/22=1, Resulting Numbers: [48, 1] Generated Node #0,3,4: 50:[48, 1] Operation: 22/22=1 Moving to Node #0,4 Current State: 50:[50, 22, 76], Operations: ['98-22=76'] Exploring Operation: 76-50=26, Resulting Numbers: [22, 26] Generated Node #0,4,0: 50:[22, 26] Operation: 76-50=26 Exploring Operation: 76-22=54, Resulting Numbers: [50, 54] Generated Node #0,4,1: 50:[50, 54] Operation: 76-22=54 Exploring Operation: 50-22=28, Resulting Numbers: [76, 28] Generated Node #0,4,2: 50:[76, 28] Operation: 50-22=28 Exploring Operation: 50+22=72, Resulting Numbers: [76, 72] Generated Node #0,4,3: 50:[76, 72] Operation: 50+22=72 Exploring Operation: 22+76=98, Resulting Numbers: [50, 98] Generated Node #0,4,4: 50:[50, 98] Operation: 22+76=98 Moving to Node #0,1 Current State: 50:[50, 22, 76], Operations: ['98-22=76'] Exploring Operation: 76-50=26, Resulting Numbers: [22, 26] Generated Node #0,1,0: 50:[22, 26] Operation: 76-50=26 Exploring Operation: 50+22=72, Resulting Numbers: [76, 72] Generated Node #0,1,1: 50:[76, 72] Operation: 50+22=72 Exploring Operation: 50-22=28, Resulting Numbers: [76, 28] Generated Node #0,1,2: 50:[76, 28] Operation: 50-22=28 Exploring Operation: 76-22=54, Resulting Numbers: [50, 54] Generated Node #0,1,3: 50:[50, 54] Operation: 76-22=54 Exploring Operation: 22+76=98, Resulting Numbers: [50, 98] Generated Node #0,1,4: 50:[50, 98] Operation: 22+76=98 Moving to Node #0,0 Current State: 50:[98, 50, 1], Operations: ['22/22=1'] Exploring Operation: 50*1=50, Resulting Numbers: [98, 50] Generated Node #0,0,0: 50:[98, 50] Operation: 50*1=50 Exploring Operation: 98-1=97, Resulting Numbers: [50, 97] Generated Node #0,0,1: 50:[50, 97] Operation: 98-1=97 Exploring Operation: 98-50=48, Resulting Numbers: [1, 48] Generated Node #0,0,2: 50:[1, 48] Operation: 98-50=48 Exploring Operation: 98*1=98, Resulting Numbers: [50, 98] Generated Node #0,0,3: 50:[50, 98] Operation: 98*1=98 Exploring Operation: 98/1=98, Resulting Numbers: [50, 98] Generated Node #0,0,4: 50:[50, 98] Operation: 98/1=98 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[1, 48], Operations: ['22/22=1', '98-50=48'] Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[50, 97], Operations: ['22/22=1', '98-1=97'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,50 unequal: No Solution Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[98, 50], Operations: ['22/22=1', '50*1=50'] Exploring Operation: 98*50=4900, Resulting Numbers: [4900] 4900,50 unequal: No Solution Exploring Operation: 98+50=148, Resulting Numbers: [148] 148,50 unequal: No Solution Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[50, 98], Operations: ['22/22=1', '98*1=98'] Exploring Operation: 50+98=148, Resulting Numbers: [148] 148,50 unequal: No Solution Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 50*98=4900, Resulting Numbers: [4900] 4900,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 50:[50, 98], Operations: ['22/22=1', '98/1=98'] Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 50*98=4900, Resulting Numbers: [4900] 4900,50 unequal: No Solution Exploring Operation: 50+98=148, Resulting Numbers: [148] 148,50 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: 50:[98, 50, 0], Operations: ['22-22=0'] Exploring Operation: 98*0=0, Resulting Numbers: [50, 0] Generated Node #0,2,0: 50:[50, 0] Operation: 98*0=0 Exploring Operation: 98-0=98, Resulting Numbers: [50, 98] Generated Node #0,2,1: 50:[50, 98] Operation: 98-0=98 Exploring Operation: 50+0=50, Resulting Numbers: [98, 50] Generated Node #0,2,2: 50:[98, 50] Operation: 50+0=50 Exploring Operation: 98-50=48, Resulting Numbers: [0, 48] Generated Node #0,2,3: 50:[0, 48] Operation: 98-50=48 Exploring Operation: 98+0=98, Resulting Numbers: [50, 98] Generated Node #0,2,4: 50:[50, 98] Operation: 98+0=98 Moving to Node #0,2,0 Current State: 50:[50, 0], Operations: ['22-22=0', '98*0=0'] Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[98, 50, 22, 22], Operations: [] Exploring Operation: 22-22=0, Resulting Numbers: [98, 50, 0] Generated Node #0,2: 50:[98, 50, 0] Operation: 22-22=0 Moving to Node #0,2 Current State: 50:[98, 50, 0], Operations: ['22-22=0'] Exploring Operation: 98*0=0, Resulting Numbers: [50, 0] Generated Node #0,2,0: 50:[50, 0] Operation: 98*0=0 Moving to Node #0,2,0 Current State: 50:[50, 0], Operations: ['22-22=0', '98*0=0'] Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.955729
hs_5
mult_heuristic
[ 86, 21, 13, 82 ]
32
[ "86-82=4", "21-13=8", "4*8=32" ]
Current State: 32:[86, 21, 13, 82], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [21, 13, 4] Generated Node #2: [21, 13, 4] from Operation: 86-82=4 Current State: 32:[21, 13, 4], Operations: ['86-82=4'] Exploring Operation: 21-13=8, Resulting Numbers: [4, 8] Generated Node #3: [4, 8] from Operation: 21-13=8 Current State: 32:[4, 8], Operations: ['86-82=4', '21-13=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[86, 21, 13, 82], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [21, 13, 4] Generated Node #0,0: 32:[21, 13, 4] Operation: 86-82=4 Moving to Node #0,0 Current State: 32:[21, 13, 4], Operations: ['86-82=4'] Exploring Operation: 21-13=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 32:[4, 8] Operation: 21-13=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[4, 8], Operations: ['86-82=4', '21-13=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[86, 21, 13, 82], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [21, 13, 4] Generated Node #0,0: 32:[21, 13, 4] Operation: 86-82=4 Moving to Node #0,0 Current State: 32:[21, 13, 4], Operations: ['86-82=4'] Exploring Operation: 21-13=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 32:[4, 8] Operation: 21-13=8 Moving to Node #0,0,0 Current State: 32:[4, 8], Operations: ['86-82=4', '21-13=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 14, 29, 65, 57 ]
35
[ "14+29=43", "65-57=8", "43-8=35" ]
Current State: 35:[14, 29, 65, 57], Operations: [] Exploring Operation: 14+29=43, Resulting Numbers: [65, 57, 43] Generated Node #2: [65, 57, 43] from Operation: 14+29=43 Current State: 35:[65, 57, 43], Operations: ['14+29=43'] Exploring Operation: 65-57=8, Resulting Numbers: [43, 8] Generated Node #3: [43, 8] from Operation: 65-57=8 Current State: 35:[43, 8], Operations: ['14+29=43', '65-57=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[14, 29, 65, 57], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [14, 29, 8] Generated Node #0,0: 35:[14, 29, 8] Operation: 65-57=8 Moving to Node #0,0 Current State: 35:[14, 29, 8], Operations: ['65-57=8'] Exploring Operation: 14-8=6, Resulting Numbers: [29, 6] Generated Node #0,0,0: 35:[29, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 35:[29, 6], Operations: ['65-57=8', '14-8=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[14, 29, 65, 57], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [14, 29, 8] Generated Node #0,0: 35:[14, 29, 8] Operation: 65-57=8 Moving to Node #0,0 Current State: 35:[14, 29, 8], Operations: ['65-57=8'] Exploring Operation: 14-8=6, Resulting Numbers: [29, 6] Generated Node #0,0,0: 35:[29, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 35:[29, 6], Operations: ['65-57=8', '14-8=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 35, 87, 92, 93 ]
86
[ "92-87=5", "35/5=7", "93-7=86" ]
Current State: 86:[35, 87, 92, 93], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [35, 93, 5] Generated Node #2: [35, 93, 5] from Operation: 92-87=5 Current State: 86:[35, 93, 5], Operations: ['92-87=5'] Exploring Operation: 35/5=7, Resulting Numbers: [93, 7] Generated Node #3: [93, 7] from Operation: 35/5=7 Current State: 86:[93, 7], Operations: ['92-87=5', '35/5=7'] Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[35, 87, 92, 93], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [35, 87, 1] Generated Node #0,0: 86:[35, 87, 1] Operation: 93-92=1 Exploring Operation: 93-87=6, Resulting Numbers: [35, 92, 6] Generated Node #0,1: 86:[35, 92, 6] Operation: 93-87=6 Exploring Operation: 92-87=5, Resulting Numbers: [35, 93, 5] Generated Node #0,2: 86:[35, 93, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[35, 87, 1], Operations: ['93-92=1'] Exploring Operation: 87-1=86, Resulting Numbers: [35, 86] Generated Node #0,0,0: 86:[35, 86] Operation: 87-1=86 Exploring Operation: 35+1=36, Resulting Numbers: [87, 36] Generated Node #0,0,1: 86:[87, 36] Operation: 35+1=36 Exploring Operation: 35*1=35, Resulting Numbers: [87, 35] Generated Node #0,0,2: 86:[87, 35] Operation: 35*1=35 Moving to Node #0,0,0 Current State: 86:[35, 86], Operations: ['93-92=1', '87-1=86'] Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,86 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[87, 36], Operations: ['93-92=1', '35+1=36'] Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 87+36=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 87*36=3132, Resulting Numbers: [3132] 3132,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[87, 35], Operations: ['93-92=1', '35*1=35'] Exploring Operation: 87+35=122, Resulting Numbers: [122] 122,86 unequal: No Solution Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,86 unequal: No Solution Exploring Operation: 87*35=3045, Resulting Numbers: [3045] 3045,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[35, 92, 6], Operations: ['93-87=6'] Exploring Operation: 92-35=57, Resulting Numbers: [6, 57] Generated Node #0,1,0: 86:[6, 57] Operation: 92-35=57 Exploring Operation: 92-6=86, Resulting Numbers: [35, 86] Generated Node #0,1,1: 86:[35, 86] Operation: 92-6=86 Exploring Operation: 35+6=41, Resulting Numbers: [92, 41] Generated Node #0,1,2: 86:[92, 41] Operation: 35+6=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[35, 86], Operations: ['93-87=6', '92-6=86'] Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,86 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[92, 41], Operations: ['93-87=6', '35+6=41'] Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 92+41=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 92*41=3772, Resulting Numbers: [3772] 3772,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[6, 57], Operations: ['93-87=6', '92-35=57'] Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,86 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[35, 93, 5], Operations: ['92-87=5'] Exploring Operation: 93-5=88, Resulting Numbers: [35, 88] Generated Node #0,2,0: 86:[35, 88] Operation: 93-5=88 Exploring Operation: 35+5=40, Resulting Numbers: [93, 40] Generated Node #0,2,1: 86:[93, 40] Operation: 35+5=40 Exploring Operation: 35/5=7, Resulting Numbers: [93, 7] Generated Node #0,2,2: 86:[93, 7] Operation: 35/5=7 Moving to Node #0,2,0 Current State: 86:[35, 88], Operations: ['92-87=5', '93-5=88'] Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 35+88=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 35*88=3080, Resulting Numbers: [3080] 3080,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[93, 40], Operations: ['92-87=5', '35+5=40'] Exploring Operation: 93+40=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 93*40=3720, Resulting Numbers: [3720] 3720,86 unequal: No Solution Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[93, 7], Operations: ['92-87=5', '35/5=7'] Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[35, 87, 92, 93], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [35, 93, 5] Generated Node #0,2: 86:[35, 93, 5] Operation: 92-87=5 Moving to Node #0,2 Current State: 86:[35, 93, 5], Operations: ['92-87=5'] Exploring Operation: 35/5=7, Resulting Numbers: [93, 7] Generated Node #0,2,2: 86:[93, 7] Operation: 35/5=7 Moving to Node #0,2,2 Current State: 86:[93, 7], Operations: ['92-87=5', '35/5=7'] Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_3
mult_heuristic
[ 8, 1, 97, 41 ]
65
[ "8+1=9", "97-41=56", "9+56=65" ]
Current State: 65:[8, 1, 97, 41], Operations: [] Exploring Operation: 8+1=9, Resulting Numbers: [97, 41, 9] Generated Node #2: [97, 41, 9] from Operation: 8+1=9 Current State: 65:[97, 41, 9], Operations: ['8+1=9'] Exploring Operation: 97-41=56, Resulting Numbers: [9, 56] Generated Node #3: [9, 56] from Operation: 97-41=56 Current State: 65:[9, 56], Operations: ['8+1=9', '97-41=56'] Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[8, 1, 97, 41], Operations: [] Exploring Operation: 97-8=89, Resulting Numbers: [1, 41, 89] Generated Node #0,0: 65:[1, 41, 89] Operation: 97-8=89 Exploring Operation: 97-41=56, Resulting Numbers: [8, 1, 56] Generated Node #0,1: 65:[8, 1, 56] Operation: 97-41=56 Moving to Node #0,1 Current State: 65:[8, 1, 56], Operations: ['97-41=56'] Exploring Operation: 8+56=64, Resulting Numbers: [1, 64] Generated Node #0,1,0: 65:[1, 64] Operation: 8+56=64 Exploring Operation: 56/8=7, Resulting Numbers: [1, 7] Generated Node #0,1,1: 65:[1, 7] Operation: 56/8=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[1, 64], Operations: ['97-41=56', '8+56=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[8, 1, 97, 41], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [8, 1, 56] Generated Node #0,1: 65:[8, 1, 56] Operation: 97-41=56 Moving to Node #0,1 Current State: 65:[8, 1, 56], Operations: ['97-41=56'] Exploring Operation: 8+56=64, Resulting Numbers: [1, 64] Generated Node #0,1,0: 65:[1, 64] Operation: 8+56=64 Moving to Node #0,1,0 Current State: 65:[1, 64], Operations: ['97-41=56', '8+56=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 28, 64, 8, 45 ]
25
[ "45-28=17", "64/8=8", "17+8=25" ]
Current State: 25:[28, 64, 8, 45], Operations: [] Exploring Operation: 45-28=17, Resulting Numbers: [64, 8, 17] Generated Node #2: [64, 8, 17] from Operation: 45-28=17 Current State: 25:[64, 8, 17], Operations: ['45-28=17'] Exploring Operation: 64/8=8, Resulting Numbers: [17, 8] Generated Node #3: [17, 8] from Operation: 64/8=8 Current State: 25:[17, 8], Operations: ['45-28=17', '64/8=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[28, 64, 8, 45], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [28, 45, 8] Generated Node #0,0: 25:[28, 45, 8] Operation: 64/8=8 Exploring Operation: 64-45=19, Resulting Numbers: [28, 8, 19] Generated Node #0,1: 25:[28, 8, 19] Operation: 64-45=19 Exploring Operation: 64-28=36, Resulting Numbers: [8, 45, 36] Generated Node #0,2: 25:[8, 45, 36] Operation: 64-28=36 Moving to Node #0,1 Current State: 25:[28, 8, 19], Operations: ['64-45=19'] Exploring Operation: 28-19=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 25:[8, 9] Operation: 28-19=9 Exploring Operation: 8+19=27, Resulting Numbers: [28, 27] Generated Node #0,1,1: 25:[28, 27] Operation: 8+19=27 Exploring Operation: 19-8=11, Resulting Numbers: [28, 11] Generated Node #0,1,2: 25:[28, 11] Operation: 19-8=11 Moving to Node #0,0 Current State: 25:[28, 45, 8], Operations: ['64/8=8'] Exploring Operation: 45-28=17, Resulting Numbers: [8, 17] Generated Node #0,0,0: 25:[8, 17] Operation: 45-28=17 Exploring Operation: 28-8=20, Resulting Numbers: [45, 20] Generated Node #0,0,1: 25:[45, 20] Operation: 28-8=20 Exploring Operation: 45-8=37, Resulting Numbers: [28, 37] Generated Node #0,0,2: 25:[28, 37] Operation: 45-8=37 Moving to Node #0,2 Current State: 25:[8, 45, 36], Operations: ['64-28=36'] Exploring Operation: 45-36=9, Resulting Numbers: [8, 9] Generated Node #0,2,0: 25:[8, 9] Operation: 45-36=9 Exploring Operation: 36-8=28, Resulting Numbers: [45, 28] Generated Node #0,2,1: 25:[45, 28] Operation: 36-8=28 Exploring Operation: 45-8=37, Resulting Numbers: [36, 37] Generated Node #0,2,2: 25:[36, 37] Operation: 45-8=37 Moving to Node #0,1,1 Current State: 25:[28, 27], Operations: ['64-45=19', '8+19=27'] Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[8, 9], Operations: ['64-28=36', '45-36=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[8, 9], Operations: ['64-45=19', '28-19=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[28, 11], Operations: ['64-45=19', '19-8=11'] Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,25 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[8, 17], Operations: ['64/8=8', '45-28=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,25 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[28, 64, 8, 45], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [28, 45, 8] Generated Node #0,0: 25:[28, 45, 8] Operation: 64/8=8 Moving to Node #0,0 Current State: 25:[28, 45, 8], Operations: ['64/8=8'] Exploring Operation: 45-28=17, Resulting Numbers: [8, 17] Generated Node #0,0,0: 25:[8, 17] Operation: 45-28=17 Moving to Node #0,0,0 Current State: 25:[8, 17], Operations: ['64/8=8', '45-28=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.97309
hs_3
mult_heuristic
[ 50, 2, 42, 45 ]
49
[ "50+2=52", "45-42=3", "52-3=49" ]
Current State: 49:[50, 2, 42, 45], Operations: [] Exploring Operation: 50+2=52, Resulting Numbers: [42, 45, 52] Generated Node #2: [42, 45, 52] from Operation: 50+2=52 Current State: 49:[42, 45, 52], Operations: ['50+2=52'] Exploring Operation: 45-42=3, Resulting Numbers: [52, 3] Generated Node #3: [52, 3] from Operation: 45-42=3 Current State: 49:[52, 3], Operations: ['50+2=52', '45-42=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[50, 2, 42, 45], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [2, 45, 8] Generated Node #0,0: 49:[2, 45, 8] Operation: 50-42=8 Exploring Operation: 2+42=44, Resulting Numbers: [50, 45, 44] Generated Node #0,1: 49:[50, 45, 44] Operation: 2+42=44 Moving to Node #0,0 Current State: 49:[2, 45, 8], Operations: ['50-42=8'] Exploring Operation: 2+45=47, Resulting Numbers: [8, 47] Generated Node #0,0,0: 49:[8, 47] Operation: 2+45=47 Exploring Operation: 8-2=6, Resulting Numbers: [45, 6] Generated Node #0,0,1: 49:[45, 6] Operation: 8-2=6 Moving to Node #0,1 Current State: 49:[50, 45, 44], Operations: ['2+42=44'] Exploring Operation: 50-45=5, Resulting Numbers: [44, 5] Generated Node #0,1,0: 49:[44, 5] Operation: 50-45=5 Exploring Operation: 50-44=6, Resulting Numbers: [45, 6] Generated Node #0,1,1: 49:[45, 6] Operation: 50-44=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[45, 6], Operations: ['2+42=44', '50-44=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[44, 5], Operations: ['2+42=44', '50-45=5'] Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[50, 2, 42, 45], Operations: [] Exploring Operation: 2+42=44, Resulting Numbers: [50, 45, 44] Generated Node #0,1: 49:[50, 45, 44] Operation: 2+42=44 Moving to Node #0,1 Current State: 49:[50, 45, 44], Operations: ['2+42=44'] Exploring Operation: 50-45=5, Resulting Numbers: [44, 5] Generated Node #0,1,0: 49:[44, 5] Operation: 50-45=5 Moving to Node #0,1,0 Current State: 49:[44, 5], Operations: ['2+42=44', '50-45=5'] Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
mult_heuristic
[ 75, 2, 37, 46 ]
16
[ "75-37=38", "46-38=8", "2*8=16" ]
Current State: 16:[75, 2, 37, 46], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [2, 46, 38] Generated Node #2: [2, 46, 38] from Operation: 75-37=38 Current State: 16:[2, 46, 38], Operations: ['75-37=38'] Exploring Operation: 46-38=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 46-38=8 Current State: 16:[2, 8], Operations: ['75-37=38', '46-38=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[75, 2, 37, 46], Operations: [] Exploring Operation: 75-2=73, Resulting Numbers: [37, 46, 73] Generated Node #0,0: 16:[37, 46, 73] Operation: 75-2=73 Exploring Operation: 46/2=23, Resulting Numbers: [75, 37, 23] Generated Node #0,1: 16:[75, 37, 23] Operation: 46/2=23 Exploring Operation: 46-37=9, Resulting Numbers: [75, 2, 9] Generated Node #0,2: 16:[75, 2, 9] Operation: 46-37=9 Exploring Operation: 75-37=38, Resulting Numbers: [2, 46, 38] Generated Node #0,3: 16:[2, 46, 38] Operation: 75-37=38 Exploring Operation: 75-46=29, Resulting Numbers: [2, 37, 29] Generated Node #0,4: 16:[2, 37, 29] Operation: 75-46=29 Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[2, 37, 29], Operations: ['75-46=29'] Exploring Operation: 37-29=8, Resulting Numbers: [2, 8] Generated Node #0,4,0: 16:[2, 8] Operation: 37-29=8 Exploring Operation: 29-2=27, Resulting Numbers: [37, 27] Generated Node #0,4,1: 16:[37, 27] Operation: 29-2=27 Exploring Operation: 2+29=31, Resulting Numbers: [37, 31] Generated Node #0,4,2: 16:[37, 31] Operation: 2+29=31 Exploring Operation: 37-2=35, Resulting Numbers: [29, 35] Generated Node #0,4,3: 16:[29, 35] Operation: 37-2=35 Exploring Operation: 2+37=39, Resulting Numbers: [29, 39] Generated Node #0,4,4: 16:[29, 39] Operation: 2+37=39 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 16:[2, 8], Operations: ['75-46=29', '37-29=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[75, 2, 37, 46], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [2, 37, 29] Generated Node #0,4: 16:[2, 37, 29] Operation: 75-46=29 Moving to Node #0,4 Current State: 16:[2, 37, 29], Operations: ['75-46=29'] Exploring Operation: 37-29=8, Resulting Numbers: [2, 8] Generated Node #0,4,0: 16:[2, 8] Operation: 37-29=8 Moving to Node #0,4,0 Current State: 16:[2, 8], Operations: ['75-46=29', '37-29=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 18, 67, 58, 72 ]
74
[ "67-58=9", "18/9=2", "72+2=74" ]
Current State: 74:[18, 67, 58, 72], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [18, 72, 9] Generated Node #2: [18, 72, 9] from Operation: 67-58=9 Current State: 74:[18, 72, 9], Operations: ['67-58=9'] Exploring Operation: 18/9=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 18/9=2 Current State: 74:[72, 2], Operations: ['67-58=9', '18/9=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[18, 67, 58, 72], Operations: [] Exploring Operation: 18+58=76, Resulting Numbers: [67, 72, 76] Generated Node #0,0: 74:[67, 72, 76] Operation: 18+58=76 Exploring Operation: 58-18=40, Resulting Numbers: [67, 72, 40] Generated Node #0,1: 74:[67, 72, 40] Operation: 58-18=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[67, 72, 76], Operations: ['18+58=76'] Exploring Operation: 76-67=9, Resulting Numbers: [72, 9] Generated Node #0,0,0: 74:[72, 9] Operation: 76-67=9 Exploring Operation: 72-67=5, Resulting Numbers: [76, 5] Generated Node #0,0,1: 74:[76, 5] Operation: 72-67=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[76, 5], Operations: ['18+58=76', '72-67=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,74 unequal: No Solution No 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: 74:[72, 9], Operations: ['18+58=76', '76-67=9'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,74 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: 74:[67, 72, 40], Operations: ['58-18=40'] Exploring Operation: 72-67=5, Resulting Numbers: [40, 5] Generated Node #0,1,0: 74:[40, 5] Operation: 72-67=5 Exploring Operation: 67-40=27, Resulting Numbers: [72, 27] Generated Node #0,1,1: 74:[72, 27] Operation: 67-40=27 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[40, 5], Operations: ['58-18=40', '72-67=5'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,74 unequal: No Solution No 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: 74:[72, 27], Operations: ['58-18=40', '67-40=27'] Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,74 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
[ 47, 32, 77, 82 ]
75
[ "47-32=15", "82-77=5", "15*5=75" ]
Current State: 75:[47, 32, 77, 82], Operations: [] Exploring Operation: 47-32=15, Resulting Numbers: [77, 82, 15] Generated Node #2: [77, 82, 15] from Operation: 47-32=15 Current State: 75:[77, 82, 15], Operations: ['47-32=15'] Exploring Operation: 82-77=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 82-77=5 Current State: 75:[15, 5], Operations: ['47-32=15', '82-77=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[47, 32, 77, 82], Operations: [] Exploring Operation: 47+32=79, Resulting Numbers: [77, 82, 79] Generated Node #0,0: 75:[77, 82, 79] Operation: 47+32=79 Exploring Operation: 77-47=30, Resulting Numbers: [32, 82, 30] Generated Node #0,1: 75:[32, 82, 30] Operation: 77-47=30 Exploring Operation: 47-32=15, Resulting Numbers: [77, 82, 15] Generated Node #0,2: 75:[77, 82, 15] Operation: 47-32=15 Exploring Operation: 82-47=35, Resulting Numbers: [32, 77, 35] Generated Node #0,3: 75:[32, 77, 35] Operation: 82-47=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[77, 82, 15], Operations: ['47-32=15'] Exploring Operation: 82-77=5, Resulting Numbers: [15, 5] Generated Node #0,2,0: 75:[15, 5] Operation: 82-77=5 Exploring Operation: 82-15=67, Resulting Numbers: [77, 67] Generated Node #0,2,1: 75:[77, 67] Operation: 82-15=67 Exploring Operation: 77+15=92, Resulting Numbers: [82, 92] Generated Node #0,2,2: 75:[82, 92] Operation: 77+15=92 Exploring Operation: 77-15=62, Resulting Numbers: [82, 62] Generated Node #0,2,3: 75:[82, 62] Operation: 77-15=62 Moving to Node #0,2,0 Current State: 75:[15, 5], Operations: ['47-32=15', '82-77=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[47, 32, 77, 82], Operations: [] Exploring Operation: 47-32=15, Resulting Numbers: [77, 82, 15] Generated Node #0,2: 75:[77, 82, 15] Operation: 47-32=15 Moving to Node #0,2 Current State: 75:[77, 82, 15], Operations: ['47-32=15'] Exploring Operation: 82-77=5, Resulting Numbers: [15, 5] Generated Node #0,2,0: 75:[15, 5] Operation: 82-77=5 Moving to Node #0,2,0 Current State: 75:[15, 5], Operations: ['47-32=15', '82-77=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 17, 18, 66, 20 ]
16
[ "20-17=3", "66-18=48", "48/3=16" ]
Current State: 16:[17, 18, 66, 20], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [18, 66, 3] Generated Node #2: [18, 66, 3] from Operation: 20-17=3 Current State: 16:[18, 66, 3], Operations: ['20-17=3'] Exploring Operation: 66-18=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 66-18=48 Current State: 16:[3, 48], Operations: ['20-17=3', '66-18=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[17, 18, 66, 20], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [17, 66, 2] Generated Node #0,0: 16:[17, 66, 2] Operation: 20-18=2 Exploring Operation: 66-20=46, Resulting Numbers: [17, 18, 46] Generated Node #0,1: 16:[17, 18, 46] Operation: 66-20=46 Exploring Operation: 66-17=49, Resulting Numbers: [18, 20, 49] Generated Node #0,2: 16:[18, 20, 49] Operation: 66-17=49 Exploring Operation: 66-18=48, Resulting Numbers: [17, 20, 48] Generated Node #0,3: 16:[17, 20, 48] Operation: 66-18=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[17, 18, 46], Operations: ['66-20=46'] Exploring Operation: 17+18=35, Resulting Numbers: [46, 35] Generated Node #0,1,0: 16:[46, 35] Operation: 17+18=35 Exploring Operation: 18-17=1, Resulting Numbers: [46, 1] Generated Node #0,1,1: 16:[46, 1] Operation: 18-17=1 Exploring Operation: 46-17=29, Resulting Numbers: [18, 29] Generated Node #0,1,2: 16:[18, 29] Operation: 46-17=29 Exploring Operation: 46-18=28, Resulting Numbers: [17, 28] Generated Node #0,1,3: 16:[17, 28] Operation: 46-18=28 Moving to Node #0,1,3 Current State: 16:[17, 28], Operations: ['66-20=46', '46-18=28'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[18, 29], Operations: ['66-20=46', '46-17=29'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,16 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[46, 1], Operations: ['66-20=46', '18-17=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,16 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,16 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[46, 35], Operations: ['66-20=46', '17+18=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,16 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[17, 20, 48], Operations: ['66-18=48'] Exploring Operation: 17+20=37, Resulting Numbers: [48, 37] Generated Node #0,3,0: 16:[48, 37] Operation: 17+20=37 Exploring Operation: 48-17=31, Resulting Numbers: [20, 31] Generated Node #0,3,1: 16:[20, 31] Operation: 48-17=31 Exploring Operation: 48-20=28, Resulting Numbers: [17, 28] Generated Node #0,3,2: 16:[17, 28] Operation: 48-20=28 Exploring Operation: 20-17=3, Resulting Numbers: [48, 3] Generated Node #0,3,3: 16:[48, 3] Operation: 20-17=3 Moving to Node #0,3,2 Current State: 16:[17, 28], Operations: ['66-18=48', '48-20=28'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[20, 31], Operations: ['66-18=48', '48-17=31'] Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,16 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[48, 3], Operations: ['66-18=48', '20-17=3'] Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,16 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[17, 18, 66, 20], Operations: [] Exploring Operation: 66-18=48, Resulting Numbers: [17, 20, 48] Generated Node #0,3: 16:[17, 20, 48] Operation: 66-18=48 Moving to Node #0,3 Current State: 16:[17, 20, 48], Operations: ['66-18=48'] Exploring Operation: 20-17=3, Resulting Numbers: [48, 3] Generated Node #0,3,3: 16:[48, 3] Operation: 20-17=3 Moving to Node #0,3,3 Current State: 16:[48, 3], Operations: ['66-18=48', '20-17=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
mult_heuristic
[ 1, 72, 38, 35 ]
25
[ "38-35=3", "72/3=24", "1+24=25" ]
Current State: 25:[1, 72, 38, 35], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [1, 72, 3] Generated Node #2: [1, 72, 3] from Operation: 38-35=3 Current State: 25:[1, 72, 3], Operations: ['38-35=3'] Exploring Operation: 72/3=24, Resulting Numbers: [1, 24] Generated Node #3: [1, 24] from Operation: 72/3=24 Current State: 25:[1, 24], Operations: ['38-35=3', '72/3=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[1, 72, 38, 35], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [1, 72, 3] Generated Node #0,0: 25:[1, 72, 3] Operation: 38-35=3 Exploring Operation: 72-1=71, Resulting Numbers: [38, 35, 71] Generated Node #0,1: 25:[38, 35, 71] Operation: 72-1=71 Exploring Operation: 72-35=37, Resulting Numbers: [1, 38, 37] Generated Node #0,2: 25:[1, 38, 37] Operation: 72-35=37 Exploring Operation: 72-38=34, Resulting Numbers: [1, 35, 34] Generated Node #0,3: 25:[1, 35, 34] Operation: 72-38=34 Exploring Operation: 38-1=37, Resulting Numbers: [72, 35, 37] Generated Node #0,4: 25:[72, 35, 37] Operation: 38-1=37 Moving to Node #0,3 Current State: 25:[1, 35, 34], Operations: ['72-38=34'] Exploring Operation: 35-1=34, Resulting Numbers: [34, 34] Generated Node #0,3,0: 25:[34, 34] Operation: 35-1=34 Exploring Operation: 34-1=33, Resulting Numbers: [35, 33] Generated Node #0,3,1: 25:[35, 33] Operation: 34-1=33 Exploring Operation: 35/1=35, Resulting Numbers: [34, 35] Generated Node #0,3,2: 25:[34, 35] Operation: 35/1=35 Exploring Operation: 1*35=35, Resulting Numbers: [34, 35] Generated Node #0,3,3: 25:[34, 35] Operation: 1*35=35 Exploring Operation: 35-34=1, Resulting Numbers: [1, 1] Generated Node #0,3,4: 25:[1, 1] Operation: 35-34=1 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[1, 1], Operations: ['72-38=34', '35-34=1'] Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[34, 34], Operations: ['72-38=34', '35-1=34'] Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,25 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[35, 33], Operations: ['72-38=34', '34-1=33'] Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[34, 35], Operations: ['72-38=34', '35/1=35'] Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,25 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,25 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[34, 35], Operations: ['72-38=34', '1*35=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,25 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 25:[1, 38, 37], Operations: ['72-35=37'] Exploring Operation: 38/1=38, Resulting Numbers: [37, 38] Generated Node #0,2,0: 25:[37, 38] Operation: 38/1=38 Exploring Operation: 38-1=37, Resulting Numbers: [37, 37] Generated Node #0,2,1: 25:[37, 37] Operation: 38-1=37 Exploring Operation: 1*38=38, Resulting Numbers: [37, 38] Generated Node #0,2,2: 25:[37, 38] Operation: 1*38=38 Exploring Operation: 38-37=1, Resulting Numbers: [1, 1] Generated Node #0,2,3: 25:[1, 1] Operation: 38-37=1 Exploring Operation: 37-1=36, Resulting Numbers: [38, 36] Generated Node #0,2,4: 25:[38, 36] Operation: 37-1=36 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[1, 1], Operations: ['72-35=37', '38-37=1'] Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[37, 37], Operations: ['72-35=37', '38-1=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 37*37=1369, Resulting Numbers: [1369] 1369,25 unequal: No Solution Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 25:[38, 36], Operations: ['72-35=37', '37-1=36'] Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,25 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,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:[37, 38], Operations: ['72-35=37', '38/1=38'] Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,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:[37, 38], Operations: ['72-35=37', '1*38=38'] Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,25 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 25:[1, 72, 3], Operations: ['38-35=3'] Exploring Operation: 72-1=71, Resulting Numbers: [3, 71] Generated Node #0,0,0: 25:[3, 71] Operation: 72-1=71 Exploring Operation: 72/3=24, Resulting Numbers: [1, 24] Generated Node #0,0,1: 25:[1, 24] Operation: 72/3=24 Exploring Operation: 72-3=69, Resulting Numbers: [1, 69] Generated Node #0,0,2: 25:[1, 69] Operation: 72-3=69 Exploring Operation: 1*72=72, Resulting Numbers: [3, 72] Generated Node #0,0,3: 25:[3, 72] Operation: 1*72=72 Exploring Operation: 1+3=4, Resulting Numbers: [72, 4] Generated Node #0,0,4: 25:[72, 4] Operation: 1+3=4 Moving to Node #0,1 Current State: 25:[38, 35, 71], Operations: ['72-1=71'] Exploring Operation: 71-35=36, Resulting Numbers: [38, 36] Generated Node #0,1,0: 25:[38, 36] Operation: 71-35=36 Exploring Operation: 38+35=73, Resulting Numbers: [71, 73] Generated Node #0,1,1: 25:[71, 73] Operation: 38+35=73 Exploring Operation: 71-38=33, Resulting Numbers: [35, 33] Generated Node #0,1,2: 25:[35, 33] Operation: 71-38=33 Exploring Operation: 38-35=3, Resulting Numbers: [71, 3] Generated Node #0,1,3: 25:[71, 3] Operation: 38-35=3 Exploring Operation: 38+71=109, Resulting Numbers: [35, 109] Generated Node #0,1,4: 25:[35, 109] Operation: 38+71=109 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[35, 33], Operations: ['72-1=71', '71-38=33'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,25 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[38, 36], Operations: ['72-1=71', '71-35=36'] Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,25 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[71, 3], Operations: ['72-1=71', '38-35=3'] Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,25 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[71, 73], Operations: ['72-1=71', '38+35=73'] Exploring Operation: 71*73=5183, Resulting Numbers: [5183] 5183,25 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 71+73=144, Resulting Numbers: [144] 144,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 25:[35, 109], Operations: ['72-1=71', '38+71=109'] Exploring Operation: 35*109=3815, Resulting Numbers: [3815] 3815,25 unequal: No Solution Exploring Operation: 109-35=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 35+109=144, Resulting Numbers: [144] 144,25 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: 25:[72, 35, 37], Operations: ['38-1=37'] Exploring Operation: 37-35=2, Resulting Numbers: [72, 2] Generated Node #0,4,0: 25:[72, 2] Operation: 37-35=2 Exploring Operation: 72-37=35, Resulting Numbers: [35, 35] Generated Node #0,4,1: 25:[35, 35] Operation: 72-37=35 Exploring Operation: 72+37=109, Resulting Numbers: [35, 109] Generated Node #0,4,2: 25:[35, 109] Operation: 72+37=109 Exploring Operation: 72-35=37, Resulting Numbers: [37, 37] Generated Node #0,4,3: 25:[37, 37] Operation: 72-35=37 Exploring Operation: 72+35=107, Resulting Numbers: [37, 107] Generated Node #0,4,4: 25:[37, 107] Operation: 72+35=107 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[35, 35], Operations: ['38-1=37', '72-37=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,25 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[37, 37], Operations: ['38-1=37', '72-35=37'] Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 37*37=1369, Resulting Numbers: [1369] 1369,25 unequal: No Solution Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 25:[72, 2], Operations: ['38-1=37', '37-35=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 25:[35, 109], Operations: ['38-1=37', '72+37=109'] Exploring Operation: 109-35=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 35+109=144, Resulting Numbers: [144] 144,25 unequal: No Solution Exploring Operation: 35*109=3815, Resulting Numbers: [3815] 3815,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 25:[37, 107], Operations: ['38-1=37', '72+35=107'] Exploring Operation: 37*107=3959, Resulting Numbers: [3959] 3959,25 unequal: No Solution Exploring Operation: 37+107=144, Resulting Numbers: [144] 144,25 unequal: No Solution Exploring Operation: 107-37=70, Resulting Numbers: [70] 70,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 25:[1, 24], Operations: ['38-35=3', '72/3=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[1, 72, 38, 35], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [1, 72, 3] Generated Node #0,0: 25:[1, 72, 3] Operation: 38-35=3 Moving to Node #0,0 Current State: 25:[1, 72, 3], Operations: ['38-35=3'] Exploring Operation: 72/3=24, Resulting Numbers: [1, 24] Generated Node #0,0,1: 25:[1, 24] Operation: 72/3=24 Moving to Node #0,0,1 Current State: 25:[1, 24], Operations: ['38-35=3', '72/3=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.91059
hs_5
mult_heuristic
[ 77, 83, 17, 74 ]
51
[ "83-77=6", "74-17=57", "57-6=51" ]
Current State: 51:[77, 83, 17, 74], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [17, 74, 6] Generated Node #2: [17, 74, 6] from Operation: 83-77=6 Current State: 51:[17, 74, 6], Operations: ['83-77=6'] Exploring Operation: 74-17=57, Resulting Numbers: [6, 57] Generated Node #3: [6, 57] from Operation: 74-17=57 Current State: 51:[6, 57], Operations: ['83-77=6', '74-17=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[77, 83, 17, 74], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [17, 74, 6] Generated Node #0,0: 51:[17, 74, 6] Operation: 83-77=6 Moving to Node #0,0 Current State: 51:[17, 74, 6], Operations: ['83-77=6'] Exploring Operation: 74-17=57, Resulting Numbers: [6, 57] Generated Node #0,0,0: 51:[6, 57] Operation: 74-17=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[6, 57], Operations: ['83-77=6', '74-17=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[77, 83, 17, 74], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [17, 74, 6] Generated Node #0,0: 51:[17, 74, 6] Operation: 83-77=6 Moving to Node #0,0 Current State: 51:[17, 74, 6], Operations: ['83-77=6'] Exploring Operation: 74-17=57, Resulting Numbers: [6, 57] Generated Node #0,0,0: 51:[6, 57] Operation: 74-17=57 Moving to Node #0,0,0 Current State: 51:[6, 57], Operations: ['83-77=6', '74-17=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 28, 40, 42, 45 ]
99
[ "40-28=12", "42+45=87", "12+87=99" ]
Current State: 99:[28, 40, 42, 45], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [42, 45, 12] Generated Node #2: [42, 45, 12] from Operation: 40-28=12 Current State: 99:[42, 45, 12], Operations: ['40-28=12'] Exploring Operation: 42+45=87, Resulting Numbers: [12, 87] Generated Node #3: [12, 87] from Operation: 42+45=87 Current State: 99:[12, 87], Operations: ['40-28=12', '42+45=87'] Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[28, 40, 42, 45], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [28, 40, 3] Generated Node #0,0: 99:[28, 40, 3] Operation: 45-42=3 Exploring Operation: 45-40=5, Resulting Numbers: [28, 42, 5] Generated Node #0,1: 99:[28, 42, 5] Operation: 45-40=5 Moving to Node #0,0 Current State: 99:[28, 40, 3], Operations: ['45-42=3'] Exploring Operation: 28+3=31, Resulting Numbers: [40, 31] Generated Node #0,0,0: 99:[40, 31] Operation: 28+3=31 Exploring Operation: 40-28=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 99:[3, 12] Operation: 40-28=12 Moving to Node #0,1 Current State: 99:[28, 42, 5], Operations: ['45-40=5'] Exploring Operation: 42-28=14, Resulting Numbers: [5, 14] Generated Node #0,1,0: 99:[5, 14] Operation: 42-28=14 Exploring Operation: 28+5=33, Resulting Numbers: [42, 33] Generated Node #0,1,1: 99:[42, 33] Operation: 28+5=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[5, 14], Operations: ['45-40=5', '42-28=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,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:[42, 33], Operations: ['45-40=5', '28+5=33'] Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,99 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: 99:[3, 12], Operations: ['45-42=3', '40-28=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[40, 31], Operations: ['45-42=3', '28+3=31'] Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 13, 16, 30, 38 ]
48
[ "16-13=3", "30/3=10", "38+10=48" ]
Current State: 48:[13, 16, 30, 38], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [30, 38, 3] Generated Node #2: [30, 38, 3] from Operation: 16-13=3 Current State: 48:[30, 38, 3], Operations: ['16-13=3'] Exploring Operation: 30/3=10, Resulting Numbers: [38, 10] Generated Node #3: [38, 10] from Operation: 30/3=10 Current State: 48:[38, 10], Operations: ['16-13=3', '30/3=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 16, 30, 38], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [13, 16, 8] Generated Node #0,0: 48:[13, 16, 8] Operation: 38-30=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[13, 16, 8], Operations: ['38-30=8'] Exploring Operation: 16-13=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 48:[8, 3] Operation: 16-13=3 Moving to Node #0,0,0 Current State: 48:[8, 3], Operations: ['38-30=8', '16-13=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,48 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
[ 75, 62, 33, 68 ]
36
[ "75+62=137", "33+68=101", "137-101=36" ]
Current State: 36:[75, 62, 33, 68], Operations: [] Exploring Operation: 75+62=137, Resulting Numbers: [33, 68, 137] Generated Node #2: [33, 68, 137] from Operation: 75+62=137 Current State: 36:[33, 68, 137], Operations: ['75+62=137'] Exploring Operation: 33+68=101, Resulting Numbers: [137, 101] Generated Node #3: [137, 101] from Operation: 33+68=101 Current State: 36:[137, 101], Operations: ['75+62=137', '33+68=101'] Exploring Operation: 137-101=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[75, 62, 33, 68], Operations: [] Exploring Operation: 68-33=35, Resulting Numbers: [75, 62, 35] Generated Node #0,0: 36:[75, 62, 35] Operation: 68-33=35 Exploring Operation: 68-62=6, Resulting Numbers: [75, 33, 6] Generated Node #0,1: 36:[75, 33, 6] Operation: 68-62=6 Exploring Operation: 75-33=42, Resulting Numbers: [62, 68, 42] Generated Node #0,2: 36:[62, 68, 42] Operation: 75-33=42 Exploring Operation: 75-68=7, Resulting Numbers: [62, 33, 7] Generated Node #0,3: 36:[62, 33, 7] Operation: 75-68=7 Exploring Operation: 75-62=13, Resulting Numbers: [33, 68, 13] Generated Node #0,4: 36:[33, 68, 13] Operation: 75-62=13 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[62, 33, 7], Operations: ['75-68=7'] Exploring Operation: 62-7=55, Resulting Numbers: [33, 55] Generated Node #0,3,0: 36:[33, 55] Operation: 62-7=55 Exploring Operation: 62+7=69, Resulting Numbers: [33, 69] Generated Node #0,3,1: 36:[33, 69] Operation: 62+7=69 Exploring Operation: 33-7=26, Resulting Numbers: [62, 26] Generated Node #0,3,2: 36:[62, 26] Operation: 33-7=26 Exploring Operation: 62-33=29, Resulting Numbers: [7, 29] Generated Node #0,3,3: 36:[7, 29] Operation: 62-33=29 Exploring Operation: 33+7=40, Resulting Numbers: [62, 40] Generated Node #0,3,4: 36:[62, 40] Operation: 33+7=40 Moving to Node #0,3,3 Current State: 36:[7, 29], Operations: ['75-68=7', '62-33=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[75, 62, 33, 68], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [62, 33, 7] Generated Node #0,3: 36:[62, 33, 7] Operation: 75-68=7 Moving to Node #0,3 Current State: 36:[62, 33, 7], Operations: ['75-68=7'] Exploring Operation: 62-33=29, Resulting Numbers: [7, 29] Generated Node #0,3,3: 36:[7, 29] Operation: 62-33=29 Moving to Node #0,3,3 Current State: 36:[7, 29], Operations: ['75-68=7', '62-33=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 10, 27, 1, 57 ]
95
[ "10+27=37", "1+57=58", "37+58=95" ]
Current State: 95:[10, 27, 1, 57], Operations: [] Exploring Operation: 10+27=37, Resulting Numbers: [1, 57, 37] Generated Node #2: [1, 57, 37] from Operation: 10+27=37 Current State: 95:[1, 57, 37], Operations: ['10+27=37'] Exploring Operation: 1+57=58, Resulting Numbers: [37, 58] Generated Node #3: [37, 58] from Operation: 1+57=58 Current State: 95:[37, 58], Operations: ['10+27=37', '1+57=58'] Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[10, 27, 1, 57], Operations: [] Exploring Operation: 10+57=67, Resulting Numbers: [27, 1, 67] Generated Node #0,0: 95:[27, 1, 67] Operation: 10+57=67 Exploring Operation: 27+57=84, Resulting Numbers: [10, 1, 84] Generated Node #0,1: 95:[10, 1, 84] Operation: 27+57=84 Exploring Operation: 57-27=30, Resulting Numbers: [10, 1, 30] Generated Node #0,2: 95:[10, 1, 30] Operation: 57-27=30 Moving to Node #0,1 Current State: 95:[10, 1, 84], Operations: ['27+57=84'] Exploring Operation: 10-1=9, Resulting Numbers: [84, 9] Generated Node #0,1,0: 95:[84, 9] Operation: 10-1=9 Exploring Operation: 1+84=85, Resulting Numbers: [10, 85] Generated Node #0,1,1: 95:[10, 85] Operation: 1+84=85 Exploring Operation: 10+84=94, Resulting Numbers: [1, 94] Generated Node #0,1,2: 95:[1, 94] Operation: 10+84=94 Moving to Node #0,2 Current State: 95:[10, 1, 30], Operations: ['57-27=30'] Exploring Operation: 30-10=20, Resulting Numbers: [1, 20] Generated Node #0,2,0: 95:[1, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [1, 3] Generated Node #0,2,1: 95:[1, 3] Operation: 30/10=3 Exploring Operation: 10-1=9, Resulting Numbers: [30, 9] Generated Node #0,2,2: 95:[30, 9] Operation: 10-1=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[1, 20], Operations: ['57-27=30', '30-10=20'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,95 unequal: No Solution No 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: 95:[1, 3], Operations: ['57-27=30', '30/10=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,95 unequal: No Solution No 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: 95:[30, 9], Operations: ['57-27=30', '10-1=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,95 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: 95:[27, 1, 67], Operations: ['10+57=67'] Exploring Operation: 27-1=26, Resulting Numbers: [67, 26] Generated Node #0,0,0: 95:[67, 26] Operation: 27-1=26 Exploring Operation: 27+67=94, Resulting Numbers: [1, 94] Generated Node #0,0,1: 95:[1, 94] Operation: 27+67=94 Exploring Operation: 67-27=40, Resulting Numbers: [1, 40] Generated Node #0,0,2: 95:[1, 40] Operation: 67-27=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[1, 94], Operations: ['10+57=67', '27+67=94'] Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[10, 27, 1, 57], Operations: [] Exploring Operation: 10+57=67, Resulting Numbers: [27, 1, 67] Generated Node #0,0: 95:[27, 1, 67] Operation: 10+57=67 Moving to Node #0,0 Current State: 95:[27, 1, 67], Operations: ['10+57=67'] Exploring Operation: 27+67=94, Resulting Numbers: [1, 94] Generated Node #0,0,1: 95:[1, 94] Operation: 27+67=94 Moving to Node #0,0,1 Current State: 95:[1, 94], Operations: ['10+57=67', '27+67=94'] Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 84, 86, 30, 39 ]
67
[ "86-84=2", "30+39=69", "69-2=67" ]
Current State: 67:[84, 86, 30, 39], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [30, 39, 2] Generated Node #2: [30, 39, 2] from Operation: 86-84=2 Current State: 67:[30, 39, 2], Operations: ['86-84=2'] Exploring Operation: 30+39=69, Resulting Numbers: [2, 69] Generated Node #3: [2, 69] from Operation: 30+39=69 Current State: 67:[2, 69], Operations: ['86-84=2', '30+39=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[84, 86, 30, 39], Operations: [] Exploring Operation: 30+39=69, Resulting Numbers: [84, 86, 69] Generated Node #0,0: 67:[84, 86, 69] Operation: 30+39=69 Exploring Operation: 84-30=54, Resulting Numbers: [86, 39, 54] Generated Node #0,1: 67:[86, 39, 54] Operation: 84-30=54 Exploring Operation: 86-39=47, Resulting Numbers: [84, 30, 47] Generated Node #0,2: 67:[84, 30, 47] Operation: 86-39=47 Exploring Operation: 86-30=56, Resulting Numbers: [84, 39, 56] Generated Node #0,3: 67:[84, 39, 56] Operation: 86-30=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[84, 86, 69], Operations: ['30+39=69'] Exploring Operation: 86-84=2, Resulting Numbers: [69, 2] Generated Node #0,0,0: 67:[69, 2] Operation: 86-84=2 Exploring Operation: 84-69=15, Resulting Numbers: [86, 15] Generated Node #0,0,1: 67:[86, 15] Operation: 84-69=15 Exploring Operation: 84+86=170, Resulting Numbers: [69, 170] Generated Node #0,0,2: 67:[69, 170] Operation: 84+86=170 Exploring Operation: 86-69=17, Resulting Numbers: [84, 17] Generated Node #0,0,3: 67:[84, 17] Operation: 86-69=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[69, 2], Operations: ['30+39=69', '86-84=2'] Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[84, 86, 30, 39], Operations: [] Exploring Operation: 30+39=69, Resulting Numbers: [84, 86, 69] Generated Node #0,0: 67:[84, 86, 69] Operation: 30+39=69 Moving to Node #0,0 Current State: 67:[84, 86, 69], Operations: ['30+39=69'] Exploring Operation: 86-84=2, Resulting Numbers: [69, 2] Generated Node #0,0,0: 67:[69, 2] Operation: 86-84=2 Moving to Node #0,0,0 Current State: 67:[69, 2], Operations: ['30+39=69', '86-84=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 4, 96, 61, 13 ]
84
[ "61-13=48", "48/4=12", "96-12=84" ]
Current State: 84:[4, 96, 61, 13], Operations: [] Exploring Operation: 61-13=48, Resulting Numbers: [4, 96, 48] Generated Node #2: [4, 96, 48] from Operation: 61-13=48 Current State: 84:[4, 96, 48], Operations: ['61-13=48'] Exploring Operation: 48/4=12, Resulting Numbers: [96, 12] Generated Node #3: [96, 12] from Operation: 48/4=12 Current State: 84:[96, 12], Operations: ['61-13=48', '48/4=12'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[4, 96, 61, 13], Operations: [] Exploring Operation: 61+13=74, Resulting Numbers: [4, 96, 74] Generated Node #0,0: 84:[4, 96, 74] Operation: 61+13=74 Exploring Operation: 61-13=48, Resulting Numbers: [4, 96, 48] Generated Node #0,1: 84:[4, 96, 48] Operation: 61-13=48 Exploring Operation: 96-13=83, Resulting Numbers: [4, 61, 83] Generated Node #0,2: 84:[4, 61, 83] Operation: 96-13=83 Exploring Operation: 96-61=35, Resulting Numbers: [4, 13, 35] Generated Node #0,3: 84:[4, 13, 35] Operation: 96-61=35 Exploring Operation: 96/4=24, Resulting Numbers: [61, 13, 24] Generated Node #0,4: 84:[61, 13, 24] Operation: 96/4=24 Moving to Node #0,3 Current State: 84:[4, 13, 35], Operations: ['96-61=35'] Exploring Operation: 4+35=39, Resulting Numbers: [13, 39] Generated Node #0,3,0: 84:[13, 39] Operation: 4+35=39 Exploring Operation: 13-4=9, Resulting Numbers: [35, 9] Generated Node #0,3,1: 84:[35, 9] Operation: 13-4=9 Exploring Operation: 35-4=31, Resulting Numbers: [13, 31] Generated Node #0,3,2: 84:[13, 31] Operation: 35-4=31 Exploring Operation: 35-13=22, Resulting Numbers: [4, 22] Generated Node #0,3,3: 84:[4, 22] Operation: 35-13=22 Exploring Operation: 13+35=48, Resulting Numbers: [4, 48] Generated Node #0,3,4: 84:[4, 48] Operation: 13+35=48 Moving to Node #0,1 Current State: 84:[4, 96, 48], Operations: ['61-13=48'] Exploring Operation: 96-48=48, Resulting Numbers: [4, 48] Generated Node #0,1,0: 84:[4, 48] Operation: 96-48=48 Exploring Operation: 48/4=12, Resulting Numbers: [96, 12] Generated Node #0,1,1: 84:[96, 12] Operation: 48/4=12 Exploring Operation: 96/48=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 84:[4, 2] Operation: 96/48=2 Exploring Operation: 96-4=92, Resulting Numbers: [48, 92] Generated Node #0,1,3: 84:[48, 92] Operation: 96-4=92 Exploring Operation: 96/4=24, Resulting Numbers: [48, 24] Generated Node #0,1,4: 84:[48, 24] Operation: 96/4=24 Moving to Node #0,2 Current State: 84:[4, 61, 83], Operations: ['96-13=83'] Exploring Operation: 83-4=79, Resulting Numbers: [61, 79] Generated Node #0,2,0: 84:[61, 79] Operation: 83-4=79 Exploring Operation: 61-4=57, Resulting Numbers: [83, 57] Generated Node #0,2,1: 84:[83, 57] Operation: 61-4=57 Exploring Operation: 83-61=22, Resulting Numbers: [4, 22] Generated Node #0,2,2: 84:[4, 22] Operation: 83-61=22 Exploring Operation: 4+61=65, Resulting Numbers: [83, 65] Generated Node #0,2,3: 84:[83, 65] Operation: 4+61=65 Exploring Operation: 4+83=87, Resulting Numbers: [61, 87] Generated Node #0,2,4: 84:[61, 87] Operation: 4+83=87 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[4, 22], Operations: ['96-13=83', '83-61=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,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,2,1 Current State: 84:[83, 57], Operations: ['96-13=83', '61-4=57'] Exploring Operation: 83-57=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 83+57=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 83*57=4731, Resulting Numbers: [4731] 4731,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,2,3 Current State: 84:[83, 65], Operations: ['96-13=83', '4+61=65'] Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 83*65=5395, Resulting Numbers: [5395] 5395,84 unequal: No Solution Exploring Operation: 83+65=148, Resulting Numbers: [148] 148,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,2,4 Current State: 84:[61, 87], Operations: ['96-13=83', '4+83=87'] Exploring Operation: 61*87=5307, Resulting Numbers: [5307] 5307,84 unequal: No Solution Exploring Operation: 61+87=148, Resulting Numbers: [148] 148,84 unequal: No Solution Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,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,2,0 Current State: 84:[61, 79], Operations: ['96-13=83', '83-4=79'] Exploring Operation: 61+79=140, Resulting Numbers: [140] 140,84 unequal: No Solution Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 61*79=4819, Resulting Numbers: [4819] 4819,84 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: 84:[4, 96, 74], Operations: ['61+13=74'] Exploring Operation: 96-74=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 84:[4, 22] Operation: 96-74=22 Exploring Operation: 96-4=92, Resulting Numbers: [74, 92] Generated Node #0,0,1: 84:[74, 92] Operation: 96-4=92 Exploring Operation: 96/4=24, Resulting Numbers: [74, 24] Generated Node #0,0,2: 84:[74, 24] Operation: 96/4=24 Exploring Operation: 4+74=78, Resulting Numbers: [96, 78] Generated Node #0,0,3: 84:[96, 78] Operation: 4+74=78 Exploring Operation: 4+96=100, Resulting Numbers: [74, 100] Generated Node #0,0,4: 84:[74, 100] Operation: 4+96=100 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[4, 22], Operations: ['61+13=74', '96-74=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,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,0,2 Current State: 84:[74, 24], Operations: ['61+13=74', '96/4=24'] Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,84 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,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,0,1 Current State: 84:[74, 92], Operations: ['61+13=74', '96-4=92'] Exploring Operation: 74+92=166, Resulting Numbers: [166] 166,84 unequal: No Solution Exploring Operation: 74*92=6808, Resulting Numbers: [6808] 6808,84 unequal: No Solution Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,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,0,3 Current State: 84:[96, 78], Operations: ['61+13=74', '4+74=78'] Exploring Operation: 96*78=7488, Resulting Numbers: [7488] 7488,84 unequal: No Solution Exploring Operation: 96+78=174, Resulting Numbers: [174] 174,84 unequal: No Solution Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,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,0,4 Current State: 84:[74, 100], Operations: ['61+13=74', '4+96=100'] Exploring Operation: 100-74=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 74*100=7400, Resulting Numbers: [7400] 7400,84 unequal: No Solution Exploring Operation: 74+100=174, Resulting Numbers: [174] 174,84 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: 84:[61, 13, 24], Operations: ['96/4=24'] Exploring Operation: 61+13=74, Resulting Numbers: [24, 74] Generated Node #0,4,0: 84:[24, 74] Operation: 61+13=74 Exploring Operation: 61-13=48, Resulting Numbers: [24, 48] Generated Node #0,4,1: 84:[24, 48] Operation: 61-13=48 Exploring Operation: 24-13=11, Resulting Numbers: [61, 11] Generated Node #0,4,2: 84:[61, 11] Operation: 24-13=11 Exploring Operation: 61-24=37, Resulting Numbers: [13, 37] Generated Node #0,4,3: 84:[13, 37] Operation: 61-24=37 Exploring Operation: 61+24=85, Resulting Numbers: [13, 85] Generated Node #0,4,4: 84:[13, 85] Operation: 61+24=85 Moving to Node #0,1,2 Current State: 84:[4, 2], Operations: ['61-13=48', '96/48=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[4, 22], Operations: ['96-61=35', '35-13=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,84 unequal: No Solution Moving to Node #0,4,4 Current State: 84:[13, 85], Operations: ['96/4=24', '61+24=85'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 13*85=1105, Resulting Numbers: [1105] 1105,84 unequal: No Solution Exploring Operation: 13+85=98, Resulting Numbers: [98] 98,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[13, 31], Operations: ['96-61=35', '35-4=31'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[13, 39], Operations: ['96-61=35', '4+35=39'] Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,84 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[4, 48], Operations: ['61-13=48', '96-48=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,84 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,84 unequal: No Solution Moving to Node #0,4,3 Current State: 84:[13, 37], Operations: ['96/4=24', '61-24=37'] Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,84 unequal: No Solution Moving to Node #0,3,4 Current State: 84:[4, 48], Operations: ['96-61=35', '13+35=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,84 unequal: No Solution Moving to Node #0,4,1 Current State: 84:[24, 48], Operations: ['96/4=24', '61-13=48'] Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,84 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[35, 9], Operations: ['96-61=35', '13-4=9'] Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,84 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[48, 24], Operations: ['61-13=48', '96/4=24'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 48*24=1152, Resulting Numbers: [1152] 1152,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[96, 12], Operations: ['61-13=48', '48/4=12'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[4, 96, 61, 13], Operations: [] Exploring Operation: 61-13=48, Resulting Numbers: [4, 96, 48] Generated Node #0,1: 84:[4, 96, 48] Operation: 61-13=48 Moving to Node #0,1 Current State: 84:[4, 96, 48], Operations: ['61-13=48'] Exploring Operation: 48/4=12, Resulting Numbers: [96, 12] Generated Node #0,1,1: 84:[96, 12] Operation: 48/4=12 Moving to Node #0,1,1 Current State: 84:[96, 12], Operations: ['61-13=48', '48/4=12'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.909722
hs_5
sum_heuristic
[ 52, 60, 50, 81 ]
19
[ "52+60=112", "50+81=131", "131-112=19" ]
Current State: 19:[52, 60, 50, 81], Operations: [] Exploring Operation: 52+60=112, Resulting Numbers: [50, 81, 112] Generated Node #2: [50, 81, 112] from Operation: 52+60=112 Current State: 19:[50, 81, 112], Operations: ['52+60=112'] Exploring Operation: 50+81=131, Resulting Numbers: [112, 131] Generated Node #3: [112, 131] from Operation: 50+81=131 Current State: 19:[112, 131], Operations: ['52+60=112', '50+81=131'] Exploring Operation: 131-112=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[52, 60, 50, 81], Operations: [] Exploring Operation: 81-52=29, Resulting Numbers: [60, 50, 29] Generated Node #0,0: 19:[60, 50, 29] Operation: 81-52=29 Exploring Operation: 81-60=21, Resulting Numbers: [52, 50, 21] Generated Node #0,1: 19:[52, 50, 21] Operation: 81-60=21 Moving to Node #0,1 Current State: 19:[52, 50, 21], Operations: ['81-60=21'] Exploring Operation: 52-50=2, Resulting Numbers: [21, 2] Generated Node #0,1,0: 19:[21, 2] Operation: 52-50=2 Exploring Operation: 52-21=31, Resulting Numbers: [50, 31] Generated Node #0,1,1: 19:[50, 31] Operation: 52-21=31 Moving to Node #0,0 Current State: 19:[60, 50, 29], Operations: ['81-52=29'] Exploring Operation: 60-29=31, Resulting Numbers: [50, 31] Generated Node #0,0,0: 19:[50, 31] Operation: 60-29=31 Exploring Operation: 60-50=10, Resulting Numbers: [29, 10] Generated Node #0,0,1: 19:[29, 10] Operation: 60-50=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[29, 10], Operations: ['81-52=29', '60-50=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[52, 60, 50, 81], Operations: [] Exploring Operation: 81-52=29, Resulting Numbers: [60, 50, 29] Generated Node #0,0: 19:[60, 50, 29] Operation: 81-52=29 Moving to Node #0,0 Current State: 19:[60, 50, 29], Operations: ['81-52=29'] Exploring Operation: 60-50=10, Resulting Numbers: [29, 10] Generated Node #0,0,1: 19:[29, 10] Operation: 60-50=10 Moving to Node #0,0,1 Current State: 19:[29, 10], Operations: ['81-52=29', '60-50=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 90, 22, 67, 27 ]
72
[ "90+22=112", "67-27=40", "112-40=72" ]
Current State: 72:[90, 22, 67, 27], Operations: [] Exploring Operation: 90+22=112, Resulting Numbers: [67, 27, 112] Generated Node #2: [67, 27, 112] from Operation: 90+22=112 Current State: 72:[67, 27, 112], Operations: ['90+22=112'] Exploring Operation: 67-27=40, Resulting Numbers: [112, 40] Generated Node #3: [112, 40] from Operation: 67-27=40 Current State: 72:[112, 40], Operations: ['90+22=112', '67-27=40'] Exploring Operation: 112-40=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[90, 22, 67, 27], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [22, 27, 23] Generated Node #0,0: 72:[22, 27, 23] Operation: 90-67=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[22, 27, 23], Operations: ['90-67=23'] Exploring Operation: 27-22=5, Resulting Numbers: [23, 5] Generated Node #0,0,0: 72:[23, 5] Operation: 27-22=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[23, 5], Operations: ['90-67=23', '27-22=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 51, 12, 15 ]
99
[ "60*12=720", "720/15=48", "51+48=99" ]
Current State: 99:[60, 51, 12, 15], Operations: [] Exploring Operation: 60*12=720, Resulting Numbers: [51, 15, 720] Generated Node #2: [51, 15, 720] from Operation: 60*12=720 Current State: 99:[51, 15, 720], Operations: ['60*12=720'] Exploring Operation: 720/15=48, Resulting Numbers: [51, 48] Generated Node #3: [51, 48] from Operation: 720/15=48 Current State: 99:[51, 48], Operations: ['60*12=720', '720/15=48'] Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[60, 51, 12, 15], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [12, 15, 9] Generated Node #0,0: 99:[12, 15, 9] Operation: 60-51=9 Exploring Operation: 60/12=5, Resulting Numbers: [51, 15, 5] Generated Node #0,1: 99:[51, 15, 5] Operation: 60/12=5 Exploring Operation: 60+51=111, Resulting Numbers: [12, 15, 111] Generated Node #0,2: 99:[12, 15, 111] Operation: 60+51=111 Exploring Operation: 60-15=45, Resulting Numbers: [51, 12, 45] Generated Node #0,3: 99:[51, 12, 45] Operation: 60-15=45 Exploring Operation: 60/15=4, Resulting Numbers: [51, 12, 4] Generated Node #0,4: 99:[51, 12, 4] Operation: 60/15=4 Moving to Node #0,0 Current State: 99:[12, 15, 9], Operations: ['60-51=9'] Exploring Operation: 15+9=24, Resulting Numbers: [12, 24] Generated Node #0,0,0: 99:[12, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [12, 6] Generated Node #0,0,1: 99:[12, 6] Operation: 15-9=6 Exploring Operation: 15-12=3, Resulting Numbers: [9, 3] Generated Node #0,0,2: 99:[9, 3] Operation: 15-12=3 Exploring Operation: 12+15=27, Resulting Numbers: [9, 27] Generated Node #0,0,3: 99:[9, 27] Operation: 12+15=27 Exploring Operation: 12-9=3, Resulting Numbers: [15, 3] Generated Node #0,0,4: 99:[15, 3] Operation: 12-9=3 Moving to Node #0,2 Current State: 99:[12, 15, 111], Operations: ['60+51=111'] Exploring Operation: 111-15=96, Resulting Numbers: [12, 96] Generated Node #0,2,0: 99:[12, 96] Operation: 111-15=96 Exploring Operation: 111-12=99, Resulting Numbers: [15, 99] Generated Node #0,2,1: 99:[15, 99] Operation: 111-12=99 Exploring Operation: 12+111=123, Resulting Numbers: [15, 123] Generated Node #0,2,2: 99:[15, 123] Operation: 12+111=123 Exploring Operation: 12+15=27, Resulting Numbers: [111, 27] Generated Node #0,2,3: 99:[111, 27] Operation: 12+15=27 Exploring Operation: 15-12=3, Resulting Numbers: [111, 3] Generated Node #0,2,4: 99:[111, 3] Operation: 15-12=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[12, 96], Operations: ['60+51=111', '111-15=96'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 12*96=1152, Resulting Numbers: [1152] 1152,99 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 12+96=108, Resulting Numbers: [108] 108,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,1 Current State: 99:[15, 99], Operations: ['60+51=111', '111-12=99'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 15*99=1485, Resulting Numbers: [1485] 1485,99 unequal: No Solution Exploring Operation: 15+99=114, Resulting Numbers: [114] 114,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,4 Current State: 99:[111, 3], Operations: ['60+51=111', '15-12=3'] Exploring Operation: 111/3=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 111+3=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 111-3=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 111*3=333, Resulting Numbers: [333] 333,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:[111, 27], Operations: ['60+51=111', '12+15=27'] Exploring Operation: 111-27=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 111*27=2997, Resulting Numbers: [2997] 2997,99 unequal: No Solution Exploring Operation: 111+27=138, Resulting Numbers: [138] 138,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:[15, 123], Operations: ['60+51=111', '12+111=123'] Exploring Operation: 15+123=138, Resulting Numbers: [138] 138,99 unequal: No Solution Exploring Operation: 15*123=1845, Resulting Numbers: [1845] 1845,99 unequal: No Solution Exploring Operation: 123-15=108, Resulting Numbers: [108] 108,99 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: 99:[51, 12, 4], Operations: ['60/15=4'] Exploring Operation: 12/4=3, Resulting Numbers: [51, 3] Generated Node #0,4,0: 99:[51, 3] Operation: 12/4=3 Exploring Operation: 51+4=55, Resulting Numbers: [12, 55] Generated Node #0,4,1: 99:[12, 55] Operation: 51+4=55 Exploring Operation: 12-4=8, Resulting Numbers: [51, 8] Generated Node #0,4,2: 99:[51, 8] Operation: 12-4=8 Exploring Operation: 51-4=47, Resulting Numbers: [12, 47] Generated Node #0,4,3: 99:[12, 47] Operation: 51-4=47 Exploring Operation: 51-12=39, Resulting Numbers: [4, 39] Generated Node #0,4,4: 99:[4, 39] Operation: 51-12=39 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 99:[4, 39], Operations: ['60/15=4', '51-12=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,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,4,3 Current State: 99:[12, 47], Operations: ['60/15=4', '51-4=47'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,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,4,0 Current State: 99:[51, 3], Operations: ['60/15=4', '12/4=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,99 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,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,4,2 Current State: 99:[51, 8], Operations: ['60/15=4', '12-4=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,99 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,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,4,1 Current State: 99:[12, 55], Operations: ['60/15=4', '51+4=55'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,99 unequal: No Solution Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,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:[51, 15, 5], Operations: ['60/12=5'] Exploring Operation: 51-15=36, Resulting Numbers: [5, 36] Generated Node #0,1,0: 99:[5, 36] Operation: 51-15=36 Exploring Operation: 51-5=46, Resulting Numbers: [15, 46] Generated Node #0,1,1: 99:[15, 46] Operation: 51-5=46 Exploring Operation: 15/5=3, Resulting Numbers: [51, 3] Generated Node #0,1,2: 99:[51, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [51, 10] Generated Node #0,1,3: 99:[51, 10] Operation: 15-5=10 Exploring Operation: 51+5=56, Resulting Numbers: [15, 56] Generated Node #0,1,4: 99:[15, 56] Operation: 51+5=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[5, 36], Operations: ['60/12=5', '51-15=36'] Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,99 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,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:[15, 46], Operations: ['60/12=5', '51-5=46'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,99 unequal: No Solution Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,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:[51, 3], Operations: ['60/12=5', '15/5=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,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,3 Current State: 99:[51, 10], Operations: ['60/12=5', '15-5=10'] Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 51*10=510, Resulting Numbers: [510] 510,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,4 Current State: 99:[15, 56], Operations: ['60/12=5', '51+5=56'] Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 15*56=840, Resulting Numbers: [840] 840,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:[51, 12, 45], Operations: ['60-15=45'] Exploring Operation: 51-45=6, Resulting Numbers: [12, 6] Generated Node #0,3,0: 99:[12, 6] Operation: 51-45=6 Exploring Operation: 45-12=33, Resulting Numbers: [51, 33] Generated Node #0,3,1: 99:[51, 33] Operation: 45-12=33 Exploring Operation: 51+45=96, Resulting Numbers: [12, 96] Generated Node #0,3,2: 99:[12, 96] Operation: 51+45=96 Exploring Operation: 51+12=63, Resulting Numbers: [45, 63] Generated Node #0,3,3: 99:[45, 63] Operation: 51+12=63 Exploring Operation: 51-12=39, Resulting Numbers: [45, 39] Generated Node #0,3,4: 99:[45, 39] Operation: 51-12=39 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[12, 6], Operations: ['60-15=45', '51-45=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,99 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,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,3,2 Current State: 99:[12, 96], Operations: ['60-15=45', '51+45=96'] Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 12*96=1152, Resulting Numbers: [1152] 1152,99 unequal: No Solution Exploring Operation: 12+96=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,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,3,1 Current State: 99:[51, 33], Operations: ['60-15=45', '45-12=33'] Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,99 unequal: No Solution Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,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,3,4 Current State: 99:[45, 39], Operations: ['60-15=45', '51-12=39'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,99 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,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,3,3 Current State: 99:[45, 63], Operations: ['60-15=45', '51+12=63'] Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,99 unequal: No Solution Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 99:[9, 3], Operations: ['60-51=9', '15-12=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,99 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[15, 3], Operations: ['60-51=9', '12-9=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,99 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[12, 6], Operations: ['60-51=9', '15-9=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,99 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[9, 27], Operations: ['60-51=9', '12+15=27'] Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,99 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,99 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[12, 24], Operations: ['60-51=9', '15+9=24'] Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,99 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,99 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 4, 36, 56, 18 ]
65
[ "36/4=9", "56+18=74", "74-9=65" ]
Current State: 65:[4, 36, 56, 18], Operations: [] Exploring Operation: 36/4=9, Resulting Numbers: [56, 18, 9] Generated Node #2: [56, 18, 9] from Operation: 36/4=9 Current State: 65:[56, 18, 9], Operations: ['36/4=9'] Exploring Operation: 56+18=74, Resulting Numbers: [9, 74] Generated Node #3: [9, 74] from Operation: 56+18=74 Current State: 65:[9, 74], Operations: ['36/4=9', '56+18=74'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[4, 36, 56, 18], Operations: [] Exploring Operation: 56-36=20, Resulting Numbers: [4, 18, 20] Generated Node #0,0: 65:[4, 18, 20] Operation: 56-36=20 Moving to Node #0,0 Current State: 65:[4, 18, 20], Operations: ['56-36=20'] Exploring Operation: 20-18=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 65:[4, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 65:[4, 2], Operations: ['56-36=20', '20-18=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,65 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 19, 27, 5 ]
68
[ "54-27=27", "19*5=95", "95-27=68" ]
Current State: 68:[54, 19, 27, 5], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [19, 5, 27] Generated Node #2: [19, 5, 27] from Operation: 54-27=27 Current State: 68:[19, 5, 27], Operations: ['54-27=27'] Exploring Operation: 19*5=95, Resulting Numbers: [27, 95] Generated Node #3: [27, 95] from Operation: 19*5=95 Current State: 68:[27, 95], Operations: ['54-27=27', '19*5=95'] Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[54, 19, 27, 5], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [27, 5, 35] Generated Node #0,0: 68:[27, 5, 35] Operation: 54-19=35 Exploring Operation: 54/27=2, Resulting Numbers: [19, 5, 2] Generated Node #0,1: 68:[19, 5, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[19, 5, 2], Operations: ['54/27=2'] Exploring Operation: 19-5=14, Resulting Numbers: [2, 14] Generated Node #0,1,0: 68:[2, 14] Operation: 19-5=14 Exploring Operation: 19-2=17, Resulting Numbers: [5, 17] Generated Node #0,1,1: 68:[5, 17] Operation: 19-2=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[5, 17], Operations: ['54/27=2', '19-2=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,68 unequal: No Solution No 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: 68:[2, 14], Operations: ['54/27=2', '19-5=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,68 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: 68:[27, 5, 35], Operations: ['54-19=35'] Exploring Operation: 35-27=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 68:[5, 8] Operation: 35-27=8 Exploring Operation: 27+5=32, Resulting Numbers: [35, 32] Generated Node #0,0,1: 68:[35, 32] Operation: 27+5=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[35, 32], Operations: ['54-19=35', '27+5=32'] Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,68 unequal: No Solution No 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: 68:[5, 8], Operations: ['54-19=35', '35-27=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,68 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
[ 90, 2, 83, 43 ]
52
[ "90+2=92", "83-43=40", "92-40=52" ]
Current State: 52:[90, 2, 83, 43], Operations: [] Exploring Operation: 90+2=92, Resulting Numbers: [83, 43, 92] Generated Node #2: [83, 43, 92] from Operation: 90+2=92 Current State: 52:[83, 43, 92], Operations: ['90+2=92'] Exploring Operation: 83-43=40, Resulting Numbers: [92, 40] Generated Node #3: [92, 40] from Operation: 83-43=40 Current State: 52:[92, 40], Operations: ['90+2=92', '83-43=40'] Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[90, 2, 83, 43], Operations: [] Exploring Operation: 83-43=40, Resulting Numbers: [90, 2, 40] Generated Node #0,0: 52:[90, 2, 40] Operation: 83-43=40 Exploring Operation: 90/2=45, Resulting Numbers: [83, 43, 45] Generated Node #0,1: 52:[83, 43, 45] Operation: 90/2=45 Exploring Operation: 90-43=47, Resulting Numbers: [2, 83, 47] Generated Node #0,2: 52:[2, 83, 47] Operation: 90-43=47 Exploring Operation: 90-83=7, Resulting Numbers: [2, 43, 7] Generated Node #0,3: 52:[2, 43, 7] Operation: 90-83=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[2, 43, 7], Operations: ['90-83=7'] Exploring Operation: 7-2=5, Resulting Numbers: [43, 5] Generated Node #0,3,0: 52:[43, 5] Operation: 7-2=5 Exploring Operation: 2+43=45, Resulting Numbers: [7, 45] Generated Node #0,3,1: 52:[7, 45] Operation: 2+43=45 Exploring Operation: 2*7=14, Resulting Numbers: [43, 14] Generated Node #0,3,2: 52:[43, 14] Operation: 2*7=14 Exploring Operation: 43+7=50, Resulting Numbers: [2, 50] Generated Node #0,3,3: 52:[2, 50] Operation: 43+7=50 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[2, 50], Operations: ['90-83=7', '43+7=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[90, 2, 83, 43], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [2, 43, 7] Generated Node #0,3: 52:[2, 43, 7] Operation: 90-83=7 Moving to Node #0,3 Current State: 52:[2, 43, 7], Operations: ['90-83=7'] Exploring Operation: 43+7=50, Resulting Numbers: [2, 50] Generated Node #0,3,3: 52:[2, 50] Operation: 43+7=50 Moving to Node #0,3,3 Current State: 52:[2, 50], Operations: ['90-83=7', '43+7=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 96, 61, 47, 70 ]
40
[ "96+61=157", "47+70=117", "157-117=40" ]
Current State: 40:[96, 61, 47, 70], Operations: [] Exploring Operation: 96+61=157, Resulting Numbers: [47, 70, 157] Generated Node #2: [47, 70, 157] from Operation: 96+61=157 Current State: 40:[47, 70, 157], Operations: ['96+61=157'] Exploring Operation: 47+70=117, Resulting Numbers: [157, 117] Generated Node #3: [157, 117] from Operation: 47+70=117 Current State: 40:[157, 117], Operations: ['96+61=157', '47+70=117'] Exploring Operation: 157-117=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[96, 61, 47, 70], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [61, 47, 26] Generated Node #0,0: 40:[61, 47, 26] Operation: 96-70=26 Moving to Node #0,0 Current State: 40:[61, 47, 26], Operations: ['96-70=26'] Exploring Operation: 61-47=14, Resulting Numbers: [26, 14] Generated Node #0,0,0: 40:[26, 14] Operation: 61-47=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[26, 14], Operations: ['96-70=26', '61-47=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[96, 61, 47, 70], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [61, 47, 26] Generated Node #0,0: 40:[61, 47, 26] Operation: 96-70=26 Moving to Node #0,0 Current State: 40:[61, 47, 26], Operations: ['96-70=26'] Exploring Operation: 61-47=14, Resulting Numbers: [26, 14] Generated Node #0,0,0: 40:[26, 14] Operation: 61-47=14 Moving to Node #0,0,0 Current State: 40:[26, 14], Operations: ['96-70=26', '61-47=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 79, 9, 42, 28 ]
74
[ "79+9=88", "42-28=14", "88-14=74" ]
Current State: 74:[79, 9, 42, 28], Operations: [] Exploring Operation: 79+9=88, Resulting Numbers: [42, 28, 88] Generated Node #2: [42, 28, 88] from Operation: 79+9=88 Current State: 74:[42, 28, 88], Operations: ['79+9=88'] Exploring Operation: 42-28=14, Resulting Numbers: [88, 14] Generated Node #3: [88, 14] from Operation: 42-28=14 Current State: 74:[88, 14], Operations: ['79+9=88', '42-28=14'] Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[79, 9, 42, 28], Operations: [] Exploring Operation: 9+28=37, Resulting Numbers: [79, 42, 37] Generated Node #0,0: 74:[79, 42, 37] Operation: 9+28=37 Moving to Node #0,0 Current State: 74:[79, 42, 37], Operations: ['9+28=37'] Exploring Operation: 79-42=37, Resulting Numbers: [37, 37] Generated Node #0,0,0: 74:[37, 37] Operation: 79-42=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[37, 37], Operations: ['9+28=37', '79-42=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[79, 9, 42, 28], Operations: [] Exploring Operation: 9+28=37, Resulting Numbers: [79, 42, 37] Generated Node #0,0: 74:[79, 42, 37] Operation: 9+28=37 Moving to Node #0,0 Current State: 74:[79, 42, 37], Operations: ['9+28=37'] Exploring Operation: 79-42=37, Resulting Numbers: [37, 37] Generated Node #0,0,0: 74:[37, 37] Operation: 79-42=37 Moving to Node #0,0,0 Current State: 74:[37, 37], Operations: ['9+28=37', '79-42=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 16, 22, 27 ]
16
[ "5+16=21", "27-22=5", "21-5=16" ]
Current State: 16:[5, 16, 22, 27], Operations: [] Exploring Operation: 5+16=21, Resulting Numbers: [22, 27, 21] Generated Node #2: [22, 27, 21] from Operation: 5+16=21 Current State: 16:[22, 27, 21], Operations: ['5+16=21'] Exploring Operation: 27-22=5, Resulting Numbers: [21, 5] Generated Node #3: [21, 5] from Operation: 27-22=5 Current State: 16:[21, 5], Operations: ['5+16=21', '27-22=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 16, 22, 27], Operations: [] Exploring Operation: 22-5=17, Resulting Numbers: [16, 27, 17] Generated Node #0,0: 16:[16, 27, 17] Operation: 22-5=17 Exploring Operation: 22-16=6, Resulting Numbers: [5, 27, 6] Generated Node #0,1: 16:[5, 27, 6] Operation: 22-16=6 Exploring Operation: 27-22=5, Resulting Numbers: [5, 16, 5] Generated Node #0,2: 16:[5, 16, 5] Operation: 27-22=5 Exploring Operation: 27-5=22, Resulting Numbers: [16, 22, 22] Generated Node #0,3: 16:[16, 22, 22] Operation: 27-5=22 Exploring Operation: 27-16=11, Resulting Numbers: [5, 22, 11] Generated Node #0,4: 16:[5, 22, 11] Operation: 27-16=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[5, 16, 5], Operations: ['27-22=5'] Exploring Operation: 5/5=1, Resulting Numbers: [16, 1] Generated Node #0,2,0: 16:[16, 1] Operation: 5/5=1 Exploring Operation: 5+5=10, Resulting Numbers: [16, 10] Generated Node #0,2,1: 16:[16, 10] Operation: 5+5=10 Exploring Operation: 16-5=11, Resulting Numbers: [5, 11] Generated Node #0,2,2: 16:[5, 11] Operation: 16-5=11 Exploring Operation: 16-5=11, Resulting Numbers: [5, 11] Generated Node #0,2,3: 16:[5, 11] Operation: 16-5=11 Exploring Operation: 5-5=0, Resulting Numbers: [16, 0] Generated Node #0,2,4: 16:[16, 0] Operation: 5-5=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 16:[16, 1], Operations: ['27-22=5', '5/5=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[5, 16, 22, 27], Operations: [] Exploring Operation: 27-22=5, Resulting Numbers: [5, 16, 5] Generated Node #0,2: 16:[5, 16, 5] Operation: 27-22=5 Moving to Node #0,2 Current State: 16:[5, 16, 5], Operations: ['27-22=5'] Exploring Operation: 5/5=1, Resulting Numbers: [16, 1] Generated Node #0,2,0: 16:[16, 1] Operation: 5/5=1 Moving to Node #0,2,0 Current State: 16:[16, 1], Operations: ['27-22=5', '5/5=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 10, 5, 61, 37 ]
19
[ "10-5=5", "61-37=24", "24-5=19" ]
Current State: 19:[10, 5, 61, 37], Operations: [] Exploring Operation: 10-5=5, Resulting Numbers: [61, 37, 5] Generated Node #2: [61, 37, 5] from Operation: 10-5=5 Current State: 19:[61, 37, 5], Operations: ['10-5=5'] Exploring Operation: 61-37=24, Resulting Numbers: [5, 24] Generated Node #3: [5, 24] from Operation: 61-37=24 Current State: 19:[5, 24], Operations: ['10-5=5', '61-37=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[10, 5, 61, 37], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [10, 5, 24] Generated Node #0,0: 19:[10, 5, 24] Operation: 61-37=24 Exploring Operation: 10+5=15, Resulting Numbers: [61, 37, 15] Generated Node #0,1: 19:[61, 37, 15] Operation: 10+5=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[10, 5, 24], Operations: ['61-37=24'] Exploring Operation: 10+5=15, Resulting Numbers: [24, 15] Generated Node #0,0,0: 19:[24, 15] Operation: 10+5=15 Exploring Operation: 24-5=19, Resulting Numbers: [10, 19] Generated Node #0,0,1: 19:[10, 19] Operation: 24-5=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[24, 15], Operations: ['61-37=24', '10+5=15'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,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:[10, 19], Operations: ['61-37=24', '24-5=19'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,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:[61, 37, 15], Operations: ['10+5=15'] Exploring Operation: 61-15=46, Resulting Numbers: [37, 46] Generated Node #0,1,0: 19:[37, 46] Operation: 61-15=46 Exploring Operation: 61-37=24, Resulting Numbers: [15, 24] Generated Node #0,1,1: 19:[15, 24] Operation: 61-37=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[15, 24], Operations: ['10+5=15', '61-37=24'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[37, 46], Operations: ['10+5=15', '61-15=46'] Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,19 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,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_2
mult_heuristic
[ 14, 77, 26, 3 ]
68
[ "14+77=91", "26-3=23", "91-23=68" ]
Current State: 68:[14, 77, 26, 3], Operations: [] Exploring Operation: 14+77=91, Resulting Numbers: [26, 3, 91] Generated Node #2: [26, 3, 91] from Operation: 14+77=91 Current State: 68:[26, 3, 91], Operations: ['14+77=91'] Exploring Operation: 26-3=23, Resulting Numbers: [91, 23] Generated Node #3: [91, 23] from Operation: 26-3=23 Current State: 68:[91, 23], Operations: ['14+77=91', '26-3=23'] Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[14, 77, 26, 3], Operations: [] Exploring Operation: 77-14=63, Resulting Numbers: [26, 3, 63] Generated Node #0,0: 68:[26, 3, 63] Operation: 77-14=63 Exploring Operation: 14+26=40, Resulting Numbers: [77, 3, 40] Generated Node #0,1: 68:[77, 3, 40] Operation: 14+26=40 Exploring Operation: 26-14=12, Resulting Numbers: [77, 3, 12] Generated Node #0,2: 68:[77, 3, 12] Operation: 26-14=12 Exploring Operation: 77-3=74, Resulting Numbers: [14, 26, 74] Generated Node #0,3: 68:[14, 26, 74] Operation: 77-3=74 Exploring Operation: 14+3=17, Resulting Numbers: [77, 26, 17] Generated Node #0,4: 68:[77, 26, 17] Operation: 14+3=17 Moving to Node #0,0 Current State: 68:[26, 3, 63], Operations: ['77-14=63'] Exploring Operation: 26+3=29, Resulting Numbers: [63, 29] Generated Node #0,0,0: 68:[63, 29] Operation: 26+3=29 Exploring Operation: 63/3=21, Resulting Numbers: [26, 21] Generated Node #0,0,1: 68:[26, 21] Operation: 63/3=21 Exploring Operation: 63-26=37, Resulting Numbers: [3, 37] Generated Node #0,0,2: 68:[3, 37] Operation: 63-26=37 Exploring Operation: 26-3=23, Resulting Numbers: [63, 23] Generated Node #0,0,3: 68:[63, 23] Operation: 26-3=23 Exploring Operation: 3+63=66, Resulting Numbers: [26, 66] Generated Node #0,0,4: 68:[26, 66] Operation: 3+63=66 Moving to Node #0,2 Current State: 68:[77, 3, 12], Operations: ['26-14=12'] Exploring Operation: 77-3=74, Resulting Numbers: [12, 74] Generated Node #0,2,0: 68:[12, 74] Operation: 77-3=74 Exploring Operation: 3+12=15, Resulting Numbers: [77, 15] Generated Node #0,2,1: 68:[77, 15] Operation: 3+12=15 Exploring Operation: 12/3=4, Resulting Numbers: [77, 4] Generated Node #0,2,2: 68:[77, 4] Operation: 12/3=4 Exploring Operation: 3*12=36, Resulting Numbers: [77, 36] Generated Node #0,2,3: 68:[77, 36] Operation: 3*12=36 Exploring Operation: 77-12=65, Resulting Numbers: [3, 65] Generated Node #0,2,4: 68:[3, 65] Operation: 77-12=65 Moving to Node #0,1 Current State: 68:[77, 3, 40], Operations: ['14+26=40'] Exploring Operation: 77-3=74, Resulting Numbers: [40, 74] Generated Node #0,1,0: 68:[40, 74] Operation: 77-3=74 Exploring Operation: 77+3=80, Resulting Numbers: [40, 80] Generated Node #0,1,1: 68:[40, 80] Operation: 77+3=80 Exploring Operation: 3+40=43, Resulting Numbers: [77, 43] Generated Node #0,1,2: 68:[77, 43] Operation: 3+40=43 Exploring Operation: 40-3=37, Resulting Numbers: [77, 37] Generated Node #0,1,3: 68:[77, 37] Operation: 40-3=37 Exploring Operation: 77-40=37, Resulting Numbers: [3, 37] Generated Node #0,1,4: 68:[3, 37] Operation: 77-40=37 Moving to Node #0,3 Current State: 68:[14, 26, 74], Operations: ['77-3=74'] Exploring Operation: 14+74=88, Resulting Numbers: [26, 88] Generated Node #0,3,0: 68:[26, 88] Operation: 14+74=88 Exploring Operation: 14+26=40, Resulting Numbers: [74, 40] Generated Node #0,3,1: 68:[74, 40] Operation: 14+26=40 Exploring Operation: 26-14=12, Resulting Numbers: [74, 12] Generated Node #0,3,2: 68:[74, 12] Operation: 26-14=12 Exploring Operation: 74-26=48, Resulting Numbers: [14, 48] Generated Node #0,3,3: 68:[14, 48] Operation: 74-26=48 Exploring Operation: 74-14=60, Resulting Numbers: [26, 60] Generated Node #0,3,4: 68:[26, 60] Operation: 74-14=60 Moving to Node #0,4 Current State: 68:[77, 26, 17], Operations: ['14+3=17'] Exploring Operation: 77-26=51, Resulting Numbers: [17, 51] Generated Node #0,4,0: 68:[17, 51] Operation: 77-26=51 Exploring Operation: 26+17=43, Resulting Numbers: [77, 43] Generated Node #0,4,1: 68:[77, 43] Operation: 26+17=43 Exploring Operation: 26-17=9, Resulting Numbers: [77, 9] Generated Node #0,4,2: 68:[77, 9] Operation: 26-17=9 Exploring Operation: 77-17=60, Resulting Numbers: [26, 60] Generated Node #0,4,3: 68:[26, 60] Operation: 77-17=60 Exploring Operation: 77+17=94, Resulting Numbers: [26, 94] Generated Node #0,4,4: 68:[26, 94] Operation: 77+17=94 Moving to Node #0,0,2 Current State: 68:[3, 37], Operations: ['77-14=63', '63-26=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,68 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,68 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,68 unequal: No Solution Moving to Node #0,2,4 Current State: 68:[3, 65], Operations: ['26-14=12', '77-12=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[14, 77, 26, 3], Operations: [] Exploring Operation: 26-14=12, Resulting Numbers: [77, 3, 12] Generated Node #0,2: 68:[77, 3, 12] Operation: 26-14=12 Moving to Node #0,2 Current State: 68:[77, 3, 12], Operations: ['26-14=12'] Exploring Operation: 77-12=65, Resulting Numbers: [3, 65] Generated Node #0,2,4: 68:[3, 65] Operation: 77-12=65 Moving to Node #0,2,4 Current State: 68:[3, 65], Operations: ['26-14=12', '77-12=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.966146
hs_5
sum_heuristic
[ 11, 6, 2, 48 ]
97
[ "6+48=54", "2*54=108", "108-11=97" ]
Current State: 97:[11, 6, 2, 48], Operations: [] Exploring Operation: 6+48=54, Resulting Numbers: [11, 2, 54] Generated Node #2: [11, 2, 54] from Operation: 6+48=54 Current State: 97:[11, 2, 54], Operations: ['6+48=54'] Exploring Operation: 2*54=108, Resulting Numbers: [11, 108] Generated Node #3: [11, 108] from Operation: 2*54=108 Current State: 97:[11, 108], Operations: ['6+48=54', '2*54=108'] Exploring Operation: 108-11=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[11, 6, 2, 48], Operations: [] Exploring Operation: 2*48=96, Resulting Numbers: [11, 6, 96] Generated Node #0,0: 97:[11, 6, 96] Operation: 2*48=96 Exploring Operation: 11*2=22, Resulting Numbers: [6, 48, 22] Generated Node #0,1: 97:[6, 48, 22] Operation: 11*2=22 Exploring Operation: 11*6=66, Resulting Numbers: [2, 48, 66] Generated Node #0,2: 97:[2, 48, 66] Operation: 11*6=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[2, 48, 66], Operations: ['11*6=66'] Exploring Operation: 2+48=50, Resulting Numbers: [66, 50] Generated Node #0,2,0: 97:[66, 50] Operation: 2+48=50 Exploring Operation: 2*48=96, Resulting Numbers: [66, 96] Generated Node #0,2,1: 97:[66, 96] Operation: 2*48=96 Exploring Operation: 2+66=68, Resulting Numbers: [48, 68] Generated Node #0,2,2: 97:[48, 68] Operation: 2+66=68 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[66, 96], Operations: ['11*6=66', '2*48=96'] Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,97 unequal: No Solution Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[66, 50], Operations: ['11*6=66', '2+48=50'] Exploring Operation: 66*50=3300, Resulting Numbers: [3300] 3300,97 unequal: No Solution Exploring Operation: 66+50=116, Resulting Numbers: [116] 116,97 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[48, 68], Operations: ['11*6=66', '2+66=68'] Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,97 unequal: No Solution Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,97 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[11, 6, 96], Operations: ['2*48=96'] Exploring Operation: 6+96=102, Resulting Numbers: [11, 102] Generated Node #0,0,0: 97:[11, 102] Operation: 6+96=102 Exploring Operation: 11*6=66, Resulting Numbers: [96, 66] Generated Node #0,0,1: 97:[96, 66] Operation: 11*6=66 Exploring Operation: 11+6=17, Resulting Numbers: [96, 17] Generated Node #0,0,2: 97:[96, 17] Operation: 11+6=17 Moving to Node #0,0,1 Current State: 97:[96, 66], Operations: ['2*48=96', '11*6=66'] Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 96*66=6336, Resulting Numbers: [6336] 6336,97 unequal: No Solution Exploring Operation: 96+66=162, Resulting Numbers: [162] 162,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[96, 17], Operations: ['2*48=96', '11+6=17'] Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,97 unequal: No Solution Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[11, 102], Operations: ['2*48=96', '6+96=102'] Exploring Operation: 102-11=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 11+102=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 11*102=1122, Resulting Numbers: [1122] 1122,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[6, 48, 22], Operations: ['11*2=22'] Exploring Operation: 6*22=132, Resulting Numbers: [48, 132] Generated Node #0,1,0: 97:[48, 132] Operation: 6*22=132 Exploring Operation: 6+22=28, Resulting Numbers: [48, 28] Generated Node #0,1,1: 97:[48, 28] Operation: 6+22=28 Exploring Operation: 6+48=54, Resulting Numbers: [22, 54] Generated Node #0,1,2: 97:[22, 54] Operation: 6+48=54 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[48, 132], Operations: ['11*2=22', '6*22=132'] Exploring Operation: 132-48=84, Resulting Numbers: [84] 84,97 unequal: No Solution Exploring Operation: 48*132=6336, Resulting Numbers: [6336] 6336,97 unequal: No Solution Exploring Operation: 48+132=180, Resulting Numbers: [180] 180,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[48, 28], Operations: ['11*2=22', '6+22=28'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 48*28=1344, Resulting Numbers: [1344] 1344,97 unequal: No Solution Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[22, 54], Operations: ['11*2=22', '6+48=54'] Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,97 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 45, 43, 28, 20 ]
46
[ "45-43=2", "28+20=48", "48-2=46" ]
Current State: 46:[45, 43, 28, 20], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [28, 20, 2] Generated Node #2: [28, 20, 2] from Operation: 45-43=2 Current State: 46:[28, 20, 2], Operations: ['45-43=2'] Exploring Operation: 28+20=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 28+20=48 Current State: 46:[2, 48], Operations: ['45-43=2', '28+20=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[45, 43, 28, 20], Operations: [] Exploring Operation: 28+20=48, Resulting Numbers: [45, 43, 48] Generated Node #0,0: 46:[45, 43, 48] Operation: 28+20=48 Exploring Operation: 43-20=23, Resulting Numbers: [45, 28, 23] Generated Node #0,1: 46:[45, 28, 23] Operation: 43-20=23 Exploring Operation: 45-20=25, Resulting Numbers: [43, 28, 25] Generated Node #0,2: 46:[43, 28, 25] Operation: 45-20=25 Exploring Operation: 45-43=2, Resulting Numbers: [28, 20, 2] Generated Node #0,3: 46:[28, 20, 2] Operation: 45-43=2 Moving to Node #0,0 Current State: 46:[45, 43, 48], Operations: ['28+20=48'] Exploring Operation: 45-43=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 46:[48, 2] Operation: 45-43=2 Exploring Operation: 45+43=88, Resulting Numbers: [48, 88] Generated Node #0,0,1: 46:[48, 88] Operation: 45+43=88 Exploring Operation: 48-45=3, Resulting Numbers: [43, 3] Generated Node #0,0,2: 46:[43, 3] Operation: 48-45=3 Exploring Operation: 48-43=5, Resulting Numbers: [45, 5] Generated Node #0,0,3: 46:[45, 5] Operation: 48-43=5 Moving to Node #0,1 Current State: 46:[45, 28, 23], Operations: ['43-20=23'] Exploring Operation: 45-23=22, Resulting Numbers: [28, 22] Generated Node #0,1,0: 46:[28, 22] Operation: 45-23=22 Exploring Operation: 28+23=51, Resulting Numbers: [45, 51] Generated Node #0,1,1: 46:[45, 51] Operation: 28+23=51 Exploring Operation: 45-28=17, Resulting Numbers: [23, 17] Generated Node #0,1,2: 46:[23, 17] Operation: 45-28=17 Exploring Operation: 28-23=5, Resulting Numbers: [45, 5] Generated Node #0,1,3: 46:[45, 5] Operation: 28-23=5 Moving to Node #0,3 Current State: 46:[28, 20, 2], Operations: ['45-43=2'] Exploring Operation: 28+20=48, Resulting Numbers: [2, 48] Generated Node #0,3,0: 46:[2, 48] Operation: 28+20=48 Exploring Operation: 20+2=22, Resulting Numbers: [28, 22] Generated Node #0,3,1: 46:[28, 22] Operation: 20+2=22 Exploring Operation: 28-2=26, Resulting Numbers: [20, 26] Generated Node #0,3,2: 46:[20, 26] Operation: 28-2=26 Exploring Operation: 28-20=8, Resulting Numbers: [2, 8] Generated Node #0,3,3: 46:[2, 8] Operation: 28-20=8 Moving to Node #0,2 Current State: 46:[43, 28, 25], Operations: ['45-20=25'] Exploring Operation: 43-25=18, Resulting Numbers: [28, 18] Generated Node #0,2,0: 46:[28, 18] Operation: 43-25=18 Exploring Operation: 28-25=3, Resulting Numbers: [43, 3] Generated Node #0,2,1: 46:[43, 3] Operation: 28-25=3 Exploring Operation: 28+25=53, Resulting Numbers: [43, 53] Generated Node #0,2,2: 46:[43, 53] Operation: 28+25=53 Exploring Operation: 43-28=15, Resulting Numbers: [25, 15] Generated Node #0,2,3: 46:[25, 15] Operation: 43-28=15 Moving to Node #0,0,0 Current State: 46:[48, 2], Operations: ['28+20=48', '45-43=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[45, 43, 28, 20], Operations: [] Exploring Operation: 28+20=48, Resulting Numbers: [45, 43, 48] Generated Node #0,0: 46:[45, 43, 48] Operation: 28+20=48 Moving to Node #0,0 Current State: 46:[45, 43, 48], Operations: ['28+20=48'] Exploring Operation: 45-43=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 46:[48, 2] Operation: 45-43=2 Moving to Node #0,0,0 Current State: 46:[48, 2], Operations: ['28+20=48', '45-43=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.977431
hs_4
sum_heuristic
[ 56, 15, 17, 44 ]
34
[ "17-15=2", "44/2=22", "56-22=34" ]
Current State: 34:[56, 15, 17, 44], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [56, 44, 2] Generated Node #2: [56, 44, 2] from Operation: 17-15=2 Current State: 34:[56, 44, 2], Operations: ['17-15=2'] Exploring Operation: 44/2=22, Resulting Numbers: [56, 22] Generated Node #3: [56, 22] from Operation: 44/2=22 Current State: 34:[56, 22], Operations: ['17-15=2', '44/2=22'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[56, 15, 17, 44], Operations: [] Exploring Operation: 56-15=41, Resulting Numbers: [17, 44, 41] Generated Node #0,0: 34:[17, 44, 41] Operation: 56-15=41 Exploring Operation: 56-44=12, Resulting Numbers: [15, 17, 12] Generated Node #0,1: 34:[15, 17, 12] Operation: 56-44=12 Exploring Operation: 56-17=39, Resulting Numbers: [15, 44, 39] Generated Node #0,2: 34:[15, 44, 39] Operation: 56-17=39 Exploring Operation: 44-15=29, Resulting Numbers: [56, 17, 29] Generated Node #0,3: 34:[56, 17, 29] Operation: 44-15=29 Exploring Operation: 44-17=27, Resulting Numbers: [56, 15, 27] Generated Node #0,4: 34:[56, 15, 27] Operation: 44-17=27 Moving to Node #0,1 Current State: 34:[15, 17, 12], Operations: ['56-44=12'] Exploring Operation: 15+12=27, Resulting Numbers: [17, 27] Generated Node #0,1,0: 34:[17, 27] Operation: 15+12=27 Exploring Operation: 17-15=2, Resulting Numbers: [12, 2] Generated Node #0,1,1: 34:[12, 2] Operation: 17-15=2 Exploring Operation: 15+17=32, Resulting Numbers: [12, 32] Generated Node #0,1,2: 34:[12, 32] Operation: 15+17=32 Exploring Operation: 17-12=5, Resulting Numbers: [15, 5] Generated Node #0,1,3: 34:[15, 5] Operation: 17-12=5 Exploring Operation: 15-12=3, Resulting Numbers: [17, 3] Generated Node #0,1,4: 34:[17, 3] Operation: 15-12=3 Moving to Node #0,2 Current State: 34:[15, 44, 39], Operations: ['56-17=39'] Exploring Operation: 15+39=54, Resulting Numbers: [44, 54] Generated Node #0,2,0: 34:[44, 54] Operation: 15+39=54 Exploring Operation: 44-39=5, Resulting Numbers: [15, 5] Generated Node #0,2,1: 34:[15, 5] Operation: 44-39=5 Exploring Operation: 44-15=29, Resulting Numbers: [39, 29] Generated Node #0,2,2: 34:[39, 29] Operation: 44-15=29 Exploring Operation: 15+44=59, Resulting Numbers: [39, 59] Generated Node #0,2,3: 34:[39, 59] Operation: 15+44=59 Exploring Operation: 39-15=24, Resulting Numbers: [44, 24] Generated Node #0,2,4: 34:[44, 24] Operation: 39-15=24 Moving to Node #0,0 Current State: 34:[17, 44, 41], Operations: ['56-15=41'] Exploring Operation: 17+41=58, Resulting Numbers: [44, 58] Generated Node #0,0,0: 34:[44, 58] Operation: 17+41=58 Exploring Operation: 41-17=24, Resulting Numbers: [44, 24] Generated Node #0,0,1: 34:[44, 24] Operation: 41-17=24 Exploring Operation: 44-41=3, Resulting Numbers: [17, 3] Generated Node #0,0,2: 34:[17, 3] Operation: 44-41=3 Exploring Operation: 44-17=27, Resulting Numbers: [41, 27] Generated Node #0,0,3: 34:[41, 27] Operation: 44-17=27 Exploring Operation: 17+44=61, Resulting Numbers: [41, 61] Generated Node #0,0,4: 34:[41, 61] Operation: 17+44=61 Moving to Node #0,3 Current State: 34:[56, 17, 29], Operations: ['44-15=29'] Exploring Operation: 17+29=46, Resulting Numbers: [56, 46] Generated Node #0,3,0: 34:[56, 46] Operation: 17+29=46 Exploring Operation: 56-17=39, Resulting Numbers: [29, 39] Generated Node #0,3,1: 34:[29, 39] Operation: 56-17=39 Exploring Operation: 56-29=27, Resulting Numbers: [17, 27] Generated Node #0,3,2: 34:[17, 27] Operation: 56-29=27 Exploring Operation: 29-17=12, Resulting Numbers: [56, 12] Generated Node #0,3,3: 34:[56, 12] Operation: 29-17=12 Exploring Operation: 56+17=73, Resulting Numbers: [29, 73] Generated Node #0,3,4: 34:[29, 73] Operation: 56+17=73 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[17, 27], Operations: ['44-15=29', '56-29=27'] Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,34 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[29, 39], Operations: ['44-15=29', '56-17=39'] Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,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,3,3 Current State: 34:[56, 12], Operations: ['44-15=29', '29-17=12'] Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,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,3,0 Current State: 34:[56, 46], Operations: ['44-15=29', '17+29=46'] Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,34 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[29, 73], Operations: ['44-15=29', '56+17=73'] Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 29*73=2117, Resulting Numbers: [2117] 2117,34 unequal: No Solution Exploring Operation: 29+73=102, Resulting Numbers: [102] 102,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 34:[56, 15, 27], Operations: ['44-17=27'] Exploring Operation: 15+27=42, Resulting Numbers: [56, 42] Generated Node #0,4,0: 34:[56, 42] Operation: 15+27=42 Exploring Operation: 56-15=41, Resulting Numbers: [27, 41] Generated Node #0,4,1: 34:[27, 41] Operation: 56-15=41 Exploring Operation: 56+15=71, Resulting Numbers: [27, 71] Generated Node #0,4,2: 34:[27, 71] Operation: 56+15=71 Exploring Operation: 56-27=29, Resulting Numbers: [15, 29] Generated Node #0,4,3: 34:[15, 29] Operation: 56-27=29 Exploring Operation: 27-15=12, Resulting Numbers: [56, 12] Generated Node #0,4,4: 34:[56, 12] Operation: 27-15=12 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 34:[15, 29], Operations: ['44-17=27', '56-27=29'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 34:[27, 41], Operations: ['44-17=27', '56-15=41'] Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,34 unequal: No Solution Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 34:[56, 12], Operations: ['44-17=27', '27-15=12'] Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,34 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 34:[56, 42], Operations: ['44-17=27', '15+27=42'] Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 56*42=2352, Resulting Numbers: [2352] 2352,34 unequal: No Solution Exploring Operation: 56+42=98, Resulting Numbers: [98] 98,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 34:[27, 71], Operations: ['44-17=27', '56+15=71'] Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 27*71=1917, Resulting Numbers: [1917] 1917,34 unequal: No Solution Exploring Operation: 27+71=98, Resulting Numbers: [98] 98,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 34:[17, 3], Operations: ['56-44=12', '15-12=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[17, 3], Operations: ['56-15=41', '44-41=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[15, 5], Operations: ['56-44=12', '17-12=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[15, 5], Operations: ['56-17=39', '44-39=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[12, 2], Operations: ['56-44=12', '17-15=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[12, 32], Operations: ['56-44=12', '15+17=32'] Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,34 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[17, 27], Operations: ['56-44=12', '15+12=27'] Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,34 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[39, 29], Operations: ['56-17=39', '44-15=29'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[41, 27], Operations: ['56-15=41', '44-17=27'] Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[44, 24], Operations: ['56-15=41', '41-17=24'] Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,34 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[44, 24], Operations: ['56-17=39', '39-15=24'] Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,34 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[39, 59], Operations: ['56-17=39', '15+44=59'] Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,34 unequal: No Solution Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,34 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[44, 54], Operations: ['56-17=39', '15+39=54'] Exploring Operation: 44*54=2376, Resulting Numbers: [2376] 2376,34 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[41, 61], Operations: ['56-15=41', '17+44=61'] Exploring Operation: 41*61=2501, Resulting Numbers: [2501] 2501,34 unequal: No Solution Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 41+61=102, Resulting Numbers: [102] 102,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[44, 58], Operations: ['56-15=41', '17+41=58'] Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 44*58=2552, Resulting Numbers: [2552] 2552,34 unequal: No Solution Exploring Operation: 44+58=102, Resulting Numbers: [102] 102,34 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 32, 90, 92, 61 ]
90
[ "32+90=122", "122/61=2", "92-2=90" ]
Current State: 90:[32, 90, 92, 61], Operations: [] Exploring Operation: 32+90=122, Resulting Numbers: [92, 61, 122] Generated Node #2: [92, 61, 122] from Operation: 32+90=122 Current State: 90:[92, 61, 122], Operations: ['32+90=122'] Exploring Operation: 122/61=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 122/61=2 Current State: 90:[92, 2], Operations: ['32+90=122', '122/61=2'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[32, 90, 92, 61], Operations: [] Exploring Operation: 61-32=29, Resulting Numbers: [90, 92, 29] Generated Node #0,0: 90:[90, 92, 29] Operation: 61-32=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[90, 92, 29], Operations: ['61-32=29'] Exploring Operation: 92-90=2, Resulting Numbers: [29, 2] Generated Node #0,0,0: 90:[29, 2] Operation: 92-90=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[29, 2], Operations: ['61-32=29', '92-90=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 24, 17, 32, 10 ]
19
[ "24+17=41", "32-10=22", "41-22=19" ]
Current State: 19:[24, 17, 32, 10], Operations: [] Exploring Operation: 24+17=41, Resulting Numbers: [32, 10, 41] Generated Node #2: [32, 10, 41] from Operation: 24+17=41 Current State: 19:[32, 10, 41], Operations: ['24+17=41'] Exploring Operation: 32-10=22, Resulting Numbers: [41, 22] Generated Node #3: [41, 22] from Operation: 32-10=22 Current State: 19:[41, 22], Operations: ['24+17=41', '32-10=22'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[24, 17, 32, 10], Operations: [] Exploring Operation: 32-10=22, Resulting Numbers: [24, 17, 22] Generated Node #0,0: 19:[24, 17, 22] Operation: 32-10=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[24, 17, 22], Operations: ['32-10=22'] Exploring Operation: 24-17=7, Resulting Numbers: [22, 7] Generated Node #0,0,0: 19:[22, 7] Operation: 24-17=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[22, 7], Operations: ['32-10=22', '24-17=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,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_1
mult_heuristic
[ 8, 94, 47, 60 ]
22
[ "94/47=2", "60/2=30", "30-8=22" ]
Current State: 22:[8, 94, 47, 60], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [8, 60, 2] Generated Node #2: [8, 60, 2] from Operation: 94/47=2 Current State: 22:[8, 60, 2], Operations: ['94/47=2'] Exploring Operation: 60/2=30, Resulting Numbers: [8, 30] Generated Node #3: [8, 30] from Operation: 60/2=30 Current State: 22:[8, 30], Operations: ['94/47=2', '60/2=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[8, 94, 47, 60], Operations: [] Exploring Operation: 60-47=13, Resulting Numbers: [8, 94, 13] Generated Node #0,0: 22:[8, 94, 13] Operation: 60-47=13 Exploring Operation: 94/47=2, Resulting Numbers: [8, 60, 2] Generated Node #0,1: 22:[8, 60, 2] Operation: 94/47=2 Exploring Operation: 94-60=34, Resulting Numbers: [8, 47, 34] Generated Node #0,2: 22:[8, 47, 34] Operation: 94-60=34 Exploring Operation: 94-47=47, Resulting Numbers: [8, 60, 47] Generated Node #0,3: 22:[8, 60, 47] Operation: 94-47=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[8, 47, 34], Operations: ['94-60=34'] Exploring Operation: 8+47=55, Resulting Numbers: [34, 55] Generated Node #0,2,0: 22:[34, 55] Operation: 8+47=55 Exploring Operation: 47-8=39, Resulting Numbers: [34, 39] Generated Node #0,2,1: 22:[34, 39] Operation: 47-8=39 Exploring Operation: 34-8=26, Resulting Numbers: [47, 26] Generated Node #0,2,2: 22:[47, 26] Operation: 34-8=26 Exploring Operation: 47-34=13, Resulting Numbers: [8, 13] Generated Node #0,2,3: 22:[8, 13] Operation: 47-34=13 Moving to Node #0,2,3 Current State: 22:[8, 13], Operations: ['94-60=34', '47-34=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[47, 26], Operations: ['94-60=34', '34-8=26'] Exploring Operation: 47*26=1222, Resulting Numbers: [1222] 1222,22 unequal: No Solution Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,22 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[34, 39], Operations: ['94-60=34', '47-8=39'] Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,22 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[34, 55], Operations: ['94-60=34', '8+47=55'] Exploring Operation: 34*55=1870, Resulting Numbers: [1870] 1870,22 unequal: No Solution Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 34+55=89, Resulting Numbers: [89] 89,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[8, 60, 2], Operations: ['94/47=2'] Exploring Operation: 8+2=10, Resulting Numbers: [60, 10] Generated Node #0,1,0: 22:[60, 10] Operation: 8+2=10 Exploring Operation: 60-2=58, Resulting Numbers: [8, 58] Generated Node #0,1,1: 22:[8, 58] Operation: 60-2=58 Exploring Operation: 60-8=52, Resulting Numbers: [2, 52] Generated Node #0,1,2: 22:[2, 52] Operation: 60-8=52 Exploring Operation: 60/2=30, Resulting Numbers: [8, 30] Generated Node #0,1,3: 22:[8, 30] Operation: 60/2=30 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 22:[8, 30], Operations: ['94/47=2', '60/2=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[8, 94, 47, 60], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [8, 60, 2] Generated Node #0,1: 22:[8, 60, 2] Operation: 94/47=2 Moving to Node #0,1 Current State: 22:[8, 60, 2], Operations: ['94/47=2'] Exploring Operation: 60/2=30, Resulting Numbers: [8, 30] Generated Node #0,1,3: 22:[8, 30] Operation: 60/2=30 Moving to Node #0,1,3 Current State: 22:[8, 30], Operations: ['94/47=2', '60/2=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 17, 70, 66, 43 ]
25
[ "70-66=4", "17*4=68", "68-43=25" ]
Current State: 25:[17, 70, 66, 43], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [17, 43, 4] Generated Node #2: [17, 43, 4] from Operation: 70-66=4 Current State: 25:[17, 43, 4], Operations: ['70-66=4'] Exploring Operation: 17*4=68, Resulting Numbers: [43, 68] Generated Node #3: [43, 68] from Operation: 17*4=68 Current State: 25:[43, 68], Operations: ['70-66=4', '17*4=68'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[17, 70, 66, 43], Operations: [] Exploring Operation: 66-43=23, Resulting Numbers: [17, 70, 23] Generated Node #0,0: 25:[17, 70, 23] Operation: 66-43=23 Exploring Operation: 70-17=53, Resulting Numbers: [66, 43, 53] Generated Node #0,1: 25:[66, 43, 53] Operation: 70-17=53 Exploring Operation: 70-66=4, Resulting Numbers: [17, 43, 4] Generated Node #0,2: 25:[17, 43, 4] Operation: 70-66=4 Exploring Operation: 70-43=27, Resulting Numbers: [17, 66, 27] Generated Node #0,3: 25:[17, 66, 27] Operation: 70-43=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[17, 43, 4], Operations: ['70-66=4'] Exploring Operation: 17-4=13, Resulting Numbers: [43, 13] Generated Node #0,2,0: 25:[43, 13] Operation: 17-4=13 Exploring Operation: 43-4=39, Resulting Numbers: [17, 39] Generated Node #0,2,1: 25:[17, 39] Operation: 43-4=39 Exploring Operation: 43-17=26, Resulting Numbers: [4, 26] Generated Node #0,2,2: 25:[4, 26] Operation: 43-17=26 Exploring Operation: 17+4=21, Resulting Numbers: [43, 21] Generated Node #0,2,3: 25:[43, 21] Operation: 17+4=21 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[4, 26], Operations: ['70-66=4', '43-17=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,25 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 25:[17, 39], Operations: ['70-66=4', '43-4=39'] Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 17*39=663, Resulting Numbers: [663] 663,25 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 25:[43, 21], Operations: ['70-66=4', '17+4=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,25 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[43, 13], Operations: ['70-66=4', '17-4=13'] Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,25 unequal: No Solution Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[17, 66, 27], Operations: ['70-43=27'] Exploring Operation: 66-17=49, Resulting Numbers: [27, 49] Generated Node #0,3,0: 25:[27, 49] Operation: 66-17=49 Exploring Operation: 66-27=39, Resulting Numbers: [17, 39] Generated Node #0,3,1: 25:[17, 39] Operation: 66-27=39 Exploring Operation: 17+66=83, Resulting Numbers: [27, 83] Generated Node #0,3,2: 25:[27, 83] Operation: 17+66=83 Exploring Operation: 27-17=10, Resulting Numbers: [66, 10] Generated Node #0,3,3: 25:[66, 10] Operation: 27-17=10 Moving to Node #0,3,1 Current State: 25:[17, 39], Operations: ['70-43=27', '66-27=39'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 17*39=663, Resulting Numbers: [663] 663,25 unequal: No Solution Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[27, 49], Operations: ['70-43=27', '66-17=49'] Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,25 unequal: No Solution Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[66, 10], Operations: ['70-43=27', '27-17=10'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,25 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[27, 83], Operations: ['70-43=27', '17+66=83'] Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,25 unequal: No Solution Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,25 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[17, 70, 23], Operations: ['66-43=23'] Exploring Operation: 23-17=6, Resulting Numbers: [70, 6] Generated Node #0,0,0: 25:[70, 6] Operation: 23-17=6 Exploring Operation: 17+23=40, Resulting Numbers: [70, 40] Generated Node #0,0,1: 25:[70, 40] Operation: 17+23=40 Exploring Operation: 70-17=53, Resulting Numbers: [23, 53] Generated Node #0,0,2: 25:[23, 53] Operation: 70-17=53 Exploring Operation: 70-23=47, Resulting Numbers: [17, 47] Generated Node #0,0,3: 25:[17, 47] Operation: 70-23=47 Moving to Node #0,0,2 Current State: 25:[23, 53], Operations: ['66-43=23', '70-17=53'] Exploring Operation: 23+53=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 23*53=1219, Resulting Numbers: [1219] 1219,25 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[17, 47], Operations: ['66-43=23', '70-23=47'] Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,25 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[70, 6], Operations: ['66-43=23', '23-17=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[70, 40], Operations: ['66-43=23', '17+23=40'] Exploring Operation: 70+40=110, Resulting Numbers: [110] 110,25 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 70*40=2800, Resulting Numbers: [2800] 2800,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[66, 43, 53], Operations: ['70-17=53'] Exploring Operation: 66+43=109, Resulting Numbers: [53, 109] Generated Node #0,1,0: 25:[53, 109] Operation: 66+43=109 Exploring Operation: 66-43=23, Resulting Numbers: [53, 23] Generated Node #0,1,1: 25:[53, 23] Operation: 66-43=23 Exploring Operation: 66-53=13, Resulting Numbers: [43, 13] Generated Node #0,1,2: 25:[43, 13] Operation: 66-53=13 Exploring Operation: 53-43=10, Resulting Numbers: [66, 10] Generated Node #0,1,3: 25:[66, 10] Operation: 53-43=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[43, 13], Operations: ['70-17=53', '66-53=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,25 unequal: No Solution Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[53, 23], Operations: ['70-17=53', '66-43=23'] Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[66, 10], Operations: ['70-17=53', '53-43=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,25 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[53, 109], Operations: ['70-17=53', '66+43=109'] Exploring Operation: 109-53=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 53*109=5777, Resulting Numbers: [5777] 5777,25 unequal: No Solution Exploring Operation: 53+109=162, Resulting Numbers: [162] 162,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 24, 48, 90, 18 ]
33
[ "24-18=6", "90/6=15", "48-15=33" ]
Current State: 33:[24, 48, 90, 18], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [48, 90, 6] Generated Node #2: [48, 90, 6] from Operation: 24-18=6 Current State: 33:[48, 90, 6], Operations: ['24-18=6'] Exploring Operation: 90/6=15, Resulting Numbers: [48, 15] Generated Node #3: [48, 15] from Operation: 90/6=15 Current State: 33:[48, 15], Operations: ['24-18=6', '90/6=15'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[24, 48, 90, 18], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [24, 48, 72] Generated Node #0,0: 33:[24, 48, 72] Operation: 90-18=72 Exploring Operation: 90/18=5, Resulting Numbers: [24, 48, 5] Generated Node #0,1: 33:[24, 48, 5] Operation: 90/18=5 Exploring Operation: 90-24=66, Resulting Numbers: [48, 18, 66] Generated Node #0,2: 33:[48, 18, 66] Operation: 90-24=66 Exploring Operation: 90-48=42, Resulting Numbers: [24, 18, 42] Generated Node #0,3: 33:[24, 18, 42] Operation: 90-48=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[24, 18, 42], Operations: ['90-48=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24, 24] Generated Node #0,3,0: 33:[24, 24] Operation: 42-18=24 Exploring Operation: 24+18=42, Resulting Numbers: [42, 42] Generated Node #0,3,1: 33:[42, 42] Operation: 24+18=42 Exploring Operation: 42-24=18, Resulting Numbers: [18, 18] Generated Node #0,3,2: 33:[18, 18] Operation: 42-24=18 Exploring Operation: 24-18=6, Resulting Numbers: [42, 6] Generated Node #0,3,3: 33:[42, 6] Operation: 24-18=6 Moving to Node #0,3,3 Current State: 33:[42, 6], Operations: ['90-48=42', '24-18=6'] Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,33 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[18, 18], Operations: ['90-48=42', '42-24=18'] Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,33 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[42, 42], Operations: ['90-48=42', '24+18=42'] Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,33 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[24, 24], Operations: ['90-48=42', '42-18=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,33 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[24, 48, 5], Operations: ['90/18=5'] Exploring Operation: 48-24=24, Resulting Numbers: [5, 24] Generated Node #0,1,0: 33:[5, 24] Operation: 48-24=24 Exploring Operation: 24+5=29, Resulting Numbers: [48, 29] Generated Node #0,1,1: 33:[48, 29] Operation: 24+5=29 Exploring Operation: 48-5=43, Resulting Numbers: [24, 43] Generated Node #0,1,2: 33:[24, 43] Operation: 48-5=43 Exploring Operation: 48/24=2, Resulting Numbers: [5, 2] Generated Node #0,1,3: 33:[5, 2] Operation: 48/24=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[5, 2], Operations: ['90/18=5', '48/24=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[5, 24], Operations: ['90/18=5', '48-24=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[48, 29], Operations: ['90/18=5', '24+5=29'] Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,33 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,33 unequal: No Solution Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[24, 43], Operations: ['90/18=5', '48-5=43'] Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[48, 18, 66], Operations: ['90-24=66'] Exploring Operation: 48-18=30, Resulting Numbers: [66, 30] Generated Node #0,2,0: 33:[66, 30] Operation: 48-18=30 Exploring Operation: 48+18=66, Resulting Numbers: [66, 66] Generated Node #0,2,1: 33:[66, 66] Operation: 48+18=66 Exploring Operation: 66-48=18, Resulting Numbers: [18, 18] Generated Node #0,2,2: 33:[18, 18] Operation: 66-48=18 Exploring Operation: 66-18=48, Resulting Numbers: [48, 48] Generated Node #0,2,3: 33:[48, 48] Operation: 66-18=48 Moving to Node #0,2,2 Current State: 33:[18, 18], Operations: ['90-24=66', '66-48=18'] Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,33 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[48, 48], Operations: ['90-24=66', '66-18=48'] Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,33 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[66, 30], Operations: ['90-24=66', '48-18=30'] Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,33 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[66, 66], Operations: ['90-24=66', '48+18=66'] Exploring Operation: 66*66=4356, Resulting Numbers: [4356] 4356,33 unequal: No Solution Exploring Operation: 66+66=132, Resulting Numbers: [132] 132,33 unequal: No Solution Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 66-66=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[24, 48, 72], Operations: ['90-18=72'] Exploring Operation: 48/24=2, Resulting Numbers: [72, 2] Generated Node #0,0,0: 33:[72, 2] Operation: 48/24=2 Exploring Operation: 72/24=3, Resulting Numbers: [48, 3] Generated Node #0,0,1: 33:[48, 3] Operation: 72/24=3 Exploring Operation: 72-48=24, Resulting Numbers: [24, 24] Generated Node #0,0,2: 33:[24, 24] Operation: 72-48=24 Exploring Operation: 72-24=48, Resulting Numbers: [48, 48] Generated Node #0,0,3: 33:[48, 48] Operation: 72-24=48 Moving to Node #0,0,1 Current State: 33:[48, 3], Operations: ['90-18=72', '72/24=3'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[24, 24], Operations: ['90-18=72', '72-48=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,33 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[48, 48], Operations: ['90-18=72', '72-24=48'] Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,33 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[72, 2], Operations: ['90-18=72', '48/24=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,33 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,33 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