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
[ 95, 75, 18, 64 ]
13
[ "95+75=170", "64+170=234", "234/18=13" ]
Current State: 13:[95, 75, 18, 64], Operations: [] Exploring Operation: 95+75=170, Resulting Numbers: [18, 64, 170] Generated Node #2: [18, 64, 170] from Operation: 95+75=170 Current State: 13:[18, 64, 170], Operations: ['95+75=170'] Exploring Operation: 64+170=234, Resulting Numbers: [18, 234] Generated Node #3: [18, 234] from Operation: 64+170=234 Current State: 13:[18, 234], Operations: ['95+75=170', '64+170=234'] Exploring Operation: 234/18=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[95, 75, 18, 64], Operations: [] Exploring Operation: 95-64=31, Resulting Numbers: [75, 18, 31] Generated Node #0,0: 13:[75, 18, 31] Operation: 95-64=31 Exploring Operation: 95-75=20, Resulting Numbers: [18, 64, 20] Generated Node #0,1: 13:[18, 64, 20] Operation: 95-75=20 Exploring Operation: 95-18=77, Resulting Numbers: [75, 64, 77] Generated Node #0,2: 13:[75, 64, 77] Operation: 95-18=77 Exploring Operation: 75-18=57, Resulting Numbers: [95, 64, 57] Generated Node #0,3: 13:[95, 64, 57] Operation: 75-18=57 Exploring Operation: 75-64=11, Resulting Numbers: [95, 18, 11] Generated Node #0,4: 13:[95, 18, 11] Operation: 75-64=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[18, 64, 20], Operations: ['95-75=20'] Exploring Operation: 18+20=38, Resulting Numbers: [64, 38] Generated Node #0,1,0: 13:[64, 38] Operation: 18+20=38 Exploring Operation: 18+64=82, Resulting Numbers: [20, 82] Generated Node #0,1,1: 13:[20, 82] Operation: 18+64=82 Exploring Operation: 20-18=2, Resulting Numbers: [64, 2] Generated Node #0,1,2: 13:[64, 2] Operation: 20-18=2 Exploring Operation: 64-20=44, Resulting Numbers: [18, 44] Generated Node #0,1,3: 13:[18, 44] Operation: 64-20=44 Exploring Operation: 64-18=46, Resulting Numbers: [20, 46] Generated Node #0,1,4: 13:[20, 46] Operation: 64-18=46 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 13:[18, 44], Operations: ['95-75=20', '64-20=44'] Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,13 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 13:[20, 46], Operations: ['95-75=20', '64-18=46'] Exploring Operation: 20*46=920, Resulting Numbers: [920] 920,13 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 13:[64, 2], Operations: ['95-75=20', '20-18=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[64, 38], Operations: ['95-75=20', '18+20=38'] Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,13 unequal: No Solution Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[20, 82], Operations: ['95-75=20', '18+64=82'] Exploring Operation: 20+82=102, Resulting Numbers: [102] 102,13 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 20*82=1640, Resulting Numbers: [1640] 1640,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[75, 18, 31], Operations: ['95-64=31'] Exploring Operation: 75+18=93, Resulting Numbers: [31, 93] Generated Node #0,0,0: 13:[31, 93] Operation: 75+18=93 Exploring Operation: 75-18=57, Resulting Numbers: [31, 57] Generated Node #0,0,1: 13:[31, 57] Operation: 75-18=57 Exploring Operation: 75+31=106, Resulting Numbers: [18, 106] Generated Node #0,0,2: 13:[18, 106] Operation: 75+31=106 Exploring Operation: 31-18=13, Resulting Numbers: [75, 13] Generated Node #0,0,3: 13:[75, 13] Operation: 31-18=13 Exploring Operation: 75-31=44, Resulting Numbers: [18, 44] Generated Node #0,0,4: 13:[18, 44] Operation: 75-31=44 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 13:[18, 44], Operations: ['95-64=31', '75-31=44'] Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,13 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[31, 57], Operations: ['95-64=31', '75-18=57'] Exploring Operation: 31*57=1767, Resulting Numbers: [1767] 1767,13 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 13:[75, 13], Operations: ['95-64=31', '31-18=13'] Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,13 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[31, 93], Operations: ['95-64=31', '75+18=93'] Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 31*93=2883, Resulting Numbers: [2883] 2883,13 unequal: No Solution Exploring Operation: 31+93=124, Resulting Numbers: [124] 124,13 unequal: No Solution Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 13:[18, 106], Operations: ['95-64=31', '75+31=106'] Exploring Operation: 18*106=1908, Resulting Numbers: [1908] 1908,13 unequal: No Solution Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 18+106=124, Resulting Numbers: [124] 124,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 13:[95, 18, 11], Operations: ['75-64=11'] Exploring Operation: 18-11=7, Resulting Numbers: [95, 7] Generated Node #0,4,0: 13:[95, 7] Operation: 18-11=7 Exploring Operation: 95+11=106, Resulting Numbers: [18, 106] Generated Node #0,4,1: 13:[18, 106] Operation: 95+11=106 Exploring Operation: 95-18=77, Resulting Numbers: [11, 77] Generated Node #0,4,2: 13:[11, 77] Operation: 95-18=77 Exploring Operation: 95-11=84, Resulting Numbers: [18, 84] Generated Node #0,4,3: 13:[18, 84] Operation: 95-11=84 Exploring Operation: 18+11=29, Resulting Numbers: [95, 29] Generated Node #0,4,4: 13:[95, 29] Operation: 18+11=29 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 13:[11, 77], Operations: ['75-64=11', '95-18=77'] Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,13 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 13:[18, 84], Operations: ['75-64=11', '95-11=84'] Exploring Operation: 18*84=1512, Resulting Numbers: [1512] 1512,13 unequal: No Solution Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 18+84=102, Resulting Numbers: [102] 102,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 13:[95, 7], Operations: ['75-64=11', '18-11=7'] Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 95+7=102, Resulting Numbers: [102] 102,13 unequal: No Solution Exploring Operation: 95*7=665, Resulting Numbers: [665] 665,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 13:[18, 106], Operations: ['75-64=11', '95+11=106'] Exploring Operation: 18*106=1908, Resulting Numbers: [1908] 1908,13 unequal: No Solution Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 18+106=124, Resulting Numbers: [124] 124,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 13:[95, 29], Operations: ['75-64=11', '18+11=29'] Exploring Operation: 95*29=2755, Resulting Numbers: [2755] 2755,13 unequal: No Solution Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 95+29=124, Resulting Numbers: [124] 124,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[75, 64, 77], Operations: ['95-18=77'] Exploring Operation: 77-75=2, Resulting Numbers: [64, 2] Generated Node #0,2,0: 13:[64, 2] Operation: 77-75=2 Exploring Operation: 77-64=13, Resulting Numbers: [75, 13] Generated Node #0,2,1: 13:[75, 13] Operation: 77-64=13 Exploring Operation: 75+64=139, Resulting Numbers: [77, 139] Generated Node #0,2,2: 13:[77, 139] Operation: 75+64=139 Exploring Operation: 75-64=11, Resulting Numbers: [77, 11] Generated Node #0,2,3: 13:[77, 11] Operation: 75-64=11 Exploring Operation: 75+77=152, Resulting Numbers: [64, 152] Generated Node #0,2,4: 13:[64, 152] Operation: 75+77=152 Moving to Node #0,2,0 Current State: 13:[64, 2], Operations: ['95-18=77', '77-75=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,13 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[75, 13], Operations: ['95-18=77', '77-64=13'] Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[77, 11], Operations: ['95-18=77', '75-64=11'] Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[77, 139], Operations: ['95-18=77', '75+64=139'] Exploring Operation: 77+139=216, Resulting Numbers: [216] 216,13 unequal: No Solution Exploring Operation: 139-77=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 77*139=10703, Resulting Numbers: [10703] 10703,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[64, 152], Operations: ['95-18=77', '75+77=152'] Exploring Operation: 64*152=9728, Resulting Numbers: [9728] 9728,13 unequal: No Solution Exploring Operation: 152-64=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 64+152=216, Resulting Numbers: [216] 216,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[95, 64, 57], Operations: ['75-18=57'] Exploring Operation: 95+57=152, Resulting Numbers: [64, 152] Generated Node #0,3,0: 13:[64, 152] Operation: 95+57=152 Exploring Operation: 64-57=7, Resulting Numbers: [95, 7] Generated Node #0,3,1: 13:[95, 7] Operation: 64-57=7 Exploring Operation: 95+64=159, Resulting Numbers: [57, 159] Generated Node #0,3,2: 13:[57, 159] Operation: 95+64=159 Exploring Operation: 95-57=38, Resulting Numbers: [64, 38] Generated Node #0,3,3: 13:[64, 38] Operation: 95-57=38 Exploring Operation: 95-64=31, Resulting Numbers: [57, 31] Generated Node #0,3,4: 13:[57, 31] Operation: 95-64=31 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 13:[57, 31], Operations: ['75-18=57', '95-64=31'] Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 13:[64, 38], Operations: ['75-18=57', '95-57=38'] Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,13 unequal: No Solution Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 13:[95, 7], Operations: ['75-18=57', '64-57=7'] Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 95*7=665, Resulting Numbers: [665] 665,13 unequal: No Solution Exploring Operation: 95+7=102, Resulting Numbers: [102] 102,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 13:[64, 152], Operations: ['75-18=57', '95+57=152'] Exploring Operation: 64+152=216, Resulting Numbers: [216] 216,13 unequal: No Solution Exploring Operation: 152-64=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 64*152=9728, Resulting Numbers: [9728] 9728,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 13:[57, 159], Operations: ['75-18=57', '95+64=159'] Exploring Operation: 57*159=9063, Resulting Numbers: [9063] 9063,13 unequal: No Solution Exploring Operation: 159-57=102, Resulting Numbers: [102] 102,13 unequal: No Solution Exploring Operation: 57+159=216, Resulting Numbers: [216] 216,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 64, 1, 32, 28 ]
17
[ "32-28=4", "64/4=16", "1+16=17" ]
Current State: 17:[64, 1, 32, 28], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [64, 1, 4] Generated Node #2: [64, 1, 4] from Operation: 32-28=4 Current State: 17:[64, 1, 4], Operations: ['32-28=4'] Exploring Operation: 64/4=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 64/4=16 Current State: 17:[1, 16], Operations: ['32-28=4', '64/4=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[64, 1, 32, 28], Operations: [] Exploring Operation: 64-1=63, Resulting Numbers: [32, 28, 63] Generated Node #0,0: 17:[32, 28, 63] Operation: 64-1=63 Exploring Operation: 64/32=2, Resulting Numbers: [1, 28, 2] Generated Node #0,1: 17:[1, 28, 2] Operation: 64/32=2 Exploring Operation: 64-28=36, Resulting Numbers: [1, 32, 36] Generated Node #0,2: 17:[1, 32, 36] Operation: 64-28=36 Exploring Operation: 64-32=32, Resulting Numbers: [1, 28, 32] Generated Node #0,3: 17:[1, 28, 32] Operation: 64-32=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[1, 28, 2], Operations: ['64/32=2'] Exploring Operation: 1+2=3, Resulting Numbers: [28, 3] Generated Node #0,1,0: 17:[28, 3] Operation: 1+2=3 Exploring Operation: 28-2=26, Resulting Numbers: [1, 26] Generated Node #0,1,1: 17:[1, 26] Operation: 28-2=26 Exploring Operation: 28-1=27, Resulting Numbers: [2, 27] Generated Node #0,1,2: 17:[2, 27] Operation: 28-1=27 Exploring Operation: 28/2=14, Resulting Numbers: [1, 14] Generated Node #0,1,3: 17:[1, 14] Operation: 28/2=14 Moving to Node #0,1,3 Current State: 17:[1, 14], Operations: ['64/32=2', '28/2=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[1, 26], Operations: ['64/32=2', '28-2=26'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[28, 3], Operations: ['64/32=2', '1+2=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[2, 27], Operations: ['64/32=2', '28-1=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,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,3 Current State: 17:[1, 28, 32], Operations: ['64-32=32'] Exploring Operation: 28/1=28, Resulting Numbers: [32, 28] Generated Node #0,3,0: 17:[32, 28] Operation: 28/1=28 Exploring Operation: 32-1=31, Resulting Numbers: [28, 31] Generated Node #0,3,1: 17:[28, 31] Operation: 32-1=31 Exploring Operation: 1*28=28, Resulting Numbers: [32, 28] Generated Node #0,3,2: 17:[32, 28] Operation: 1*28=28 Exploring Operation: 28-1=27, Resulting Numbers: [32, 27] Generated Node #0,3,3: 17:[32, 27] Operation: 28-1=27 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[28, 31], Operations: ['64-32=32', '32-1=31'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,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:[32, 27], Operations: ['64-32=32', '28-1=27'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,17 unequal: No Solution Exploring Operation: 32+27=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,3,0 Current State: 17:[32, 28], Operations: ['64-32=32', '28/1=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,17 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,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,2 Current State: 17:[32, 28], Operations: ['64-32=32', '1*28=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,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,2 Current State: 17:[1, 32, 36], Operations: ['64-28=36'] Exploring Operation: 1*32=32, Resulting Numbers: [36, 32] Generated Node #0,2,0: 17:[36, 32] Operation: 1*32=32 Exploring Operation: 36-1=35, Resulting Numbers: [32, 35] Generated Node #0,2,1: 17:[32, 35] Operation: 36-1=35 Exploring Operation: 36-32=4, Resulting Numbers: [1, 4] Generated Node #0,2,2: 17:[1, 4] Operation: 36-32=4 Exploring Operation: 32-1=31, Resulting Numbers: [36, 31] Generated Node #0,2,3: 17:[36, 31] Operation: 32-1=31 Moving to Node #0,2,2 Current State: 17:[1, 4], Operations: ['64-28=36', '36-32=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[36, 31], Operations: ['64-28=36', '32-1=31'] Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,17 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[32, 35], Operations: ['64-28=36', '36-1=35'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,17 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[36, 32], Operations: ['64-28=36', '1*32=32'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,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:[32, 28, 63], Operations: ['64-1=63'] Exploring Operation: 63-32=31, Resulting Numbers: [28, 31] Generated Node #0,0,0: 17:[28, 31] Operation: 63-32=31 Exploring Operation: 32+28=60, Resulting Numbers: [63, 60] Generated Node #0,0,1: 17:[63, 60] Operation: 32+28=60 Exploring Operation: 63-28=35, Resulting Numbers: [32, 35] Generated Node #0,0,2: 17:[32, 35] Operation: 63-28=35 Exploring Operation: 32-28=4, Resulting Numbers: [63, 4] Generated Node #0,0,3: 17:[63, 4] Operation: 32-28=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[28, 31], Operations: ['64-1=63', '63-32=31'] Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,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,0,2 Current State: 17:[32, 35], Operations: ['64-1=63', '63-28=35'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,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,0,3 Current State: 17:[63, 4], Operations: ['64-1=63', '32-28=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,17 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,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,0,1 Current State: 17:[63, 60], Operations: ['64-1=63', '32+28=60'] Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 63+60=123, Resulting Numbers: [123] 123,17 unequal: No Solution Exploring Operation: 63*60=3780, Resulting Numbers: [3780] 3780,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_4
sum_heuristic
[ 22, 23, 24, 35 ]
12
[ "23-22=1", "35-24=11", "1+11=12" ]
Current State: 12:[22, 23, 24, 35], Operations: [] Exploring Operation: 23-22=1, Resulting Numbers: [24, 35, 1] Generated Node #2: [24, 35, 1] from Operation: 23-22=1 Current State: 12:[24, 35, 1], Operations: ['23-22=1'] Exploring Operation: 35-24=11, Resulting Numbers: [1, 11] Generated Node #3: [1, 11] from Operation: 35-24=11 Current State: 12:[1, 11], Operations: ['23-22=1', '35-24=11'] Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[22, 23, 24, 35], Operations: [] Exploring Operation: 35-22=13, Resulting Numbers: [23, 24, 13] Generated Node #0,0: 12:[23, 24, 13] Operation: 35-22=13 Exploring Operation: 35-24=11, Resulting Numbers: [22, 23, 11] Generated Node #0,1: 12:[22, 23, 11] Operation: 35-24=11 Exploring Operation: 24-22=2, Resulting Numbers: [23, 35, 2] Generated Node #0,2: 12:[23, 35, 2] Operation: 24-22=2 Exploring Operation: 35-23=12, Resulting Numbers: [22, 24, 12] Generated Node #0,3: 12:[22, 24, 12] Operation: 35-23=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[22, 23, 11], Operations: ['35-24=11'] Exploring Operation: 22-11=11, Resulting Numbers: [23, 11] Generated Node #0,1,0: 12:[23, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [23, 2] Generated Node #0,1,1: 12:[23, 2] Operation: 22/11=2 Exploring Operation: 23-22=1, Resulting Numbers: [11, 1] Generated Node #0,1,2: 12:[11, 1] Operation: 23-22=1 Exploring Operation: 23-11=12, Resulting Numbers: [22, 12] Generated Node #0,1,3: 12:[22, 12] Operation: 23-11=12 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[11, 1], Operations: ['35-24=11', '23-22=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[22, 23, 24, 35], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [22, 23, 11] Generated Node #0,1: 12:[22, 23, 11] Operation: 35-24=11 Moving to Node #0,1 Current State: 12:[22, 23, 11], Operations: ['35-24=11'] Exploring Operation: 23-22=1, Resulting Numbers: [11, 1] Generated Node #0,1,2: 12:[11, 1] Operation: 23-22=1 Moving to Node #0,1,2 Current State: 12:[11, 1], Operations: ['35-24=11', '23-22=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 64, 67, 2, 55 ]
56
[ "67-64=3", "55-2=53", "3+53=56" ]
Current State: 56:[64, 67, 2, 55], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [2, 55, 3] Generated Node #2: [2, 55, 3] from Operation: 67-64=3 Current State: 56:[2, 55, 3], Operations: ['67-64=3'] Exploring Operation: 55-2=53, Resulting Numbers: [3, 53] Generated Node #3: [3, 53] from Operation: 55-2=53 Current State: 56:[3, 53], Operations: ['67-64=3', '55-2=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[64, 67, 2, 55], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [2, 55, 3] Generated Node #0,0: 56:[2, 55, 3] Operation: 67-64=3 Exploring Operation: 67-55=12, Resulting Numbers: [64, 2, 12] Generated Node #0,1: 56:[64, 2, 12] Operation: 67-55=12 Exploring Operation: 64-55=9, Resulting Numbers: [67, 2, 9] Generated Node #0,2: 56:[67, 2, 9] Operation: 64-55=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[2, 55, 3], Operations: ['67-64=3'] Exploring Operation: 2+55=57, Resulting Numbers: [3, 57] Generated Node #0,0,0: 56:[3, 57] Operation: 2+55=57 Exploring Operation: 2*3=6, Resulting Numbers: [55, 6] Generated Node #0,0,1: 56:[55, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [55, 5] Generated Node #0,0,2: 56:[55, 5] Operation: 2+3=5 Moving to Node #0,0,0 Current State: 56:[3, 57], Operations: ['67-64=3', '2+55=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[55, 6], Operations: ['67-64=3', '2*3=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[55, 5], Operations: ['67-64=3', '2+3=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[64, 2, 12], Operations: ['67-55=12'] Exploring Operation: 64-12=52, Resulting Numbers: [2, 52] Generated Node #0,1,0: 56:[2, 52] Operation: 64-12=52 Exploring Operation: 64-2=62, Resulting Numbers: [12, 62] Generated Node #0,1,1: 56:[12, 62] Operation: 64-2=62 Exploring Operation: 64/2=32, Resulting Numbers: [12, 32] Generated Node #0,1,2: 56:[12, 32] Operation: 64/2=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[2, 52], Operations: ['67-55=12', '64-12=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[12, 32], Operations: ['67-55=12', '64/2=32'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,56 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[12, 62], Operations: ['67-55=12', '64-2=62'] Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,56 unequal: No Solution Exploring Operation: 12*62=744, Resulting Numbers: [744] 744,56 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[67, 2, 9], Operations: ['64-55=9'] Exploring Operation: 67-2=65, Resulting Numbers: [9, 65] Generated Node #0,2,0: 56:[9, 65] Operation: 67-2=65 Exploring Operation: 9-2=7, Resulting Numbers: [67, 7] Generated Node #0,2,1: 56:[67, 7] Operation: 9-2=7 Exploring Operation: 67-9=58, Resulting Numbers: [2, 58] Generated Node #0,2,2: 56:[2, 58] Operation: 67-9=58 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[2, 58], Operations: ['64-55=9', '67-9=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[64, 67, 2, 55], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [67, 2, 9] Generated Node #0,2: 56:[67, 2, 9] Operation: 64-55=9 Moving to Node #0,2 Current State: 56:[67, 2, 9], Operations: ['64-55=9'] Exploring Operation: 67-9=58, Resulting Numbers: [2, 58] Generated Node #0,2,2: 56:[2, 58] Operation: 67-9=58 Moving to Node #0,2,2 Current State: 56:[2, 58], Operations: ['64-55=9', '67-9=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 12, 36, 4, 36 ]
30
[ "36-12=24", "24/4=6", "36-6=30" ]
Current State: 30:[12, 36, 4, 36], Operations: [] Exploring Operation: 36-12=24, Resulting Numbers: [4, 24] Generated Node #2: [4, 24] from Operation: 36-12=24 Current State: 30:[4, 24], Operations: ['36-12=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,30 equal: Goal Reached Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[12, 36, 4, 36], Operations: [] Exploring Operation: 36/36=1, Resulting Numbers: [12, 4, 1] Generated Node #0,0: 30:[12, 4, 1] Operation: 36/36=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[12, 4, 1], Operations: ['36/36=1'] Exploring Operation: 12/4=3, Resulting Numbers: [1, 3] Generated Node #0,0,0: 30:[1, 3] Operation: 12/4=3 Moving to Node #0,0,0 Current State: 30:[1, 3], Operations: ['36/36=1', '12/4=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,30 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
[ 27, 54, 23, 39 ]
35
[ "54-27=27", "23+39=62", "62-27=35" ]
Current State: 35:[27, 54, 23, 39], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [23, 39, 27] Generated Node #2: [23, 39, 27] from Operation: 54-27=27 Current State: 35:[23, 39, 27], Operations: ['54-27=27'] Exploring Operation: 23+39=62, Resulting Numbers: [27, 62] Generated Node #3: [27, 62] from Operation: 23+39=62 Current State: 35:[27, 62], Operations: ['54-27=27', '23+39=62'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[27, 54, 23, 39], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [27, 39, 31] Generated Node #0,0: 35:[27, 39, 31] Operation: 54-23=31 Exploring Operation: 27-23=4, Resulting Numbers: [54, 39, 4] Generated Node #0,1: 35:[54, 39, 4] Operation: 27-23=4 Exploring Operation: 54-39=15, Resulting Numbers: [27, 23, 15] Generated Node #0,2: 35:[27, 23, 15] Operation: 54-39=15 Exploring Operation: 54-27=27, Resulting Numbers: [23, 39, 27] Generated Node #0,3: 35:[23, 39, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [23, 39, 2] Generated Node #0,4: 35:[23, 39, 2] Operation: 54/27=2 Moving to Node #0,0 Current State: 35:[27, 39, 31], Operations: ['54-23=31'] Exploring Operation: 27+31=58, Resulting Numbers: [39, 58] Generated Node #0,0,0: 35:[39, 58] Operation: 27+31=58 Exploring Operation: 39-27=12, Resulting Numbers: [31, 12] Generated Node #0,0,1: 35:[31, 12] Operation: 39-27=12 Exploring Operation: 31-27=4, Resulting Numbers: [39, 4] Generated Node #0,0,2: 35:[39, 4] Operation: 31-27=4 Exploring Operation: 27+39=66, Resulting Numbers: [31, 66] Generated Node #0,0,3: 35:[31, 66] Operation: 27+39=66 Exploring Operation: 39-31=8, Resulting Numbers: [27, 8] Generated Node #0,0,4: 35:[27, 8] Operation: 39-31=8 Moving to Node #0,4 Current State: 35:[23, 39, 2], Operations: ['54/27=2'] Exploring Operation: 23+2=25, Resulting Numbers: [39, 25] Generated Node #0,4,0: 35:[39, 25] Operation: 23+2=25 Exploring Operation: 23-2=21, Resulting Numbers: [39, 21] Generated Node #0,4,1: 35:[39, 21] Operation: 23-2=21 Exploring Operation: 39-23=16, Resulting Numbers: [2, 16] Generated Node #0,4,2: 35:[2, 16] Operation: 39-23=16 Exploring Operation: 39-2=37, Resulting Numbers: [23, 37] Generated Node #0,4,3: 35:[23, 37] Operation: 39-2=37 Exploring Operation: 23*2=46, Resulting Numbers: [39, 46] Generated Node #0,4,4: 35:[39, 46] Operation: 23*2=46 Moving to Node #0,1 Current State: 35:[54, 39, 4], Operations: ['27-23=4'] Exploring Operation: 39-4=35, Resulting Numbers: [54, 35] Generated Node #0,1,0: 35:[54, 35] Operation: 39-4=35 Exploring Operation: 39+4=43, Resulting Numbers: [54, 43] Generated Node #0,1,1: 35:[54, 43] Operation: 39+4=43 Exploring Operation: 54-39=15, Resulting Numbers: [4, 15] Generated Node #0,1,2: 35:[4, 15] Operation: 54-39=15 Exploring Operation: 54-4=50, Resulting Numbers: [39, 50] Generated Node #0,1,3: 35:[39, 50] Operation: 54-4=50 Exploring Operation: 54+4=58, Resulting Numbers: [39, 58] Generated Node #0,1,4: 35:[39, 58] Operation: 54+4=58 Moving to Node #0,3 Current State: 35:[23, 39, 27], Operations: ['54-27=27'] Exploring Operation: 23+27=50, Resulting Numbers: [39, 50] Generated Node #0,3,0: 35:[39, 50] Operation: 23+27=50 Exploring Operation: 39-27=12, Resulting Numbers: [23, 12] Generated Node #0,3,1: 35:[23, 12] Operation: 39-27=12 Exploring Operation: 27-23=4, Resulting Numbers: [39, 4] Generated Node #0,3,2: 35:[39, 4] Operation: 27-23=4 Exploring Operation: 39-23=16, Resulting Numbers: [27, 16] Generated Node #0,3,3: 35:[27, 16] Operation: 39-23=16 Exploring Operation: 23+39=62, Resulting Numbers: [27, 62] Generated Node #0,3,4: 35:[27, 62] Operation: 23+39=62 Moving to Node #0,2 Current State: 35:[27, 23, 15], Operations: ['54-39=15'] Exploring Operation: 27-15=12, Resulting Numbers: [23, 12] Generated Node #0,2,0: 35:[23, 12] Operation: 27-15=12 Exploring Operation: 27+15=42, Resulting Numbers: [23, 42] Generated Node #0,2,1: 35:[23, 42] Operation: 27+15=42 Exploring Operation: 27-23=4, Resulting Numbers: [15, 4] Generated Node #0,2,2: 35:[15, 4] Operation: 27-23=4 Exploring Operation: 23-15=8, Resulting Numbers: [27, 8] Generated Node #0,2,3: 35:[27, 8] Operation: 23-15=8 Exploring Operation: 23+15=38, Resulting Numbers: [27, 38] Generated Node #0,2,4: 35:[27, 38] Operation: 23+15=38 Moving to Node #0,0,2 Current State: 35:[39, 4], Operations: ['54-23=31', '31-27=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[27, 54, 23, 39], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [27, 39, 31] Generated Node #0,0: 35:[27, 39, 31] Operation: 54-23=31 Moving to Node #0,0 Current State: 35:[27, 39, 31], Operations: ['54-23=31'] Exploring Operation: 31-27=4, Resulting Numbers: [39, 4] Generated Node #0,0,2: 35:[39, 4] Operation: 31-27=4 Moving to Node #0,0,2 Current State: 35:[39, 4], Operations: ['54-23=31', '31-27=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.967882
hs_5
mult_heuristic
[ 6, 10, 20, 79 ]
75
[ "6+10=16", "79-20=59", "16+59=75" ]
Current State: 75:[6, 10, 20, 79], Operations: [] Exploring Operation: 6+10=16, Resulting Numbers: [20, 79, 16] Generated Node #2: [20, 79, 16] from Operation: 6+10=16 Current State: 75:[20, 79, 16], Operations: ['6+10=16'] Exploring Operation: 79-20=59, Resulting Numbers: [16, 59] Generated Node #3: [16, 59] from Operation: 79-20=59 Current State: 75:[16, 59], Operations: ['6+10=16', '79-20=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[6, 10, 20, 79], Operations: [] Exploring Operation: 6+10=16, Resulting Numbers: [20, 79, 16] Generated Node #0,0: 75:[20, 79, 16] Operation: 6+10=16 Exploring Operation: 20/10=2, Resulting Numbers: [6, 79, 2] Generated Node #0,1: 75:[6, 79, 2] Operation: 20/10=2 Moving to Node #0,1 Current State: 75:[6, 79, 2], Operations: ['20/10=2'] Exploring Operation: 79-2=77, Resulting Numbers: [6, 77] Generated Node #0,1,0: 75:[6, 77] Operation: 79-2=77 Exploring Operation: 79-6=73, Resulting Numbers: [2, 73] Generated Node #0,1,1: 75:[2, 73] Operation: 79-6=73 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[6, 77], Operations: ['20/10=2', '79-2=77'] Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[2, 73], Operations: ['20/10=2', '79-6=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[6, 10, 20, 79], Operations: [] Exploring Operation: 20/10=2, Resulting Numbers: [6, 79, 2] Generated Node #0,1: 75:[6, 79, 2] Operation: 20/10=2 Moving to Node #0,1 Current State: 75:[6, 79, 2], Operations: ['20/10=2'] Exploring Operation: 79-6=73, Resulting Numbers: [2, 73] Generated Node #0,1,1: 75:[2, 73] Operation: 79-6=73 Moving to Node #0,1,1 Current State: 75:[2, 73], Operations: ['20/10=2', '79-6=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 9, 8, 14, 32 ]
71
[ "9+32=41", "8*14=112", "112-41=71" ]
Current State: 71:[9, 8, 14, 32], Operations: [] Exploring Operation: 9+32=41, Resulting Numbers: [8, 14, 41] Generated Node #2: [8, 14, 41] from Operation: 9+32=41 Current State: 71:[8, 14, 41], Operations: ['9+32=41'] Exploring Operation: 8*14=112, Resulting Numbers: [41, 112] Generated Node #3: [41, 112] from Operation: 8*14=112 Current State: 71:[41, 112], Operations: ['9+32=41', '8*14=112'] Exploring Operation: 112-41=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[9, 8, 14, 32], Operations: [] Exploring Operation: 9*8=72, Resulting Numbers: [14, 32, 72] Generated Node #0,0: 71:[14, 32, 72] Operation: 9*8=72 Moving to Node #0,0 Current State: 71:[14, 32, 72], Operations: ['9*8=72'] Exploring Operation: 14+32=46, Resulting Numbers: [72, 46] Generated Node #0,0,0: 71:[72, 46] Operation: 14+32=46 Moving to Node #0,0,0 Current State: 71:[72, 46], Operations: ['9*8=72', '14+32=46'] Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,71 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 42, 9, 7, 64 ]
49
[ "42/7=6", "64-9=55", "55-6=49" ]
Current State: 49:[42, 9, 7, 64], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [9, 64, 6] Generated Node #2: [9, 64, 6] from Operation: 42/7=6 Current State: 49:[9, 64, 6], Operations: ['42/7=6'] Exploring Operation: 64-9=55, Resulting Numbers: [6, 55] Generated Node #3: [6, 55] from Operation: 64-9=55 Current State: 49:[6, 55], Operations: ['42/7=6', '64-9=55'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[42, 9, 7, 64], Operations: [] Exploring Operation: 42+7=49, Resulting Numbers: [9, 64, 49] Generated Node #0,0: 49:[9, 64, 49] Operation: 42+7=49 Exploring Operation: 64-9=55, Resulting Numbers: [42, 7, 55] Generated Node #0,1: 49:[42, 7, 55] Operation: 64-9=55 Exploring Operation: 64-7=57, Resulting Numbers: [42, 9, 57] Generated Node #0,2: 49:[42, 9, 57] Operation: 64-7=57 Exploring Operation: 42+9=51, Resulting Numbers: [7, 64, 51] Generated Node #0,3: 49:[7, 64, 51] Operation: 42+9=51 Exploring Operation: 64-42=22, Resulting Numbers: [9, 7, 22] Generated Node #0,4: 49:[9, 7, 22] Operation: 64-42=22 Moving to Node #0,1 Current State: 49:[42, 7, 55], Operations: ['64-9=55'] Exploring Operation: 42-7=35, Resulting Numbers: [55, 35] Generated Node #0,1,0: 49:[55, 35] Operation: 42-7=35 Exploring Operation: 42+7=49, Resulting Numbers: [55, 49] Generated Node #0,1,1: 49:[55, 49] Operation: 42+7=49 Exploring Operation: 55-7=48, Resulting Numbers: [42, 48] Generated Node #0,1,2: 49:[42, 48] Operation: 55-7=48 Exploring Operation: 55-42=13, Resulting Numbers: [7, 13] Generated Node #0,1,3: 49:[7, 13] Operation: 55-42=13 Exploring Operation: 42/7=6, Resulting Numbers: [55, 6] Generated Node #0,1,4: 49:[55, 6] Operation: 42/7=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[55, 49], Operations: ['64-9=55', '42+7=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,49 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,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,3 Current State: 49:[7, 13], Operations: ['64-9=55', '55-42=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,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,4 Current State: 49:[55, 6], Operations: ['64-9=55', '42/7=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,49 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[42, 9, 7, 64], Operations: [] Exploring Operation: 64-9=55, Resulting Numbers: [42, 7, 55] Generated Node #0,1: 49:[42, 7, 55] Operation: 64-9=55 Moving to Node #0,1 Current State: 49:[42, 7, 55], Operations: ['64-9=55'] Exploring Operation: 42/7=6, Resulting Numbers: [55, 6] Generated Node #0,1,4: 49:[55, 6] Operation: 42/7=6 Moving to Node #0,1,4 Current State: 49:[55, 6], Operations: ['64-9=55', '42/7=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 1, 95, 74, 57 ]
79
[ "1+95=96", "74-57=17", "96-17=79" ]
Current State: 79:[1, 95, 74, 57], Operations: [] Exploring Operation: 1+95=96, Resulting Numbers: [74, 57, 96] Generated Node #2: [74, 57, 96] from Operation: 1+95=96 Current State: 79:[74, 57, 96], Operations: ['1+95=96'] Exploring Operation: 74-57=17, Resulting Numbers: [96, 17] Generated Node #3: [96, 17] from Operation: 74-57=17 Current State: 79:[96, 17], Operations: ['1+95=96', '74-57=17'] Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[1, 95, 74, 57], Operations: [] Exploring Operation: 95-1=94, Resulting Numbers: [74, 57, 94] Generated Node #0,0: 79:[74, 57, 94] Operation: 95-1=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[74, 57, 94], Operations: ['95-1=94'] Exploring Operation: 94-57=37, Resulting Numbers: [74, 37] Generated Node #0,0,0: 79:[74, 37] Operation: 94-57=37 Moving to Node #0,0,0 Current State: 79:[74, 37], Operations: ['95-1=94', '94-57=37'] Exploring Operation: 74+37=111, Resulting Numbers: [111] 111,79 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
[ 57, 59, 80, 8 ]
20
[ "59-57=2", "80/8=10", "2*10=20" ]
Current State: 20:[57, 59, 80, 8], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [80, 8, 2] Generated Node #2: [80, 8, 2] from Operation: 59-57=2 Current State: 20:[80, 8, 2], Operations: ['59-57=2'] Exploring Operation: 80/8=10, Resulting Numbers: [2, 10] Generated Node #3: [2, 10] from Operation: 80/8=10 Current State: 20:[2, 10], Operations: ['59-57=2', '80/8=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[57, 59, 80, 8], Operations: [] Exploring Operation: 80-59=21, Resulting Numbers: [57, 8, 21] Generated Node #0,0: 20:[57, 8, 21] Operation: 80-59=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[57, 8, 21], Operations: ['80-59=21'] Exploring Operation: 57-21=36, Resulting Numbers: [8, 36] Generated Node #0,0,0: 20:[8, 36] Operation: 57-21=36 Moving to Node #0,0,0 Current State: 20:[8, 36], Operations: ['80-59=21', '57-21=36'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,20 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
[ 17, 26, 35, 69 ]
95
[ "26-17=9", "35+69=104", "104-9=95" ]
Current State: 95:[17, 26, 35, 69], Operations: [] Exploring Operation: 26-17=9, Resulting Numbers: [35, 69, 9] Generated Node #2: [35, 69, 9] from Operation: 26-17=9 Current State: 95:[35, 69, 9], Operations: ['26-17=9'] Exploring Operation: 35+69=104, Resulting Numbers: [9, 104] Generated Node #3: [9, 104] from Operation: 35+69=104 Current State: 95:[9, 104], Operations: ['26-17=9', '35+69=104'] Exploring Operation: 104-9=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[17, 26, 35, 69], Operations: [] Exploring Operation: 35+69=104, Resulting Numbers: [17, 26, 104] Generated Node #0,0: 95:[17, 26, 104] Operation: 35+69=104 Exploring Operation: 26+69=95, Resulting Numbers: [17, 35, 95] Generated Node #0,1: 95:[17, 35, 95] Operation: 26+69=95 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[17, 26, 104], Operations: ['35+69=104'] Exploring Operation: 26-17=9, Resulting Numbers: [104, 9] Generated Node #0,0,0: 95:[104, 9] Operation: 26-17=9 Exploring Operation: 104/26=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 95:[17, 4] Operation: 104/26=4 Moving to Node #0,0,1 Current State: 95:[17, 4], Operations: ['35+69=104', '104/26=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[104, 9], Operations: ['35+69=104', '26-17=9'] Exploring Operation: 104-9=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[17, 26, 35, 69], Operations: [] Exploring Operation: 35+69=104, Resulting Numbers: [17, 26, 104] Generated Node #0,0: 95:[17, 26, 104] Operation: 35+69=104 Moving to Node #0,0 Current State: 95:[17, 26, 104], Operations: ['35+69=104'] Exploring Operation: 26-17=9, Resulting Numbers: [104, 9] Generated Node #0,0,0: 95:[104, 9] Operation: 26-17=9 Moving to Node #0,0,0 Current State: 95:[104, 9], Operations: ['35+69=104', '26-17=9'] Exploring Operation: 104-9=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 77, 6, 60, 49 ]
31
[ "77+60=137", "49+137=186", "186/6=31" ]
Current State: 31:[77, 6, 60, 49], Operations: [] Exploring Operation: 77+60=137, Resulting Numbers: [6, 49, 137] Generated Node #2: [6, 49, 137] from Operation: 77+60=137 Current State: 31:[6, 49, 137], Operations: ['77+60=137'] Exploring Operation: 49+137=186, Resulting Numbers: [6, 186] Generated Node #3: [6, 186] from Operation: 49+137=186 Current State: 31:[6, 186], Operations: ['77+60=137', '49+137=186'] Exploring Operation: 186/6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[77, 6, 60, 49], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [77, 49, 10] Generated Node #0,0: 31:[77, 49, 10] Operation: 60/6=10 Exploring Operation: 77-49=28, Resulting Numbers: [6, 60, 28] Generated Node #0,1: 31:[6, 60, 28] Operation: 77-49=28 Exploring Operation: 77-60=17, Resulting Numbers: [6, 49, 17] Generated Node #0,2: 31:[6, 49, 17] Operation: 77-60=17 Exploring Operation: 77-6=71, Resulting Numbers: [60, 49, 71] Generated Node #0,3: 31:[60, 49, 71] Operation: 77-6=71 Moving to Node #0,1 Current State: 31:[6, 60, 28], Operations: ['77-49=28'] Exploring Operation: 6+28=34, Resulting Numbers: [60, 34] Generated Node #0,1,0: 31:[60, 34] Operation: 6+28=34 Exploring Operation: 60-28=32, Resulting Numbers: [6, 32] Generated Node #0,1,1: 31:[6, 32] Operation: 60-28=32 Exploring Operation: 60-6=54, Resulting Numbers: [28, 54] Generated Node #0,1,2: 31:[28, 54] Operation: 60-6=54 Exploring Operation: 60/6=10, Resulting Numbers: [28, 10] Generated Node #0,1,3: 31:[28, 10] Operation: 60/6=10 Moving to Node #0,2 Current State: 31:[6, 49, 17], Operations: ['77-60=17'] Exploring Operation: 6+49=55, Resulting Numbers: [17, 55] Generated Node #0,2,0: 31:[17, 55] Operation: 6+49=55 Exploring Operation: 49-17=32, Resulting Numbers: [6, 32] Generated Node #0,2,1: 31:[6, 32] Operation: 49-17=32 Exploring Operation: 6+17=23, Resulting Numbers: [49, 23] Generated Node #0,2,2: 31:[49, 23] Operation: 6+17=23 Exploring Operation: 49-6=43, Resulting Numbers: [17, 43] Generated Node #0,2,3: 31:[17, 43] Operation: 49-6=43 Moving to Node #0,0 Current State: 31:[77, 49, 10], Operations: ['60/6=10'] Exploring Operation: 77-10=67, Resulting Numbers: [49, 67] Generated Node #0,0,0: 31:[49, 67] Operation: 77-10=67 Exploring Operation: 49-10=39, Resulting Numbers: [77, 39] Generated Node #0,0,1: 31:[77, 39] Operation: 49-10=39 Exploring Operation: 77-49=28, Resulting Numbers: [10, 28] Generated Node #0,0,2: 31:[10, 28] Operation: 77-49=28 Exploring Operation: 77+10=87, Resulting Numbers: [49, 87] Generated Node #0,0,3: 31:[49, 87] Operation: 77+10=87 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[10, 28], Operations: ['60/6=10', '77-49=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[49, 67], Operations: ['60/6=10', '77-10=67'] Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 49+67=116, Resulting Numbers: [116] 116,31 unequal: No Solution Exploring Operation: 49*67=3283, Resulting Numbers: [3283] 3283,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[77, 39], Operations: ['60/6=10', '49-10=39'] Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,31 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 77*39=3003, Resulting Numbers: [3003] 3003,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 31:[49, 87], Operations: ['60/6=10', '77+10=87'] Exploring Operation: 49+87=136, Resulting Numbers: [136] 136,31 unequal: No Solution Exploring Operation: 49*87=4263, Resulting Numbers: [4263] 4263,31 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,31 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: 31:[60, 49, 71], Operations: ['77-6=71'] Exploring Operation: 60-49=11, Resulting Numbers: [71, 11] Generated Node #0,3,0: 31:[71, 11] Operation: 60-49=11 Exploring Operation: 71-60=11, Resulting Numbers: [49, 11] Generated Node #0,3,1: 31:[49, 11] Operation: 71-60=11 Exploring Operation: 71-49=22, Resulting Numbers: [60, 22] Generated Node #0,3,2: 31:[60, 22] Operation: 71-49=22 Exploring Operation: 60+49=109, Resulting Numbers: [71, 109] Generated Node #0,3,3: 31:[71, 109] Operation: 60+49=109 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[49, 11], Operations: ['77-6=71', '71-60=11'] Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,31 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[60, 22], Operations: ['77-6=71', '71-49=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[71, 11], Operations: ['77-6=71', '60-49=11'] Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,31 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[71, 109], Operations: ['77-6=71', '60+49=109'] Exploring Operation: 71*109=7739, Resulting Numbers: [7739] 7739,31 unequal: No Solution Exploring Operation: 109-71=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 71+109=180, Resulting Numbers: [180] 180,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 31:[28, 10], Operations: ['77-49=28', '60/6=10'] Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,31 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[28, 54], Operations: ['77-49=28', '60-6=54'] Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,31 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[17, 43], Operations: ['77-60=17', '49-6=43'] Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,31 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[49, 23], Operations: ['77-60=17', '6+17=23'] Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,31 unequal: No Solution Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,31 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[6, 32], Operations: ['77-49=28', '60-28=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,31 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[6, 32], Operations: ['77-60=17', '49-17=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,31 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[60, 34], Operations: ['77-49=28', '6+28=34'] Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,31 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[17, 55], Operations: ['77-60=17', '6+49=55'] Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 17*55=935, Resulting Numbers: [935] 935,31 unequal: No Solution Exploring Operation: 17+55=72, Resulting Numbers: [72] 72,31 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 96, 51, 79, 60 ]
64
[ "96-51=45", "79-60=19", "45+19=64" ]
Current State: 64:[96, 51, 79, 60], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [79, 60, 45] Generated Node #2: [79, 60, 45] from Operation: 96-51=45 Current State: 64:[79, 60, 45], Operations: ['96-51=45'] Exploring Operation: 79-60=19, Resulting Numbers: [45, 19] Generated Node #3: [45, 19] from Operation: 79-60=19 Current State: 64:[45, 19], Operations: ['96-51=45', '79-60=19'] Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[96, 51, 79, 60], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [79, 60, 45] Generated Node #0,0: 64:[79, 60, 45] Operation: 96-51=45 Exploring Operation: 96-79=17, Resulting Numbers: [51, 60, 17] Generated Node #0,1: 64:[51, 60, 17] Operation: 96-79=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[51, 60, 17], Operations: ['96-79=17'] Exploring Operation: 51/17=3, Resulting Numbers: [60, 3] Generated Node #0,1,0: 64:[60, 3] Operation: 51/17=3 Exploring Operation: 60-51=9, Resulting Numbers: [17, 9] Generated Node #0,1,1: 64:[17, 9] Operation: 60-51=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[17, 9], Operations: ['96-79=17', '60-51=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,64 unequal: No Solution No 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: 64:[60, 3], Operations: ['96-79=17', '51/17=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,64 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: 64:[79, 60, 45], Operations: ['96-51=45'] Exploring Operation: 79-60=19, Resulting Numbers: [45, 19] Generated Node #0,0,0: 64:[45, 19] Operation: 79-60=19 Exploring Operation: 79-45=34, Resulting Numbers: [60, 34] Generated Node #0,0,1: 64:[60, 34] Operation: 79-45=34 Moving to Node #0,0,1 Current State: 64:[60, 34], Operations: ['96-51=45', '79-45=34'] Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[45, 19], Operations: ['96-51=45', '79-60=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[96, 51, 79, 60], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [79, 60, 45] Generated Node #0,0: 64:[79, 60, 45] Operation: 96-51=45 Moving to Node #0,0 Current State: 64:[79, 60, 45], Operations: ['96-51=45'] Exploring Operation: 79-60=19, Resulting Numbers: [45, 19] Generated Node #0,0,0: 64:[45, 19] Operation: 79-60=19 Moving to Node #0,0,0 Current State: 64:[45, 19], Operations: ['96-51=45', '79-60=19'] Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 70, 53, 40, 37 ]
28
[ "53-37=16", "70*16=1120", "1120/40=28" ]
Current State: 28:[70, 53, 40, 37], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [70, 40, 16] Generated Node #2: [70, 40, 16] from Operation: 53-37=16 Current State: 28:[70, 40, 16], Operations: ['53-37=16'] Exploring Operation: 70*16=1120, Resulting Numbers: [40, 1120] Generated Node #3: [40, 1120] from Operation: 70*16=1120 Current State: 28:[40, 1120], Operations: ['53-37=16', '70*16=1120'] Exploring Operation: 1120/40=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[70, 53, 40, 37], Operations: [] Exploring Operation: 70-53=17, Resulting Numbers: [40, 37, 17] Generated Node #0,0: 28:[40, 37, 17] Operation: 70-53=17 Exploring Operation: 70-40=30, Resulting Numbers: [53, 37, 30] Generated Node #0,1: 28:[53, 37, 30] Operation: 70-40=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[40, 37, 17], Operations: ['70-53=17'] Exploring Operation: 40-17=23, Resulting Numbers: [37, 23] Generated Node #0,0,0: 28:[37, 23] Operation: 40-17=23 Exploring Operation: 40-37=3, Resulting Numbers: [17, 3] Generated Node #0,0,1: 28:[17, 3] Operation: 40-37=3 Moving to Node #0,0,1 Current State: 28:[17, 3], Operations: ['70-53=17', '40-37=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[37, 23], Operations: ['70-53=17', '40-17=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[53, 37, 30], Operations: ['70-40=30'] Exploring Operation: 53-30=23, Resulting Numbers: [37, 23] Generated Node #0,1,0: 28:[37, 23] Operation: 53-30=23 Exploring Operation: 53-37=16, Resulting Numbers: [30, 16] Generated Node #0,1,1: 28:[30, 16] Operation: 53-37=16 Moving to Node #0,1,1 Current State: 28:[30, 16], Operations: ['70-40=30', '53-37=16'] Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[37, 23], Operations: ['70-40=30', '53-30=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,28 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
[ 27, 31, 73, 61 ]
80
[ "27*73=1971", "31*61=1891", "1971-1891=80" ]
Current State: 80:[27, 31, 73, 61], Operations: [] Exploring Operation: 27*73=1971, Resulting Numbers: [31, 61, 1971] Generated Node #2: [31, 61, 1971] from Operation: 27*73=1971 Current State: 80:[31, 61, 1971], Operations: ['27*73=1971'] Exploring Operation: 31*61=1891, Resulting Numbers: [1971, 1891] Generated Node #3: [1971, 1891] from Operation: 31*61=1891 Current State: 80:[1971, 1891], Operations: ['27*73=1971', '31*61=1891'] Exploring Operation: 1971-1891=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[27, 31, 73, 61], Operations: [] Exploring Operation: 61-27=34, Resulting Numbers: [31, 73, 34] Generated Node #0,0: 80:[31, 73, 34] Operation: 61-27=34 Exploring Operation: 73-61=12, Resulting Numbers: [27, 31, 12] Generated Node #0,1: 80:[27, 31, 12] Operation: 73-61=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[27, 31, 12], Operations: ['73-61=12'] Exploring Operation: 31-27=4, Resulting Numbers: [12, 4] Generated Node #0,1,0: 80:[12, 4] Operation: 31-27=4 Exploring Operation: 31-12=19, Resulting Numbers: [27, 19] Generated Node #0,1,1: 80:[27, 19] Operation: 31-12=19 Moving to Node #0,1,0 Current State: 80:[12, 4], Operations: ['73-61=12', '31-27=4'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[27, 19], Operations: ['73-61=12', '31-12=19'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[31, 73, 34], Operations: ['61-27=34'] Exploring Operation: 73-31=42, Resulting Numbers: [34, 42] Generated Node #0,0,0: 80:[34, 42] Operation: 73-31=42 Exploring Operation: 34-31=3, Resulting Numbers: [73, 3] Generated Node #0,0,1: 80:[73, 3] Operation: 34-31=3 Moving to Node #0,0,0 Current State: 80:[34, 42], Operations: ['61-27=34', '73-31=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[73, 3], Operations: ['61-27=34', '34-31=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,80 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
[ 69, 83, 17, 2 ]
33
[ "83-69=14", "17+2=19", "14+19=33" ]
Current State: 33:[69, 83, 17, 2], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [17, 2, 14] Generated Node #2: [17, 2, 14] from Operation: 83-69=14 Current State: 33:[17, 2, 14], Operations: ['83-69=14'] Exploring Operation: 17+2=19, Resulting Numbers: [14, 19] Generated Node #3: [14, 19] from Operation: 17+2=19 Current State: 33:[14, 19], Operations: ['83-69=14', '17+2=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[69, 83, 17, 2], Operations: [] Exploring Operation: 83-17=66, Resulting Numbers: [69, 2, 66] Generated Node #0,0: 33:[69, 2, 66] Operation: 83-17=66 Exploring Operation: 69-17=52, Resulting Numbers: [83, 2, 52] Generated Node #0,1: 33:[83, 2, 52] Operation: 69-17=52 Exploring Operation: 83-69=14, Resulting Numbers: [17, 2, 14] Generated Node #0,2: 33:[17, 2, 14] Operation: 83-69=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[17, 2, 14], Operations: ['83-69=14'] Exploring Operation: 17*2=34, Resulting Numbers: [14, 34] Generated Node #0,2,0: 33:[14, 34] Operation: 17*2=34 Exploring Operation: 17+14=31, Resulting Numbers: [2, 31] Generated Node #0,2,1: 33:[2, 31] Operation: 17+14=31 Exploring Operation: 17-14=3, Resulting Numbers: [2, 3] Generated Node #0,2,2: 33:[2, 3] Operation: 17-14=3 Moving to Node #0,2,2 Current State: 33:[2, 3], Operations: ['83-69=14', '17-14=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[2, 31], Operations: ['83-69=14', '17+14=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[69, 83, 17, 2], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [17, 2, 14] Generated Node #0,2: 33:[17, 2, 14] Operation: 83-69=14 Moving to Node #0,2 Current State: 33:[17, 2, 14], Operations: ['83-69=14'] Exploring Operation: 17+14=31, Resulting Numbers: [2, 31] Generated Node #0,2,1: 33:[2, 31] Operation: 17+14=31 Moving to Node #0,2,1 Current State: 33:[2, 31], Operations: ['83-69=14', '17+14=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 89, 25, 49, 4 ]
60
[ "89-25=64", "64-49=15", "4*15=60" ]
Current State: 60:[89, 25, 49, 4], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [49, 4, 64] Generated Node #2: [49, 4, 64] from Operation: 89-25=64 Current State: 60:[49, 4, 64], Operations: ['89-25=64'] Exploring Operation: 64-49=15, Resulting Numbers: [4, 15] Generated Node #3: [4, 15] from Operation: 64-49=15 Current State: 60:[4, 15], Operations: ['89-25=64', '64-49=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[89, 25, 49, 4], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [49, 4, 64] Generated Node #0,0: 60:[49, 4, 64] Operation: 89-25=64 Exploring Operation: 89-4=85, Resulting Numbers: [25, 49, 85] Generated Node #0,1: 60:[25, 49, 85] Operation: 89-4=85 Exploring Operation: 49-25=24, Resulting Numbers: [89, 4, 24] Generated Node #0,2: 60:[89, 4, 24] Operation: 49-25=24 Exploring Operation: 25+4=29, Resulting Numbers: [89, 49, 29] Generated Node #0,3: 60:[89, 49, 29] Operation: 25+4=29 Exploring Operation: 89-49=40, Resulting Numbers: [25, 4, 40] Generated Node #0,4: 60:[25, 4, 40] Operation: 89-49=40 Moving to Node #0,0 Current State: 60:[49, 4, 64], Operations: ['89-25=64'] Exploring Operation: 49-4=45, Resulting Numbers: [64, 45] Generated Node #0,0,0: 60:[64, 45] Operation: 49-4=45 Exploring Operation: 64-49=15, Resulting Numbers: [4, 15] Generated Node #0,0,1: 60:[4, 15] Operation: 64-49=15 Exploring Operation: 64-4=60, Resulting Numbers: [49, 60] Generated Node #0,0,2: 60:[49, 60] Operation: 64-4=60 Exploring Operation: 64/4=16, Resulting Numbers: [49, 16] Generated Node #0,0,3: 60:[49, 16] Operation: 64/4=16 Exploring Operation: 49+4=53, Resulting Numbers: [64, 53] Generated Node #0,0,4: 60:[64, 53] Operation: 49+4=53 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[4, 15], Operations: ['89-25=64', '64-49=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[89, 25, 49, 4], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [49, 4, 64] Generated Node #0,0: 60:[49, 4, 64] Operation: 89-25=64 Moving to Node #0,0 Current State: 60:[49, 4, 64], Operations: ['89-25=64'] Exploring Operation: 64-49=15, Resulting Numbers: [4, 15] Generated Node #0,0,1: 60:[4, 15] Operation: 64-49=15 Moving to Node #0,0,1 Current State: 60:[4, 15], Operations: ['89-25=64', '64-49=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 74, 31, 87, 8 ]
24
[ "74+31=105", "87+105=192", "192/8=24" ]
Current State: 24:[74, 31, 87, 8], Operations: [] Exploring Operation: 74+31=105, Resulting Numbers: [87, 8, 105] Generated Node #2: [87, 8, 105] from Operation: 74+31=105 Current State: 24:[87, 8, 105], Operations: ['74+31=105'] Exploring Operation: 87+105=192, Resulting Numbers: [8, 192] Generated Node #3: [8, 192] from Operation: 87+105=192 Current State: 24:[8, 192], Operations: ['74+31=105', '87+105=192'] Exploring Operation: 192/8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[74, 31, 87, 8], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [31, 8, 13] Generated Node #0,0: 24:[31, 8, 13] Operation: 87-74=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[31, 8, 13], Operations: ['87-74=13'] Exploring Operation: 31-8=23, Resulting Numbers: [13, 23] Generated Node #0,0,0: 24:[13, 23] Operation: 31-8=23 Moving to Node #0,0,0 Current State: 24:[13, 23], Operations: ['87-74=13', '31-8=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,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
mult_heuristic
[ 95, 64, 25, 89 ]
95
[ "95+64=159", "89-25=64", "159-64=95" ]
Current State: 95:[95, 64, 25, 89], Operations: [] Exploring Operation: 95+64=159, Resulting Numbers: [25, 89, 159] Generated Node #2: [25, 89, 159] from Operation: 95+64=159 Current State: 95:[25, 89, 159], Operations: ['95+64=159'] Exploring Operation: 89-25=64, Resulting Numbers: [159, 64] Generated Node #3: [159, 64] from Operation: 89-25=64 Current State: 95:[159, 64], Operations: ['95+64=159', '89-25=64'] Exploring Operation: 159-64=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[95, 64, 25, 89], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [64, 25, 6] Generated Node #0,0: 95:[64, 25, 6] Operation: 95-89=6 Exploring Operation: 64-25=39, Resulting Numbers: [95, 89, 39] Generated Node #0,1: 95:[95, 89, 39] Operation: 64-25=39 Exploring Operation: 89-64=25, Resulting Numbers: [95, 25, 25] Generated Node #0,2: 95:[95, 25, 25] Operation: 89-64=25 Exploring Operation: 64+25=89, Resulting Numbers: [95, 89, 89] Generated Node #0,3: 95:[95, 89, 89] Operation: 64+25=89 Exploring Operation: 95-64=31, Resulting Numbers: [25, 89, 31] Generated Node #0,4: 95:[25, 89, 31] Operation: 95-64=31 Moving to Node #0,2 Current State: 95:[95, 25, 25], Operations: ['89-64=25'] Exploring Operation: 25-25=0, Resulting Numbers: [95, 0] Generated Node #0,2,0: 95:[95, 0] Operation: 25-25=0 Exploring Operation: 95-25=70, Resulting Numbers: [25, 70] Generated Node #0,2,1: 95:[25, 70] Operation: 95-25=70 Exploring Operation: 25/25=1, Resulting Numbers: [95, 1] Generated Node #0,2,2: 95:[95, 1] Operation: 25/25=1 Exploring Operation: 95+25=120, Resulting Numbers: [25, 120] Generated Node #0,2,3: 95:[25, 120] Operation: 95+25=120 Exploring Operation: 95+25=120, Resulting Numbers: [25, 120] Generated Node #0,2,4: 95:[25, 120] Operation: 95+25=120 Moving to Node #0,3 Current State: 95:[95, 89, 89], Operations: ['64+25=89'] Exploring Operation: 89-89=0, Resulting Numbers: [95, 0] Generated Node #0,3,0: 95:[95, 0] Operation: 89-89=0 Exploring Operation: 89+89=178, Resulting Numbers: [95, 178] Generated Node #0,3,1: 95:[95, 178] Operation: 89+89=178 Exploring Operation: 95-89=6, Resulting Numbers: [89, 6] Generated Node #0,3,2: 95:[89, 6] Operation: 95-89=6 Exploring Operation: 89/89=1, Resulting Numbers: [95, 1] Generated Node #0,3,3: 95:[95, 1] Operation: 89/89=1 Exploring Operation: 95-89=6, Resulting Numbers: [89, 6] Generated Node #0,3,4: 95:[89, 6] Operation: 95-89=6 Moving to Node #0,4 Current State: 95:[25, 89, 31], Operations: ['95-64=31'] Exploring Operation: 25+31=56, Resulting Numbers: [89, 56] Generated Node #0,4,0: 95:[89, 56] Operation: 25+31=56 Exploring Operation: 31-25=6, Resulting Numbers: [89, 6] Generated Node #0,4,1: 95:[89, 6] Operation: 31-25=6 Exploring Operation: 89-25=64, Resulting Numbers: [31, 64] Generated Node #0,4,2: 95:[31, 64] Operation: 89-25=64 Exploring Operation: 25+89=114, Resulting Numbers: [31, 114] Generated Node #0,4,3: 95:[31, 114] Operation: 25+89=114 Exploring Operation: 89+31=120, Resulting Numbers: [25, 120] Generated Node #0,4,4: 95:[25, 120] Operation: 89+31=120 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 95:[89, 6], Operations: ['95-64=31', '31-25=6'] Exploring Operation: 89*6=534, Resulting Numbers: [534] 534,95 unequal: No Solution Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[95, 64, 25, 89], Operations: [] Exploring Operation: 95-64=31, Resulting Numbers: [25, 89, 31] Generated Node #0,4: 95:[25, 89, 31] Operation: 95-64=31 Moving to Node #0,4 Current State: 95:[25, 89, 31], Operations: ['95-64=31'] Exploring Operation: 31-25=6, Resulting Numbers: [89, 6] Generated Node #0,4,1: 95:[89, 6] Operation: 31-25=6 Moving to Node #0,4,1 Current State: 95:[89, 6], Operations: ['95-64=31', '31-25=6'] Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 86, 34, 66, 8 ]
46
[ "86+34=120", "66+8=74", "120-74=46" ]
Current State: 46:[86, 34, 66, 8], Operations: [] Exploring Operation: 86+34=120, Resulting Numbers: [66, 8, 120] Generated Node #2: [66, 8, 120] from Operation: 86+34=120 Current State: 46:[66, 8, 120], Operations: ['86+34=120'] Exploring Operation: 66+8=74, Resulting Numbers: [120, 74] Generated Node #3: [120, 74] from Operation: 66+8=74 Current State: 46:[120, 74], Operations: ['86+34=120', '66+8=74'] Exploring Operation: 120-74=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[86, 34, 66, 8], Operations: [] Exploring Operation: 86-34=52, Resulting Numbers: [66, 8, 52] Generated Node #0,0: 46:[66, 8, 52] Operation: 86-34=52 Exploring Operation: 86-66=20, Resulting Numbers: [34, 8, 20] Generated Node #0,1: 46:[34, 8, 20] Operation: 86-66=20 Moving to Node #0,1 Current State: 46:[34, 8, 20], Operations: ['86-66=20'] Exploring Operation: 34+8=42, Resulting Numbers: [20, 42] Generated Node #0,1,0: 46:[20, 42] Operation: 34+8=42 Exploring Operation: 34-8=26, Resulting Numbers: [20, 26] Generated Node #0,1,1: 46:[20, 26] Operation: 34-8=26 Moving to Node #0,0 Current State: 46:[66, 8, 52], Operations: ['86-34=52'] Exploring Operation: 66-8=58, Resulting Numbers: [52, 58] Generated Node #0,0,0: 46:[52, 58] Operation: 66-8=58 Exploring Operation: 66-52=14, Resulting Numbers: [8, 14] Generated Node #0,0,1: 46:[8, 14] Operation: 66-52=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[8, 14], Operations: ['86-34=52', '66-52=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[52, 58], Operations: ['86-34=52', '66-8=58'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,46 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: 46:[20, 26], Operations: ['86-66=20', '34-8=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[86, 34, 66, 8], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [34, 8, 20] Generated Node #0,1: 46:[34, 8, 20] Operation: 86-66=20 Moving to Node #0,1 Current State: 46:[34, 8, 20], Operations: ['86-66=20'] Exploring Operation: 34-8=26, Resulting Numbers: [20, 26] Generated Node #0,1,1: 46:[20, 26] Operation: 34-8=26 Moving to Node #0,1,1 Current State: 46:[20, 26], Operations: ['86-66=20', '34-8=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 26, 83, 10, 15 ]
82
[ "83-26=57", "10+15=25", "57+25=82" ]
Current State: 82:[26, 83, 10, 15], Operations: [] Exploring Operation: 83-26=57, Resulting Numbers: [10, 15, 57] Generated Node #2: [10, 15, 57] from Operation: 83-26=57 Current State: 82:[10, 15, 57], Operations: ['83-26=57'] Exploring Operation: 10+15=25, Resulting Numbers: [57, 25] Generated Node #3: [57, 25] from Operation: 10+15=25 Current State: 82:[57, 25], Operations: ['83-26=57', '10+15=25'] Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[26, 83, 10, 15], Operations: [] Exploring Operation: 26+15=41, Resulting Numbers: [83, 10, 41] Generated Node #0,0: 82:[83, 10, 41] Operation: 26+15=41 Moving to Node #0,0 Current State: 82:[83, 10, 41], Operations: ['26+15=41'] Exploring Operation: 83-10=73, Resulting Numbers: [41, 73] Generated Node #0,0,0: 82:[41, 73] Operation: 83-10=73 Moving to Node #0,0,0 Current State: 82:[41, 73], Operations: ['26+15=41', '83-10=73'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 24, 1, 55, 13 ]
67
[ "24+1=25", "55-13=42", "25+42=67" ]
Current State: 67:[24, 1, 55, 13], Operations: [] Exploring Operation: 24+1=25, Resulting Numbers: [55, 13, 25] Generated Node #2: [55, 13, 25] from Operation: 24+1=25 Current State: 67:[55, 13, 25], Operations: ['24+1=25'] Exploring Operation: 55-13=42, Resulting Numbers: [25, 42] Generated Node #3: [25, 42] from Operation: 55-13=42 Current State: 67:[25, 42], Operations: ['24+1=25', '55-13=42'] Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[24, 1, 55, 13], Operations: [] Exploring Operation: 24*1=24, Resulting Numbers: [55, 13, 24] Generated Node #0,0: 67:[55, 13, 24] Operation: 24*1=24 Exploring Operation: 1+55=56, Resulting Numbers: [24, 13, 56] Generated Node #0,1: 67:[24, 13, 56] Operation: 1+55=56 Exploring Operation: 24+1=25, Resulting Numbers: [55, 13, 25] Generated Node #0,2: 67:[55, 13, 25] Operation: 24+1=25 Exploring Operation: 24+13=37, Resulting Numbers: [1, 55, 37] Generated Node #0,3: 67:[1, 55, 37] Operation: 24+13=37 Exploring Operation: 1+13=14, Resulting Numbers: [24, 55, 14] Generated Node #0,4: 67:[24, 55, 14] Operation: 1+13=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[24, 13, 56], Operations: ['1+55=56'] Exploring Operation: 56-13=43, Resulting Numbers: [24, 43] Generated Node #0,1,0: 67:[24, 43] Operation: 56-13=43 Exploring Operation: 13+56=69, Resulting Numbers: [24, 69] Generated Node #0,1,1: 67:[24, 69] Operation: 13+56=69 Exploring Operation: 24-13=11, Resulting Numbers: [56, 11] Generated Node #0,1,2: 67:[56, 11] Operation: 24-13=11 Exploring Operation: 24+13=37, Resulting Numbers: [56, 37] Generated Node #0,1,3: 67:[56, 37] Operation: 24+13=37 Exploring Operation: 24+56=80, Resulting Numbers: [13, 80] Generated Node #0,1,4: 67:[13, 80] Operation: 24+56=80 Moving to Node #0,1,3 Current State: 67:[56, 37], Operations: ['1+55=56', '24+13=37'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[24, 69], Operations: ['1+55=56', '13+56=69'] Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 24*69=1656, Resulting Numbers: [1656] 1656,67 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[24, 43], Operations: ['1+55=56', '56-13=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[24, 1, 55, 13], Operations: [] Exploring Operation: 1+55=56, Resulting Numbers: [24, 13, 56] Generated Node #0,1: 67:[24, 13, 56] Operation: 1+55=56 Moving to Node #0,1 Current State: 67:[24, 13, 56], Operations: ['1+55=56'] Exploring Operation: 56-13=43, Resulting Numbers: [24, 43] Generated Node #0,1,0: 67:[24, 43] Operation: 56-13=43 Moving to Node #0,1,0 Current State: 67:[24, 43], Operations: ['1+55=56', '56-13=43'] Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 65, 40, 55, 19 ]
99
[ "65-40=25", "55+19=74", "25+74=99" ]
Current State: 99:[65, 40, 55, 19], Operations: [] Exploring Operation: 65-40=25, Resulting Numbers: [55, 19, 25] Generated Node #2: [55, 19, 25] from Operation: 65-40=25 Current State: 99:[55, 19, 25], Operations: ['65-40=25'] Exploring Operation: 55+19=74, Resulting Numbers: [25, 74] Generated Node #3: [25, 74] from Operation: 55+19=74 Current State: 99:[25, 74], Operations: ['65-40=25', '55+19=74'] Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[65, 40, 55, 19], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [40, 19, 10] Generated Node #0,0: 99:[40, 19, 10] Operation: 65-55=10 Exploring Operation: 65+40=105, Resulting Numbers: [55, 19, 105] Generated Node #0,1: 99:[55, 19, 105] Operation: 65+40=105 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[40, 19, 10], Operations: ['65-55=10'] Exploring Operation: 40/10=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 99:[19, 4] Operation: 40/10=4 Exploring Operation: 19-10=9, Resulting Numbers: [40, 9] Generated Node #0,0,1: 99:[40, 9] Operation: 19-10=9 Moving to Node #0,0,1 Current State: 99:[40, 9], Operations: ['65-55=10', '19-10=9'] Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[19, 4], Operations: ['65-55=10', '40/10=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[55, 19, 105], Operations: ['65+40=105'] Exploring Operation: 105-55=50, Resulting Numbers: [19, 50] Generated Node #0,1,0: 99:[19, 50] Operation: 105-55=50 Exploring Operation: 55-19=36, Resulting Numbers: [105, 36] Generated Node #0,1,1: 99:[105, 36] Operation: 55-19=36 Moving to Node #0,1,1 Current State: 99:[105, 36], Operations: ['65+40=105', '55-19=36'] Exploring Operation: 105-36=69, Resulting Numbers: [69] 69,99 unequal: No Solution Exploring Operation: 105+36=141, Resulting Numbers: [141] 141,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[19, 50], Operations: ['65+40=105', '105-55=50'] Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,99 unequal: No Solution Exploring Operation: 19+50=69, Resulting Numbers: [69] 69,99 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
[ 18, 28, 23, 48 ]
54
[ "28+23=51", "51-48=3", "18*3=54" ]
Current State: 54:[18, 28, 23, 48], Operations: [] Exploring Operation: 28+23=51, Resulting Numbers: [18, 48, 51] Generated Node #2: [18, 48, 51] from Operation: 28+23=51 Current State: 54:[18, 48, 51], Operations: ['28+23=51'] Exploring Operation: 51-48=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 51-48=3 Current State: 54:[18, 3], Operations: ['28+23=51', '51-48=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[18, 28, 23, 48], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [28, 48, 5] Generated Node #0,0: 54:[28, 48, 5] Operation: 23-18=5 Exploring Operation: 28-23=5, Resulting Numbers: [18, 48, 5] Generated Node #0,1: 54:[18, 48, 5] Operation: 28-23=5 Exploring Operation: 48-28=20, Resulting Numbers: [18, 23, 20] Generated Node #0,2: 54:[18, 23, 20] Operation: 48-28=20 Exploring Operation: 48-23=25, Resulting Numbers: [18, 28, 25] Generated Node #0,3: 54:[18, 28, 25] Operation: 48-23=25 Moving to Node #0,3 Current State: 54:[18, 28, 25], Operations: ['48-23=25'] Exploring Operation: 28-18=10, Resulting Numbers: [25, 10] Generated Node #0,3,0: 54:[25, 10] Operation: 28-18=10 Exploring Operation: 28+25=53, Resulting Numbers: [18, 53] Generated Node #0,3,1: 54:[18, 53] Operation: 28+25=53 Exploring Operation: 25-18=7, Resulting Numbers: [28, 7] Generated Node #0,3,2: 54:[28, 7] Operation: 25-18=7 Exploring Operation: 28-25=3, Resulting Numbers: [18, 3] Generated Node #0,3,3: 54:[18, 3] Operation: 28-25=3 Moving to Node #0,2 Current State: 54:[18, 23, 20], Operations: ['48-28=20'] Exploring Operation: 23+20=43, Resulting Numbers: [18, 43] Generated Node #0,2,0: 54:[18, 43] Operation: 23+20=43 Exploring Operation: 23-18=5, Resulting Numbers: [20, 5] Generated Node #0,2,1: 54:[20, 5] Operation: 23-18=5 Exploring Operation: 20-18=2, Resulting Numbers: [23, 2] Generated Node #0,2,2: 54:[23, 2] Operation: 20-18=2 Exploring Operation: 23-20=3, Resulting Numbers: [18, 3] Generated Node #0,2,3: 54:[18, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[18, 3], Operations: ['48-28=20', '23-20=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[18, 28, 23, 48], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [18, 23, 20] Generated Node #0,2: 54:[18, 23, 20] Operation: 48-28=20 Moving to Node #0,2 Current State: 54:[18, 23, 20], Operations: ['48-28=20'] Exploring Operation: 23-20=3, Resulting Numbers: [18, 3] Generated Node #0,2,3: 54:[18, 3] Operation: 23-20=3 Moving to Node #0,2,3 Current State: 54:[18, 3], Operations: ['48-28=20', '23-20=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 8, 99, 32, 33 ]
27
[ "32-8=24", "99/33=3", "24+3=27" ]
Current State: 27:[8, 99, 32, 33], Operations: [] Exploring Operation: 32-8=24, Resulting Numbers: [99, 33, 24] Generated Node #2: [99, 33, 24] from Operation: 32-8=24 Current State: 27:[99, 33, 24], Operations: ['32-8=24'] Exploring Operation: 99/33=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 99/33=3 Current State: 27:[24, 3], Operations: ['32-8=24', '99/33=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[8, 99, 32, 33], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [8, 32, 3] Generated Node #0,0: 27:[8, 32, 3] Operation: 99/33=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[8, 32, 3], Operations: ['99/33=3'] Exploring Operation: 32/8=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 27:[3, 4] Operation: 32/8=4 Moving to Node #0,0,0 Current State: 27:[3, 4], Operations: ['99/33=3', '32/8=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,27 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
[ 70, 41, 16, 25 ]
71
[ "41-16=25", "25/25=1", "70+1=71" ]
Current State: 71:[70, 41, 16, 25], Operations: [] Exploring Operation: 41-16=25, Resulting Numbers: [70, 25, 25] Generated Node #2: [70, 25, 25] from Operation: 41-16=25 Current State: 71:[70, 25, 25], Operations: ['41-16=25'] Exploring Operation: 25/25=1, Resulting Numbers: [70, 1] Generated Node #3: [70, 1] from Operation: 25/25=1 Current State: 71:[70, 1], Operations: ['41-16=25', '25/25=1'] Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[70, 41, 16, 25], Operations: [] Exploring Operation: 41+16=57, Resulting Numbers: [70, 25, 57] Generated Node #0,0: 71:[70, 25, 57] Operation: 41+16=57 Exploring Operation: 16+25=41, Resulting Numbers: [70, 41, 41] Generated Node #0,1: 71:[70, 41, 41] Operation: 16+25=41 Exploring Operation: 70-16=54, Resulting Numbers: [41, 25, 54] Generated Node #0,2: 71:[41, 25, 54] Operation: 70-16=54 Exploring Operation: 70+16=86, Resulting Numbers: [41, 25, 86] Generated Node #0,3: 71:[41, 25, 86] Operation: 70+16=86 Exploring Operation: 41+25=66, Resulting Numbers: [70, 16, 66] Generated Node #0,4: 71:[70, 16, 66] Operation: 41+25=66 Moving to Node #0,0 Current State: 71:[70, 25, 57], Operations: ['41+16=57'] Exploring Operation: 57-25=32, Resulting Numbers: [70, 32] Generated Node #0,0,0: 71:[70, 32] Operation: 57-25=32 Exploring Operation: 25+57=82, Resulting Numbers: [70, 82] Generated Node #0,0,1: 71:[70, 82] Operation: 25+57=82 Exploring Operation: 70+25=95, Resulting Numbers: [57, 95] Generated Node #0,0,2: 71:[57, 95] Operation: 70+25=95 Exploring Operation: 70-25=45, Resulting Numbers: [57, 45] Generated Node #0,0,3: 71:[57, 45] Operation: 70-25=45 Exploring Operation: 70+57=127, Resulting Numbers: [25, 127] Generated Node #0,0,4: 71:[25, 127] Operation: 70+57=127 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[70, 82], Operations: ['41+16=57', '25+57=82'] Exploring Operation: 70+82=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 70*82=5740, Resulting Numbers: [5740] 5740,71 unequal: No Solution Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[57, 95], Operations: ['41+16=57', '70+25=95'] Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 57*95=5415, Resulting Numbers: [5415] 5415,71 unequal: No Solution Exploring Operation: 57+95=152, Resulting Numbers: [152] 152,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[70, 32], Operations: ['41+16=57', '57-25=32'] Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,71 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[57, 45], Operations: ['41+16=57', '70-25=45'] Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 71:[25, 127], Operations: ['41+16=57', '70+57=127'] Exploring Operation: 25+127=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 127-25=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 25*127=3175, Resulting Numbers: [3175] 3175,71 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: 71:[70, 16, 66], Operations: ['41+25=66'] Exploring Operation: 66-16=50, Resulting Numbers: [70, 50] Generated Node #0,4,0: 71:[70, 50] Operation: 66-16=50 Exploring Operation: 16+66=82, Resulting Numbers: [70, 82] Generated Node #0,4,1: 71:[70, 82] Operation: 16+66=82 Exploring Operation: 70+66=136, Resulting Numbers: [16, 136] Generated Node #0,4,2: 71:[16, 136] Operation: 70+66=136 Exploring Operation: 70+16=86, Resulting Numbers: [66, 86] Generated Node #0,4,3: 71:[66, 86] Operation: 70+16=86 Exploring Operation: 70-16=54, Resulting Numbers: [66, 54] Generated Node #0,4,4: 71:[66, 54] Operation: 70-16=54 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 71:[70, 82], Operations: ['41+25=66', '16+66=82'] Exploring Operation: 70*82=5740, Resulting Numbers: [5740] 5740,71 unequal: No Solution Exploring Operation: 70+82=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 71:[66, 86], Operations: ['41+25=66', '70+16=86'] Exploring Operation: 66+86=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 66*86=5676, Resulting Numbers: [5676] 5676,71 unequal: No Solution Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 71:[70, 50], Operations: ['41+25=66', '66-16=50'] Exploring Operation: 70*50=3500, Resulting Numbers: [3500] 3500,71 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 70+50=120, Resulting Numbers: [120] 120,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 71:[66, 54], Operations: ['41+25=66', '70-16=54'] Exploring Operation: 66+54=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 66*54=3564, Resulting Numbers: [3564] 3564,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 71:[16, 136], Operations: ['41+25=66', '70+66=136'] Exploring Operation: 16*136=2176, Resulting Numbers: [2176] 2176,71 unequal: No Solution Exploring Operation: 16+136=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 136-16=120, Resulting Numbers: [120] 120,71 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: 71:[70, 41, 41], Operations: ['16+25=41'] Exploring Operation: 41/41=1, Resulting Numbers: [70, 1] Generated Node #0,1,0: 71:[70, 1] Operation: 41/41=1 Exploring Operation: 70+41=111, Resulting Numbers: [41, 111] Generated Node #0,1,1: 71:[41, 111] Operation: 70+41=111 Exploring Operation: 70-41=29, Resulting Numbers: [41, 29] Generated Node #0,1,2: 71:[41, 29] Operation: 70-41=29 Exploring Operation: 41+41=82, Resulting Numbers: [70, 82] Generated Node #0,1,3: 71:[70, 82] Operation: 41+41=82 Exploring Operation: 70+41=111, Resulting Numbers: [41, 111] Generated Node #0,1,4: 71:[41, 111] Operation: 70+41=111 Moving to Node #0,3 Current State: 71:[41, 25, 86], Operations: ['70+16=86'] Exploring Operation: 41-25=16, Resulting Numbers: [86, 16] Generated Node #0,3,0: 71:[86, 16] Operation: 41-25=16 Exploring Operation: 86-41=45, Resulting Numbers: [25, 45] Generated Node #0,3,1: 71:[25, 45] Operation: 86-41=45 Exploring Operation: 86-25=61, Resulting Numbers: [41, 61] Generated Node #0,3,2: 71:[41, 61] Operation: 86-25=61 Exploring Operation: 25+86=111, Resulting Numbers: [41, 111] Generated Node #0,3,3: 71:[41, 111] Operation: 25+86=111 Exploring Operation: 41+25=66, Resulting Numbers: [86, 66] Generated Node #0,3,4: 71:[86, 66] Operation: 41+25=66 Moving to Node #0,2 Current State: 71:[41, 25, 54], Operations: ['70-16=54'] Exploring Operation: 41+25=66, Resulting Numbers: [54, 66] Generated Node #0,2,0: 71:[54, 66] Operation: 41+25=66 Exploring Operation: 41-25=16, Resulting Numbers: [54, 16] Generated Node #0,2,1: 71:[54, 16] Operation: 41-25=16 Exploring Operation: 25+54=79, Resulting Numbers: [41, 79] Generated Node #0,2,2: 71:[41, 79] Operation: 25+54=79 Exploring Operation: 41+54=95, Resulting Numbers: [25, 95] Generated Node #0,2,3: 71:[25, 95] Operation: 41+54=95 Exploring Operation: 54-25=29, Resulting Numbers: [41, 29] Generated Node #0,2,4: 71:[41, 29] Operation: 54-25=29 Moving to Node #0,1,3 Current State: 71:[70, 82], Operations: ['16+25=41', '41+41=82'] Exploring Operation: 70+82=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 70*82=5740, Resulting Numbers: [5740] 5740,71 unequal: No Solution Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[86, 66], Operations: ['70+16=86', '41+25=66'] Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 86*66=5676, Resulting Numbers: [5676] 5676,71 unequal: No Solution Exploring Operation: 86+66=152, Resulting Numbers: [152] 152,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[54, 66], Operations: ['70-16=54', '41+25=66'] Exploring Operation: 54*66=3564, Resulting Numbers: [3564] 3564,71 unequal: No Solution Exploring Operation: 54+66=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[41, 79], Operations: ['70-16=54', '25+54=79'] Exploring Operation: 41*79=3239, Resulting Numbers: [3239] 3239,71 unequal: No Solution Exploring Operation: 41+79=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[41, 61], Operations: ['70+16=86', '86-25=61'] Exploring Operation: 41+61=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 41*61=2501, Resulting Numbers: [2501] 2501,71 unequal: No Solution Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[25, 95], Operations: ['70-16=54', '41+54=95'] Exploring Operation: 25*95=2375, Resulting Numbers: [2375] 2375,71 unequal: No Solution Exploring Operation: 25+95=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[41, 111], Operations: ['16+25=41', '70+41=111'] Exploring Operation: 41*111=4551, Resulting Numbers: [4551] 4551,71 unequal: No Solution Exploring Operation: 111-41=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 41+111=152, Resulting Numbers: [152] 152,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[41, 111], Operations: ['16+25=41', '70+41=111'] Exploring Operation: 41+111=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 111-41=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 41*111=4551, Resulting Numbers: [4551] 4551,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[86, 16], Operations: ['70+16=86', '41-25=16'] Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 86+16=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 86*16=1376, Resulting Numbers: [1376] 1376,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[41, 111], Operations: ['70+16=86', '25+86=111'] Exploring Operation: 111-41=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 41+111=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 41*111=4551, Resulting Numbers: [4551] 4551,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[70, 1], Operations: ['16+25=41', '41/41=1'] Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[70, 41, 16, 25], Operations: [] Exploring Operation: 16+25=41, Resulting Numbers: [70, 41, 41] Generated Node #0,1: 71:[70, 41, 41] Operation: 16+25=41 Moving to Node #0,1 Current State: 71:[70, 41, 41], Operations: ['16+25=41'] Exploring Operation: 41/41=1, Resulting Numbers: [70, 1] Generated Node #0,1,0: 71:[70, 1] Operation: 41/41=1 Moving to Node #0,1,0 Current State: 71:[70, 1], Operations: ['16+25=41', '41/41=1'] Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.917535
hs_5
mult_heuristic
[ 57, 37, 24, 2 ]
59
[ "57+37=94", "24+94=118", "118/2=59" ]
Current State: 59:[57, 37, 24, 2], Operations: [] Exploring Operation: 57+37=94, Resulting Numbers: [24, 2, 94] Generated Node #2: [24, 2, 94] from Operation: 57+37=94 Current State: 59:[24, 2, 94], Operations: ['57+37=94'] Exploring Operation: 24+94=118, Resulting Numbers: [2, 118] Generated Node #3: [2, 118] from Operation: 24+94=118 Current State: 59:[2, 118], Operations: ['57+37=94', '24+94=118'] Exploring Operation: 118/2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[57, 37, 24, 2], Operations: [] Exploring Operation: 57+2=59, Resulting Numbers: [37, 24, 59] Generated Node #0,0: 59:[37, 24, 59] Operation: 57+2=59 Exploring Operation: 37+2=39, Resulting Numbers: [57, 24, 39] Generated Node #0,1: 59:[57, 24, 39] Operation: 37+2=39 Exploring Operation: 24*2=48, Resulting Numbers: [57, 37, 48] Generated Node #0,2: 59:[57, 37, 48] Operation: 24*2=48 Exploring Operation: 37*2=74, Resulting Numbers: [57, 24, 74] Generated Node #0,3: 59:[57, 24, 74] Operation: 37*2=74 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[57, 37, 48], Operations: ['24*2=48'] Exploring Operation: 57-37=20, Resulting Numbers: [48, 20] Generated Node #0,2,0: 59:[48, 20] Operation: 57-37=20 Exploring Operation: 48-37=11, Resulting Numbers: [57, 11] Generated Node #0,2,1: 59:[57, 11] Operation: 48-37=11 Exploring Operation: 37+48=85, Resulting Numbers: [57, 85] Generated Node #0,2,2: 59:[57, 85] Operation: 37+48=85 Exploring Operation: 57+37=94, Resulting Numbers: [48, 94] Generated Node #0,2,3: 59:[48, 94] Operation: 57+37=94 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[57, 85], Operations: ['24*2=48', '37+48=85'] Exploring Operation: 85-57=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 57*85=4845, Resulting Numbers: [4845] 4845,59 unequal: No Solution Exploring Operation: 57+85=142, Resulting Numbers: [142] 142,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:[48, 94], Operations: ['24*2=48', '57+37=94'] Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,59 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 48*94=4512, Resulting Numbers: [4512] 4512,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:[48, 20], Operations: ['24*2=48', '57-37=20'] Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,59 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[57, 11], Operations: ['24*2=48', '48-37=11'] Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,59 unequal: No Solution Exploring Operation: 57-11=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:[57, 24, 74], Operations: ['37*2=74'] Exploring Operation: 57-24=33, Resulting Numbers: [74, 33] Generated Node #0,3,0: 59:[74, 33] Operation: 57-24=33 Exploring Operation: 74-24=50, Resulting Numbers: [57, 50] Generated Node #0,3,1: 59:[57, 50] Operation: 74-24=50 Exploring Operation: 57+24=81, Resulting Numbers: [74, 81] Generated Node #0,3,2: 59:[74, 81] Operation: 57+24=81 Exploring Operation: 24+74=98, Resulting Numbers: [57, 98] Generated Node #0,3,3: 59:[57, 98] Operation: 24+74=98 Moving to Node #0,3,1 Current State: 59:[57, 50], Operations: ['37*2=74', '74-24=50'] Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,59 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[74, 81], Operations: ['37*2=74', '57+24=81'] Exploring Operation: 74*81=5994, Resulting Numbers: [5994] 5994,59 unequal: No Solution Exploring Operation: 74+81=155, Resulting Numbers: [155] 155,59 unequal: No Solution Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[57, 98], Operations: ['37*2=74', '24+74=98'] Exploring Operation: 57*98=5586, Resulting Numbers: [5586] 5586,59 unequal: No Solution Exploring Operation: 57+98=155, Resulting Numbers: [155] 155,59 unequal: No Solution Exploring Operation: 98-57=41, Resulting Numbers: [41] 41,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[74, 33], Operations: ['37*2=74', '57-24=33'] Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,59 unequal: No Solution Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[37, 24, 59], Operations: ['57+2=59'] Exploring Operation: 37+24=61, Resulting Numbers: [59, 61] Generated Node #0,0,0: 59:[59, 61] Operation: 37+24=61 Exploring Operation: 37-24=13, Resulting Numbers: [59, 13] Generated Node #0,0,1: 59:[59, 13] Operation: 37-24=13 Exploring Operation: 24+59=83, Resulting Numbers: [37, 83] Generated Node #0,0,2: 59:[37, 83] Operation: 24+59=83 Exploring Operation: 59-24=35, Resulting Numbers: [37, 35] Generated Node #0,0,3: 59:[37, 35] Operation: 59-24=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[59, 61], Operations: ['57+2=59', '37+24=61'] Exploring Operation: 59*61=3599, Resulting Numbers: [3599] 3599,59 unequal: No Solution Exploring Operation: 59+61=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,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:[59, 13], Operations: ['57+2=59', '37-24=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,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:[37, 83], Operations: ['57+2=59', '24+59=83'] Exploring Operation: 83-37=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 37+83=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 37*83=3071, Resulting Numbers: [3071] 3071,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[37, 35], Operations: ['57+2=59', '59-24=35'] Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,59 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,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:[57, 24, 39], Operations: ['37+2=39'] Exploring Operation: 39-24=15, Resulting Numbers: [57, 15] Generated Node #0,1,0: 59:[57, 15] Operation: 39-24=15 Exploring Operation: 24+39=63, Resulting Numbers: [57, 63] Generated Node #0,1,1: 59:[57, 63] Operation: 24+39=63 Exploring Operation: 57-24=33, Resulting Numbers: [39, 33] Generated Node #0,1,2: 59:[39, 33] Operation: 57-24=33 Exploring Operation: 57+24=81, Resulting Numbers: [39, 81] Generated Node #0,1,3: 59:[39, 81] Operation: 57+24=81 Moving to Node #0,1,1 Current State: 59:[57, 63], Operations: ['37+2=39', '24+39=63'] Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[39, 81], Operations: ['37+2=39', '57+24=81'] Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 39+81=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 39*81=3159, Resulting Numbers: [3159] 3159,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[39, 33], Operations: ['37+2=39', '57-24=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,59 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[57, 15], Operations: ['37+2=39', '39-24=15'] Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,59 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 62, 46, 33, 20 ]
37
[ "62-46=16", "33+20=53", "53-16=37" ]
Current State: 37:[62, 46, 33, 20], Operations: [] Exploring Operation: 62-46=16, Resulting Numbers: [33, 20, 16] Generated Node #2: [33, 20, 16] from Operation: 62-46=16 Current State: 37:[33, 20, 16], Operations: ['62-46=16'] Exploring Operation: 33+20=53, Resulting Numbers: [16, 53] Generated Node #3: [16, 53] from Operation: 33+20=53 Current State: 37:[16, 53], Operations: ['62-46=16', '33+20=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[62, 46, 33, 20], Operations: [] Exploring Operation: 46-20=26, Resulting Numbers: [62, 33, 26] Generated Node #0,0: 37:[62, 33, 26] Operation: 46-20=26 Exploring Operation: 62-20=42, Resulting Numbers: [46, 33, 42] Generated Node #0,1: 37:[46, 33, 42] Operation: 62-20=42 Exploring Operation: 62-46=16, Resulting Numbers: [33, 20, 16] Generated Node #0,2: 37:[33, 20, 16] Operation: 62-46=16 Exploring Operation: 62-33=29, Resulting Numbers: [46, 20, 29] Generated Node #0,3: 37:[46, 20, 29] Operation: 62-33=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[46, 33, 42], Operations: ['62-20=42'] Exploring Operation: 46-42=4, Resulting Numbers: [33, 4] Generated Node #0,1,0: 37:[33, 4] Operation: 46-42=4 Exploring Operation: 42-33=9, Resulting Numbers: [46, 9] Generated Node #0,1,1: 37:[46, 9] Operation: 42-33=9 Exploring Operation: 46-33=13, Resulting Numbers: [42, 13] Generated Node #0,1,2: 37:[42, 13] Operation: 46-33=13 Exploring Operation: 46+33=79, Resulting Numbers: [42, 79] Generated Node #0,1,3: 37:[42, 79] Operation: 46+33=79 Moving to Node #0,1,2 Current State: 37:[42, 13], Operations: ['62-20=42', '46-33=13'] Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,37 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[46, 9], Operations: ['62-20=42', '42-33=9'] Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,37 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[62, 46, 33, 20], Operations: [] Exploring Operation: 62-20=42, Resulting Numbers: [46, 33, 42] Generated Node #0,1: 37:[46, 33, 42] Operation: 62-20=42 Moving to Node #0,1 Current State: 37:[46, 33, 42], Operations: ['62-20=42'] Exploring Operation: 42-33=9, Resulting Numbers: [46, 9] Generated Node #0,1,1: 37:[46, 9] Operation: 42-33=9 Moving to Node #0,1,1 Current State: 37:[46, 9], Operations: ['62-20=42', '42-33=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 58, 23, 59, 51 ]
27
[ "58-23=35", "59-51=8", "35-8=27" ]
Current State: 27:[58, 23, 59, 51], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [59, 51, 35] Generated Node #2: [59, 51, 35] from Operation: 58-23=35 Current State: 27:[59, 51, 35], Operations: ['58-23=35'] Exploring Operation: 59-51=8, Resulting Numbers: [35, 8] Generated Node #3: [35, 8] from Operation: 59-51=8 Current State: 27:[35, 8], Operations: ['58-23=35', '59-51=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[58, 23, 59, 51], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [58, 23, 8] Generated Node #0,0: 27:[58, 23, 8] Operation: 59-51=8 Exploring Operation: 59-58=1, Resulting Numbers: [23, 51, 1] Generated Node #0,1: 27:[23, 51, 1] Operation: 59-58=1 Moving to Node #0,1 Current State: 27:[23, 51, 1], Operations: ['59-58=1'] Exploring Operation: 23+1=24, Resulting Numbers: [51, 24] Generated Node #0,1,0: 27:[51, 24] Operation: 23+1=24 Exploring Operation: 51-23=28, Resulting Numbers: [1, 28] Generated Node #0,1,1: 27:[1, 28] Operation: 51-23=28 Moving to Node #0,0 Current State: 27:[58, 23, 8], Operations: ['59-51=8'] Exploring Operation: 58-23=35, Resulting Numbers: [8, 35] Generated Node #0,0,0: 27:[8, 35] Operation: 58-23=35 Exploring Operation: 58-8=50, Resulting Numbers: [23, 50] Generated Node #0,0,1: 27:[23, 50] Operation: 58-8=50 Moving to Node #0,1,1 Current State: 27:[1, 28], Operations: ['59-58=1', '51-23=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[58, 23, 59, 51], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [23, 51, 1] Generated Node #0,1: 27:[23, 51, 1] Operation: 59-58=1 Moving to Node #0,1 Current State: 27:[23, 51, 1], Operations: ['59-58=1'] Exploring Operation: 51-23=28, Resulting Numbers: [1, 28] Generated Node #0,1,1: 27:[1, 28] Operation: 51-23=28 Moving to Node #0,1,1 Current State: 27:[1, 28], Operations: ['59-58=1', '51-23=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 44, 85, 85, 89 ]
74
[ "89-85=4", "44/4=11", "85-11=74" ]
Current State: 74:[44, 85, 85, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [44, 4] Generated Node #2: [44, 4] from Operation: 89-85=4 Current State: 74:[44, 4], Operations: ['89-85=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,74 equal: Goal Reached Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[44, 85, 85, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [44, 85, 4] Generated Node #0,0: 74:[44, 85, 4] Operation: 89-85=4 Exploring Operation: 89-85=4, Resulting Numbers: [44, 85, 4] Generated Node #0,1: 74:[44, 85, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 74:[44, 85, 4], Operations: ['89-85=4'] Exploring Operation: 85-44=41, Resulting Numbers: [4, 41] Generated Node #0,0,0: 74:[4, 41] Operation: 85-44=41 Exploring Operation: 44-4=40, Resulting Numbers: [85, 40] Generated Node #0,0,1: 74:[85, 40] Operation: 44-4=40 Moving to Node #0,1 Current State: 74:[44, 85, 4], Operations: ['89-85=4'] Exploring Operation: 85-44=41, Resulting Numbers: [4, 41] Generated Node #0,1,0: 74:[4, 41] Operation: 85-44=41 Exploring Operation: 44-4=40, Resulting Numbers: [85, 40] Generated Node #0,1,1: 74:[85, 40] Operation: 44-4=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[4, 41], Operations: ['89-85=4', '85-44=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,74 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[85, 40], Operations: ['89-85=4', '44-4=40'] Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 74:[4, 41], Operations: ['89-85=4', '85-44=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,74 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[85, 40], Operations: ['89-85=4', '44-4=40'] Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,74 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 1, 50, 26, 59 ]
17
[ "1*50=50", "59-26=33", "50-33=17" ]
Current State: 17:[1, 50, 26, 59], Operations: [] Exploring Operation: 1*50=50, Resulting Numbers: [26, 59, 50] Generated Node #2: [26, 59, 50] from Operation: 1*50=50 Current State: 17:[26, 59, 50], Operations: ['1*50=50'] Exploring Operation: 59-26=33, Resulting Numbers: [50, 33] Generated Node #3: [50, 33] from Operation: 59-26=33 Current State: 17:[50, 33], Operations: ['1*50=50', '59-26=33'] Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[1, 50, 26, 59], Operations: [] Exploring Operation: 50-26=24, Resulting Numbers: [1, 59, 24] Generated Node #0,0: 17:[1, 59, 24] Operation: 50-26=24 Exploring Operation: 59-50=9, Resulting Numbers: [1, 26, 9] Generated Node #0,1: 17:[1, 26, 9] Operation: 59-50=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[1, 26, 9], Operations: ['59-50=9'] Exploring Operation: 1+9=10, Resulting Numbers: [26, 10] Generated Node #0,1,0: 17:[26, 10] Operation: 1+9=10 Exploring Operation: 26-1=25, Resulting Numbers: [9, 25] Generated Node #0,1,1: 17:[9, 25] Operation: 26-1=25 Moving to Node #0,1,0 Current State: 17:[26, 10], Operations: ['59-50=9', '1+9=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[9, 25], Operations: ['59-50=9', '26-1=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,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:[1, 59, 24], Operations: ['50-26=24'] Exploring Operation: 59-24=35, Resulting Numbers: [1, 35] Generated Node #0,0,0: 17:[1, 35] Operation: 59-24=35 Exploring Operation: 59-1=58, Resulting Numbers: [24, 58] Generated Node #0,0,1: 17:[24, 58] Operation: 59-1=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[1, 35], Operations: ['50-26=24', '59-24=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,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,0,1 Current State: 17:[24, 58], Operations: ['50-26=24', '59-1=58'] Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 25, 16, 53, 14 ]
56
[ "53-25=28", "16-14=2", "28*2=56" ]
Current State: 56:[25, 16, 53, 14], Operations: [] Exploring Operation: 53-25=28, Resulting Numbers: [16, 14, 28] Generated Node #2: [16, 14, 28] from Operation: 53-25=28 Current State: 56:[16, 14, 28], Operations: ['53-25=28'] Exploring Operation: 16-14=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 16-14=2 Current State: 56:[28, 2], Operations: ['53-25=28', '16-14=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[25, 16, 53, 14], Operations: [] Exploring Operation: 53-25=28, Resulting Numbers: [16, 14, 28] Generated Node #0,0: 56:[16, 14, 28] Operation: 53-25=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[16, 14, 28], Operations: ['53-25=28'] Exploring Operation: 16-14=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 56:[28, 2] Operation: 16-14=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[28, 2], Operations: ['53-25=28', '16-14=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[25, 16, 53, 14], Operations: [] Exploring Operation: 53-25=28, Resulting Numbers: [16, 14, 28] Generated Node #0,0: 56:[16, 14, 28] Operation: 53-25=28 Moving to Node #0,0 Current State: 56:[16, 14, 28], Operations: ['53-25=28'] Exploring Operation: 16-14=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 56:[28, 2] Operation: 16-14=2 Moving to Node #0,0,0 Current State: 56:[28, 2], Operations: ['53-25=28', '16-14=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 37, 3, 71, 7 ]
24
[ "37+3=40", "71-7=64", "64-40=24" ]
Current State: 24:[37, 3, 71, 7], Operations: [] Exploring Operation: 37+3=40, Resulting Numbers: [71, 7, 40] Generated Node #2: [71, 7, 40] from Operation: 37+3=40 Current State: 24:[71, 7, 40], Operations: ['37+3=40'] Exploring Operation: 71-7=64, Resulting Numbers: [40, 64] Generated Node #3: [40, 64] from Operation: 71-7=64 Current State: 24:[40, 64], Operations: ['37+3=40', '71-7=64'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[37, 3, 71, 7], Operations: [] Exploring Operation: 71-3=68, Resulting Numbers: [37, 7, 68] Generated Node #0,0: 24:[37, 7, 68] Operation: 71-3=68 Exploring Operation: 71-37=34, Resulting Numbers: [3, 7, 34] Generated Node #0,1: 24:[3, 7, 34] Operation: 71-37=34 Exploring Operation: 71-7=64, Resulting Numbers: [37, 3, 64] Generated Node #0,2: 24:[37, 3, 64] Operation: 71-7=64 Exploring Operation: 37-3=34, Resulting Numbers: [71, 7, 34] Generated Node #0,3: 24:[71, 7, 34] Operation: 37-3=34 Exploring Operation: 37-7=30, Resulting Numbers: [3, 71, 30] Generated Node #0,4: 24:[3, 71, 30] Operation: 37-7=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[3, 7, 34], Operations: ['71-37=34'] Exploring Operation: 7-3=4, Resulting Numbers: [34, 4] Generated Node #0,1,0: 24:[34, 4] Operation: 7-3=4 Exploring Operation: 34-7=27, Resulting Numbers: [3, 27] Generated Node #0,1,1: 24:[3, 27] Operation: 34-7=27 Exploring Operation: 3*7=21, Resulting Numbers: [34, 21] Generated Node #0,1,2: 24:[34, 21] Operation: 3*7=21 Exploring Operation: 34-3=31, Resulting Numbers: [7, 31] Generated Node #0,1,3: 24:[7, 31] Operation: 34-3=31 Exploring Operation: 3+7=10, Resulting Numbers: [34, 10] Generated Node #0,1,4: 24:[34, 10] Operation: 3+7=10 Moving to Node #0,1,1 Current State: 24:[3, 27], Operations: ['71-37=34', '34-7=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[37, 3, 71, 7], Operations: [] Exploring Operation: 71-37=34, Resulting Numbers: [3, 7, 34] Generated Node #0,1: 24:[3, 7, 34] Operation: 71-37=34 Moving to Node #0,1 Current State: 24:[3, 7, 34], Operations: ['71-37=34'] Exploring Operation: 34-7=27, Resulting Numbers: [3, 27] Generated Node #0,1,1: 24:[3, 27] Operation: 34-7=27 Moving to Node #0,1,1 Current State: 24:[3, 27], Operations: ['71-37=34', '34-7=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 77, 61, 82, 75 ]
42
[ "77-75=2", "82-61=21", "2*21=42" ]
Current State: 42:[77, 61, 82, 75], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [61, 82, 2] Generated Node #2: [61, 82, 2] from Operation: 77-75=2 Current State: 42:[61, 82, 2], Operations: ['77-75=2'] Exploring Operation: 82-61=21, Resulting Numbers: [2, 21] Generated Node #3: [2, 21] from Operation: 82-61=21 Current State: 42:[2, 21], Operations: ['77-75=2', '82-61=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[77, 61, 82, 75], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [61, 82, 2] Generated Node #0,0: 42:[61, 82, 2] Operation: 77-75=2 Exploring Operation: 82-61=21, Resulting Numbers: [77, 75, 21] Generated Node #0,1: 42:[77, 75, 21] Operation: 82-61=21 Exploring Operation: 82-77=5, Resulting Numbers: [61, 75, 5] Generated Node #0,2: 42:[61, 75, 5] Operation: 82-77=5 Exploring Operation: 82-75=7, Resulting Numbers: [77, 61, 7] Generated Node #0,3: 42:[77, 61, 7] Operation: 82-75=7 Moving to Node #0,2 Current State: 42:[61, 75, 5], Operations: ['82-77=5'] Exploring Operation: 75/5=15, Resulting Numbers: [61, 15] Generated Node #0,2,0: 42:[61, 15] Operation: 75/5=15 Exploring Operation: 75-61=14, Resulting Numbers: [5, 14] Generated Node #0,2,1: 42:[5, 14] Operation: 75-61=14 Exploring Operation: 75-5=70, Resulting Numbers: [61, 70] Generated Node #0,2,2: 42:[61, 70] Operation: 75-5=70 Exploring Operation: 61-5=56, Resulting Numbers: [75, 56] Generated Node #0,2,3: 42:[75, 56] Operation: 61-5=56 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[5, 14], Operations: ['82-77=5', '75-61=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,42 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[61, 15], Operations: ['82-77=5', '75/5=15'] Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,42 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[61, 70], Operations: ['82-77=5', '75-5=70'] Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,42 unequal: No Solution Exploring Operation: 61*70=4270, Resulting Numbers: [4270] 4270,42 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[75, 56], Operations: ['82-77=5', '61-5=56'] Exploring Operation: 75*56=4200, Resulting Numbers: [4200] 4200,42 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 75+56=131, Resulting Numbers: [131] 131,42 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: 42:[77, 61, 7], Operations: ['82-75=7'] Exploring Operation: 77/7=11, Resulting Numbers: [61, 11] Generated Node #0,3,0: 42:[61, 11] Operation: 77/7=11 Exploring Operation: 77-7=70, Resulting Numbers: [61, 70] Generated Node #0,3,1: 42:[61, 70] Operation: 77-7=70 Exploring Operation: 77-61=16, Resulting Numbers: [7, 16] Generated Node #0,3,2: 42:[7, 16] Operation: 77-61=16 Exploring Operation: 61-7=54, Resulting Numbers: [77, 54] Generated Node #0,3,3: 42:[77, 54] Operation: 61-7=54 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[7, 16], Operations: ['82-75=7', '77-61=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,42 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[61, 11], Operations: ['82-75=7', '77/7=11'] Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,42 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[61, 70], Operations: ['82-75=7', '77-7=70'] Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,42 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 61*70=4270, Resulting Numbers: [4270] 4270,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[77, 54], Operations: ['82-75=7', '61-7=54'] Exploring Operation: 77+54=131, Resulting Numbers: [131] 131,42 unequal: No Solution Exploring Operation: 77*54=4158, Resulting Numbers: [4158] 4158,42 unequal: No Solution Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,42 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: 42:[61, 82, 2], Operations: ['77-75=2'] Exploring Operation: 82-2=80, Resulting Numbers: [61, 80] Generated Node #0,0,0: 42:[61, 80] Operation: 82-2=80 Exploring Operation: 82/2=41, Resulting Numbers: [61, 41] Generated Node #0,0,1: 42:[61, 41] Operation: 82/2=41 Exploring Operation: 61-2=59, Resulting Numbers: [82, 59] Generated Node #0,0,2: 42:[82, 59] Operation: 61-2=59 Exploring Operation: 82-61=21, Resulting Numbers: [2, 21] Generated Node #0,0,3: 42:[2, 21] Operation: 82-61=21 Moving to Node #0,1 Current State: 42:[77, 75, 21], Operations: ['82-61=21'] Exploring Operation: 77-21=56, Resulting Numbers: [75, 56] Generated Node #0,1,0: 42:[75, 56] Operation: 77-21=56 Exploring Operation: 75-21=54, Resulting Numbers: [77, 54] Generated Node #0,1,1: 42:[77, 54] Operation: 75-21=54 Exploring Operation: 77+21=98, Resulting Numbers: [75, 98] Generated Node #0,1,2: 42:[75, 98] Operation: 77+21=98 Exploring Operation: 77-75=2, Resulting Numbers: [21, 2] Generated Node #0,1,3: 42:[21, 2] Operation: 77-75=2 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[21, 2], Operations: ['82-61=21', '77-75=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[77, 61, 82, 75], Operations: [] Exploring Operation: 82-61=21, Resulting Numbers: [77, 75, 21] Generated Node #0,1: 42:[77, 75, 21] Operation: 82-61=21 Moving to Node #0,1 Current State: 42:[77, 75, 21], Operations: ['82-61=21'] Exploring Operation: 77-75=2, Resulting Numbers: [21, 2] Generated Node #0,1,3: 42:[21, 2] Operation: 77-75=2 Moving to Node #0,1,3 Current State: 42:[21, 2], Operations: ['82-61=21', '77-75=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
sum_heuristic
[ 3, 15, 51, 93 ]
87
[ "3*15=45", "93-51=42", "45+42=87" ]
Current State: 87:[3, 15, 51, 93], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [51, 93, 45] Generated Node #2: [51, 93, 45] from Operation: 3*15=45 Current State: 87:[51, 93, 45], Operations: ['3*15=45'] Exploring Operation: 93-51=42, Resulting Numbers: [45, 42] Generated Node #3: [45, 42] from Operation: 93-51=42 Current State: 87:[45, 42], Operations: ['3*15=45', '93-51=42'] Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[3, 15, 51, 93], Operations: [] Exploring Operation: 93-51=42, Resulting Numbers: [3, 15, 42] Generated Node #0,0: 87:[3, 15, 42] Operation: 93-51=42 Exploring Operation: 51-15=36, Resulting Numbers: [3, 93, 36] Generated Node #0,1: 87:[3, 93, 36] Operation: 51-15=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[3, 93, 36], Operations: ['51-15=36'] Exploring Operation: 93/3=31, Resulting Numbers: [36, 31] Generated Node #0,1,0: 87:[36, 31] Operation: 93/3=31 Exploring Operation: 93-3=90, Resulting Numbers: [36, 90] Generated Node #0,1,1: 87:[36, 90] Operation: 93-3=90 Moving to Node #0,1,0 Current State: 87:[36, 31], Operations: ['51-15=36', '93/3=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,87 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[36, 90], Operations: ['51-15=36', '93-3=90'] Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[3, 15, 42], Operations: ['93-51=42'] Exploring Operation: 42-15=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 87:[3, 27] Operation: 42-15=27 Exploring Operation: 15/3=5, Resulting Numbers: [42, 5] Generated Node #0,0,1: 87:[42, 5] Operation: 15/3=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[3, 27], Operations: ['93-51=42', '42-15=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,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:[42, 5], Operations: ['93-51=42', '15/3=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,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 No solution found.
0
hs_2
mult_heuristic
[ 12, 78, 86, 96 ]
42
[ "96-86=10", "12*10=120", "120-78=42" ]
Current State: 42:[12, 78, 86, 96], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [12, 78, 10] Generated Node #2: [12, 78, 10] from Operation: 96-86=10 Current State: 42:[12, 78, 10], Operations: ['96-86=10'] Exploring Operation: 12*10=120, Resulting Numbers: [78, 120] Generated Node #3: [78, 120] from Operation: 12*10=120 Current State: 42:[78, 120], Operations: ['96-86=10', '12*10=120'] Exploring Operation: 120-78=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[12, 78, 86, 96], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [12, 78, 10] Generated Node #0,0: 42:[12, 78, 10] Operation: 96-86=10 Exploring Operation: 96-78=18, Resulting Numbers: [12, 86, 18] Generated Node #0,1: 42:[12, 86, 18] Operation: 96-78=18 Moving to Node #0,0 Current State: 42:[12, 78, 10], Operations: ['96-86=10'] Exploring Operation: 78-12=66, Resulting Numbers: [10, 66] Generated Node #0,0,0: 42:[10, 66] Operation: 78-12=66 Exploring Operation: 78-10=68, Resulting Numbers: [12, 68] Generated Node #0,0,1: 42:[12, 68] Operation: 78-10=68 Moving to Node #0,1 Current State: 42:[12, 86, 18], Operations: ['96-78=18'] Exploring Operation: 86-18=68, Resulting Numbers: [12, 68] Generated Node #0,1,0: 42:[12, 68] Operation: 86-18=68 Exploring Operation: 86-12=74, Resulting Numbers: [18, 74] Generated Node #0,1,1: 42:[18, 74] Operation: 86-12=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[12, 68], Operations: ['96-78=18', '86-18=68'] Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,42 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[18, 74], Operations: ['96-78=18', '86-12=74'] Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 18+74=92, Resulting Numbers: [92] 92,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 42:[10, 66], Operations: ['96-86=10', '78-12=66'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[12, 68], Operations: ['96-86=10', '78-10=68'] Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,42 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,42 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 74, 30, 76, 46 ]
53
[ "76-74=2", "46/2=23", "30+23=53" ]
Current State: 53:[74, 30, 76, 46], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [30, 46, 2] Generated Node #2: [30, 46, 2] from Operation: 76-74=2 Current State: 53:[30, 46, 2], Operations: ['76-74=2'] Exploring Operation: 46/2=23, Resulting Numbers: [30, 23] Generated Node #3: [30, 23] from Operation: 46/2=23 Current State: 53:[30, 23], Operations: ['76-74=2', '46/2=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[74, 30, 76, 46], Operations: [] Exploring Operation: 30+46=76, Resulting Numbers: [74, 76, 76] Generated Node #0,0: 53:[74, 76, 76] Operation: 30+46=76 Exploring Operation: 76-30=46, Resulting Numbers: [74, 46, 46] Generated Node #0,1: 53:[74, 46, 46] Operation: 76-30=46 Exploring Operation: 74-30=44, Resulting Numbers: [76, 46, 44] Generated Node #0,2: 53:[76, 46, 44] Operation: 74-30=44 Moving to Node #0,1 Current State: 53:[74, 46, 46], Operations: ['76-30=46'] Exploring Operation: 74-46=28, Resulting Numbers: [46, 28] Generated Node #0,1,0: 53:[46, 28] Operation: 74-46=28 Exploring Operation: 46+46=92, Resulting Numbers: [74, 92] Generated Node #0,1,1: 53:[74, 92] Operation: 46+46=92 Exploring Operation: 74-46=28, Resulting Numbers: [46, 28] Generated Node #0,1,2: 53:[46, 28] Operation: 74-46=28 Moving to Node #0,2 Current State: 53:[76, 46, 44], Operations: ['74-30=44'] Exploring Operation: 76-44=32, Resulting Numbers: [46, 32] Generated Node #0,2,0: 53:[46, 32] Operation: 76-44=32 Exploring Operation: 76-46=30, Resulting Numbers: [44, 30] Generated Node #0,2,1: 53:[44, 30] Operation: 76-46=30 Exploring Operation: 46+44=90, Resulting Numbers: [76, 90] Generated Node #0,2,2: 53:[76, 90] Operation: 46+44=90 Moving to Node #0,0 Current State: 53:[74, 76, 76], Operations: ['30+46=76'] Exploring Operation: 76-74=2, Resulting Numbers: [76, 2] Generated Node #0,0,0: 53:[76, 2] Operation: 76-74=2 Exploring Operation: 76/76=1, Resulting Numbers: [74, 1] Generated Node #0,0,1: 53:[74, 1] Operation: 76/76=1 Exploring Operation: 76-74=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 53:[76, 2] Operation: 76-74=2 Moving to Node #0,2,0 Current State: 53:[46, 32], Operations: ['74-30=44', '76-44=32'] Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[46, 28], Operations: ['76-30=46', '74-46=28'] Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,53 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[44, 30], Operations: ['74-30=44', '76-46=30'] Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,53 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[46, 28], Operations: ['76-30=46', '74-46=28'] Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,53 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[74, 92], Operations: ['76-30=46', '46+46=92'] Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 74*92=6808, Resulting Numbers: [6808] 6808,53 unequal: No Solution Exploring Operation: 74+92=166, Resulting Numbers: [166] 166,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[76, 90], Operations: ['74-30=44', '46+44=90'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 76*90=6840, Resulting Numbers: [6840] 6840,53 unequal: No Solution Exploring Operation: 76+90=166, Resulting Numbers: [166] 166,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[74, 1], Operations: ['30+46=76', '76/76=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[76, 2], Operations: ['30+46=76', '76-74=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[76, 2], Operations: ['30+46=76', '76-74=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,53 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 16, 28, 8 ]
19
[ "16-15=1", "28-8=20", "20-1=19" ]
Current State: 19:[15, 16, 28, 8], Operations: [] Exploring Operation: 16-15=1, Resulting Numbers: [28, 8, 1] Generated Node #2: [28, 8, 1] from Operation: 16-15=1 Current State: 19:[28, 8, 1], Operations: ['16-15=1'] Exploring Operation: 28-8=20, Resulting Numbers: [1, 20] Generated Node #3: [1, 20] from Operation: 28-8=20 Current State: 19:[1, 20], Operations: ['16-15=1', '28-8=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[15, 16, 28, 8], Operations: [] Exploring Operation: 28-8=20, Resulting Numbers: [15, 16, 20] Generated Node #0,0: 19:[15, 16, 20] Operation: 28-8=20 Moving to Node #0,0 Current State: 19:[15, 16, 20], Operations: ['28-8=20'] Exploring Operation: 15+16=31, Resulting Numbers: [20, 31] Generated Node #0,0,0: 19:[20, 31] Operation: 15+16=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[20, 31], Operations: ['28-8=20', '15+16=31'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,19 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
[ 4, 17, 37, 60 ]
75
[ "60-37=23", "4*23=92", "92-17=75" ]
Current State: 75:[4, 17, 37, 60], Operations: [] Exploring Operation: 60-37=23, Resulting Numbers: [4, 17, 23] Generated Node #2: [4, 17, 23] from Operation: 60-37=23 Current State: 75:[4, 17, 23], Operations: ['60-37=23'] Exploring Operation: 4*23=92, Resulting Numbers: [17, 92] Generated Node #3: [17, 92] from Operation: 4*23=92 Current State: 75:[17, 92], Operations: ['60-37=23', '4*23=92'] Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[4, 17, 37, 60], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [17, 37, 15] Generated Node #0,0: 75:[17, 37, 15] Operation: 60/4=15 Exploring Operation: 60-37=23, Resulting Numbers: [4, 17, 23] Generated Node #0,1: 75:[4, 17, 23] Operation: 60-37=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[4, 17, 23], Operations: ['60-37=23'] Exploring Operation: 17-4=13, Resulting Numbers: [23, 13] Generated Node #0,1,0: 75:[23, 13] Operation: 17-4=13 Exploring Operation: 23-17=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 75:[4, 6] Operation: 23-17=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[4, 6], Operations: ['60-37=23', '23-17=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,75 unequal: No Solution No 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: 75:[23, 13], Operations: ['60-37=23', '17-4=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,75 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: 75:[17, 37, 15], Operations: ['60/4=15'] Exploring Operation: 37-17=20, Resulting Numbers: [15, 20] Generated Node #0,0,0: 75:[15, 20] Operation: 37-17=20 Exploring Operation: 37-15=22, Resulting Numbers: [17, 22] Generated Node #0,0,1: 75:[17, 22] Operation: 37-15=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[15, 20], Operations: ['60/4=15', '37-17=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,75 unequal: No Solution No 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: 75:[17, 22], Operations: ['60/4=15', '37-15=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 22, 8, 60, 20 ]
70
[ "22+8=30", "60-20=40", "30+40=70" ]
Current State: 70:[22, 8, 60, 20], Operations: [] Exploring Operation: 22+8=30, Resulting Numbers: [60, 20, 30] Generated Node #2: [60, 20, 30] from Operation: 22+8=30 Current State: 70:[60, 20, 30], Operations: ['22+8=30'] Exploring Operation: 60-20=40, Resulting Numbers: [30, 40] Generated Node #3: [30, 40] from Operation: 60-20=40 Current State: 70:[30, 40], Operations: ['22+8=30', '60-20=40'] Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[22, 8, 60, 20], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [22, 8, 40] Generated Node #0,0: 70:[22, 8, 40] Operation: 60-20=40 Exploring Operation: 60-22=38, Resulting Numbers: [8, 20, 38] Generated Node #0,1: 70:[8, 20, 38] Operation: 60-22=38 Exploring Operation: 22-20=2, Resulting Numbers: [8, 60, 2] Generated Node #0,2: 70:[8, 60, 2] Operation: 22-20=2 Exploring Operation: 22-8=14, Resulting Numbers: [60, 20, 14] Generated Node #0,3: 70:[60, 20, 14] Operation: 22-8=14 Exploring Operation: 60/20=3, Resulting Numbers: [22, 8, 3] Generated Node #0,4: 70:[22, 8, 3] Operation: 60/20=3 Moving to Node #0,1 Current State: 70:[8, 20, 38], Operations: ['60-22=38'] Exploring Operation: 8+20=28, Resulting Numbers: [38, 28] Generated Node #0,1,0: 70:[38, 28] Operation: 8+20=28 Exploring Operation: 20-8=12, Resulting Numbers: [38, 12] Generated Node #0,1,1: 70:[38, 12] Operation: 20-8=12 Exploring Operation: 38-20=18, Resulting Numbers: [8, 18] Generated Node #0,1,2: 70:[8, 18] Operation: 38-20=18 Exploring Operation: 20+38=58, Resulting Numbers: [8, 58] Generated Node #0,1,3: 70:[8, 58] Operation: 20+38=58 Exploring Operation: 38-8=30, Resulting Numbers: [20, 30] Generated Node #0,1,4: 70:[20, 30] Operation: 38-8=30 Moving to Node #0,4 Current State: 70:[22, 8, 3], Operations: ['60/20=3'] Exploring Operation: 22+8=30, Resulting Numbers: [3, 30] Generated Node #0,4,0: 70:[3, 30] Operation: 22+8=30 Exploring Operation: 22*3=66, Resulting Numbers: [8, 66] Generated Node #0,4,1: 70:[8, 66] Operation: 22*3=66 Exploring Operation: 22-8=14, Resulting Numbers: [3, 14] Generated Node #0,4,2: 70:[3, 14] Operation: 22-8=14 Exploring Operation: 22-3=19, Resulting Numbers: [8, 19] Generated Node #0,4,3: 70:[8, 19] Operation: 22-3=19 Exploring Operation: 8-3=5, Resulting Numbers: [22, 5] Generated Node #0,4,4: 70:[22, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 70:[3, 14], Operations: ['60/20=3', '22-8=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 70:[8, 66], Operations: ['60/20=3', '22*3=66'] Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,70 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,70 unequal: No Solution Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 70:[3, 30], Operations: ['60/20=3', '22+8=30'] Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 70:[8, 19], Operations: ['60/20=3', '22-3=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,70 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 70:[22, 5], Operations: ['60/20=3', '8-3=5'] Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,70 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 70:[8, 60, 2], Operations: ['22-20=2'] Exploring Operation: 8-2=6, Resulting Numbers: [60, 6] Generated Node #0,2,0: 70:[60, 6] Operation: 8-2=6 Exploring Operation: 60+2=62, Resulting Numbers: [8, 62] Generated Node #0,2,1: 70:[8, 62] Operation: 60+2=62 Exploring Operation: 8+2=10, Resulting Numbers: [60, 10] Generated Node #0,2,2: 70:[60, 10] Operation: 8+2=10 Exploring Operation: 60/2=30, Resulting Numbers: [8, 30] Generated Node #0,2,3: 70:[8, 30] Operation: 60/2=30 Exploring Operation: 8+60=68, Resulting Numbers: [2, 68] Generated Node #0,2,4: 70:[2, 68] Operation: 8+60=68 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 70:[2, 68], Operations: ['22-20=2', '8+60=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,70 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[22, 8, 60, 20], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [8, 60, 2] Generated Node #0,2: 70:[8, 60, 2] Operation: 22-20=2 Moving to Node #0,2 Current State: 70:[8, 60, 2], Operations: ['22-20=2'] Exploring Operation: 8+60=68, Resulting Numbers: [2, 68] Generated Node #0,2,4: 70:[2, 68] Operation: 8+60=68 Moving to Node #0,2,4 Current State: 70:[2, 68], Operations: ['22-20=2', '8+60=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 40, 68, 41, 92 ]
30
[ "92-41=51", "40*51=2040", "2040/68=30" ]
Current State: 30:[40, 68, 41, 92], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [40, 68, 51] Generated Node #2: [40, 68, 51] from Operation: 92-41=51 Current State: 30:[40, 68, 51], Operations: ['92-41=51'] Exploring Operation: 40*51=2040, Resulting Numbers: [68, 2040] Generated Node #3: [68, 2040] from Operation: 40*51=2040 Current State: 30:[68, 2040], Operations: ['92-41=51', '40*51=2040'] Exploring Operation: 2040/68=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[40, 68, 41, 92], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [41, 92, 28] Generated Node #0,0: 30:[41, 92, 28] Operation: 68-40=28 Exploring Operation: 92-41=51, Resulting Numbers: [40, 68, 51] Generated Node #0,1: 30:[40, 68, 51] Operation: 92-41=51 Exploring Operation: 92-40=52, Resulting Numbers: [68, 41, 52] Generated Node #0,2: 30:[68, 41, 52] Operation: 92-40=52 Exploring Operation: 92-68=24, Resulting Numbers: [40, 41, 24] Generated Node #0,3: 30:[40, 41, 24] Operation: 92-68=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[40, 41, 24], Operations: ['92-68=24'] Exploring Operation: 40-24=16, Resulting Numbers: [41, 16] Generated Node #0,3,0: 30:[41, 16] Operation: 40-24=16 Exploring Operation: 41-40=1, Resulting Numbers: [24, 1] Generated Node #0,3,1: 30:[24, 1] Operation: 41-40=1 Exploring Operation: 41-24=17, Resulting Numbers: [40, 17] Generated Node #0,3,2: 30:[40, 17] Operation: 41-24=17 Exploring Operation: 40+24=64, Resulting Numbers: [41, 64] Generated Node #0,3,3: 30:[41, 64] Operation: 40+24=64 Moving to Node #0,3,1 Current State: 30:[24, 1], Operations: ['92-68=24', '41-40=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[40, 17], Operations: ['92-68=24', '41-24=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,30 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[41, 16], Operations: ['92-68=24', '40-24=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,30 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,30 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[41, 64], Operations: ['92-68=24', '40+24=64'] Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,30 unequal: No Solution Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,30 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,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:[40, 68, 51], Operations: ['92-41=51'] Exploring Operation: 68-40=28, Resulting Numbers: [51, 28] Generated Node #0,1,0: 30:[51, 28] Operation: 68-40=28 Exploring Operation: 51-40=11, Resulting Numbers: [68, 11] Generated Node #0,1,1: 30:[68, 11] Operation: 51-40=11 Exploring Operation: 68-51=17, Resulting Numbers: [40, 17] Generated Node #0,1,2: 30:[40, 17] Operation: 68-51=17 Exploring Operation: 40+68=108, Resulting Numbers: [51, 108] Generated Node #0,1,3: 30:[51, 108] Operation: 40+68=108 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 30:[40, 17], Operations: ['92-41=51', '68-51=17'] Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,30 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,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,0 Current State: 30:[51, 28], Operations: ['92-41=51', '68-40=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,30 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,30 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,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:[68, 11], Operations: ['92-41=51', '51-40=11'] Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,30 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,30 unequal: No Solution Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,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:[51, 108], Operations: ['92-41=51', '40+68=108'] Exploring Operation: 51+108=159, Resulting Numbers: [159] 159,30 unequal: No Solution Exploring Operation: 51*108=5508, Resulting Numbers: [5508] 5508,30 unequal: No Solution Exploring Operation: 108-51=57, Resulting Numbers: [57] 57,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,2 Current State: 30:[68, 41, 52], Operations: ['92-40=52'] Exploring Operation: 68-41=27, Resulting Numbers: [52, 27] Generated Node #0,2,0: 30:[52, 27] Operation: 68-41=27 Exploring Operation: 68-52=16, Resulting Numbers: [41, 16] Generated Node #0,2,1: 30:[41, 16] Operation: 68-52=16 Exploring Operation: 68+41=109, Resulting Numbers: [52, 109] Generated Node #0,2,2: 30:[52, 109] Operation: 68+41=109 Exploring Operation: 52-41=11, Resulting Numbers: [68, 11] Generated Node #0,2,3: 30:[68, 11] Operation: 52-41=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 30:[41, 16], Operations: ['92-40=52', '68-52=16'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,30 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,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,2,0 Current State: 30:[52, 27], Operations: ['92-40=52', '68-41=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,30 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,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,2,3 Current State: 30:[68, 11], Operations: ['92-40=52', '52-41=11'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,30 unequal: No Solution Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,30 unequal: No Solution Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,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,2,2 Current State: 30:[52, 109], Operations: ['92-40=52', '68+41=109'] Exploring Operation: 52+109=161, Resulting Numbers: [161] 161,30 unequal: No Solution Exploring Operation: 109-52=57, Resulting Numbers: [57] 57,30 unequal: No Solution Exploring Operation: 52*109=5668, Resulting Numbers: [5668] 5668,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,0 Current State: 30:[41, 92, 28], Operations: ['68-40=28'] Exploring Operation: 41+28=69, Resulting Numbers: [92, 69] Generated Node #0,0,0: 30:[92, 69] Operation: 41+28=69 Exploring Operation: 92-28=64, Resulting Numbers: [41, 64] Generated Node #0,0,1: 30:[41, 64] Operation: 92-28=64 Exploring Operation: 41-28=13, Resulting Numbers: [92, 13] Generated Node #0,0,2: 30:[92, 13] Operation: 41-28=13 Exploring Operation: 92-41=51, Resulting Numbers: [28, 51] Generated Node #0,0,3: 30:[28, 51] Operation: 92-41=51 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 30:[28, 51], Operations: ['68-40=28', '92-41=51'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,30 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,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,0,1 Current State: 30:[41, 64], Operations: ['68-40=28', '92-28=64'] Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,30 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,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,0,2 Current State: 30:[92, 13], Operations: ['68-40=28', '41-28=13'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,30 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,30 unequal: No Solution Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,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,0,0 Current State: 30:[92, 69], Operations: ['68-40=28', '41+28=69'] Exploring Operation: 92+69=161, Resulting Numbers: [161] 161,30 unequal: No Solution Exploring Operation: 92*69=6348, Resulting Numbers: [6348] 6348,30 unequal: No Solution Exploring Operation: 92-69=23, Resulting Numbers: [23] 23,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_4
sum_heuristic
[ 52, 91, 78, 19 ]
38
[ "91-52=39", "78*19=1482", "1482/39=38" ]
Current State: 38:[52, 91, 78, 19], Operations: [] Exploring Operation: 91-52=39, Resulting Numbers: [78, 19, 39] Generated Node #2: [78, 19, 39] from Operation: 91-52=39 Current State: 38:[78, 19, 39], Operations: ['91-52=39'] Exploring Operation: 78*19=1482, Resulting Numbers: [39, 1482] Generated Node #3: [39, 1482] from Operation: 78*19=1482 Current State: 38:[39, 1482], Operations: ['91-52=39', '78*19=1482'] Exploring Operation: 1482/39=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[52, 91, 78, 19], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [52, 19, 13] Generated Node #0,0: 38:[52, 19, 13] Operation: 91-78=13 Moving to Node #0,0 Current State: 38:[52, 19, 13], Operations: ['91-78=13'] Exploring Operation: 52-13=39, Resulting Numbers: [19, 39] Generated Node #0,0,0: 38:[19, 39] Operation: 52-13=39 Moving to Node #0,0,0 Current State: 38:[19, 39], Operations: ['91-78=13', '52-13=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 34, 67, 44, 3 ]
35
[ "67-44=23", "3*23=69", "69-34=35" ]
Current State: 35:[34, 67, 44, 3], Operations: [] Exploring Operation: 67-44=23, Resulting Numbers: [34, 3, 23] Generated Node #2: [34, 3, 23] from Operation: 67-44=23 Current State: 35:[34, 3, 23], Operations: ['67-44=23'] Exploring Operation: 3*23=69, Resulting Numbers: [34, 69] Generated Node #3: [34, 69] from Operation: 3*23=69 Current State: 35:[34, 69], Operations: ['67-44=23', '3*23=69'] Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[34, 67, 44, 3], Operations: [] Exploring Operation: 67-34=33, Resulting Numbers: [44, 3, 33] Generated Node #0,0: 35:[44, 3, 33] Operation: 67-34=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[44, 3, 33], Operations: ['67-34=33'] Exploring Operation: 44-33=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 35:[3, 11] Operation: 44-33=11 Moving to Node #0,0,0 Current State: 35:[3, 11], Operations: ['67-34=33', '44-33=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,35 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
[ 42, 8, 30, 36 ]
16
[ "42+8=50", "30+36=66", "66-50=16" ]
Current State: 16:[42, 8, 30, 36], Operations: [] Exploring Operation: 42+8=50, Resulting Numbers: [30, 36, 50] Generated Node #2: [30, 36, 50] from Operation: 42+8=50 Current State: 16:[30, 36, 50], Operations: ['42+8=50'] Exploring Operation: 30+36=66, Resulting Numbers: [50, 66] Generated Node #3: [50, 66] from Operation: 30+36=66 Current State: 16:[50, 66], Operations: ['42+8=50', '30+36=66'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[42, 8, 30, 36], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [8, 30, 6] Generated Node #0,0: 16:[8, 30, 6] Operation: 42-36=6 Exploring Operation: 36-30=6, Resulting Numbers: [42, 8, 6] Generated Node #0,1: 16:[42, 8, 6] Operation: 36-30=6 Exploring Operation: 42-30=12, Resulting Numbers: [8, 36, 12] Generated Node #0,2: 16:[8, 36, 12] Operation: 42-30=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[8, 30, 6], Operations: ['42-36=6'] Exploring Operation: 30-6=24, Resulting Numbers: [8, 24] Generated Node #0,0,0: 16:[8, 24] Operation: 30-6=24 Exploring Operation: 30-8=22, Resulting Numbers: [6, 22] Generated Node #0,0,1: 16:[6, 22] Operation: 30-8=22 Exploring Operation: 30/6=5, Resulting Numbers: [8, 5] Generated Node #0,0,2: 16:[8, 5] Operation: 30/6=5 Moving to Node #0,0,2 Current State: 16:[8, 5], Operations: ['42-36=6', '30/6=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,16 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[8, 24], Operations: ['42-36=6', '30-6=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[42, 8, 30, 36], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [8, 30, 6] Generated Node #0,0: 16:[8, 30, 6] Operation: 42-36=6 Moving to Node #0,0 Current State: 16:[8, 30, 6], Operations: ['42-36=6'] Exploring Operation: 30-6=24, Resulting Numbers: [8, 24] Generated Node #0,0,0: 16:[8, 24] Operation: 30-6=24 Moving to Node #0,0,0 Current State: 16:[8, 24], Operations: ['42-36=6', '30-6=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 75, 3, 32, 8 ]
17
[ "75-32=43", "8+43=51", "51/3=17" ]
Current State: 17:[75, 3, 32, 8], Operations: [] Exploring Operation: 75-32=43, Resulting Numbers: [3, 8, 43] Generated Node #2: [3, 8, 43] from Operation: 75-32=43 Current State: 17:[3, 8, 43], Operations: ['75-32=43'] Exploring Operation: 8+43=51, Resulting Numbers: [3, 51] Generated Node #3: [3, 51] from Operation: 8+43=51 Current State: 17:[3, 51], Operations: ['75-32=43', '8+43=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[75, 3, 32, 8], Operations: [] Exploring Operation: 75/3=25, Resulting Numbers: [32, 8, 25] Generated Node #0,0: 17:[32, 8, 25] Operation: 75/3=25 Exploring Operation: 75-3=72, Resulting Numbers: [32, 8, 72] Generated Node #0,1: 17:[32, 8, 72] Operation: 75-3=72 Exploring Operation: 75-8=67, Resulting Numbers: [3, 32, 67] Generated Node #0,2: 17:[3, 32, 67] Operation: 75-8=67 Exploring Operation: 75-32=43, Resulting Numbers: [3, 8, 43] Generated Node #0,3: 17:[3, 8, 43] Operation: 75-32=43 Moving to Node #0,0 Current State: 17:[32, 8, 25], Operations: ['75/3=25'] Exploring Operation: 32/8=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 17:[25, 4] Operation: 32/8=4 Exploring Operation: 25-8=17, Resulting Numbers: [32, 17] Generated Node #0,0,1: 17:[32, 17] Operation: 25-8=17 Exploring Operation: 32-25=7, Resulting Numbers: [8, 7] Generated Node #0,0,2: 17:[8, 7] Operation: 32-25=7 Exploring Operation: 32-8=24, Resulting Numbers: [25, 24] Generated Node #0,0,3: 17:[25, 24] Operation: 32-8=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[32, 17], Operations: ['75/3=25', '25-8=17'] Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,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,3 Current State: 17:[25, 24], Operations: ['75/3=25', '32-8=24'] Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,17 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,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,2 Current State: 17:[8, 7], Operations: ['75/3=25', '32-25=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,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,0 Current State: 17:[25, 4], Operations: ['75/3=25', '32/8=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,17 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,17 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: 17:[3, 8, 43], Operations: ['75-32=43'] Exploring Operation: 43-3=40, Resulting Numbers: [8, 40] Generated Node #0,3,0: 17:[8, 40] Operation: 43-3=40 Exploring Operation: 3*8=24, Resulting Numbers: [43, 24] Generated Node #0,3,1: 17:[43, 24] Operation: 3*8=24 Exploring Operation: 3+8=11, Resulting Numbers: [43, 11] Generated Node #0,3,2: 17:[43, 11] Operation: 3+8=11 Exploring Operation: 43-8=35, Resulting Numbers: [3, 35] Generated Node #0,3,3: 17:[3, 35] Operation: 43-8=35 Moving to Node #0,2 Current State: 17:[3, 32, 67], Operations: ['75-8=67'] Exploring Operation: 67-32=35, Resulting Numbers: [3, 35] Generated Node #0,2,0: 17:[3, 35] Operation: 67-32=35 Exploring Operation: 32-3=29, Resulting Numbers: [67, 29] Generated Node #0,2,1: 17:[67, 29] Operation: 32-3=29 Exploring Operation: 3+32=35, Resulting Numbers: [67, 35] Generated Node #0,2,2: 17:[67, 35] Operation: 3+32=35 Exploring Operation: 67-3=64, Resulting Numbers: [32, 64] Generated Node #0,2,3: 17:[32, 64] Operation: 67-3=64 Moving to Node #0,1 Current State: 17:[32, 8, 72], Operations: ['75-3=72'] Exploring Operation: 72/8=9, Resulting Numbers: [32, 9] Generated Node #0,1,0: 17:[32, 9] Operation: 72/8=9 Exploring Operation: 72-32=40, Resulting Numbers: [8, 40] Generated Node #0,1,1: 17:[8, 40] Operation: 72-32=40 Exploring Operation: 72-8=64, Resulting Numbers: [32, 64] Generated Node #0,1,2: 17:[32, 64] Operation: 72-8=64 Exploring Operation: 32-8=24, Resulting Numbers: [72, 24] Generated Node #0,1,3: 17:[72, 24] Operation: 32-8=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[32, 9], Operations: ['75-3=72', '72/8=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,17 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,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,1 Current State: 17:[8, 40], Operations: ['75-3=72', '72-32=40'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,17 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,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,2 Current State: 17:[32, 64], Operations: ['75-3=72', '72-8=64'] Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 32+64=96, Resulting Numbers: [96] 96,17 unequal: No Solution Exploring Operation: 32*64=2048, Resulting Numbers: [2048] 2048,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,3 Current State: 17:[72, 24], Operations: ['75-3=72', '32-8=24'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 72*24=1728, Resulting Numbers: [1728] 1728,17 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 72+24=96, Resulting Numbers: [96] 96,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 17:[8, 40], Operations: ['75-32=43', '43-3=40'] Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,17 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[3, 35], Operations: ['75-32=43', '43-8=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[43, 11], Operations: ['75-32=43', '3+8=11'] Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,17 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[3, 35], Operations: ['75-8=67', '67-32=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[43, 24], Operations: ['75-32=43', '3*8=24'] Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[32, 64], Operations: ['75-8=67', '67-3=64'] Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 32*64=2048, Resulting Numbers: [2048] 2048,17 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 32+64=96, Resulting Numbers: [96] 96,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[67, 29], Operations: ['75-8=67', '32-3=29'] Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,17 unequal: No Solution Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[67, 35], Operations: ['75-8=67', '3+32=35'] Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,17 unequal: No Solution Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,17 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 92, 21, 6, 45 ]
95
[ "21-6=15", "45/15=3", "92+3=95" ]
Current State: 95:[92, 21, 6, 45], Operations: [] Exploring Operation: 21-6=15, Resulting Numbers: [92, 45, 15] Generated Node #2: [92, 45, 15] from Operation: 21-6=15 Current State: 95:[92, 45, 15], Operations: ['21-6=15'] Exploring Operation: 45/15=3, Resulting Numbers: [92, 3] Generated Node #3: [92, 3] from Operation: 45/15=3 Current State: 95:[92, 3], Operations: ['21-6=15', '45/15=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[92, 21, 6, 45], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [21, 6, 47] Generated Node #0,0: 95:[21, 6, 47] Operation: 92-45=47 Exploring Operation: 92+6=98, Resulting Numbers: [21, 45, 98] Generated Node #0,1: 95:[21, 45, 98] Operation: 92+6=98 Exploring Operation: 45-21=24, Resulting Numbers: [92, 6, 24] Generated Node #0,2: 95:[92, 6, 24] Operation: 45-21=24 Exploring Operation: 45-6=39, Resulting Numbers: [92, 21, 39] Generated Node #0,3: 95:[92, 21, 39] Operation: 45-6=39 Exploring Operation: 21-6=15, Resulting Numbers: [92, 45, 15] Generated Node #0,4: 95:[92, 45, 15] Operation: 21-6=15 Moving to Node #0,2 Current State: 95:[92, 6, 24], Operations: ['45-21=24'] Exploring Operation: 6+24=30, Resulting Numbers: [92, 30] Generated Node #0,2,0: 95:[92, 30] Operation: 6+24=30 Exploring Operation: 24/6=4, Resulting Numbers: [92, 4] Generated Node #0,2,1: 95:[92, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [92, 18] Generated Node #0,2,2: 95:[92, 18] Operation: 24-6=18 Exploring Operation: 92+6=98, Resulting Numbers: [24, 98] Generated Node #0,2,3: 95:[24, 98] Operation: 92+6=98 Exploring Operation: 92-6=86, Resulting Numbers: [24, 86] Generated Node #0,2,4: 95:[24, 86] Operation: 92-6=86 Moving to Node #0,3 Current State: 95:[92, 21, 39], Operations: ['45-6=39'] Exploring Operation: 92+21=113, Resulting Numbers: [39, 113] Generated Node #0,3,0: 95:[39, 113] Operation: 92+21=113 Exploring Operation: 39-21=18, Resulting Numbers: [92, 18] Generated Node #0,3,1: 95:[92, 18] Operation: 39-21=18 Exploring Operation: 92-39=53, Resulting Numbers: [21, 53] Generated Node #0,3,2: 95:[21, 53] Operation: 92-39=53 Exploring Operation: 21+39=60, Resulting Numbers: [92, 60] Generated Node #0,3,3: 95:[92, 60] Operation: 21+39=60 Exploring Operation: 92+39=131, Resulting Numbers: [21, 131] Generated Node #0,3,4: 95:[21, 131] Operation: 92+39=131 Moving to Node #0,0 Current State: 95:[21, 6, 47], Operations: ['92-45=47'] Exploring Operation: 21+47=68, Resulting Numbers: [6, 68] Generated Node #0,0,0: 95:[6, 68] Operation: 21+47=68 Exploring Operation: 21-6=15, Resulting Numbers: [47, 15] Generated Node #0,0,1: 95:[47, 15] Operation: 21-6=15 Exploring Operation: 47-6=41, Resulting Numbers: [21, 41] Generated Node #0,0,2: 95:[21, 41] Operation: 47-6=41 Exploring Operation: 47-21=26, Resulting Numbers: [6, 26] Generated Node #0,0,3: 95:[6, 26] Operation: 47-21=26 Exploring Operation: 21+6=27, Resulting Numbers: [47, 27] Generated Node #0,0,4: 95:[47, 27] Operation: 21+6=27 Moving to Node #0,1 Current State: 95:[21, 45, 98], Operations: ['92+6=98'] Exploring Operation: 98-45=53, Resulting Numbers: [21, 53] Generated Node #0,1,0: 95:[21, 53] Operation: 98-45=53 Exploring Operation: 21+98=119, Resulting Numbers: [45, 119] Generated Node #0,1,1: 95:[45, 119] Operation: 21+98=119 Exploring Operation: 45-21=24, Resulting Numbers: [98, 24] Generated Node #0,1,2: 95:[98, 24] Operation: 45-21=24 Exploring Operation: 98-21=77, Resulting Numbers: [45, 77] Generated Node #0,1,3: 95:[45, 77] Operation: 98-21=77 Exploring Operation: 21+45=66, Resulting Numbers: [98, 66] Generated Node #0,1,4: 95:[98, 66] Operation: 21+45=66 Moving to Node #0,4 Current State: 95:[92, 45, 15], Operations: ['21-6=15'] Exploring Operation: 45-15=30, Resulting Numbers: [92, 30] Generated Node #0,4,0: 95:[92, 30] Operation: 45-15=30 Exploring Operation: 92+15=107, Resulting Numbers: [45, 107] Generated Node #0,4,1: 95:[45, 107] Operation: 92+15=107 Exploring Operation: 92-45=47, Resulting Numbers: [15, 47] Generated Node #0,4,2: 95:[15, 47] Operation: 92-45=47 Exploring Operation: 45+15=60, Resulting Numbers: [92, 60] Generated Node #0,4,3: 95:[92, 60] Operation: 45+15=60 Exploring Operation: 45/15=3, Resulting Numbers: [92, 3] Generated Node #0,4,4: 95:[92, 3] Operation: 45/15=3 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 95:[92, 3], Operations: ['21-6=15', '45/15=3'] Exploring Operation: 92*3=276, Resulting Numbers: [276] 276,95 unequal: No Solution Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[92, 21, 6, 45], Operations: [] Exploring Operation: 21-6=15, Resulting Numbers: [92, 45, 15] Generated Node #0,4: 95:[92, 45, 15] Operation: 21-6=15 Moving to Node #0,4 Current State: 95:[92, 45, 15], Operations: ['21-6=15'] Exploring Operation: 45/15=3, Resulting Numbers: [92, 3] Generated Node #0,4,4: 95:[92, 3] Operation: 45/15=3 Moving to Node #0,4,4 Current State: 95:[92, 3], Operations: ['21-6=15', '45/15=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 71, 56, 54, 97 ]
13
[ "97-71=26", "56-54=2", "26/2=13" ]
Current State: 13:[71, 56, 54, 97], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [56, 54, 26] Generated Node #2: [56, 54, 26] from Operation: 97-71=26 Current State: 13:[56, 54, 26], Operations: ['97-71=26'] Exploring Operation: 56-54=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 56-54=2 Current State: 13:[26, 2], Operations: ['97-71=26', '56-54=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[71, 56, 54, 97], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [56, 54, 26] Generated Node #0,0: 13:[56, 54, 26] Operation: 97-71=26 Exploring Operation: 71-56=15, Resulting Numbers: [54, 97, 15] Generated Node #0,1: 13:[54, 97, 15] Operation: 71-56=15 Moving to Node #0,0 Current State: 13:[56, 54, 26], Operations: ['97-71=26'] Exploring Operation: 56-26=30, Resulting Numbers: [54, 30] Generated Node #0,0,0: 13:[54, 30] Operation: 56-26=30 Exploring Operation: 56-54=2, Resulting Numbers: [26, 2] Generated Node #0,0,1: 13:[26, 2] Operation: 56-54=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[26, 2], Operations: ['97-71=26', '56-54=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[71, 56, 54, 97], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [56, 54, 26] Generated Node #0,0: 13:[56, 54, 26] Operation: 97-71=26 Moving to Node #0,0 Current State: 13:[56, 54, 26], Operations: ['97-71=26'] Exploring Operation: 56-54=2, Resulting Numbers: [26, 2] Generated Node #0,0,1: 13:[26, 2] Operation: 56-54=2 Moving to Node #0,0,1 Current State: 13:[26, 2], Operations: ['97-71=26', '56-54=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 50, 82, 42, 35 ]
10
[ "82-42=40", "40-35=5", "50/5=10" ]
Current State: 10:[50, 82, 42, 35], Operations: [] Exploring Operation: 82-42=40, Resulting Numbers: [50, 35, 40] Generated Node #2: [50, 35, 40] from Operation: 82-42=40 Current State: 10:[50, 35, 40], Operations: ['82-42=40'] Exploring Operation: 40-35=5, Resulting Numbers: [50, 5] Generated Node #3: [50, 5] from Operation: 40-35=5 Current State: 10:[50, 5], Operations: ['82-42=40', '40-35=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[50, 82, 42, 35], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [82, 42, 15] Generated Node #0,0: 10:[82, 42, 15] Operation: 50-35=15 Exploring Operation: 82-42=40, Resulting Numbers: [50, 35, 40] Generated Node #0,1: 10:[50, 35, 40] Operation: 82-42=40 Exploring Operation: 82-35=47, Resulting Numbers: [50, 42, 47] Generated Node #0,2: 10:[50, 42, 47] Operation: 82-35=47 Exploring Operation: 50-42=8, Resulting Numbers: [82, 35, 8] Generated Node #0,3: 10:[82, 35, 8] Operation: 50-42=8 Exploring Operation: 82-50=32, Resulting Numbers: [42, 35, 32] Generated Node #0,4: 10:[42, 35, 32] Operation: 82-50=32 Moving to Node #0,4 Current State: 10:[42, 35, 32], Operations: ['82-50=32'] Exploring Operation: 35-32=3, Resulting Numbers: [42, 3] Generated Node #0,4,0: 10:[42, 3] Operation: 35-32=3 Exploring Operation: 42+35=77, Resulting Numbers: [32, 77] Generated Node #0,4,1: 10:[32, 77] Operation: 42+35=77 Exploring Operation: 42+32=74, Resulting Numbers: [35, 74] Generated Node #0,4,2: 10:[35, 74] Operation: 42+32=74 Exploring Operation: 42-35=7, Resulting Numbers: [32, 7] Generated Node #0,4,3: 10:[32, 7] Operation: 42-35=7 Exploring Operation: 42-32=10, Resulting Numbers: [35, 10] Generated Node #0,4,4: 10:[35, 10] Operation: 42-32=10 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 10:[32, 7], Operations: ['82-50=32', '42-35=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 10:[35, 10], Operations: ['82-50=32', '42-32=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,10 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 10:[42, 3], Operations: ['82-50=32', '35-32=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,10 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 10:[32, 77], Operations: ['82-50=32', '42+35=77'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,10 unequal: No Solution Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 10:[35, 74], Operations: ['82-50=32', '42+32=74'] Exploring Operation: 35*74=2590, Resulting Numbers: [2590] 2590,10 unequal: No Solution Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 35+74=109, Resulting Numbers: [109] 109,10 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: 10:[50, 35, 40], Operations: ['82-42=40'] Exploring Operation: 50+35=85, Resulting Numbers: [40, 85] Generated Node #0,1,0: 10:[40, 85] Operation: 50+35=85 Exploring Operation: 50+40=90, Resulting Numbers: [35, 90] Generated Node #0,1,1: 10:[35, 90] Operation: 50+40=90 Exploring Operation: 40-35=5, Resulting Numbers: [50, 5] Generated Node #0,1,2: 10:[50, 5] Operation: 40-35=5 Exploring Operation: 50-40=10, Resulting Numbers: [35, 10] Generated Node #0,1,3: 10:[35, 10] Operation: 50-40=10 Exploring Operation: 50-35=15, Resulting Numbers: [40, 15] Generated Node #0,1,4: 10:[40, 15] Operation: 50-35=15 Moving to Node #0,3 Current State: 10:[82, 35, 8], Operations: ['50-42=8'] Exploring Operation: 82+8=90, Resulting Numbers: [35, 90] Generated Node #0,3,0: 10:[35, 90] Operation: 82+8=90 Exploring Operation: 35+8=43, Resulting Numbers: [82, 43] Generated Node #0,3,1: 10:[82, 43] Operation: 35+8=43 Exploring Operation: 82-8=74, Resulting Numbers: [35, 74] Generated Node #0,3,2: 10:[35, 74] Operation: 82-8=74 Exploring Operation: 82-35=47, Resulting Numbers: [8, 47] Generated Node #0,3,3: 10:[8, 47] Operation: 82-35=47 Exploring Operation: 35-8=27, Resulting Numbers: [82, 27] Generated Node #0,3,4: 10:[82, 27] Operation: 35-8=27 Moving to Node #0,0 Current State: 10:[82, 42, 15], Operations: ['50-35=15'] Exploring Operation: 82+15=97, Resulting Numbers: [42, 97] Generated Node #0,0,0: 10:[42, 97] Operation: 82+15=97 Exploring Operation: 82-42=40, Resulting Numbers: [15, 40] Generated Node #0,0,1: 10:[15, 40] Operation: 82-42=40 Exploring Operation: 82-15=67, Resulting Numbers: [42, 67] Generated Node #0,0,2: 10:[42, 67] Operation: 82-15=67 Exploring Operation: 42-15=27, Resulting Numbers: [82, 27] Generated Node #0,0,3: 10:[82, 27] Operation: 42-15=27 Exploring Operation: 82+42=124, Resulting Numbers: [15, 124] Generated Node #0,0,4: 10:[15, 124] Operation: 82+42=124 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[15, 40], Operations: ['50-35=15', '82-42=40'] Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,10 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[42, 67], Operations: ['50-35=15', '82-15=67'] Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 42*67=2814, Resulting Numbers: [2814] 2814,10 unequal: No Solution Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 10:[82, 27], Operations: ['50-35=15', '42-15=27'] Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,10 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[42, 97], Operations: ['50-35=15', '82+15=97'] Exploring Operation: 42+97=139, Resulting Numbers: [139] 139,10 unequal: No Solution Exploring Operation: 97-42=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 42*97=4074, Resulting Numbers: [4074] 4074,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 10:[15, 124], Operations: ['50-35=15', '82+42=124'] Exploring Operation: 124-15=109, Resulting Numbers: [109] 109,10 unequal: No Solution Exploring Operation: 15*124=1860, Resulting Numbers: [1860] 1860,10 unequal: No Solution Exploring Operation: 15+124=139, Resulting Numbers: [139] 139,10 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: 10:[50, 42, 47], Operations: ['82-35=47'] Exploring Operation: 50+42=92, Resulting Numbers: [47, 92] Generated Node #0,2,0: 10:[47, 92] Operation: 50+42=92 Exploring Operation: 50+47=97, Resulting Numbers: [42, 97] Generated Node #0,2,1: 10:[42, 97] Operation: 50+47=97 Exploring Operation: 50-42=8, Resulting Numbers: [47, 8] Generated Node #0,2,2: 10:[47, 8] Operation: 50-42=8 Exploring Operation: 50-47=3, Resulting Numbers: [42, 3] Generated Node #0,2,3: 10:[42, 3] Operation: 50-47=3 Exploring Operation: 47-42=5, Resulting Numbers: [50, 5] Generated Node #0,2,4: 10:[50, 5] Operation: 47-42=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[42, 3], Operations: ['82-35=47', '50-47=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[47, 8], Operations: ['82-35=47', '50-42=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 10:[50, 5], Operations: ['82-35=47', '47-42=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,10 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[50, 82, 42, 35], Operations: [] Exploring Operation: 82-35=47, Resulting Numbers: [50, 42, 47] Generated Node #0,2: 10:[50, 42, 47] Operation: 82-35=47 Moving to Node #0,2 Current State: 10:[50, 42, 47], Operations: ['82-35=47'] Exploring Operation: 47-42=5, Resulting Numbers: [50, 5] Generated Node #0,2,4: 10:[50, 5] Operation: 47-42=5 Moving to Node #0,2,4 Current State: 10:[50, 5], Operations: ['82-35=47', '47-42=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.934028
hs_5
sum_heuristic
[ 93, 58, 73, 9 ]
87
[ "93+58=151", "73-9=64", "151-64=87" ]
Current State: 87:[93, 58, 73, 9], Operations: [] Exploring Operation: 93+58=151, Resulting Numbers: [73, 9, 151] Generated Node #2: [73, 9, 151] from Operation: 93+58=151 Current State: 87:[73, 9, 151], Operations: ['93+58=151'] Exploring Operation: 73-9=64, Resulting Numbers: [151, 64] Generated Node #3: [151, 64] from Operation: 73-9=64 Current State: 87:[151, 64], Operations: ['93+58=151', '73-9=64'] Exploring Operation: 151-64=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[93, 58, 73, 9], Operations: [] Exploring Operation: 58+9=67, Resulting Numbers: [93, 73, 67] Generated Node #0,0: 87:[93, 73, 67] Operation: 58+9=67 Exploring Operation: 73-58=15, Resulting Numbers: [93, 9, 15] Generated Node #0,1: 87:[93, 9, 15] Operation: 73-58=15 Exploring Operation: 93-58=35, Resulting Numbers: [73, 9, 35] Generated Node #0,2: 87:[73, 9, 35] Operation: 93-58=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[93, 9, 15], Operations: ['73-58=15'] Exploring Operation: 9+15=24, Resulting Numbers: [93, 24] Generated Node #0,1,0: 87:[93, 24] Operation: 9+15=24 Exploring Operation: 93-9=84, Resulting Numbers: [15, 84] Generated Node #0,1,1: 87:[15, 84] Operation: 93-9=84 Exploring Operation: 15-9=6, Resulting Numbers: [93, 6] Generated Node #0,1,2: 87:[93, 6] Operation: 15-9=6 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[93, 6], Operations: ['73-58=15', '15-9=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[93, 58, 73, 9], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [93, 9, 15] Generated Node #0,1: 87:[93, 9, 15] Operation: 73-58=15 Moving to Node #0,1 Current State: 87:[93, 9, 15], Operations: ['73-58=15'] Exploring Operation: 15-9=6, Resulting Numbers: [93, 6] Generated Node #0,1,2: 87:[93, 6] Operation: 15-9=6 Moving to Node #0,1,2 Current State: 87:[93, 6], Operations: ['73-58=15', '15-9=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 10, 50, 49, 37 ]
70
[ "49-37=12", "10*12=120", "120-50=70" ]
Current State: 70:[10, 50, 49, 37], Operations: [] Exploring Operation: 49-37=12, Resulting Numbers: [10, 50, 12] Generated Node #2: [10, 50, 12] from Operation: 49-37=12 Current State: 70:[10, 50, 12], Operations: ['49-37=12'] Exploring Operation: 10*12=120, Resulting Numbers: [50, 120] Generated Node #3: [50, 120] from Operation: 10*12=120 Current State: 70:[50, 120], Operations: ['49-37=12', '10*12=120'] Exploring Operation: 120-50=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[10, 50, 49, 37], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [10, 37, 1] Generated Node #0,0: 70:[10, 37, 1] Operation: 50-49=1 Exploring Operation: 50-37=13, Resulting Numbers: [10, 49, 13] Generated Node #0,1: 70:[10, 49, 13] Operation: 50-37=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[10, 37, 1], Operations: ['50-49=1'] Exploring Operation: 10*1=10, Resulting Numbers: [37, 10] Generated Node #0,0,0: 70:[37, 10] Operation: 10*1=10 Exploring Operation: 37-1=36, Resulting Numbers: [10, 36] Generated Node #0,0,1: 70:[10, 36] Operation: 37-1=36 Moving to Node #0,0,1 Current State: 70:[10, 36], Operations: ['50-49=1', '37-1=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[37, 10], Operations: ['50-49=1', '10*1=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[10, 49, 13], Operations: ['50-37=13'] Exploring Operation: 49-13=36, Resulting Numbers: [10, 36] Generated Node #0,1,0: 70:[10, 36] Operation: 49-13=36 Exploring Operation: 49-10=39, Resulting Numbers: [13, 39] Generated Node #0,1,1: 70:[13, 39] Operation: 49-10=39 Moving to Node #0,1,0 Current State: 70:[10, 36], Operations: ['50-37=13', '49-13=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[13, 39], Operations: ['50-37=13', '49-10=39'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,70 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
[ 56, 25, 98, 48 ]
58
[ "98-48=50", "50/25=2", "56+2=58" ]
Current State: 58:[56, 25, 98, 48], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [56, 25, 50] Generated Node #2: [56, 25, 50] from Operation: 98-48=50 Current State: 58:[56, 25, 50], Operations: ['98-48=50'] Exploring Operation: 50/25=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 50/25=2 Current State: 58:[56, 2], Operations: ['98-48=50', '50/25=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[56, 25, 98, 48], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [56, 25, 50] Generated Node #0,0: 58:[56, 25, 50] Operation: 98-48=50 Exploring Operation: 98-56=42, Resulting Numbers: [25, 48, 42] Generated Node #0,1: 58:[25, 48, 42] Operation: 98-56=42 Exploring Operation: 98-25=73, Resulting Numbers: [56, 48, 73] Generated Node #0,2: 58:[56, 48, 73] Operation: 98-25=73 Moving to Node #0,0 Current State: 58:[56, 25, 50], Operations: ['98-48=50'] Exploring Operation: 50/25=2, Resulting Numbers: [56, 2] Generated Node #0,0,0: 58:[56, 2] Operation: 50/25=2 Exploring Operation: 50-25=25, Resulting Numbers: [56, 25] Generated Node #0,0,1: 58:[56, 25] Operation: 50-25=25 Exploring Operation: 56-50=6, Resulting Numbers: [25, 6] Generated Node #0,0,2: 58:[25, 6] Operation: 56-50=6 Moving to Node #0,1 Current State: 58:[25, 48, 42], Operations: ['98-56=42'] Exploring Operation: 25+42=67, Resulting Numbers: [48, 67] Generated Node #0,1,0: 58:[48, 67] Operation: 25+42=67 Exploring Operation: 48-42=6, Resulting Numbers: [25, 6] Generated Node #0,1,1: 58:[25, 6] Operation: 48-42=6 Exploring Operation: 48-25=23, Resulting Numbers: [42, 23] Generated Node #0,1,2: 58:[42, 23] Operation: 48-25=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[25, 6], Operations: ['98-56=42', '48-42=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,58 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[48, 67], Operations: ['98-56=42', '25+42=67'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 48+67=115, Resulting Numbers: [115] 115,58 unequal: No Solution Exploring Operation: 48*67=3216, Resulting Numbers: [3216] 3216,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[42, 23], Operations: ['98-56=42', '48-25=23'] Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,58 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 58:[56, 48, 73], Operations: ['98-25=73'] Exploring Operation: 56-48=8, Resulting Numbers: [73, 8] Generated Node #0,2,0: 58:[73, 8] Operation: 56-48=8 Exploring Operation: 73-48=25, Resulting Numbers: [56, 25] Generated Node #0,2,1: 58:[56, 25] Operation: 73-48=25 Exploring Operation: 73-56=17, Resulting Numbers: [48, 17] Generated Node #0,2,2: 58:[48, 17] Operation: 73-56=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[56, 25], Operations: ['98-25=73', '73-48=25'] Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,58 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,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,2,0 Current State: 58:[73, 8], Operations: ['98-25=73', '56-48=8'] Exploring Operation: 73+8=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 73*8=584, Resulting Numbers: [584] 584,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,2,2 Current State: 58:[48, 17], Operations: ['98-25=73', '73-56=17'] Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,58 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 58:[56, 2], Operations: ['98-48=50', '50/25=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[56, 25, 98, 48], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [56, 25, 50] Generated Node #0,0: 58:[56, 25, 50] Operation: 98-48=50 Moving to Node #0,0 Current State: 58:[56, 25, 50], Operations: ['98-48=50'] Exploring Operation: 50/25=2, Resulting Numbers: [56, 2] Generated Node #0,0,0: 58:[56, 2] Operation: 50/25=2 Moving to Node #0,0,0 Current State: 58:[56, 2], Operations: ['98-48=50', '50/25=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 14, 98, 85, 29 ]
30
[ "98-14=84", "85+29=114", "114-84=30" ]
Current State: 30:[14, 98, 85, 29], Operations: [] Exploring Operation: 98-14=84, Resulting Numbers: [85, 29, 84] Generated Node #2: [85, 29, 84] from Operation: 98-14=84 Current State: 30:[85, 29, 84], Operations: ['98-14=84'] Exploring Operation: 85+29=114, Resulting Numbers: [84, 114] Generated Node #3: [84, 114] from Operation: 85+29=114 Current State: 30:[84, 114], Operations: ['98-14=84', '85+29=114'] Exploring Operation: 114-84=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[14, 98, 85, 29], Operations: [] Exploring Operation: 98-14=84, Resulting Numbers: [85, 29, 84] Generated Node #0,0: 30:[85, 29, 84] Operation: 98-14=84 Exploring Operation: 98-85=13, Resulting Numbers: [14, 29, 13] Generated Node #0,1: 30:[14, 29, 13] Operation: 98-85=13 Exploring Operation: 85-29=56, Resulting Numbers: [14, 98, 56] Generated Node #0,2: 30:[14, 98, 56] Operation: 85-29=56 Exploring Operation: 98/14=7, Resulting Numbers: [85, 29, 7] Generated Node #0,3: 30:[85, 29, 7] Operation: 98/14=7 Exploring Operation: 98-29=69, Resulting Numbers: [14, 85, 69] Generated Node #0,4: 30:[14, 85, 69] Operation: 98-29=69 Moving to Node #0,1 Current State: 30:[14, 29, 13], Operations: ['98-85=13'] Exploring Operation: 29-14=15, Resulting Numbers: [13, 15] Generated Node #0,1,0: 30:[13, 15] Operation: 29-14=15 Exploring Operation: 29-13=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 30:[14, 16] Operation: 29-13=16 Exploring Operation: 29+13=42, Resulting Numbers: [14, 42] Generated Node #0,1,2: 30:[14, 42] Operation: 29+13=42 Exploring Operation: 14-13=1, Resulting Numbers: [29, 1] Generated Node #0,1,3: 30:[29, 1] Operation: 14-13=1 Exploring Operation: 14+13=27, Resulting Numbers: [29, 27] Generated Node #0,1,4: 30:[29, 27] Operation: 14+13=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[13, 15], Operations: ['98-85=13', '29-14=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,30 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,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,1 Current State: 30:[14, 16], Operations: ['98-85=13', '29-13=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,30 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[14, 98, 85, 29], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [14, 29, 13] Generated Node #0,1: 30:[14, 29, 13] Operation: 98-85=13 Moving to Node #0,1 Current State: 30:[14, 29, 13], Operations: ['98-85=13'] Exploring Operation: 29-13=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 30:[14, 16] Operation: 29-13=16 Moving to Node #0,1,1 Current State: 30:[14, 16], Operations: ['98-85=13', '29-13=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 29, 28, 25, 10 ]
41
[ "28*25=700", "700/10=70", "70-29=41" ]
Current State: 41:[29, 28, 25, 10], Operations: [] Exploring Operation: 28*25=700, Resulting Numbers: [29, 10, 700] Generated Node #2: [29, 10, 700] from Operation: 28*25=700 Current State: 41:[29, 10, 700], Operations: ['28*25=700'] Exploring Operation: 700/10=70, Resulting Numbers: [29, 70] Generated Node #3: [29, 70] from Operation: 700/10=70 Current State: 41:[29, 70], Operations: ['28*25=700', '700/10=70'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[29, 28, 25, 10], Operations: [] Exploring Operation: 28+10=38, Resulting Numbers: [29, 25, 38] Generated Node #0,0: 41:[29, 25, 38] Operation: 28+10=38 Exploring Operation: 29-10=19, Resulting Numbers: [28, 25, 19] Generated Node #0,1: 41:[28, 25, 19] Operation: 29-10=19 Exploring Operation: 28-10=18, Resulting Numbers: [29, 25, 18] Generated Node #0,2: 41:[29, 25, 18] Operation: 28-10=18 Exploring Operation: 29+10=39, Resulting Numbers: [28, 25, 39] Generated Node #0,3: 41:[28, 25, 39] Operation: 29+10=39 Exploring Operation: 25+10=35, Resulting Numbers: [29, 28, 35] Generated Node #0,4: 41:[29, 28, 35] Operation: 25+10=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[29, 25, 38], Operations: ['28+10=38'] Exploring Operation: 29-25=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 41:[38, 4] Operation: 29-25=4 Exploring Operation: 29+38=67, Resulting Numbers: [25, 67] Generated Node #0,0,1: 41:[25, 67] Operation: 29+38=67 Exploring Operation: 25+38=63, Resulting Numbers: [29, 63] Generated Node #0,0,2: 41:[29, 63] Operation: 25+38=63 Exploring Operation: 38-25=13, Resulting Numbers: [29, 13] Generated Node #0,0,3: 41:[29, 13] Operation: 38-25=13 Exploring Operation: 29+25=54, Resulting Numbers: [38, 54] Generated Node #0,0,4: 41:[38, 54] Operation: 29+25=54 Moving to Node #0,0,4 Current State: 41:[38, 54], Operations: ['28+10=38', '29+25=54'] Exploring Operation: 38*54=2052, Resulting Numbers: [2052] 2052,41 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 38+54=92, Resulting Numbers: [92] 92,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[29, 63], Operations: ['28+10=38', '25+38=63'] Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,41 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,41 unequal: No Solution Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[38, 4], Operations: ['28+10=38', '29-25=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,41 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[29, 13], Operations: ['28+10=38', '38-25=13'] Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,41 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[25, 67], Operations: ['28+10=38', '29+38=67'] Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 25*67=1675, Resulting Numbers: [1675] 1675,41 unequal: No Solution Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[28, 25, 39], Operations: ['29+10=39'] Exploring Operation: 39-25=14, Resulting Numbers: [28, 14] Generated Node #0,3,0: 41:[28, 14] Operation: 39-25=14 Exploring Operation: 25+39=64, Resulting Numbers: [28, 64] Generated Node #0,3,1: 41:[28, 64] Operation: 25+39=64 Exploring Operation: 28+39=67, Resulting Numbers: [25, 67] Generated Node #0,3,2: 41:[25, 67] Operation: 28+39=67 Exploring Operation: 28-25=3, Resulting Numbers: [39, 3] Generated Node #0,3,3: 41:[39, 3] Operation: 28-25=3 Exploring Operation: 28+25=53, Resulting Numbers: [39, 53] Generated Node #0,3,4: 41:[39, 53] Operation: 28+25=53 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 41:[39, 53], Operations: ['29+10=39', '28+25=53'] Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,41 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,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,3,1 Current State: 41:[28, 64], Operations: ['29+10=39', '25+39=64'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,41 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,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,3,0 Current State: 41:[28, 14], Operations: ['29+10=39', '39-25=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,41 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,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,3,3 Current State: 41:[39, 3], Operations: ['29+10=39', '28-25=3'] Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,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,3,2 Current State: 41:[25, 67], Operations: ['29+10=39', '28+39=67'] Exploring Operation: 25*67=1675, Resulting Numbers: [1675] 1675,41 unequal: No Solution Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,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,4 Current State: 41:[29, 28, 35], Operations: ['25+10=35'] Exploring Operation: 29+35=64, Resulting Numbers: [28, 64] Generated Node #0,4,0: 41:[28, 64] Operation: 29+35=64 Exploring Operation: 35-28=7, Resulting Numbers: [29, 7] Generated Node #0,4,1: 41:[29, 7] Operation: 35-28=7 Exploring Operation: 28+35=63, Resulting Numbers: [29, 63] Generated Node #0,4,2: 41:[29, 63] Operation: 28+35=63 Exploring Operation: 29-28=1, Resulting Numbers: [35, 1] Generated Node #0,4,3: 41:[35, 1] Operation: 29-28=1 Exploring Operation: 29+28=57, Resulting Numbers: [35, 57] Generated Node #0,4,4: 41:[35, 57] Operation: 29+28=57 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 41:[35, 57], Operations: ['25+10=35', '29+28=57'] Exploring Operation: 35+57=92, Resulting Numbers: [92] 92,41 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 35*57=1995, Resulting Numbers: [1995] 1995,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:[29, 63], Operations: ['25+10=35', '28+35=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,41 unequal: No Solution Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 41:[28, 64], Operations: ['25+10=35', '29+35=64'] Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,41 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,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:[29, 7], Operations: ['25+10=35', '35-28=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,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:[35, 1], Operations: ['25+10=35', '29-28=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,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:[28, 25, 19], Operations: ['29-10=19'] Exploring Operation: 25+19=44, Resulting Numbers: [28, 44] Generated Node #0,1,0: 41:[28, 44] Operation: 25+19=44 Exploring Operation: 25-19=6, Resulting Numbers: [28, 6] Generated Node #0,1,1: 41:[28, 6] Operation: 25-19=6 Exploring Operation: 28+25=53, Resulting Numbers: [19, 53] Generated Node #0,1,2: 41:[19, 53] Operation: 28+25=53 Exploring Operation: 28+19=47, Resulting Numbers: [25, 47] Generated Node #0,1,3: 41:[25, 47] Operation: 28+19=47 Exploring Operation: 28-19=9, Resulting Numbers: [25, 9] Generated Node #0,1,4: 41:[25, 9] Operation: 28-19=9 Moving to Node #0,1,0 Current State: 41:[28, 44], Operations: ['29-10=19', '25+19=44'] Exploring Operation: 28*44=1232, Resulting Numbers: [1232] 1232,41 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[25, 47], Operations: ['29-10=19', '28+19=47'] Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,41 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[19, 53], Operations: ['29-10=19', '28+25=53'] Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,41 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[28, 6], Operations: ['29-10=19', '25-19=6'] Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,41 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[25, 9], Operations: ['29-10=19', '28-19=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,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:[29, 25, 18], Operations: ['28-10=18'] Exploring Operation: 29+25=54, Resulting Numbers: [18, 54] Generated Node #0,2,0: 41:[18, 54] Operation: 29+25=54 Exploring Operation: 29-18=11, Resulting Numbers: [25, 11] Generated Node #0,2,1: 41:[25, 11] Operation: 29-18=11 Exploring Operation: 25+18=43, Resulting Numbers: [29, 43] Generated Node #0,2,2: 41:[29, 43] Operation: 25+18=43 Exploring Operation: 25-18=7, Resulting Numbers: [29, 7] Generated Node #0,2,3: 41:[29, 7] Operation: 25-18=7 Exploring Operation: 29+18=47, Resulting Numbers: [25, 47] Generated Node #0,2,4: 41:[25, 47] Operation: 29+18=47 Moving to Node #0,2,2 Current State: 41:[29, 43], Operations: ['28-10=18', '25+18=43'] Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[25, 47], Operations: ['28-10=18', '29+18=47'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,41 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[18, 54], Operations: ['28-10=18', '29+25=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,41 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[25, 11], Operations: ['28-10=18', '29-18=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,41 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[29, 7], Operations: ['28-10=18', '25-18=7'] Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,41 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 48, 72, 60, 23 ]
30
[ "48-23=25", "72*25=1800", "1800/60=30" ]
Current State: 30:[48, 72, 60, 23], Operations: [] Exploring Operation: 48-23=25, Resulting Numbers: [72, 60, 25] Generated Node #2: [72, 60, 25] from Operation: 48-23=25 Current State: 30:[72, 60, 25], Operations: ['48-23=25'] Exploring Operation: 72*25=1800, Resulting Numbers: [60, 1800] Generated Node #3: [60, 1800] from Operation: 72*25=1800 Current State: 30:[60, 1800], Operations: ['48-23=25', '72*25=1800'] Exploring Operation: 1800/60=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[48, 72, 60, 23], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [72, 23, 12] Generated Node #0,0: 30:[72, 23, 12] Operation: 60-48=12 Exploring Operation: 72-48=24, Resulting Numbers: [60, 23, 24] Generated Node #0,1: 30:[60, 23, 24] Operation: 72-48=24 Exploring Operation: 72-60=12, Resulting Numbers: [48, 23, 12] Generated Node #0,2: 30:[48, 23, 12] Operation: 72-60=12 Moving to Node #0,2 Current State: 30:[48, 23, 12], Operations: ['72-60=12'] Exploring Operation: 48-12=36, Resulting Numbers: [23, 36] Generated Node #0,2,0: 30:[23, 36] Operation: 48-12=36 Exploring Operation: 48-23=25, Resulting Numbers: [12, 25] Generated Node #0,2,1: 30:[12, 25] Operation: 48-23=25 Exploring Operation: 48/12=4, Resulting Numbers: [23, 4] Generated Node #0,2,2: 30:[23, 4] Operation: 48/12=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[12, 25], Operations: ['72-60=12', '48-23=25'] Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,30 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[23, 4], Operations: ['72-60=12', '48/12=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[23, 36], Operations: ['72-60=12', '48-12=36'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,30 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,30 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: 30:[60, 23, 24], Operations: ['72-48=24'] Exploring Operation: 60-24=36, Resulting Numbers: [23, 36] Generated Node #0,1,0: 30:[23, 36] Operation: 60-24=36 Exploring Operation: 60-23=37, Resulting Numbers: [24, 37] Generated Node #0,1,1: 30:[24, 37] Operation: 60-23=37 Exploring Operation: 24-23=1, Resulting Numbers: [60, 1] Generated Node #0,1,2: 30:[60, 1] Operation: 24-23=1 Moving to Node #0,0 Current State: 30:[72, 23, 12], Operations: ['60-48=12'] Exploring Operation: 72-12=60, Resulting Numbers: [23, 60] Generated Node #0,0,0: 30:[23, 60] Operation: 72-12=60 Exploring Operation: 72-23=49, Resulting Numbers: [12, 49] Generated Node #0,0,1: 30:[12, 49] Operation: 72-23=49 Exploring Operation: 72/12=6, Resulting Numbers: [23, 6] Generated Node #0,0,2: 30:[23, 6] Operation: 72/12=6 Moving to Node #0,0,2 Current State: 30:[23, 6], Operations: ['60-48=12', '72/12=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,30 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[23, 36], Operations: ['72-48=24', '60-24=36'] Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[24, 37], Operations: ['72-48=24', '60-23=37'] Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,30 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,30 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[12, 49], Operations: ['60-48=12', '72-23=49'] Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,30 unequal: No Solution Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,30 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[60, 1], Operations: ['72-48=24', '24-23=1'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[23, 60], Operations: ['60-48=12', '72-12=60'] Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,30 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,30 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 35, 29, 57, 25 ]
93
[ "35-29=6", "25*6=150", "150-57=93" ]
Current State: 93:[35, 29, 57, 25], Operations: [] Exploring Operation: 35-29=6, Resulting Numbers: [57, 25, 6] Generated Node #2: [57, 25, 6] from Operation: 35-29=6 Current State: 93:[57, 25, 6], Operations: ['35-29=6'] Exploring Operation: 25*6=150, Resulting Numbers: [57, 150] Generated Node #3: [57, 150] from Operation: 25*6=150 Current State: 93:[57, 150], Operations: ['35-29=6', '25*6=150'] Exploring Operation: 150-57=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[35, 29, 57, 25], Operations: [] Exploring Operation: 35+57=92, Resulting Numbers: [29, 25, 92] Generated Node #0,0: 93:[29, 25, 92] Operation: 35+57=92 Exploring Operation: 57-25=32, Resulting Numbers: [35, 29, 32] Generated Node #0,1: 93:[35, 29, 32] Operation: 57-25=32 Moving to Node #0,1 Current State: 93:[35, 29, 32], Operations: ['57-25=32'] Exploring Operation: 35-32=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 93:[29, 3] Operation: 35-32=3 Exploring Operation: 35-29=6, Resulting Numbers: [32, 6] Generated Node #0,1,1: 93:[32, 6] Operation: 35-29=6 Moving to Node #0,0 Current State: 93:[29, 25, 92], Operations: ['35+57=92'] Exploring Operation: 29+25=54, Resulting Numbers: [92, 54] Generated Node #0,0,0: 93:[92, 54] Operation: 29+25=54 Exploring Operation: 29-25=4, Resulting Numbers: [92, 4] Generated Node #0,0,1: 93:[92, 4] Operation: 29-25=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[92, 4], Operations: ['35+57=92', '29-25=4'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[92, 54], Operations: ['35+57=92', '29+25=54'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 92+54=146, Resulting Numbers: [146] 146,93 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: 93:[29, 3], Operations: ['57-25=32', '35-32=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[32, 6], Operations: ['57-25=32', '35-29=6'] Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 21, 2, 46, 43 ]
36
[ "46-21=25", "43-25=18", "2*18=36" ]
Current State: 36:[21, 2, 46, 43], Operations: [] Exploring Operation: 46-21=25, Resulting Numbers: [2, 43, 25] Generated Node #2: [2, 43, 25] from Operation: 46-21=25 Current State: 36:[2, 43, 25], Operations: ['46-21=25'] Exploring Operation: 43-25=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 43-25=18 Current State: 36:[2, 18], Operations: ['46-21=25', '43-25=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[21, 2, 46, 43], Operations: [] Exploring Operation: 43-21=22, Resulting Numbers: [2, 46, 22] Generated Node #0,0: 36:[2, 46, 22] Operation: 43-21=22 Exploring Operation: 46/2=23, Resulting Numbers: [21, 43, 23] Generated Node #0,1: 36:[21, 43, 23] Operation: 46/2=23 Exploring Operation: 46-21=25, Resulting Numbers: [2, 43, 25] Generated Node #0,2: 36:[2, 43, 25] Operation: 46-21=25 Exploring Operation: 46-43=3, Resulting Numbers: [21, 2, 3] Generated Node #0,3: 36:[21, 2, 3] Operation: 46-43=3 Moving to Node #0,3 Current State: 36:[21, 2, 3], Operations: ['46-43=3'] Exploring Operation: 21/3=7, Resulting Numbers: [2, 7] Generated Node #0,3,0: 36:[2, 7] Operation: 21/3=7 Exploring Operation: 21-3=18, Resulting Numbers: [2, 18] Generated Node #0,3,1: 36:[2, 18] Operation: 21-3=18 Exploring Operation: 21-2=19, Resulting Numbers: [3, 19] Generated Node #0,3,2: 36:[3, 19] Operation: 21-2=19 Exploring Operation: 2*3=6, Resulting Numbers: [21, 6] Generated Node #0,3,3: 36:[21, 6] Operation: 2*3=6 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 36:[2, 18], Operations: ['46-43=3', '21-3=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[21, 2, 46, 43], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [21, 2, 3] Generated Node #0,3: 36:[21, 2, 3] Operation: 46-43=3 Moving to Node #0,3 Current State: 36:[21, 2, 3], Operations: ['46-43=3'] Exploring Operation: 21-3=18, Resulting Numbers: [2, 18] Generated Node #0,3,1: 36:[2, 18] Operation: 21-3=18 Moving to Node #0,3,1 Current State: 36:[2, 18], Operations: ['46-43=3', '21-3=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 35, 48, 88, 64 ]
70
[ "35*48=1680", "88-64=24", "1680/24=70" ]
Current State: 70:[35, 48, 88, 64], Operations: [] Exploring Operation: 35*48=1680, Resulting Numbers: [88, 64, 1680] Generated Node #2: [88, 64, 1680] from Operation: 35*48=1680 Current State: 70:[88, 64, 1680], Operations: ['35*48=1680'] Exploring Operation: 88-64=24, Resulting Numbers: [1680, 24] Generated Node #3: [1680, 24] from Operation: 88-64=24 Current State: 70:[1680, 24], Operations: ['35*48=1680', '88-64=24'] Exploring Operation: 1680/24=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[35, 48, 88, 64], Operations: [] Exploring Operation: 48-35=13, Resulting Numbers: [88, 64, 13] Generated Node #0,0: 70:[88, 64, 13] Operation: 48-35=13 Exploring Operation: 88-64=24, Resulting Numbers: [35, 48, 24] Generated Node #0,1: 70:[35, 48, 24] Operation: 88-64=24 Exploring Operation: 64-48=16, Resulting Numbers: [35, 88, 16] Generated Node #0,2: 70:[35, 88, 16] Operation: 64-48=16 Exploring Operation: 88-48=40, Resulting Numbers: [35, 64, 40] Generated Node #0,3: 70:[35, 64, 40] Operation: 88-48=40 Moving to Node #0,3 Current State: 70:[35, 64, 40], Operations: ['88-48=40'] Exploring Operation: 64-40=24, Resulting Numbers: [35, 24] Generated Node #0,3,0: 70:[35, 24] Operation: 64-40=24 Exploring Operation: 64-35=29, Resulting Numbers: [40, 29] Generated Node #0,3,1: 70:[40, 29] Operation: 64-35=29 Exploring Operation: 35+40=75, Resulting Numbers: [64, 75] Generated Node #0,3,2: 70:[64, 75] Operation: 35+40=75 Exploring Operation: 40-35=5, Resulting Numbers: [64, 5] Generated Node #0,3,3: 70:[64, 5] Operation: 40-35=5 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[64, 5], Operations: ['88-48=40', '40-35=5'] Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,70 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[35, 24], Operations: ['88-48=40', '64-40=24'] Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,70 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[40, 29], Operations: ['88-48=40', '64-35=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[64, 75], Operations: ['88-48=40', '35+40=75'] Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 64+75=139, Resulting Numbers: [139] 139,70 unequal: No Solution Exploring Operation: 64*75=4800, Resulting Numbers: [4800] 4800,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 70:[35, 88, 16], Operations: ['64-48=16'] Exploring Operation: 35+16=51, Resulting Numbers: [88, 51] Generated Node #0,2,0: 70:[88, 51] Operation: 35+16=51 Exploring Operation: 88-35=53, Resulting Numbers: [16, 53] Generated Node #0,2,1: 70:[16, 53] Operation: 88-35=53 Exploring Operation: 88-16=72, Resulting Numbers: [35, 72] Generated Node #0,2,2: 70:[35, 72] Operation: 88-16=72 Exploring Operation: 35-16=19, Resulting Numbers: [88, 19] Generated Node #0,2,3: 70:[88, 19] Operation: 35-16=19 Moving to Node #0,1 Current State: 70:[35, 48, 24], Operations: ['88-64=24'] Exploring Operation: 48-35=13, Resulting Numbers: [24, 13] Generated Node #0,1,0: 70:[24, 13] Operation: 48-35=13 Exploring Operation: 48/24=2, Resulting Numbers: [35, 2] Generated Node #0,1,1: 70:[35, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [35, 24] Generated Node #0,1,2: 70:[35, 24] Operation: 48-24=24 Exploring Operation: 48+24=72, Resulting Numbers: [35, 72] Generated Node #0,1,3: 70:[35, 72] Operation: 48+24=72 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[35, 2], Operations: ['88-64=24', '48/24=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[35, 48, 88, 64], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [35, 48, 24] Generated Node #0,1: 70:[35, 48, 24] Operation: 88-64=24 Moving to Node #0,1 Current State: 70:[35, 48, 24], Operations: ['88-64=24'] Exploring Operation: 48/24=2, Resulting Numbers: [35, 2] Generated Node #0,1,1: 70:[35, 2] Operation: 48/24=2 Moving to Node #0,1,1 Current State: 70:[35, 2], Operations: ['88-64=24', '48/24=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 51, 98, 21, 51 ]
78
[ "51/51=1", "98-21=77", "1+77=78" ]
Current State: 78:[51, 98, 21, 51], Operations: [] Exploring Operation: 51/51=1, Resulting Numbers: [98, 21, 1] Generated Node #2: [98, 21, 1] from Operation: 51/51=1 Current State: 78:[98, 21, 1], Operations: ['51/51=1'] Exploring Operation: 98-21=77, Resulting Numbers: [1, 77] Generated Node #3: [1, 77] from Operation: 98-21=77 Current State: 78:[1, 77], Operations: ['51/51=1', '98-21=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[51, 98, 21, 51], Operations: [] Exploring Operation: 51/51=1, Resulting Numbers: [98, 21, 1] Generated Node #0,0: 78:[98, 21, 1] Operation: 51/51=1 Exploring Operation: 98-51=47, Resulting Numbers: [51, 21, 47] Generated Node #0,1: 78:[51, 21, 47] Operation: 98-51=47 Exploring Operation: 51-51=0, Resulting Numbers: [98, 21, 0] Generated Node #0,2: 78:[98, 21, 0] Operation: 51-51=0 Exploring Operation: 98-21=77, Resulting Numbers: [51, 51, 77] Generated Node #0,3: 78:[51, 51, 77] Operation: 98-21=77 Exploring Operation: 98-51=47, Resulting Numbers: [21, 51, 47] Generated Node #0,4: 78:[21, 51, 47] Operation: 98-51=47 Moving to Node #0,1 Current State: 78:[51, 21, 47], Operations: ['98-51=47'] Exploring Operation: 51-47=4, Resulting Numbers: [21, 4] Generated Node #0,1,0: 78:[21, 4] Operation: 51-47=4 Exploring Operation: 21+47=68, Resulting Numbers: [51, 68] Generated Node #0,1,1: 78:[51, 68] Operation: 21+47=68 Exploring Operation: 51-21=30, Resulting Numbers: [47, 30] Generated Node #0,1,2: 78:[47, 30] Operation: 51-21=30 Exploring Operation: 51+21=72, Resulting Numbers: [47, 72] Generated Node #0,1,3: 78:[47, 72] Operation: 51+21=72 Exploring Operation: 47-21=26, Resulting Numbers: [51, 26] Generated Node #0,1,4: 78:[51, 26] Operation: 47-21=26 Moving to Node #0,4 Current State: 78:[21, 51, 47], Operations: ['98-51=47'] Exploring Operation: 51-21=30, Resulting Numbers: [47, 30] Generated Node #0,4,0: 78:[47, 30] Operation: 51-21=30 Exploring Operation: 51-47=4, Resulting Numbers: [21, 4] Generated Node #0,4,1: 78:[21, 4] Operation: 51-47=4 Exploring Operation: 21+47=68, Resulting Numbers: [51, 68] Generated Node #0,4,2: 78:[51, 68] Operation: 21+47=68 Exploring Operation: 21+51=72, Resulting Numbers: [47, 72] Generated Node #0,4,3: 78:[47, 72] Operation: 21+51=72 Exploring Operation: 47-21=26, Resulting Numbers: [51, 26] Generated Node #0,4,4: 78:[51, 26] Operation: 47-21=26 Moving to Node #0,3 Current State: 78:[51, 51, 77], Operations: ['98-21=77'] Exploring Operation: 77-51=26, Resulting Numbers: [51, 26] Generated Node #0,3,0: 78:[51, 26] Operation: 77-51=26 Exploring Operation: 51-51=0, Resulting Numbers: [77, 0] Generated Node #0,3,1: 78:[77, 0] Operation: 51-51=0 Exploring Operation: 51+51=102, Resulting Numbers: [77, 102] Generated Node #0,3,2: 78:[77, 102] Operation: 51+51=102 Exploring Operation: 77-51=26, Resulting Numbers: [51, 26] Generated Node #0,3,3: 78:[51, 26] Operation: 77-51=26 Exploring Operation: 51/51=1, Resulting Numbers: [77, 1] Generated Node #0,3,4: 78:[77, 1] Operation: 51/51=1 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 78:[77, 1], Operations: ['98-21=77', '51/51=1'] Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[51, 98, 21, 51], Operations: [] Exploring Operation: 98-21=77, Resulting Numbers: [51, 51, 77] Generated Node #0,3: 78:[51, 51, 77] Operation: 98-21=77 Moving to Node #0,3 Current State: 78:[51, 51, 77], Operations: ['98-21=77'] Exploring Operation: 51/51=1, Resulting Numbers: [77, 1] Generated Node #0,3,4: 78:[77, 1] Operation: 51/51=1 Moving to Node #0,3,4 Current State: 78:[77, 1], Operations: ['98-21=77', '51/51=1'] Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 77, 69, 41, 59 ]
67
[ "77+41=118", "118/59=2", "69-2=67" ]
Current State: 67:[77, 69, 41, 59], Operations: [] Exploring Operation: 77+41=118, Resulting Numbers: [69, 59, 118] Generated Node #2: [69, 59, 118] from Operation: 77+41=118 Current State: 67:[69, 59, 118], Operations: ['77+41=118'] Exploring Operation: 118/59=2, Resulting Numbers: [69, 2] Generated Node #3: [69, 2] from Operation: 118/59=2 Current State: 67:[69, 2], Operations: ['77+41=118', '118/59=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[77, 69, 41, 59], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [69, 59, 36] Generated Node #0,0: 67:[69, 59, 36] Operation: 77-41=36 Exploring Operation: 69-41=28, Resulting Numbers: [77, 59, 28] Generated Node #0,1: 67:[77, 59, 28] Operation: 69-41=28 Exploring Operation: 41+59=100, Resulting Numbers: [77, 69, 100] Generated Node #0,2: 67:[77, 69, 100] Operation: 41+59=100 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[69, 59, 36], Operations: ['77-41=36'] Exploring Operation: 69-36=33, Resulting Numbers: [59, 33] Generated Node #0,0,0: 67:[59, 33] Operation: 69-36=33 Exploring Operation: 59+36=95, Resulting Numbers: [69, 95] Generated Node #0,0,1: 67:[69, 95] Operation: 59+36=95 Exploring Operation: 69+36=105, Resulting Numbers: [59, 105] Generated Node #0,0,2: 67:[59, 105] Operation: 69+36=105 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[69, 95], Operations: ['77-41=36', '59+36=95'] Exploring Operation: 69*95=6555, Resulting Numbers: [6555] 6555,67 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 69+95=164, Resulting Numbers: [164] 164,67 unequal: No Solution No 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: 67:[59, 33], Operations: ['77-41=36', '69-36=33'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,67 unequal: No Solution Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,67 unequal: No Solution No 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: 67:[59, 105], Operations: ['77-41=36', '69+36=105'] Exploring Operation: 59*105=6195, Resulting Numbers: [6195] 6195,67 unequal: No Solution Exploring Operation: 59+105=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 105-59=46, Resulting Numbers: [46] 46,67 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: 67:[77, 69, 100], Operations: ['41+59=100'] Exploring Operation: 100-77=23, Resulting Numbers: [69, 23] Generated Node #0,2,0: 67:[69, 23] Operation: 100-77=23 Exploring Operation: 100-69=31, Resulting Numbers: [77, 31] Generated Node #0,2,1: 67:[77, 31] Operation: 100-69=31 Exploring Operation: 77-69=8, Resulting Numbers: [100, 8] Generated Node #0,2,2: 67:[100, 8] Operation: 77-69=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[69, 23], Operations: ['41+59=100', '100-77=23'] Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,67 unequal: No Solution No 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: 67:[77, 31], Operations: ['41+59=100', '100-69=31'] Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,67 unequal: No Solution Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,67 unequal: No Solution No 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: 67:[100, 8], Operations: ['41+59=100', '77-69=8'] Exploring Operation: 100*8=800, Resulting Numbers: [800] 800,67 unequal: No Solution Exploring Operation: 100+8=108, Resulting Numbers: [108] 108,67 unequal: No Solution Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,67 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: 67:[77, 59, 28], Operations: ['69-41=28'] Exploring Operation: 77-28=49, Resulting Numbers: [59, 49] Generated Node #0,1,0: 67:[59, 49] Operation: 77-28=49 Exploring Operation: 59+28=87, Resulting Numbers: [77, 87] Generated Node #0,1,1: 67:[77, 87] Operation: 59+28=87 Exploring Operation: 77+28=105, Resulting Numbers: [59, 105] Generated Node #0,1,2: 67:[59, 105] Operation: 77+28=105 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[59, 49], Operations: ['69-41=28', '77-28=49'] Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,67 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,67 unequal: No Solution No 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: 67:[77, 87], Operations: ['69-41=28', '59+28=87'] Exploring Operation: 87-77=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 77+87=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 77*87=6699, Resulting Numbers: [6699] 6699,67 unequal: No Solution No 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: 67:[59, 105], Operations: ['69-41=28', '77+28=105'] Exploring Operation: 59*105=6195, Resulting Numbers: [6195] 6195,67 unequal: No Solution Exploring Operation: 105-59=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 59+105=164, Resulting Numbers: [164] 164,67 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
[ 17, 33, 71, 44 ]
99
[ "33-17=16", "71+44=115", "115-16=99" ]
Current State: 99:[17, 33, 71, 44], Operations: [] Exploring Operation: 33-17=16, Resulting Numbers: [71, 44, 16] Generated Node #2: [71, 44, 16] from Operation: 33-17=16 Current State: 99:[71, 44, 16], Operations: ['33-17=16'] Exploring Operation: 71+44=115, Resulting Numbers: [16, 115] Generated Node #3: [16, 115] from Operation: 71+44=115 Current State: 99:[16, 115], Operations: ['33-17=16', '71+44=115'] Exploring Operation: 115-16=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[17, 33, 71, 44], Operations: [] Exploring Operation: 17+71=88, Resulting Numbers: [33, 44, 88] Generated Node #0,0: 99:[33, 44, 88] Operation: 17+71=88 Exploring Operation: 71-44=27, Resulting Numbers: [17, 33, 27] Generated Node #0,1: 99:[17, 33, 27] Operation: 71-44=27 Moving to Node #0,1 Current State: 99:[17, 33, 27], Operations: ['71-44=27'] Exploring Operation: 33-27=6, Resulting Numbers: [17, 6] Generated Node #0,1,0: 99:[17, 6] Operation: 33-27=6 Exploring Operation: 27-17=10, Resulting Numbers: [33, 10] Generated Node #0,1,1: 99:[33, 10] Operation: 27-17=10 Moving to Node #0,0 Current State: 99:[33, 44, 88], Operations: ['17+71=88'] Exploring Operation: 44-33=11, Resulting Numbers: [88, 11] Generated Node #0,0,0: 99:[88, 11] Operation: 44-33=11 Exploring Operation: 88/44=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 99:[33, 2] Operation: 88/44=2 Moving to Node #0,1,1 Current State: 99:[33, 10], Operations: ['71-44=27', '27-17=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[33, 2], Operations: ['17+71=88', '88/44=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,99 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[17, 6], Operations: ['71-44=27', '33-27=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[88, 11], Operations: ['17+71=88', '44-33=11'] Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[17, 33, 71, 44], Operations: [] Exploring Operation: 17+71=88, Resulting Numbers: [33, 44, 88] Generated Node #0,0: 99:[33, 44, 88] Operation: 17+71=88 Moving to Node #0,0 Current State: 99:[33, 44, 88], Operations: ['17+71=88'] Exploring Operation: 44-33=11, Resulting Numbers: [88, 11] Generated Node #0,0,0: 99:[88, 11] Operation: 44-33=11 Moving to Node #0,0,0 Current State: 99:[88, 11], Operations: ['17+71=88', '44-33=11'] Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 55, 29, 88, 3 ]
38
[ "55-29=26", "88+26=114", "114/3=38" ]
Current State: 38:[55, 29, 88, 3], Operations: [] Exploring Operation: 55-29=26, Resulting Numbers: [88, 3, 26] Generated Node #2: [88, 3, 26] from Operation: 55-29=26 Current State: 38:[88, 3, 26], Operations: ['55-29=26'] Exploring Operation: 88+26=114, Resulting Numbers: [3, 114] Generated Node #3: [3, 114] from Operation: 88+26=114 Current State: 38:[3, 114], Operations: ['55-29=26', '88+26=114'] Exploring Operation: 114/3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[55, 29, 88, 3], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [55, 3, 59] Generated Node #0,0: 38:[55, 3, 59] Operation: 88-29=59 Exploring Operation: 55-29=26, Resulting Numbers: [88, 3, 26] Generated Node #0,1: 38:[88, 3, 26] Operation: 55-29=26 Exploring Operation: 88-55=33, Resulting Numbers: [29, 3, 33] Generated Node #0,2: 38:[29, 3, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[29, 3, 33], Operations: ['88-55=33'] Exploring Operation: 29+3=32, Resulting Numbers: [33, 32] Generated Node #0,2,0: 38:[33, 32] Operation: 29+3=32 Exploring Operation: 33-29=4, Resulting Numbers: [3, 4] Generated Node #0,2,1: 38:[3, 4] Operation: 33-29=4 Exploring Operation: 3+33=36, Resulting Numbers: [29, 36] Generated Node #0,2,2: 38:[29, 36] Operation: 3+33=36 Moving to Node #0,2,1 Current State: 38:[3, 4], Operations: ['88-55=33', '33-29=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[33, 32], Operations: ['88-55=33', '29+3=32'] Exploring Operation: 33*32=1056, Resulting Numbers: [1056] 1056,38 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[29, 36], Operations: ['88-55=33', '3+33=36'] Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[55, 3, 59], Operations: ['88-29=59'] Exploring Operation: 59-3=56, Resulting Numbers: [55, 56] Generated Node #0,0,0: 38:[55, 56] Operation: 59-3=56 Exploring Operation: 59-55=4, Resulting Numbers: [3, 4] Generated Node #0,0,1: 38:[3, 4] Operation: 59-55=4 Exploring Operation: 55-3=52, Resulting Numbers: [59, 52] Generated Node #0,0,2: 38:[59, 52] Operation: 55-3=52 Moving to Node #0,0,1 Current State: 38:[3, 4], Operations: ['88-29=59', '59-55=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[55, 56], Operations: ['88-29=59', '59-3=56'] Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,38 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[59, 52], Operations: ['88-29=59', '55-3=52'] Exploring Operation: 59*52=3068, Resulting Numbers: [3068] 3068,38 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 59+52=111, Resulting Numbers: [111] 111,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[88, 3, 26], Operations: ['55-29=26'] Exploring Operation: 26-3=23, Resulting Numbers: [88, 23] Generated Node #0,1,0: 38:[88, 23] Operation: 26-3=23 Exploring Operation: 88-26=62, Resulting Numbers: [3, 62] Generated Node #0,1,1: 38:[3, 62] Operation: 88-26=62 Exploring Operation: 88-3=85, Resulting Numbers: [26, 85] Generated Node #0,1,2: 38:[26, 85] Operation: 88-3=85 Moving to Node #0,1,1 Current State: 38:[3, 62], Operations: ['55-29=26', '88-26=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,38 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[88, 23], Operations: ['55-29=26', '26-3=23'] Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,38 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[26, 85], Operations: ['55-29=26', '88-3=85'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,38 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,38 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,38 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
[ 57, 88, 86, 58 ]
86
[ "86-57=29", "58/29=2", "88-2=86" ]
Current State: 86:[57, 88, 86, 58], Operations: [] Exploring Operation: 86-57=29, Resulting Numbers: [88, 58, 29] Generated Node #2: [88, 58, 29] from Operation: 86-57=29 Current State: 86:[88, 58, 29], Operations: ['86-57=29'] Exploring Operation: 58/29=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 58/29=2 Current State: 86:[88, 2], Operations: ['86-57=29', '58/29=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[57, 88, 86, 58], Operations: [] Exploring Operation: 88-57=31, Resulting Numbers: [86, 58, 31] Generated Node #0,0: 86:[86, 58, 31] Operation: 88-57=31 Exploring Operation: 58-57=1, Resulting Numbers: [88, 86, 1] Generated Node #0,1: 86:[88, 86, 1] Operation: 58-57=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[88, 86, 1], Operations: ['58-57=1'] Exploring Operation: 88-86=2, Resulting Numbers: [1, 2] Generated Node #0,1,0: 86:[1, 2] Operation: 88-86=2 Exploring Operation: 88-1=87, Resulting Numbers: [86, 87] Generated Node #0,1,1: 86:[86, 87] Operation: 88-1=87 Moving to Node #0,1,0 Current State: 86:[1, 2], Operations: ['58-57=1', '88-86=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[86, 87], Operations: ['58-57=1', '88-1=87'] Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 86+87=173, Resulting Numbers: [173] 173,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[86, 58, 31], Operations: ['88-57=31'] Exploring Operation: 58-31=27, Resulting Numbers: [86, 27] Generated Node #0,0,0: 86:[86, 27] Operation: 58-31=27 Exploring Operation: 58+31=89, Resulting Numbers: [86, 89] Generated Node #0,0,1: 86:[86, 89] Operation: 58+31=89 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[86, 89], Operations: ['88-57=31', '58+31=89'] Exploring Operation: 86+89=175, Resulting Numbers: [175] 175,86 unequal: No Solution Exploring Operation: 89-86=3, Resulting Numbers: [3] 3,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[86, 27], Operations: ['88-57=31', '58-31=27'] Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 86+27=113, Resulting Numbers: [113] 113,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 No solution found.
0
hs_2
mult_heuristic
[ 6, 8, 16, 46 ]
88
[ "46-6=40", "8*16=128", "128-40=88" ]
Current State: 88:[6, 8, 16, 46], Operations: [] Exploring Operation: 46-6=40, Resulting Numbers: [8, 16, 40] Generated Node #2: [8, 16, 40] from Operation: 46-6=40 Current State: 88:[8, 16, 40], Operations: ['46-6=40'] Exploring Operation: 8*16=128, Resulting Numbers: [40, 128] Generated Node #3: [40, 128] from Operation: 8*16=128 Current State: 88:[40, 128], Operations: ['46-6=40', '8*16=128'] Exploring Operation: 128-40=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[6, 8, 16, 46], Operations: [] Exploring Operation: 6+16=22, Resulting Numbers: [8, 46, 22] Generated Node #0,0: 88:[8, 46, 22] Operation: 6+16=22 Moving to Node #0,0 Current State: 88:[8, 46, 22], Operations: ['6+16=22'] Exploring Operation: 46-22=24, Resulting Numbers: [8, 24] Generated Node #0,0,0: 88:[8, 24] Operation: 46-22=24 Moving to Node #0,0,0 Current State: 88:[8, 24], Operations: ['6+16=22', '46-22=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 45, 33, 50, 99 ]
65
[ "45*33=1485", "1485/99=15", "50+15=65" ]
Current State: 65:[45, 33, 50, 99], Operations: [] Exploring Operation: 45*33=1485, Resulting Numbers: [50, 99, 1485] Generated Node #2: [50, 99, 1485] from Operation: 45*33=1485 Current State: 65:[50, 99, 1485], Operations: ['45*33=1485'] Exploring Operation: 1485/99=15, Resulting Numbers: [50, 15] Generated Node #3: [50, 15] from Operation: 1485/99=15 Current State: 65:[50, 15], Operations: ['45*33=1485', '1485/99=15'] Exploring Operation: 50+15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[45, 33, 50, 99], Operations: [] Exploring Operation: 99-33=66, Resulting Numbers: [45, 50, 66] Generated Node #0,0: 65:[45, 50, 66] Operation: 99-33=66 Exploring Operation: 99/33=3, Resulting Numbers: [45, 50, 3] Generated Node #0,1: 65:[45, 50, 3] Operation: 99/33=3 Moving to Node #0,0 Current State: 65:[45, 50, 66], Operations: ['99-33=66'] Exploring Operation: 66-45=21, Resulting Numbers: [50, 21] Generated Node #0,0,0: 65:[50, 21] Operation: 66-45=21 Exploring Operation: 50-45=5, Resulting Numbers: [66, 5] Generated Node #0,0,1: 65:[66, 5] Operation: 50-45=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[66, 5], Operations: ['99-33=66', '50-45=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[50, 21], Operations: ['99-33=66', '66-45=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 65:[45, 50, 3], Operations: ['99/33=3'] Exploring Operation: 50-45=5, Resulting Numbers: [3, 5] Generated Node #0,1,0: 65:[3, 5] Operation: 50-45=5 Exploring Operation: 45/3=15, Resulting Numbers: [50, 15] Generated Node #0,1,1: 65:[50, 15] Operation: 45/3=15 Moving to Node #0,1,0 Current State: 65:[3, 5], Operations: ['99/33=3', '50-45=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[50, 15], Operations: ['99/33=3', '45/3=15'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 50+15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[45, 33, 50, 99], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [45, 50, 3] Generated Node #0,1: 65:[45, 50, 3] Operation: 99/33=3 Moving to Node #0,1 Current State: 65:[45, 50, 3], Operations: ['99/33=3'] Exploring Operation: 45/3=15, Resulting Numbers: [50, 15] Generated Node #0,1,1: 65:[50, 15] Operation: 45/3=15 Moving to Node #0,1,1 Current State: 65:[50, 15], Operations: ['99/33=3', '45/3=15'] Exploring Operation: 50+15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 7, 79, 9, 90 ]
96
[ "7+79=86", "90/9=10", "86+10=96" ]
Current State: 96:[7, 79, 9, 90], Operations: [] Exploring Operation: 7+79=86, Resulting Numbers: [9, 90, 86] Generated Node #2: [9, 90, 86] from Operation: 7+79=86 Current State: 96:[9, 90, 86], Operations: ['7+79=86'] Exploring Operation: 90/9=10, Resulting Numbers: [86, 10] Generated Node #3: [86, 10] from Operation: 90/9=10 Current State: 96:[86, 10], Operations: ['7+79=86', '90/9=10'] Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[7, 79, 9, 90], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [7, 9, 11] Generated Node #0,0: 96:[7, 9, 11] Operation: 90-79=11 Exploring Operation: 79+9=88, Resulting Numbers: [7, 90, 88] Generated Node #0,1: 96:[7, 90, 88] Operation: 79+9=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[7, 9, 11], Operations: ['90-79=11'] Exploring Operation: 9-7=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 96:[11, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [11, 16] Generated Node #0,0,1: 96:[11, 16] Operation: 7+9=16 Moving to Node #0,0,0 Current State: 96:[11, 2], Operations: ['90-79=11', '9-7=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[11, 16], Operations: ['90-79=11', '7+9=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[7, 90, 88], Operations: ['79+9=88'] Exploring Operation: 7+88=95, Resulting Numbers: [90, 95] Generated Node #0,1,0: 96:[90, 95] Operation: 7+88=95 Exploring Operation: 90-88=2, Resulting Numbers: [7, 2] Generated Node #0,1,1: 96:[7, 2] Operation: 90-88=2 Moving to Node #0,1,1 Current State: 96:[7, 2], Operations: ['79+9=88', '90-88=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[90, 95], Operations: ['79+9=88', '7+88=95'] Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 90+95=185, Resulting Numbers: [185] 185,96 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
[ 15, 91, 86, 61 ]
84
[ "91-61=30", "30/15=2", "86-2=84" ]
Current State: 84:[15, 91, 86, 61], Operations: [] Exploring Operation: 91-61=30, Resulting Numbers: [15, 86, 30] Generated Node #2: [15, 86, 30] from Operation: 91-61=30 Current State: 84:[15, 86, 30], Operations: ['91-61=30'] Exploring Operation: 30/15=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 30/15=2 Current State: 84:[86, 2], Operations: ['91-61=30', '30/15=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[15, 91, 86, 61], Operations: [] Exploring Operation: 86-61=25, Resulting Numbers: [15, 91, 25] Generated Node #0,0: 84:[15, 91, 25] Operation: 86-61=25 Exploring Operation: 91-86=5, Resulting Numbers: [15, 61, 5] Generated Node #0,1: 84:[15, 61, 5] Operation: 91-86=5 Exploring Operation: 91-61=30, Resulting Numbers: [15, 86, 30] Generated Node #0,2: 84:[15, 86, 30] Operation: 91-61=30 Exploring Operation: 15+61=76, Resulting Numbers: [91, 86, 76] Generated Node #0,3: 84:[91, 86, 76] Operation: 15+61=76 Exploring Operation: 61-15=46, Resulting Numbers: [91, 86, 46] Generated Node #0,4: 84:[91, 86, 46] Operation: 61-15=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[15, 86, 30], Operations: ['91-61=30'] Exploring Operation: 30/15=2, Resulting Numbers: [86, 2] Generated Node #0,2,0: 84:[86, 2] Operation: 30/15=2 Exploring Operation: 86-30=56, Resulting Numbers: [15, 56] Generated Node #0,2,1: 84:[15, 56] Operation: 86-30=56 Exploring Operation: 86-15=71, Resulting Numbers: [30, 71] Generated Node #0,2,2: 84:[30, 71] Operation: 86-15=71 Exploring Operation: 30-15=15, Resulting Numbers: [86, 15] Generated Node #0,2,3: 84:[86, 15] Operation: 30-15=15 Exploring Operation: 15+30=45, Resulting Numbers: [86, 45] Generated Node #0,2,4: 84:[86, 45] Operation: 15+30=45 Moving to Node #0,2,0 Current State: 84:[86, 2], Operations: ['91-61=30', '30/15=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[15, 91, 86, 61], Operations: [] Exploring Operation: 91-61=30, Resulting Numbers: [15, 86, 30] Generated Node #0,2: 84:[15, 86, 30] Operation: 91-61=30 Moving to Node #0,2 Current State: 84:[15, 86, 30], Operations: ['91-61=30'] Exploring Operation: 30/15=2, Resulting Numbers: [86, 2] Generated Node #0,2,0: 84:[86, 2] Operation: 30/15=2 Moving to Node #0,2,0 Current State: 84:[86, 2], Operations: ['91-61=30', '30/15=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 96, 24, 88, 94 ]
68
[ "96-94=2", "88/2=44", "24+44=68" ]
Current State: 68:[96, 24, 88, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [24, 88, 2] Generated Node #2: [24, 88, 2] from Operation: 96-94=2 Current State: 68:[24, 88, 2], Operations: ['96-94=2'] Exploring Operation: 88/2=44, Resulting Numbers: [24, 44] Generated Node #3: [24, 44] from Operation: 88/2=44 Current State: 68:[24, 44], Operations: ['96-94=2', '88/2=44'] Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[96, 24, 88, 94], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [24, 94, 8] Generated Node #0,0: 68:[24, 94, 8] Operation: 96-88=8 Exploring Operation: 96-94=2, Resulting Numbers: [24, 88, 2] Generated Node #0,1: 68:[24, 88, 2] Operation: 96-94=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[24, 88, 2], Operations: ['96-94=2'] Exploring Operation: 88-24=64, Resulting Numbers: [2, 64] Generated Node #0,1,0: 68:[2, 64] Operation: 88-24=64 Exploring Operation: 88/2=44, Resulting Numbers: [24, 44] Generated Node #0,1,1: 68:[24, 44] Operation: 88/2=44 Moving to Node #0,1,0 Current State: 68:[2, 64], Operations: ['96-94=2', '88-24=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,68 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[24, 44], Operations: ['96-94=2', '88/2=44'] Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[96, 24, 88, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [24, 88, 2] Generated Node #0,1: 68:[24, 88, 2] Operation: 96-94=2 Moving to Node #0,1 Current State: 68:[24, 88, 2], Operations: ['96-94=2'] Exploring Operation: 88/2=44, Resulting Numbers: [24, 44] Generated Node #0,1,1: 68:[24, 44] Operation: 88/2=44 Moving to Node #0,1,1 Current State: 68:[24, 44], Operations: ['96-94=2', '88/2=44'] Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 71, 58, 79, 21 ]
87
[ "71-58=13", "79+21=100", "100-13=87" ]
Current State: 87:[71, 58, 79, 21], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [79, 21, 13] Generated Node #2: [79, 21, 13] from Operation: 71-58=13 Current State: 87:[79, 21, 13], Operations: ['71-58=13'] Exploring Operation: 79+21=100, Resulting Numbers: [13, 100] Generated Node #3: [13, 100] from Operation: 79+21=100 Current State: 87:[13, 100], Operations: ['71-58=13', '79+21=100'] Exploring Operation: 100-13=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[71, 58, 79, 21], Operations: [] Exploring Operation: 79-58=21, Resulting Numbers: [71, 21, 21] Generated Node #0,0: 87:[71, 21, 21] Operation: 79-58=21 Exploring Operation: 58+21=79, Resulting Numbers: [71, 79, 79] Generated Node #0,1: 87:[71, 79, 79] Operation: 58+21=79 Exploring Operation: 79-71=8, Resulting Numbers: [58, 21, 8] Generated Node #0,2: 87:[58, 21, 8] Operation: 79-71=8 Exploring Operation: 58-21=37, Resulting Numbers: [71, 79, 37] Generated Node #0,3: 87:[71, 79, 37] Operation: 58-21=37 Exploring Operation: 71-58=13, Resulting Numbers: [79, 21, 13] Generated Node #0,4: 87:[79, 21, 13] Operation: 71-58=13 Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[79, 21, 13], Operations: ['71-58=13'] Exploring Operation: 79+21=100, Resulting Numbers: [13, 100] Generated Node #0,4,0: 87:[13, 100] Operation: 79+21=100 Exploring Operation: 21-13=8, Resulting Numbers: [79, 8] Generated Node #0,4,1: 87:[79, 8] Operation: 21-13=8 Exploring Operation: 79+13=92, Resulting Numbers: [21, 92] Generated Node #0,4,2: 87:[21, 92] Operation: 79+13=92 Exploring Operation: 21+13=34, Resulting Numbers: [79, 34] Generated Node #0,4,3: 87:[79, 34] Operation: 21+13=34 Exploring Operation: 79-13=66, Resulting Numbers: [21, 66] Generated Node #0,4,4: 87:[21, 66] Operation: 79-13=66 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 87:[79, 8], Operations: ['71-58=13', '21-13=8'] Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,87 unequal: No Solution Exploring Operation: 79*8=632, Resulting Numbers: [632] 632,87 unequal: No Solution Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[71, 58, 79, 21], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [79, 21, 13] Generated Node #0,4: 87:[79, 21, 13] Operation: 71-58=13 Moving to Node #0,4 Current State: 87:[79, 21, 13], Operations: ['71-58=13'] Exploring Operation: 21-13=8, Resulting Numbers: [79, 8] Generated Node #0,4,1: 87:[79, 8] Operation: 21-13=8 Moving to Node #0,4,1 Current State: 87:[79, 8], Operations: ['71-58=13', '21-13=8'] Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 54, 7, 72, 66 ]
12
[ "72-54=18", "66+18=84", "84/7=12" ]
Current State: 12:[54, 7, 72, 66], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [7, 66, 18] Generated Node #2: [7, 66, 18] from Operation: 72-54=18 Current State: 12:[7, 66, 18], Operations: ['72-54=18'] Exploring Operation: 66+18=84, Resulting Numbers: [7, 84] Generated Node #3: [7, 84] from Operation: 66+18=84 Current State: 12:[7, 84], Operations: ['72-54=18', '66+18=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[54, 7, 72, 66], Operations: [] Exploring Operation: 54-7=47, Resulting Numbers: [72, 66, 47] Generated Node #0,0: 12:[72, 66, 47] Operation: 54-7=47 Exploring Operation: 72-54=18, Resulting Numbers: [7, 66, 18] Generated Node #0,1: 12:[7, 66, 18] Operation: 72-54=18 Exploring Operation: 72-66=6, Resulting Numbers: [54, 7, 6] Generated Node #0,2: 12:[54, 7, 6] Operation: 72-66=6 Exploring Operation: 66-54=12, Resulting Numbers: [7, 72, 12] Generated Node #0,3: 12:[7, 72, 12] Operation: 66-54=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[54, 7, 6], Operations: ['72-66=6'] Exploring Operation: 54-7=47, Resulting Numbers: [6, 47] Generated Node #0,2,0: 12:[6, 47] Operation: 54-7=47 Exploring Operation: 54-6=48, Resulting Numbers: [7, 48] Generated Node #0,2,1: 12:[7, 48] Operation: 54-6=48 Exploring Operation: 7+6=13, Resulting Numbers: [54, 13] Generated Node #0,2,2: 12:[54, 13] Operation: 7+6=13 Exploring Operation: 54/6=9, Resulting Numbers: [7, 9] Generated Node #0,2,3: 12:[7, 9] Operation: 54/6=9 Moving to Node #0,2,3 Current State: 12:[7, 9], Operations: ['72-66=6', '54/6=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[6, 47], Operations: ['72-66=6', '54-7=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[7, 48], Operations: ['72-66=6', '54-6=48'] Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[54, 13], Operations: ['72-66=6', '7+6=13'] Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,12 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,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,1 Current State: 12:[7, 66, 18], Operations: ['72-54=18'] Exploring Operation: 7+66=73, Resulting Numbers: [18, 73] Generated Node #0,1,0: 12:[18, 73] Operation: 7+66=73 Exploring Operation: 66-7=59, Resulting Numbers: [18, 59] Generated Node #0,1,1: 12:[18, 59] Operation: 66-7=59 Exploring Operation: 66-18=48, Resulting Numbers: [7, 48] Generated Node #0,1,2: 12:[7, 48] Operation: 66-18=48 Exploring Operation: 18-7=11, Resulting Numbers: [66, 11] Generated Node #0,1,3: 12:[66, 11] Operation: 18-7=11 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[7, 48], Operations: ['72-54=18', '66-18=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,12 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,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:[18, 59], Operations: ['72-54=18', '66-7=59'] Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 18*59=1062, Resulting Numbers: [1062] 1062,12 unequal: No Solution Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,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,3 Current State: 12:[66, 11], Operations: ['72-54=18', '18-7=11'] Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,12 unequal: No Solution Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,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,0 Current State: 12:[18, 73], Operations: ['72-54=18', '7+66=73'] Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,12 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,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,3 Current State: 12:[7, 72, 12], Operations: ['66-54=12'] Exploring Operation: 12-7=5, Resulting Numbers: [72, 5] Generated Node #0,3,0: 12:[72, 5] Operation: 12-7=5 Exploring Operation: 72/12=6, Resulting Numbers: [7, 6] Generated Node #0,3,1: 12:[7, 6] Operation: 72/12=6 Exploring Operation: 72-7=65, Resulting Numbers: [12, 65] Generated Node #0,3,2: 12:[12, 65] Operation: 72-7=65 Exploring Operation: 72-12=60, Resulting Numbers: [7, 60] Generated Node #0,3,3: 12:[7, 60] Operation: 72-12=60 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 12:[7, 6], Operations: ['66-54=12', '72/12=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,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,3,3 Current State: 12:[7, 60], Operations: ['66-54=12', '72-12=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,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,3,2 Current State: 12:[12, 65], Operations: ['66-54=12', '72-7=65'] Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,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,3,0 Current State: 12:[72, 5], Operations: ['66-54=12', '12-7=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,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,0 Current State: 12:[72, 66, 47], Operations: ['54-7=47'] Exploring Operation: 66-47=19, Resulting Numbers: [72, 19] Generated Node #0,0,0: 12:[72, 19] Operation: 66-47=19 Exploring Operation: 72+66=138, Resulting Numbers: [47, 138] Generated Node #0,0,1: 12:[47, 138] Operation: 72+66=138 Exploring Operation: 72-66=6, Resulting Numbers: [47, 6] Generated Node #0,0,2: 12:[47, 6] Operation: 72-66=6 Exploring Operation: 72-47=25, Resulting Numbers: [66, 25] Generated Node #0,0,3: 12:[66, 25] Operation: 72-47=25 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[47, 6], Operations: ['54-7=47', '72-66=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,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:[72, 19], Operations: ['54-7=47', '66-47=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,12 unequal: No Solution Exploring Operation: 72+19=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,3 Current State: 12:[66, 25], Operations: ['54-7=47', '72-47=25'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,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:[47, 138], Operations: ['54-7=47', '72+66=138'] Exploring Operation: 47*138=6486, Resulting Numbers: [6486] 6486,12 unequal: No Solution Exploring Operation: 47+138=185, Resulting Numbers: [185] 185,12 unequal: No Solution Exploring Operation: 138-47=91, Resulting Numbers: [91] 91,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_4
sum_heuristic
[ 13, 92, 19, 75 ]
23
[ "92-13=79", "75-19=56", "79-56=23" ]
Current State: 23:[13, 92, 19, 75], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [19, 75, 79] Generated Node #2: [19, 75, 79] from Operation: 92-13=79 Current State: 23:[19, 75, 79], Operations: ['92-13=79'] Exploring Operation: 75-19=56, Resulting Numbers: [79, 56] Generated Node #3: [79, 56] from Operation: 75-19=56 Current State: 23:[79, 56], Operations: ['92-13=79', '75-19=56'] Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[13, 92, 19, 75], Operations: [] Exploring Operation: 75-13=62, Resulting Numbers: [92, 19, 62] Generated Node #0,0: 23:[92, 19, 62] Operation: 75-13=62 Exploring Operation: 92-75=17, Resulting Numbers: [13, 19, 17] Generated Node #0,1: 23:[13, 19, 17] Operation: 92-75=17 Exploring Operation: 92-13=79, Resulting Numbers: [19, 75, 79] Generated Node #0,2: 23:[19, 75, 79] Operation: 92-13=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[13, 19, 17], Operations: ['92-75=17'] Exploring Operation: 13+17=30, Resulting Numbers: [19, 30] Generated Node #0,1,0: 23:[19, 30] Operation: 13+17=30 Exploring Operation: 19-13=6, Resulting Numbers: [17, 6] Generated Node #0,1,1: 23:[17, 6] Operation: 19-13=6 Exploring Operation: 13+19=32, Resulting Numbers: [17, 32] Generated Node #0,1,2: 23:[17, 32] Operation: 13+19=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[19, 30], Operations: ['92-75=17', '13+17=30'] Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[17, 32], Operations: ['92-75=17', '13+19=32'] Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,23 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[17, 6], Operations: ['92-75=17', '19-13=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[13, 92, 19, 75], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [13, 19, 17] Generated Node #0,1: 23:[13, 19, 17] Operation: 92-75=17 Moving to Node #0,1 Current State: 23:[13, 19, 17], Operations: ['92-75=17'] Exploring Operation: 19-13=6, Resulting Numbers: [17, 6] Generated Node #0,1,1: 23:[17, 6] Operation: 19-13=6 Moving to Node #0,1,1 Current State: 23:[17, 6], Operations: ['92-75=17', '19-13=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 89, 29, 8, 36 ]
89
[ "29+8=37", "37-36=1", "89*1=89" ]
Current State: 89:[89, 29, 8, 36], Operations: [] Exploring Operation: 29+8=37, Resulting Numbers: [89, 36, 37] Generated Node #2: [89, 36, 37] from Operation: 29+8=37 Current State: 89:[89, 36, 37], Operations: ['29+8=37'] Exploring Operation: 37-36=1, Resulting Numbers: [89, 1] Generated Node #3: [89, 1] from Operation: 37-36=1 Current State: 89:[89, 1], Operations: ['29+8=37', '37-36=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[89, 29, 8, 36], Operations: [] Exploring Operation: 29+8=37, Resulting Numbers: [89, 36, 37] Generated Node #0,0: 89:[89, 36, 37] Operation: 29+8=37 Exploring Operation: 89+8=97, Resulting Numbers: [29, 36, 97] Generated Node #0,1: 89:[29, 36, 97] Operation: 89+8=97 Exploring Operation: 29+36=65, Resulting Numbers: [89, 8, 65] Generated Node #0,2: 89:[89, 8, 65] Operation: 29+36=65 Exploring Operation: 8+36=44, Resulting Numbers: [89, 29, 44] Generated Node #0,3: 89:[89, 29, 44] Operation: 8+36=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[89, 36, 37], Operations: ['29+8=37'] Exploring Operation: 89+36=125, Resulting Numbers: [37, 125] Generated Node #0,0,0: 89:[37, 125] Operation: 89+36=125 Exploring Operation: 37-36=1, Resulting Numbers: [89, 1] Generated Node #0,0,1: 89:[89, 1] Operation: 37-36=1 Exploring Operation: 89-36=53, Resulting Numbers: [37, 53] Generated Node #0,0,2: 89:[37, 53] Operation: 89-36=53 Exploring Operation: 36+37=73, Resulting Numbers: [89, 73] Generated Node #0,0,3: 89:[89, 73] Operation: 36+37=73 Moving to Node #0,0,3 Current State: 89:[89, 73], Operations: ['29+8=37', '36+37=73'] Exploring Operation: 89-73=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 89+73=162, Resulting Numbers: [162] 162,89 unequal: No Solution Exploring Operation: 89*73=6497, Resulting Numbers: [6497] 6497,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[89, 1], Operations: ['29+8=37', '37-36=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[89, 29, 8, 36], Operations: [] Exploring Operation: 29+8=37, Resulting Numbers: [89, 36, 37] Generated Node #0,0: 89:[89, 36, 37] Operation: 29+8=37 Moving to Node #0,0 Current State: 89:[89, 36, 37], Operations: ['29+8=37'] Exploring Operation: 37-36=1, Resulting Numbers: [89, 1] Generated Node #0,0,1: 89:[89, 1] Operation: 37-36=1 Moving to Node #0,0,1 Current State: 89:[89, 1], Operations: ['29+8=37', '37-36=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 83, 91, 10, 12 ]
16
[ "91-83=8", "12-10=2", "8*2=16" ]
Current State: 16:[83, 91, 10, 12], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [10, 12, 8] Generated Node #2: [10, 12, 8] from Operation: 91-83=8 Current State: 16:[10, 12, 8], Operations: ['91-83=8'] Exploring Operation: 12-10=2, Resulting Numbers: [8, 2] Generated Node #3: [8, 2] from Operation: 12-10=2 Current State: 16:[8, 2], Operations: ['91-83=8', '12-10=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[83, 91, 10, 12], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [10, 12, 8] Generated Node #0,0: 16:[10, 12, 8] Operation: 91-83=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[10, 12, 8], Operations: ['91-83=8'] Exploring Operation: 12-10=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 16:[8, 2] Operation: 12-10=2 Moving to Node #0,0,0 Current State: 16:[8, 2], Operations: ['91-83=8', '12-10=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[83, 91, 10, 12], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [10, 12, 8] Generated Node #0,0: 16:[10, 12, 8] Operation: 91-83=8 Moving to Node #0,0 Current State: 16:[10, 12, 8], Operations: ['91-83=8'] Exploring Operation: 12-10=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 16:[8, 2] Operation: 12-10=2 Moving to Node #0,0,0 Current State: 16:[8, 2], Operations: ['91-83=8', '12-10=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 54, 59, 95, 20 ]
70
[ "59-54=5", "95-20=75", "75-5=70" ]
Current State: 70:[54, 59, 95, 20], Operations: [] Exploring Operation: 59-54=5, Resulting Numbers: [95, 20, 5] Generated Node #2: [95, 20, 5] from Operation: 59-54=5 Current State: 70:[95, 20, 5], Operations: ['59-54=5'] Exploring Operation: 95-20=75, Resulting Numbers: [5, 75] Generated Node #3: [5, 75] from Operation: 95-20=75 Current State: 70:[5, 75], Operations: ['59-54=5', '95-20=75'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[54, 59, 95, 20], Operations: [] Exploring Operation: 95-20=75, Resulting Numbers: [54, 59, 75] Generated Node #0,0: 70:[54, 59, 75] Operation: 95-20=75 Exploring Operation: 54-20=34, Resulting Numbers: [59, 95, 34] Generated Node #0,1: 70:[59, 95, 34] Operation: 54-20=34 Exploring Operation: 95-54=41, Resulting Numbers: [59, 20, 41] Generated Node #0,2: 70:[59, 20, 41] Operation: 95-54=41 Exploring Operation: 95-59=36, Resulting Numbers: [54, 20, 36] Generated Node #0,3: 70:[54, 20, 36] Operation: 95-59=36 Exploring Operation: 59-54=5, Resulting Numbers: [95, 20, 5] Generated Node #0,4: 70:[95, 20, 5] Operation: 59-54=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[59, 20, 41], Operations: ['95-54=41'] Exploring Operation: 41-20=21, Resulting Numbers: [59, 21] Generated Node #0,2,0: 70:[59, 21] Operation: 41-20=21 Exploring Operation: 59-41=18, Resulting Numbers: [20, 18] Generated Node #0,2,1: 70:[20, 18] Operation: 59-41=18 Exploring Operation: 20+41=61, Resulting Numbers: [59, 61] Generated Node #0,2,2: 70:[59, 61] Operation: 20+41=61 Exploring Operation: 59-20=39, Resulting Numbers: [41, 39] Generated Node #0,2,3: 70:[41, 39] Operation: 59-20=39 Exploring Operation: 59+20=79, Resulting Numbers: [41, 79] Generated Node #0,2,4: 70:[41, 79] Operation: 59+20=79 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[20, 18], Operations: ['95-54=41', '59-41=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,70 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 70:[41, 39], Operations: ['95-54=41', '59-20=39'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,70 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 70:[41, 79], Operations: ['95-54=41', '59+20=79'] Exploring Operation: 41*79=3239, Resulting Numbers: [3239] 3239,70 unequal: No Solution Exploring Operation: 41+79=120, Resulting Numbers: [120] 120,70 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[59, 21], Operations: ['95-54=41', '41-20=21'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,70 unequal: No Solution Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[59, 61], Operations: ['95-54=41', '20+41=61'] Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 59+61=120, Resulting Numbers: [120] 120,70 unequal: No Solution Exploring Operation: 59*61=3599, Resulting Numbers: [3599] 3599,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[54, 20, 36], Operations: ['95-59=36'] Exploring Operation: 36-20=16, Resulting Numbers: [54, 16] Generated Node #0,3,0: 70:[54, 16] Operation: 36-20=16 Exploring Operation: 54-20=34, Resulting Numbers: [36, 34] Generated Node #0,3,1: 70:[36, 34] Operation: 54-20=34 Exploring Operation: 54+36=90, Resulting Numbers: [20, 90] Generated Node #0,3,2: 70:[20, 90] Operation: 54+36=90 Exploring Operation: 54-36=18, Resulting Numbers: [20, 18] Generated Node #0,3,3: 70:[20, 18] Operation: 54-36=18 Exploring Operation: 54+20=74, Resulting Numbers: [36, 74] Generated Node #0,3,4: 70:[36, 74] Operation: 54+20=74 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 70:[36, 34], Operations: ['95-59=36', '54-20=34'] Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,70 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[54, 59, 95, 20], Operations: [] Exploring Operation: 95-59=36, Resulting Numbers: [54, 20, 36] Generated Node #0,3: 70:[54, 20, 36] Operation: 95-59=36 Moving to Node #0,3 Current State: 70:[54, 20, 36], Operations: ['95-59=36'] Exploring Operation: 54-20=34, Resulting Numbers: [36, 34] Generated Node #0,3,1: 70:[36, 34] Operation: 54-20=34 Moving to Node #0,3,1 Current State: 70:[36, 34], Operations: ['95-59=36', '54-20=34'] Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 30, 75, 56, 14 ]
35
[ "30+75=105", "56+14=70", "105-70=35" ]
Current State: 35:[30, 75, 56, 14], Operations: [] Exploring Operation: 30+75=105, Resulting Numbers: [56, 14, 105] Generated Node #2: [56, 14, 105] from Operation: 30+75=105 Current State: 35:[56, 14, 105], Operations: ['30+75=105'] Exploring Operation: 56+14=70, Resulting Numbers: [105, 70] Generated Node #3: [105, 70] from Operation: 56+14=70 Current State: 35:[105, 70], Operations: ['30+75=105', '56+14=70'] Exploring Operation: 105-70=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[30, 75, 56, 14], Operations: [] Exploring Operation: 75-30=45, Resulting Numbers: [56, 14, 45] Generated Node #0,0: 35:[56, 14, 45] Operation: 75-30=45 Exploring Operation: 75-56=19, Resulting Numbers: [30, 14, 19] Generated Node #0,1: 35:[30, 14, 19] Operation: 75-56=19 Moving to Node #0,1 Current State: 35:[30, 14, 19], Operations: ['75-56=19'] Exploring Operation: 19-14=5, Resulting Numbers: [30, 5] Generated Node #0,1,0: 35:[30, 5] Operation: 19-14=5 Exploring Operation: 14+19=33, Resulting Numbers: [30, 33] Generated Node #0,1,1: 35:[30, 33] Operation: 14+19=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[30, 5], Operations: ['75-56=19', '19-14=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[30, 75, 56, 14], Operations: [] Exploring Operation: 75-56=19, Resulting Numbers: [30, 14, 19] Generated Node #0,1: 35:[30, 14, 19] Operation: 75-56=19 Moving to Node #0,1 Current State: 35:[30, 14, 19], Operations: ['75-56=19'] Exploring Operation: 19-14=5, Resulting Numbers: [30, 5] Generated Node #0,1,0: 35:[30, 5] Operation: 19-14=5 Moving to Node #0,1,0 Current State: 35:[30, 5], Operations: ['75-56=19', '19-14=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 15, 86, 21, 26 ]
76
[ "86-15=71", "26-21=5", "71+5=76" ]
Current State: 76:[15, 86, 21, 26], Operations: [] Exploring Operation: 86-15=71, Resulting Numbers: [21, 26, 71] Generated Node #2: [21, 26, 71] from Operation: 86-15=71 Current State: 76:[21, 26, 71], Operations: ['86-15=71'] Exploring Operation: 26-21=5, Resulting Numbers: [71, 5] Generated Node #3: [71, 5] from Operation: 26-21=5 Current State: 76:[71, 5], Operations: ['86-15=71', '26-21=5'] Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[15, 86, 21, 26], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [15, 86, 5] Generated Node #0,0: 76:[15, 86, 5] Operation: 26-21=5 Exploring Operation: 86-15=71, Resulting Numbers: [21, 26, 71] Generated Node #0,1: 76:[21, 26, 71] Operation: 86-15=71 Exploring Operation: 15+26=41, Resulting Numbers: [86, 21, 41] Generated Node #0,2: 76:[86, 21, 41] Operation: 15+26=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[21, 26, 71], Operations: ['86-15=71'] Exploring Operation: 21+26=47, Resulting Numbers: [71, 47] Generated Node #0,1,0: 76:[71, 47] Operation: 21+26=47 Exploring Operation: 71-26=45, Resulting Numbers: [21, 45] Generated Node #0,1,1: 76:[21, 45] Operation: 71-26=45 Exploring Operation: 26-21=5, Resulting Numbers: [71, 5] Generated Node #0,1,2: 76:[71, 5] Operation: 26-21=5 Moving to Node #0,1,2 Current State: 76:[71, 5], Operations: ['86-15=71', '26-21=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[15, 86, 21, 26], Operations: [] Exploring Operation: 86-15=71, Resulting Numbers: [21, 26, 71] Generated Node #0,1: 76:[21, 26, 71] Operation: 86-15=71 Moving to Node #0,1 Current State: 76:[21, 26, 71], Operations: ['86-15=71'] Exploring Operation: 26-21=5, Resulting Numbers: [71, 5] Generated Node #0,1,2: 76:[71, 5] Operation: 26-21=5 Moving to Node #0,1,2 Current State: 76:[71, 5], Operations: ['86-15=71', '26-21=5'] Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 28, 62, 9, 12 ]
37
[ "62-28=34", "12-9=3", "34+3=37" ]
Current State: 37:[28, 62, 9, 12], Operations: [] Exploring Operation: 62-28=34, Resulting Numbers: [9, 12, 34] Generated Node #2: [9, 12, 34] from Operation: 62-28=34 Current State: 37:[9, 12, 34], Operations: ['62-28=34'] Exploring Operation: 12-9=3, Resulting Numbers: [34, 3] Generated Node #3: [34, 3] from Operation: 12-9=3 Current State: 37:[34, 3], Operations: ['62-28=34', '12-9=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[28, 62, 9, 12], Operations: [] Exploring Operation: 62-9=53, Resulting Numbers: [28, 12, 53] Generated Node #0,0: 37:[28, 12, 53] Operation: 62-9=53 Exploring Operation: 62-12=50, Resulting Numbers: [28, 9, 50] Generated Node #0,1: 37:[28, 9, 50] Operation: 62-12=50 Exploring Operation: 9+12=21, Resulting Numbers: [28, 62, 21] Generated Node #0,2: 37:[28, 62, 21] Operation: 9+12=21 Exploring Operation: 28+9=37, Resulting Numbers: [62, 12, 37] Generated Node #0,3: 37:[62, 12, 37] Operation: 28+9=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[28, 12, 53], Operations: ['62-9=53'] Exploring Operation: 28+12=40, Resulting Numbers: [53, 40] Generated Node #0,0,0: 37:[53, 40] Operation: 28+12=40 Exploring Operation: 53-28=25, Resulting Numbers: [12, 25] Generated Node #0,0,1: 37:[12, 25] Operation: 53-28=25 Exploring Operation: 28-12=16, Resulting Numbers: [53, 16] Generated Node #0,0,2: 37:[53, 16] Operation: 28-12=16 Exploring Operation: 53-12=41, Resulting Numbers: [28, 41] Generated Node #0,0,3: 37:[28, 41] Operation: 53-12=41 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[28, 41], Operations: ['62-9=53', '53-12=41'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,37 unequal: No Solution Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[53, 40], Operations: ['62-9=53', '28+12=40'] Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,37 unequal: No Solution Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[12, 25], Operations: ['62-9=53', '53-28=25'] Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,37 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[28, 62, 9, 12], Operations: [] Exploring Operation: 62-9=53, Resulting Numbers: [28, 12, 53] Generated Node #0,0: 37:[28, 12, 53] Operation: 62-9=53 Moving to Node #0,0 Current State: 37:[28, 12, 53], Operations: ['62-9=53'] Exploring Operation: 53-28=25, Resulting Numbers: [12, 25] Generated Node #0,0,1: 37:[12, 25] Operation: 53-28=25 Moving to Node #0,0,1 Current State: 37:[12, 25], Operations: ['62-9=53', '53-28=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 23, 33, 52, 19 ]
46
[ "23-19=4", "52/4=13", "33+13=46" ]
Current State: 46:[23, 33, 52, 19], Operations: [] Exploring Operation: 23-19=4, Resulting Numbers: [33, 52, 4] Generated Node #2: [33, 52, 4] from Operation: 23-19=4 Current State: 46:[33, 52, 4], Operations: ['23-19=4'] Exploring Operation: 52/4=13, Resulting Numbers: [33, 13] Generated Node #3: [33, 13] from Operation: 52/4=13 Current State: 46:[33, 13], Operations: ['23-19=4', '52/4=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[23, 33, 52, 19], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [23, 19, 19] Generated Node #0,0: 46:[23, 19, 19] Operation: 52-33=19 Exploring Operation: 23-19=4, Resulting Numbers: [33, 52, 4] Generated Node #0,1: 46:[33, 52, 4] Operation: 23-19=4 Exploring Operation: 33-23=10, Resulting Numbers: [52, 19, 10] Generated Node #0,2: 46:[52, 19, 10] Operation: 33-23=10 Exploring Operation: 33-19=14, Resulting Numbers: [23, 52, 14] Generated Node #0,3: 46:[23, 52, 14] Operation: 33-19=14 Exploring Operation: 33+19=52, Resulting Numbers: [23, 52, 52] Generated Node #0,4: 46:[23, 52, 52] Operation: 33+19=52 Moving to Node #0,0 Current State: 46:[23, 19, 19], Operations: ['52-33=19'] Exploring Operation: 23+19=42, Resulting Numbers: [19, 42] Generated Node #0,0,0: 46:[19, 42] Operation: 23+19=42 Exploring Operation: 19/19=1, Resulting Numbers: [23, 1] Generated Node #0,0,1: 46:[23, 1] Operation: 19/19=1 Exploring Operation: 23-19=4, Resulting Numbers: [19, 4] Generated Node #0,0,2: 46:[19, 4] Operation: 23-19=4 Exploring Operation: 23-19=4, Resulting Numbers: [19, 4] Generated Node #0,0,3: 46:[19, 4] Operation: 23-19=4 Exploring Operation: 19-19=0, Resulting Numbers: [23, 0] Generated Node #0,0,4: 46:[23, 0] Operation: 19-19=0 Moving to Node #0,4 Current State: 46:[23, 52, 52], Operations: ['33+19=52'] Exploring Operation: 52-23=29, Resulting Numbers: [52, 29] Generated Node #0,4,0: 46:[52, 29] Operation: 52-23=29 Exploring Operation: 52-52=0, Resulting Numbers: [23, 0] Generated Node #0,4,1: 46:[23, 0] Operation: 52-52=0 Exploring Operation: 52/52=1, Resulting Numbers: [23, 1] Generated Node #0,4,2: 46:[23, 1] Operation: 52/52=1 Exploring Operation: 23+52=75, Resulting Numbers: [52, 75] Generated Node #0,4,3: 46:[52, 75] Operation: 23+52=75 Exploring Operation: 52-23=29, Resulting Numbers: [52, 29] Generated Node #0,4,4: 46:[52, 29] Operation: 52-23=29 Moving to Node #0,3 Current State: 46:[23, 52, 14], Operations: ['33-19=14'] Exploring Operation: 52-14=38, Resulting Numbers: [23, 38] Generated Node #0,3,0: 46:[23, 38] Operation: 52-14=38 Exploring Operation: 23-14=9, Resulting Numbers: [52, 9] Generated Node #0,3,1: 46:[52, 9] Operation: 23-14=9 Exploring Operation: 52-23=29, Resulting Numbers: [14, 29] Generated Node #0,3,2: 46:[14, 29] Operation: 52-23=29 Exploring Operation: 52+14=66, Resulting Numbers: [23, 66] Generated Node #0,3,3: 46:[23, 66] Operation: 52+14=66 Exploring Operation: 23+14=37, Resulting Numbers: [52, 37] Generated Node #0,3,4: 46:[52, 37] Operation: 23+14=37 Moving to Node #0,1 Current State: 46:[33, 52, 4], Operations: ['23-19=4'] Exploring Operation: 52-33=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 46:[4, 19] Operation: 52-33=19 Exploring Operation: 33+4=37, Resulting Numbers: [52, 37] Generated Node #0,1,1: 46:[52, 37] Operation: 33+4=37 Exploring Operation: 52+4=56, Resulting Numbers: [33, 56] Generated Node #0,1,2: 46:[33, 56] Operation: 52+4=56 Exploring Operation: 52-4=48, Resulting Numbers: [33, 48] Generated Node #0,1,3: 46:[33, 48] Operation: 52-4=48 Exploring Operation: 33-4=29, Resulting Numbers: [52, 29] Generated Node #0,1,4: 46:[52, 29] Operation: 33-4=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[4, 19], Operations: ['23-19=4', '52-33=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[33, 48], Operations: ['23-19=4', '52-4=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,46 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 46:[52, 29], Operations: ['23-19=4', '33-4=29'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,46 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[52, 37], Operations: ['23-19=4', '33+4=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,46 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[33, 56], Operations: ['23-19=4', '52+4=56'] Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,46 unequal: No Solution Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,46 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,46 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: 46:[52, 19, 10], Operations: ['33-23=10'] Exploring Operation: 19-10=9, Resulting Numbers: [52, 9] Generated Node #0,2,0: 46:[52, 9] Operation: 19-10=9 Exploring Operation: 52-19=33, Resulting Numbers: [10, 33] Generated Node #0,2,1: 46:[10, 33] Operation: 52-19=33 Exploring Operation: 52+10=62, Resulting Numbers: [19, 62] Generated Node #0,2,2: 46:[19, 62] Operation: 52+10=62 Exploring Operation: 52-10=42, Resulting Numbers: [19, 42] Generated Node #0,2,3: 46:[19, 42] Operation: 52-10=42 Exploring Operation: 19+10=29, Resulting Numbers: [52, 29] Generated Node #0,2,4: 46:[52, 29] Operation: 19+10=29 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[19, 42], Operations: ['33-23=10', '52-10=42'] Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 46:[52, 29], Operations: ['33-23=10', '19+10=29'] Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,46 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[52, 9], Operations: ['33-23=10', '19-10=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,46 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[10, 33], Operations: ['33-23=10', '52-19=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[19, 62], Operations: ['33-23=10', '52+10=62'] Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,46 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: 46:[23, 1], Operations: ['52-33=19', '19/19=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[23, 1], Operations: ['33+19=52', '52/52=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,4,1 Current State: 46:[23, 0], Operations: ['33+19=52', '52-52=0'] Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[23, 0], Operations: ['52-33=19', '19-19=0'] Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[19, 4], Operations: ['52-33=19', '23-19=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[19, 4], Operations: ['52-33=19', '23-19=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[19, 42], Operations: ['52-33=19', '23+19=42'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[23, 38], Operations: ['33-19=14', '52-14=38'] Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,46 unequal: No Solution Moving to Node #0,4,4 Current State: 46:[52, 29], Operations: ['33+19=52', '52-23=29'] Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,46 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,4,0 Current State: 46:[52, 29], Operations: ['33+19=52', '52-23=29'] Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[52, 9], Operations: ['33-19=14', '23-14=9'] Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,46 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[14, 29], Operations: ['33-19=14', '52-23=29'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[52, 37], Operations: ['33-19=14', '23+14=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,46 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[23, 66], Operations: ['33-19=14', '52+14=66'] Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,46 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,46 unequal: No Solution Moving to Node #0,4,3 Current State: 46:[52, 75], Operations: ['33+19=52', '23+52=75'] Exploring Operation: 52+75=127, Resulting Numbers: [127] 127,46 unequal: No Solution Exploring Operation: 52*75=3900, Resulting Numbers: [3900] 3900,46 unequal: No Solution Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 79, 4, 69, 13 ]
19
[ "79*4=316", "316-69=247", "247/13=19" ]
Current State: 19:[79, 4, 69, 13], Operations: [] Exploring Operation: 79*4=316, Resulting Numbers: [69, 13, 316] Generated Node #2: [69, 13, 316] from Operation: 79*4=316 Current State: 19:[69, 13, 316], Operations: ['79*4=316'] Exploring Operation: 316-69=247, Resulting Numbers: [13, 247] Generated Node #3: [13, 247] from Operation: 316-69=247 Current State: 19:[13, 247], Operations: ['79*4=316', '316-69=247'] Exploring Operation: 247/13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[79, 4, 69, 13], Operations: [] Exploring Operation: 69-4=65, Resulting Numbers: [79, 13, 65] Generated Node #0,0: 19:[79, 13, 65] Operation: 69-4=65 Exploring Operation: 79-4=75, Resulting Numbers: [69, 13, 75] Generated Node #0,1: 19:[69, 13, 75] Operation: 79-4=75 Exploring Operation: 4+13=17, Resulting Numbers: [79, 69, 17] Generated Node #0,2: 19:[79, 69, 17] Operation: 4+13=17 Exploring Operation: 79-13=66, Resulting Numbers: [4, 69, 66] Generated Node #0,3: 19:[4, 69, 66] Operation: 79-13=66 Exploring Operation: 79-69=10, Resulting Numbers: [4, 13, 10] Generated Node #0,4: 19:[4, 13, 10] Operation: 79-69=10 Moving to Node #0,4 Current State: 19:[4, 13, 10], Operations: ['79-69=10'] Exploring Operation: 4+13=17, Resulting Numbers: [10, 17] Generated Node #0,4,0: 19:[10, 17] Operation: 4+13=17 Exploring Operation: 10-4=6, Resulting Numbers: [13, 6] Generated Node #0,4,1: 19:[13, 6] Operation: 10-4=6 Exploring Operation: 13-4=9, Resulting Numbers: [10, 9] Generated Node #0,4,2: 19:[10, 9] Operation: 13-4=9 Exploring Operation: 4+10=14, Resulting Numbers: [13, 14] Generated Node #0,4,3: 19:[13, 14] Operation: 4+10=14 Exploring Operation: 13+10=23, Resulting Numbers: [4, 23] Generated Node #0,4,4: 19:[4, 23] Operation: 13+10=23 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 19:[10, 17], Operations: ['79-69=10', '4+13=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,19 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 19:[13, 14], Operations: ['79-69=10', '4+10=14'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 19:[13, 6], Operations: ['79-69=10', '10-4=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,19 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[79, 4, 69, 13], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [4, 13, 10] Generated Node #0,4: 19:[4, 13, 10] Operation: 79-69=10 Moving to Node #0,4 Current State: 19:[4, 13, 10], Operations: ['79-69=10'] Exploring Operation: 10-4=6, Resulting Numbers: [13, 6] Generated Node #0,4,1: 19:[13, 6] Operation: 10-4=6 Moving to Node #0,4,1 Current State: 19:[13, 6], Operations: ['79-69=10', '10-4=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 11, 90, 84, 70 ]
53
[ "11+90=101", "84+70=154", "154-101=53" ]
Current State: 53:[11, 90, 84, 70], Operations: [] Exploring Operation: 11+90=101, Resulting Numbers: [84, 70, 101] Generated Node #2: [84, 70, 101] from Operation: 11+90=101 Current State: 53:[84, 70, 101], Operations: ['11+90=101'] Exploring Operation: 84+70=154, Resulting Numbers: [101, 154] Generated Node #3: [101, 154] from Operation: 84+70=154 Current State: 53:[101, 154], Operations: ['11+90=101', '84+70=154'] Exploring Operation: 154-101=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[11, 90, 84, 70], Operations: [] Exploring Operation: 11+84=95, Resulting Numbers: [90, 70, 95] Generated Node #0,0: 53:[90, 70, 95] Operation: 11+84=95 Exploring Operation: 11+90=101, Resulting Numbers: [84, 70, 101] Generated Node #0,1: 53:[84, 70, 101] Operation: 11+90=101 Exploring Operation: 70-11=59, Resulting Numbers: [90, 84, 59] Generated Node #0,2: 53:[90, 84, 59] Operation: 70-11=59 Exploring Operation: 84-11=73, Resulting Numbers: [90, 70, 73] Generated Node #0,3: 53:[90, 70, 73] Operation: 84-11=73 Exploring Operation: 90-11=79, Resulting Numbers: [84, 70, 79] Generated Node #0,4: 53:[84, 70, 79] Operation: 90-11=79 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[90, 84, 59], Operations: ['70-11=59'] Exploring Operation: 90-84=6, Resulting Numbers: [59, 6] Generated Node #0,2,0: 53:[59, 6] Operation: 90-84=6 Exploring Operation: 90-59=31, Resulting Numbers: [84, 31] Generated Node #0,2,1: 53:[84, 31] Operation: 90-59=31 Exploring Operation: 84-59=25, Resulting Numbers: [90, 25] Generated Node #0,2,2: 53:[90, 25] Operation: 84-59=25 Exploring Operation: 90+84=174, Resulting Numbers: [59, 174] Generated Node #0,2,3: 53:[59, 174] Operation: 90+84=174 Exploring Operation: 90+59=149, Resulting Numbers: [84, 149] Generated Node #0,2,4: 53:[84, 149] Operation: 90+59=149 Moving to Node #0,2,0 Current State: 53:[59, 6], Operations: ['70-11=59', '90-84=6'] Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,53 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[11, 90, 84, 70], Operations: [] Exploring Operation: 70-11=59, Resulting Numbers: [90, 84, 59] Generated Node #0,2: 53:[90, 84, 59] Operation: 70-11=59 Moving to Node #0,2 Current State: 53:[90, 84, 59], Operations: ['70-11=59'] Exploring Operation: 90-84=6, Resulting Numbers: [59, 6] Generated Node #0,2,0: 53:[59, 6] Operation: 90-84=6 Moving to Node #0,2,0 Current State: 53:[59, 6], Operations: ['70-11=59', '90-84=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 94, 58, 68, 63 ]
95
[ "94-58=36", "68+63=131", "131-36=95" ]
Current State: 95:[94, 58, 68, 63], Operations: [] Exploring Operation: 94-58=36, Resulting Numbers: [68, 63, 36] Generated Node #2: [68, 63, 36] from Operation: 94-58=36 Current State: 95:[68, 63, 36], Operations: ['94-58=36'] Exploring Operation: 68+63=131, Resulting Numbers: [36, 131] Generated Node #3: [36, 131] from Operation: 68+63=131 Current State: 95:[36, 131], Operations: ['94-58=36', '68+63=131'] Exploring Operation: 131-36=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[94, 58, 68, 63], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [94, 63, 10] Generated Node #0,0: 95:[94, 63, 10] Operation: 68-58=10 Exploring Operation: 63-58=5, Resulting Numbers: [94, 68, 5] Generated Node #0,1: 95:[94, 68, 5] Operation: 63-58=5 Exploring Operation: 58+63=121, Resulting Numbers: [94, 68, 121] Generated Node #0,2: 95:[94, 68, 121] Operation: 58+63=121 Exploring Operation: 68-63=5, Resulting Numbers: [94, 58, 5] Generated Node #0,3: 95:[94, 58, 5] Operation: 68-63=5 Exploring Operation: 58+68=126, Resulting Numbers: [94, 63, 126] Generated Node #0,4: 95:[94, 63, 126] Operation: 58+68=126 Moving to Node #0,1 Current State: 95:[94, 68, 5], Operations: ['63-58=5'] Exploring Operation: 94-5=89, Resulting Numbers: [68, 89] Generated Node #0,1,0: 95:[68, 89] Operation: 94-5=89 Exploring Operation: 94+5=99, Resulting Numbers: [68, 99] Generated Node #0,1,1: 95:[68, 99] Operation: 94+5=99 Exploring Operation: 68+5=73, Resulting Numbers: [94, 73] Generated Node #0,1,2: 95:[94, 73] Operation: 68+5=73 Exploring Operation: 94-68=26, Resulting Numbers: [5, 26] Generated Node #0,1,3: 95:[5, 26] Operation: 94-68=26 Exploring Operation: 68-5=63, Resulting Numbers: [94, 63] Generated Node #0,1,4: 95:[94, 63] Operation: 68-5=63 Moving to Node #0,3 Current State: 95:[94, 58, 5], Operations: ['68-63=5'] Exploring Operation: 94-5=89, Resulting Numbers: [58, 89] Generated Node #0,3,0: 95:[58, 89] Operation: 94-5=89 Exploring Operation: 58+5=63, Resulting Numbers: [94, 63] Generated Node #0,3,1: 95:[94, 63] Operation: 58+5=63 Exploring Operation: 58-5=53, Resulting Numbers: [94, 53] Generated Node #0,3,2: 95:[94, 53] Operation: 58-5=53 Exploring Operation: 94-58=36, Resulting Numbers: [5, 36] Generated Node #0,3,3: 95:[5, 36] Operation: 94-58=36 Exploring Operation: 94+5=99, Resulting Numbers: [58, 99] Generated Node #0,3,4: 95:[58, 99] Operation: 94+5=99 Moving to Node #0,0 Current State: 95:[94, 63, 10], Operations: ['68-58=10'] Exploring Operation: 63+10=73, Resulting Numbers: [94, 73] Generated Node #0,0,0: 95:[94, 73] Operation: 63+10=73 Exploring Operation: 94-63=31, Resulting Numbers: [10, 31] Generated Node #0,0,1: 95:[10, 31] Operation: 94-63=31 Exploring Operation: 94+10=104, Resulting Numbers: [63, 104] Generated Node #0,0,2: 95:[63, 104] Operation: 94+10=104 Exploring Operation: 63-10=53, Resulting Numbers: [94, 53] Generated Node #0,0,3: 95:[94, 53] Operation: 63-10=53 Exploring Operation: 94-10=84, Resulting Numbers: [63, 84] Generated Node #0,0,4: 95:[63, 84] Operation: 94-10=84 Moving to Node #0,2 Current State: 95:[94, 68, 121], Operations: ['58+63=121'] Exploring Operation: 121-94=27, Resulting Numbers: [68, 27] Generated Node #0,2,0: 95:[68, 27] Operation: 121-94=27 Exploring Operation: 121-68=53, Resulting Numbers: [94, 53] Generated Node #0,2,1: 95:[94, 53] Operation: 121-68=53 Exploring Operation: 94-68=26, Resulting Numbers: [121, 26] Generated Node #0,2,2: 95:[121, 26] Operation: 94-68=26 Exploring Operation: 68+121=189, Resulting Numbers: [94, 189] Generated Node #0,2,3: 95:[94, 189] Operation: 68+121=189 Exploring Operation: 94+68=162, Resulting Numbers: [121, 162] Generated Node #0,2,4: 95:[121, 162] Operation: 94+68=162 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[121, 26], Operations: ['58+63=121', '94-68=26'] Exploring Operation: 121+26=147, Resulting Numbers: [147] 147,95 unequal: No Solution Exploring Operation: 121-26=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[94, 58, 68, 63], Operations: [] Exploring Operation: 58+63=121, Resulting Numbers: [94, 68, 121] Generated Node #0,2: 95:[94, 68, 121] Operation: 58+63=121 Moving to Node #0,2 Current State: 95:[94, 68, 121], Operations: ['58+63=121'] Exploring Operation: 94-68=26, Resulting Numbers: [121, 26] Generated Node #0,2,2: 95:[121, 26] Operation: 94-68=26 Moving to Node #0,2,2 Current State: 95:[121, 26], Operations: ['58+63=121', '94-68=26'] Exploring Operation: 121-26=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
mult_heuristic
[ 16, 72, 42, 18 ]
62
[ "16+42=58", "72/18=4", "58+4=62" ]
Current State: 62:[16, 72, 42, 18], Operations: [] Exploring Operation: 16+42=58, Resulting Numbers: [72, 18, 58] Generated Node #2: [72, 18, 58] from Operation: 16+42=58 Current State: 62:[72, 18, 58], Operations: ['16+42=58'] Exploring Operation: 72/18=4, Resulting Numbers: [58, 4] Generated Node #3: [58, 4] from Operation: 72/18=4 Current State: 62:[58, 4], Operations: ['16+42=58', '72/18=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[16, 72, 42, 18], Operations: [] Exploring Operation: 16+18=34, Resulting Numbers: [72, 42, 34] Generated Node #0,0: 62:[72, 42, 34] Operation: 16+18=34 Exploring Operation: 18-16=2, Resulting Numbers: [72, 42, 2] Generated Node #0,1: 62:[72, 42, 2] Operation: 18-16=2 Moving to Node #0,1 Current State: 62:[72, 42, 2], Operations: ['18-16=2'] Exploring Operation: 72/2=36, Resulting Numbers: [42, 36] Generated Node #0,1,0: 62:[42, 36] Operation: 72/2=36 Exploring Operation: 72-42=30, Resulting Numbers: [2, 30] Generated Node #0,1,1: 62:[2, 30] Operation: 72-42=30 Moving to Node #0,0 Current State: 62:[72, 42, 34], Operations: ['16+18=34'] Exploring Operation: 42-34=8, Resulting Numbers: [72, 8] Generated Node #0,0,0: 62:[72, 8] Operation: 42-34=8 Exploring Operation: 72-42=30, Resulting Numbers: [34, 30] Generated Node #0,0,1: 62:[34, 30] Operation: 72-42=30 Moving to Node #0,1,1 Current State: 62:[2, 30], Operations: ['18-16=2', '72-42=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,62 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[34, 30], Operations: ['16+18=34', '72-42=30'] Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[42, 36], Operations: ['18-16=2', '72/2=36'] Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,62 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[72, 8], Operations: ['16+18=34', '42-34=8'] Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,62 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 60, 5, 57, 7 ]
62
[ "60/5=12", "57-7=50", "12+50=62" ]
Current State: 62:[60, 5, 57, 7], Operations: [] Exploring Operation: 60/5=12, Resulting Numbers: [57, 7, 12] Generated Node #2: [57, 7, 12] from Operation: 60/5=12 Current State: 62:[57, 7, 12], Operations: ['60/5=12'] Exploring Operation: 57-7=50, Resulting Numbers: [12, 50] Generated Node #3: [12, 50] from Operation: 57-7=50 Current State: 62:[12, 50], Operations: ['60/5=12', '57-7=50'] Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[60, 5, 57, 7], Operations: [] Exploring Operation: 5+57=62, Resulting Numbers: [60, 7, 62] Generated Node #0,0: 62:[60, 7, 62] Operation: 5+57=62 Exploring Operation: 7-5=2, Resulting Numbers: [60, 57, 2] Generated Node #0,1: 62:[60, 57, 2] Operation: 7-5=2 Moving to Node #0,0 Current State: 62:[60, 7, 62], Operations: ['5+57=62'] Exploring Operation: 60+7=67, Resulting Numbers: [62, 67] Generated Node #0,0,0: 62:[62, 67] Operation: 60+7=67 Exploring Operation: 62-60=2, Resulting Numbers: [7, 2] Generated Node #0,0,1: 62:[7, 2] Operation: 62-60=2 Moving to Node #0,1 Current State: 62:[60, 57, 2], Operations: ['7-5=2'] Exploring Operation: 60-57=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 62:[2, 3] Operation: 60-57=3 Exploring Operation: 60+2=62, Resulting Numbers: [57, 62] Generated Node #0,1,1: 62:[57, 62] Operation: 60+2=62 Moving to Node #0,1,0 Current State: 62:[2, 3], Operations: ['7-5=2', '60-57=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[62, 67], Operations: ['5+57=62', '60+7=67'] Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 62+67=129, Resulting Numbers: [129] 129,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[7, 2], Operations: ['5+57=62', '62-60=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[57, 62], Operations: ['7-5=2', '60+2=62'] Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,62 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 51, 3, 63, 14 ]
97
[ "51-3=48", "63-14=49", "48+49=97" ]
Current State: 97:[51, 3, 63, 14], Operations: [] Exploring Operation: 51-3=48, Resulting Numbers: [63, 14, 48] Generated Node #2: [63, 14, 48] from Operation: 51-3=48 Current State: 97:[63, 14, 48], Operations: ['51-3=48'] Exploring Operation: 63-14=49, Resulting Numbers: [48, 49] Generated Node #3: [48, 49] from Operation: 63-14=49 Current State: 97:[48, 49], Operations: ['51-3=48', '63-14=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[51, 3, 63, 14], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [51, 63, 42] Generated Node #0,0: 97:[51, 63, 42] Operation: 3*14=42 Exploring Operation: 51+3=54, Resulting Numbers: [63, 14, 54] Generated Node #0,1: 97:[63, 14, 54] Operation: 51+3=54 Moving to Node #0,0 Current State: 97:[51, 63, 42], Operations: ['3*14=42'] Exploring Operation: 63+42=105, Resulting Numbers: [51, 105] Generated Node #0,0,0: 97:[51, 105] Operation: 63+42=105 Exploring Operation: 51+42=93, Resulting Numbers: [63, 93] Generated Node #0,0,1: 97:[63, 93] Operation: 51+42=93 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[63, 93], Operations: ['3*14=42', '51+42=93'] Exploring Operation: 63+93=156, Resulting Numbers: [156] 156,97 unequal: No Solution Exploring Operation: 93-63=30, Resulting Numbers: [30] 30,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[51, 105], Operations: ['3*14=42', '63+42=105'] Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 51+105=156, Resulting Numbers: [156] 156,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[63, 14, 54], Operations: ['51+3=54'] Exploring Operation: 14+54=68, Resulting Numbers: [63, 68] Generated Node #0,1,0: 97:[63, 68] Operation: 14+54=68 Exploring Operation: 63+14=77, Resulting Numbers: [54, 77] Generated Node #0,1,1: 97:[54, 77] Operation: 63+14=77 Moving to Node #0,1,0 Current State: 97:[63, 68], Operations: ['51+3=54', '14+54=68'] Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[54, 77], Operations: ['51+3=54', '63+14=77'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 54+77=131, Resulting Numbers: [131] 131,97 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 4, 9, 3, 21 ]
63
[ "4*3=12", "12-9=3", "21*3=63" ]
Current State: 63:[4, 9, 3, 21], Operations: [] Exploring Operation: 4*3=12, Resulting Numbers: [9, 21, 12] Generated Node #2: [9, 21, 12] from Operation: 4*3=12 Current State: 63:[9, 21, 12], Operations: ['4*3=12'] Exploring Operation: 12-9=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 12-9=3 Current State: 63:[21, 3], Operations: ['4*3=12', '12-9=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[4, 9, 3, 21], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [4, 21, 3] Generated Node #0,0: 63:[4, 21, 3] Operation: 9/3=3 Exploring Operation: 4+3=7, Resulting Numbers: [9, 21, 7] Generated Node #0,1: 63:[9, 21, 7] Operation: 4+3=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[9, 21, 7], Operations: ['4+3=7'] Exploring Operation: 9*7=63, Resulting Numbers: [21, 63] Generated Node #0,1,0: 63:[21, 63] Operation: 9*7=63 Exploring Operation: 21/7=3, Resulting Numbers: [9, 3] Generated Node #0,1,1: 63:[9, 3] Operation: 21/7=3 Moving to Node #0,1,0 Current State: 63:[21, 63], Operations: ['4+3=7', '9*7=63'] Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[9, 3], Operations: ['4+3=7', '21/7=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[4, 21, 3], Operations: ['9/3=3'] Exploring Operation: 4+3=7, Resulting Numbers: [21, 7] Generated Node #0,0,0: 63:[21, 7] Operation: 4+3=7 Exploring Operation: 21*3=63, Resulting Numbers: [4, 63] Generated Node #0,0,1: 63:[4, 63] Operation: 21*3=63 Moving to Node #0,0,0 Current State: 63:[21, 7], Operations: ['9/3=3', '4+3=7'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[4, 63], Operations: ['9/3=3', '21*3=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 33, 36, 43, 84 ]
28
[ "33+36=69", "84-43=41", "69-41=28" ]
Current State: 28:[33, 36, 43, 84], Operations: [] Exploring Operation: 33+36=69, Resulting Numbers: [43, 84, 69] Generated Node #2: [43, 84, 69] from Operation: 33+36=69 Current State: 28:[43, 84, 69], Operations: ['33+36=69'] Exploring Operation: 84-43=41, Resulting Numbers: [69, 41] Generated Node #3: [69, 41] from Operation: 84-43=41 Current State: 28:[69, 41], Operations: ['33+36=69', '84-43=41'] Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[33, 36, 43, 84], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [33, 36, 41] Generated Node #0,0: 28:[33, 36, 41] Operation: 84-43=41 Moving to Node #0,0 Current State: 28:[33, 36, 41], Operations: ['84-43=41'] Exploring Operation: 41-36=5, Resulting Numbers: [33, 5] Generated Node #0,0,0: 28:[33, 5] Operation: 41-36=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[33, 5], Operations: ['84-43=41', '41-36=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[33, 36, 43, 84], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [33, 36, 41] Generated Node #0,0: 28:[33, 36, 41] Operation: 84-43=41 Moving to Node #0,0 Current State: 28:[33, 36, 41], Operations: ['84-43=41'] Exploring Operation: 41-36=5, Resulting Numbers: [33, 5] Generated Node #0,0,0: 28:[33, 5] Operation: 41-36=5 Moving to Node #0,0,0 Current State: 28:[33, 5], Operations: ['84-43=41', '41-36=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 1, 93, 29, 4 ]
17
[ "93-29=64", "64/4=16", "1+16=17" ]
Current State: 17:[1, 93, 29, 4], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [1, 4, 64] Generated Node #2: [1, 4, 64] from Operation: 93-29=64 Current State: 17:[1, 4, 64], Operations: ['93-29=64'] Exploring Operation: 64/4=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 64/4=16 Current State: 17:[1, 16], Operations: ['93-29=64', '64/4=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[1, 93, 29, 4], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [1, 4, 64] Generated Node #0,0: 17:[1, 4, 64] Operation: 93-29=64 Exploring Operation: 93-1=92, Resulting Numbers: [29, 4, 92] Generated Node #0,1: 17:[29, 4, 92] Operation: 93-1=92 Moving to Node #0,0 Current State: 17:[1, 4, 64], Operations: ['93-29=64'] Exploring Operation: 1+4=5, Resulting Numbers: [64, 5] Generated Node #0,0,0: 17:[64, 5] Operation: 1+4=5 Exploring Operation: 64/4=16, Resulting Numbers: [1, 16] Generated Node #0,0,1: 17:[1, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[1, 16], Operations: ['93-29=64', '64/4=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[1, 93, 29, 4], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [1, 4, 64] Generated Node #0,0: 17:[1, 4, 64] Operation: 93-29=64 Moving to Node #0,0 Current State: 17:[1, 4, 64], Operations: ['93-29=64'] Exploring Operation: 64/4=16, Resulting Numbers: [1, 16] Generated Node #0,0,1: 17:[1, 16] Operation: 64/4=16 Moving to Node #0,0,1 Current State: 17:[1, 16], Operations: ['93-29=64', '64/4=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 62, 8, 86, 55 ]
71
[ "62+8=70", "86+55=141", "141-70=71" ]
Current State: 71:[62, 8, 86, 55], Operations: [] Exploring Operation: 62+8=70, Resulting Numbers: [86, 55, 70] Generated Node #2: [86, 55, 70] from Operation: 62+8=70 Current State: 71:[86, 55, 70], Operations: ['62+8=70'] Exploring Operation: 86+55=141, Resulting Numbers: [70, 141] Generated Node #3: [70, 141] from Operation: 86+55=141 Current State: 71:[70, 141], Operations: ['62+8=70', '86+55=141'] Exploring Operation: 141-70=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[62, 8, 86, 55], Operations: [] Exploring Operation: 86-8=78, Resulting Numbers: [62, 55, 78] Generated Node #0,0: 71:[62, 55, 78] Operation: 86-8=78 Exploring Operation: 8+55=63, Resulting Numbers: [62, 86, 63] Generated Node #0,1: 71:[62, 86, 63] Operation: 8+55=63 Exploring Operation: 62+8=70, Resulting Numbers: [86, 55, 70] Generated Node #0,2: 71:[86, 55, 70] Operation: 62+8=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[62, 55, 78], Operations: ['86-8=78'] Exploring Operation: 78-55=23, Resulting Numbers: [62, 23] Generated Node #0,0,0: 71:[62, 23] Operation: 78-55=23 Exploring Operation: 62-55=7, Resulting Numbers: [78, 7] Generated Node #0,0,1: 71:[78, 7] Operation: 62-55=7 Exploring Operation: 62+55=117, Resulting Numbers: [78, 117] Generated Node #0,0,2: 71:[78, 117] Operation: 62+55=117 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[78, 117], Operations: ['86-8=78', '62+55=117'] Exploring Operation: 78+117=195, Resulting Numbers: [195] 195,71 unequal: No Solution Exploring Operation: 78*117=9126, Resulting Numbers: [9126] 9126,71 unequal: No Solution Exploring Operation: 117-78=39, Resulting Numbers: [39] 39,71 unequal: No Solution No 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: 71:[62, 23], Operations: ['86-8=78', '78-55=23'] Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,71 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,71 unequal: No Solution No 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: 71:[78, 7], Operations: ['86-8=78', '62-55=7'] Exploring Operation: 78*7=546, Resulting Numbers: [546] 546,71 unequal: No Solution Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[62, 8, 86, 55], Operations: [] Exploring Operation: 86-8=78, Resulting Numbers: [62, 55, 78] Generated Node #0,0: 71:[62, 55, 78] Operation: 86-8=78 Moving to Node #0,0 Current State: 71:[62, 55, 78], Operations: ['86-8=78'] Exploring Operation: 62-55=7, Resulting Numbers: [78, 7] Generated Node #0,0,1: 71:[78, 7] Operation: 62-55=7 Moving to Node #0,0,1 Current State: 71:[78, 7], Operations: ['86-8=78', '62-55=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 20, 94, 38, 44 ]
17
[ "94+38=132", "132/44=3", "20-3=17" ]
Current State: 17:[20, 94, 38, 44], Operations: [] Exploring Operation: 94+38=132, Resulting Numbers: [20, 44, 132] Generated Node #2: [20, 44, 132] from Operation: 94+38=132 Current State: 17:[20, 44, 132], Operations: ['94+38=132'] Exploring Operation: 132/44=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 132/44=3 Current State: 17:[20, 3], Operations: ['94+38=132', '132/44=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[20, 94, 38, 44], Operations: [] Exploring Operation: 94-44=50, Resulting Numbers: [20, 38, 50] Generated Node #0,0: 17:[20, 38, 50] Operation: 94-44=50 Exploring Operation: 44-38=6, Resulting Numbers: [20, 94, 6] Generated Node #0,1: 17:[20, 94, 6] Operation: 44-38=6 Exploring Operation: 94-38=56, Resulting Numbers: [20, 44, 56] Generated Node #0,2: 17:[20, 44, 56] Operation: 94-38=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[20, 38, 50], Operations: ['94-44=50'] Exploring Operation: 38-20=18, Resulting Numbers: [50, 18] Generated Node #0,0,0: 17:[50, 18] Operation: 38-20=18 Exploring Operation: 50-38=12, Resulting Numbers: [20, 12] Generated Node #0,0,1: 17:[20, 12] Operation: 50-38=12 Exploring Operation: 50-20=30, Resulting Numbers: [38, 30] Generated Node #0,0,2: 17:[38, 30] Operation: 50-20=30 Moving to Node #0,0,1 Current State: 17:[20, 12], Operations: ['94-44=50', '50-38=12'] Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,17 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[50, 18], Operations: ['94-44=50', '38-20=18'] Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,17 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[38, 30], Operations: ['94-44=50', '50-20=30'] Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 38*30=1140, Resulting Numbers: [1140] 1140,17 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,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:[20, 44, 56], Operations: ['94-38=56'] Exploring Operation: 56-44=12, Resulting Numbers: [20, 12] Generated Node #0,2,0: 17:[20, 12] Operation: 56-44=12 Exploring Operation: 44-20=24, Resulting Numbers: [56, 24] Generated Node #0,2,1: 17:[56, 24] Operation: 44-20=24 Exploring Operation: 56-20=36, Resulting Numbers: [44, 36] Generated Node #0,2,2: 17:[44, 36] Operation: 56-20=36 Moving to Node #0,2,0 Current State: 17:[20, 12], Operations: ['94-38=56', '56-44=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,17 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[56, 24], Operations: ['94-38=56', '44-20=24'] Exploring Operation: 56*24=1344, Resulting Numbers: [1344] 1344,17 unequal: No Solution Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[44, 36], Operations: ['94-38=56', '56-20=36'] Exploring Operation: 44*36=1584, Resulting Numbers: [1584] 1584,17 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,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:[20, 94, 6], Operations: ['44-38=6'] Exploring Operation: 20-6=14, Resulting Numbers: [94, 14] Generated Node #0,1,0: 17:[94, 14] Operation: 20-6=14 Exploring Operation: 94-20=74, Resulting Numbers: [6, 74] Generated Node #0,1,1: 17:[6, 74] Operation: 94-20=74 Exploring Operation: 94-6=88, Resulting Numbers: [20, 88] Generated Node #0,1,2: 17:[20, 88] Operation: 94-6=88 Moving to Node #0,1,1 Current State: 17:[6, 74], Operations: ['44-38=6', '94-20=74'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 6+74=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 6*74=444, Resulting Numbers: [444] 444,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[20, 88], Operations: ['44-38=6', '94-6=88'] Exploring Operation: 20*88=1760, Resulting Numbers: [1760] 1760,17 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 20+88=108, Resulting Numbers: [108] 108,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[94, 14], Operations: ['44-38=6', '20-6=14'] Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 76, 66, 35, 90 ]
17
[ "76+66=142", "35+90=125", "142-125=17" ]
Current State: 17:[76, 66, 35, 90], Operations: [] Exploring Operation: 76+66=142, Resulting Numbers: [35, 90, 142] Generated Node #2: [35, 90, 142] from Operation: 76+66=142 Current State: 17:[35, 90, 142], Operations: ['76+66=142'] Exploring Operation: 35+90=125, Resulting Numbers: [142, 125] Generated Node #3: [142, 125] from Operation: 35+90=125 Current State: 17:[142, 125], Operations: ['76+66=142', '35+90=125'] Exploring Operation: 142-125=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[76, 66, 35, 90], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [66, 35, 14] Generated Node #0,0: 17:[66, 35, 14] Operation: 90-76=14 Moving to Node #0,0 Current State: 17:[66, 35, 14], Operations: ['90-76=14'] Exploring Operation: 66-35=31, Resulting Numbers: [14, 31] Generated Node #0,0,0: 17:[14, 31] Operation: 66-35=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[14, 31], Operations: ['90-76=14', '66-35=31'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[76, 66, 35, 90], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [66, 35, 14] Generated Node #0,0: 17:[66, 35, 14] Operation: 90-76=14 Moving to Node #0,0 Current State: 17:[66, 35, 14], Operations: ['90-76=14'] Exploring Operation: 66-35=31, Resulting Numbers: [14, 31] Generated Node #0,0,0: 17:[14, 31] Operation: 66-35=31 Moving to Node #0,0,0 Current State: 17:[14, 31], Operations: ['90-76=14', '66-35=31'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 45, 6, 28, 54 ]
25
[ "45+6=51", "54-28=26", "51-26=25" ]
Current State: 25:[45, 6, 28, 54], Operations: [] Exploring Operation: 45+6=51, Resulting Numbers: [28, 54, 51] Generated Node #2: [28, 54, 51] from Operation: 45+6=51 Current State: 25:[28, 54, 51], Operations: ['45+6=51'] Exploring Operation: 54-28=26, Resulting Numbers: [51, 26] Generated Node #3: [51, 26] from Operation: 54-28=26 Current State: 25:[51, 26], Operations: ['45+6=51', '54-28=26'] Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[45, 6, 28, 54], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [45, 28, 9] Generated Node #0,0: 25:[45, 28, 9] Operation: 54/6=9 Exploring Operation: 54-28=26, Resulting Numbers: [45, 6, 26] Generated Node #0,1: 25:[45, 6, 26] Operation: 54-28=26 Exploring Operation: 54-45=9, Resulting Numbers: [6, 28, 9] Generated Node #0,2: 25:[6, 28, 9] Operation: 54-45=9 Exploring Operation: 45-28=17, Resulting Numbers: [6, 54, 17] Generated Node #0,3: 25:[6, 54, 17] Operation: 45-28=17 Moving to Node #0,2 Current State: 25:[6, 28, 9], Operations: ['54-45=9'] Exploring Operation: 28-6=22, Resulting Numbers: [9, 22] Generated Node #0,2,0: 25:[9, 22] Operation: 28-6=22 Exploring Operation: 28-9=19, Resulting Numbers: [6, 19] Generated Node #0,2,1: 25:[6, 19] Operation: 28-9=19 Exploring Operation: 9-6=3, Resulting Numbers: [28, 3] Generated Node #0,2,2: 25:[28, 3] Operation: 9-6=3 Exploring Operation: 6+28=34, Resulting Numbers: [9, 34] Generated Node #0,2,3: 25:[9, 34] Operation: 6+28=34 Moving to Node #0,1 Current State: 25:[45, 6, 26], Operations: ['54-28=26'] Exploring Operation: 45-6=39, Resulting Numbers: [26, 39] Generated Node #0,1,0: 25:[26, 39] Operation: 45-6=39 Exploring Operation: 26-6=20, Resulting Numbers: [45, 20] Generated Node #0,1,1: 25:[45, 20] Operation: 26-6=20 Exploring Operation: 45-26=19, Resulting Numbers: [6, 19] Generated Node #0,1,2: 25:[6, 19] Operation: 45-26=19 Exploring Operation: 45+6=51, Resulting Numbers: [26, 51] Generated Node #0,1,3: 25:[26, 51] Operation: 45+6=51 Moving to Node #0,0 Current State: 25:[45, 28, 9], Operations: ['54/6=9'] Exploring Operation: 45-9=36, Resulting Numbers: [28, 36] Generated Node #0,0,0: 25:[28, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [28, 5] Generated Node #0,0,1: 25:[28, 5] Operation: 45/9=5 Exploring Operation: 28-9=19, Resulting Numbers: [45, 19] Generated Node #0,0,2: 25:[45, 19] Operation: 28-9=19 Exploring Operation: 45-28=17, Resulting Numbers: [9, 17] Generated Node #0,0,3: 25:[9, 17] Operation: 45-28=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[28, 5], Operations: ['54/6=9', '45/9=5'] Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,25 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,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,3 Current State: 25:[9, 17], Operations: ['54/6=9', '45-28=17'] Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,25 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[28, 36], Operations: ['54/6=9', '45-9=36'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,25 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,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,2 Current State: 25:[45, 19], Operations: ['54/6=9', '28-9=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,25 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: 25:[6, 54, 17], Operations: ['45-28=17'] Exploring Operation: 54-17=37, Resulting Numbers: [6, 37] Generated Node #0,3,0: 25:[6, 37] Operation: 54-17=37 Exploring Operation: 54-6=48, Resulting Numbers: [17, 48] Generated Node #0,3,1: 25:[17, 48] Operation: 54-6=48 Exploring Operation: 54/6=9, Resulting Numbers: [17, 9] Generated Node #0,3,2: 25:[17, 9] Operation: 54/6=9 Exploring Operation: 6+17=23, Resulting Numbers: [54, 23] Generated Node #0,3,3: 25:[54, 23] Operation: 6+17=23 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[17, 9], Operations: ['45-28=17', '54/6=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,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:[6, 37], Operations: ['45-28=17', '54-17=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,25 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,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:[17, 48], Operations: ['45-28=17', '54-6=48'] Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,25 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,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:[54, 23], Operations: ['45-28=17', '6+17=23'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 25:[28, 3], Operations: ['54-45=9', '9-6=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[45, 6, 28, 54], Operations: [] Exploring Operation: 54-45=9, Resulting Numbers: [6, 28, 9] Generated Node #0,2: 25:[6, 28, 9] Operation: 54-45=9 Moving to Node #0,2 Current State: 25:[6, 28, 9], Operations: ['54-45=9'] Exploring Operation: 9-6=3, Resulting Numbers: [28, 3] Generated Node #0,2,2: 25:[28, 3] Operation: 9-6=3 Moving to Node #0,2,2 Current State: 25:[28, 3], Operations: ['54-45=9', '9-6=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 24, 66, 22, 33 ]
53
[ "66-24=42", "33-22=11", "42+11=53" ]
Current State: 53:[24, 66, 22, 33], Operations: [] Exploring Operation: 66-24=42, Resulting Numbers: [22, 33, 42] Generated Node #2: [22, 33, 42] from Operation: 66-24=42 Current State: 53:[22, 33, 42], Operations: ['66-24=42'] Exploring Operation: 33-22=11, Resulting Numbers: [42, 11] Generated Node #3: [42, 11] from Operation: 33-22=11 Current State: 53:[42, 11], Operations: ['66-24=42', '33-22=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[24, 66, 22, 33], Operations: [] Exploring Operation: 24+33=57, Resulting Numbers: [66, 22, 57] Generated Node #0,0: 53:[66, 22, 57] Operation: 24+33=57 Exploring Operation: 22+33=55, Resulting Numbers: [24, 66, 55] Generated Node #0,1: 53:[24, 66, 55] Operation: 22+33=55 Exploring Operation: 24+22=46, Resulting Numbers: [66, 33, 46] Generated Node #0,2: 53:[66, 33, 46] Operation: 24+22=46 Moving to Node #0,2 Current State: 53:[66, 33, 46], Operations: ['24+22=46'] Exploring Operation: 66-33=33, Resulting Numbers: [46, 33] Generated Node #0,2,0: 53:[46, 33] Operation: 66-33=33 Exploring Operation: 33+46=79, Resulting Numbers: [66, 79] Generated Node #0,2,1: 53:[66, 79] Operation: 33+46=79 Exploring Operation: 66+33=99, Resulting Numbers: [46, 99] Generated Node #0,2,2: 53:[46, 99] Operation: 66+33=99 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[46, 33], Operations: ['24+22=46', '66-33=33'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,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,2,1 Current State: 53:[66, 79], Operations: ['24+22=46', '33+46=79'] Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,53 unequal: No Solution Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,53 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,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,2,2 Current State: 53:[46, 99], Operations: ['24+22=46', '66+33=99'] Exploring Operation: 46+99=145, Resulting Numbers: [145] 145,53 unequal: No Solution Exploring Operation: 46*99=4554, Resulting Numbers: [4554] 4554,53 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[24, 66, 22, 33], Operations: [] Exploring Operation: 24+22=46, Resulting Numbers: [66, 33, 46] Generated Node #0,2: 53:[66, 33, 46] Operation: 24+22=46 Moving to Node #0,2 Current State: 53:[66, 33, 46], Operations: ['24+22=46'] Exploring Operation: 66+33=99, Resulting Numbers: [46, 99] Generated Node #0,2,2: 53:[46, 99] Operation: 66+33=99 Moving to Node #0,2,2 Current State: 53:[46, 99], Operations: ['24+22=46', '66+33=99'] Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 82, 36, 88, 26 ]
60
[ "88-82=6", "36-26=10", "6*10=60" ]
Current State: 60:[82, 36, 88, 26], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [36, 26, 6] Generated Node #2: [36, 26, 6] from Operation: 88-82=6 Current State: 60:[36, 26, 6], Operations: ['88-82=6'] Exploring Operation: 36-26=10, Resulting Numbers: [6, 10] Generated Node #3: [6, 10] from Operation: 36-26=10 Current State: 60:[6, 10], Operations: ['88-82=6', '36-26=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[82, 36, 88, 26], Operations: [] Exploring Operation: 88-26=62, Resulting Numbers: [82, 36, 62] Generated Node #0,0: 60:[82, 36, 62] Operation: 88-26=62 Exploring Operation: 88-36=52, Resulting Numbers: [82, 26, 52] Generated Node #0,1: 60:[82, 26, 52] Operation: 88-36=52 Exploring Operation: 88-82=6, Resulting Numbers: [36, 26, 6] Generated Node #0,2: 60:[36, 26, 6] Operation: 88-82=6 Exploring Operation: 82-26=56, Resulting Numbers: [36, 88, 56] Generated Node #0,3: 60:[36, 88, 56] Operation: 82-26=56 Exploring Operation: 82-36=46, Resulting Numbers: [88, 26, 46] Generated Node #0,4: 60:[88, 26, 46] Operation: 82-36=46 Moving to Node #0,2 Current State: 60:[36, 26, 6], Operations: ['88-82=6'] Exploring Operation: 36-26=10, Resulting Numbers: [6, 10] Generated Node #0,2,0: 60:[6, 10] Operation: 36-26=10 Exploring Operation: 26-6=20, Resulting Numbers: [36, 20] Generated Node #0,2,1: 60:[36, 20] Operation: 26-6=20 Exploring Operation: 36+26=62, Resulting Numbers: [6, 62] Generated Node #0,2,2: 60:[6, 62] Operation: 36+26=62 Exploring Operation: 36/6=6, Resulting Numbers: [26, 6] Generated Node #0,2,3: 60:[26, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [26, 30] Generated Node #0,2,4: 60:[26, 30] Operation: 36-6=30 Moving to Node #0,0 Current State: 60:[82, 36, 62], Operations: ['88-26=62'] Exploring Operation: 82+36=118, Resulting Numbers: [62, 118] Generated Node #0,0,0: 60:[62, 118] Operation: 82+36=118 Exploring Operation: 82-62=20, Resulting Numbers: [36, 20] Generated Node #0,0,1: 60:[36, 20] Operation: 82-62=20 Exploring Operation: 36+62=98, Resulting Numbers: [82, 98] Generated Node #0,0,2: 60:[82, 98] Operation: 36+62=98 Exploring Operation: 82-36=46, Resulting Numbers: [62, 46] Generated Node #0,0,3: 60:[62, 46] Operation: 82-36=46 Exploring Operation: 62-36=26, Resulting Numbers: [82, 26] Generated Node #0,0,4: 60:[82, 26] Operation: 62-36=26 Moving to Node #0,1 Current State: 60:[82, 26, 52], Operations: ['88-36=52'] Exploring Operation: 82-52=30, Resulting Numbers: [26, 30] Generated Node #0,1,0: 60:[26, 30] Operation: 82-52=30 Exploring Operation: 82-26=56, Resulting Numbers: [52, 56] Generated Node #0,1,1: 60:[52, 56] Operation: 82-26=56 Exploring Operation: 26+52=78, Resulting Numbers: [82, 78] Generated Node #0,1,2: 60:[82, 78] Operation: 26+52=78 Exploring Operation: 52/26=2, Resulting Numbers: [82, 2] Generated Node #0,1,3: 60:[82, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [82, 26] Generated Node #0,1,4: 60:[82, 26] Operation: 52-26=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[26, 30], Operations: ['88-36=52', '82-52=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,60 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,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,1,1 Current State: 60:[52, 56], Operations: ['88-36=52', '82-26=56'] Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,60 unequal: No Solution Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,60 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,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,1,3 Current State: 60:[82, 2], Operations: ['88-36=52', '52/26=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,60 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,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,1,4 Current State: 60:[82, 26], Operations: ['88-36=52', '52-26=26'] Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,60 unequal: No Solution Exploring Operation: 82*26=2132, Resulting Numbers: [2132] 2132,60 unequal: No Solution Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,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,1,2 Current State: 60:[82, 78], Operations: ['88-36=52', '26+52=78'] Exploring Operation: 82*78=6396, Resulting Numbers: [6396] 6396,60 unequal: No Solution Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 82+78=160, Resulting Numbers: [160] 160,60 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: 60:[36, 88, 56], Operations: ['82-26=56'] Exploring Operation: 88-56=32, Resulting Numbers: [36, 32] Generated Node #0,3,0: 60:[36, 32] Operation: 88-56=32 Exploring Operation: 88-36=52, Resulting Numbers: [56, 52] Generated Node #0,3,1: 60:[56, 52] Operation: 88-36=52 Exploring Operation: 56-36=20, Resulting Numbers: [88, 20] Generated Node #0,3,2: 60:[88, 20] Operation: 56-36=20 Exploring Operation: 36+56=92, Resulting Numbers: [88, 92] Generated Node #0,3,3: 60:[88, 92] Operation: 36+56=92 Exploring Operation: 36+88=124, Resulting Numbers: [56, 124] Generated Node #0,3,4: 60:[56, 124] Operation: 36+88=124 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 60:[36, 32], Operations: ['82-26=56', '88-56=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,60 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,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,3,1 Current State: 60:[56, 52], Operations: ['82-26=56', '88-36=52'] Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,60 unequal: No Solution Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,60 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,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,3,2 Current State: 60:[88, 20], Operations: ['82-26=56', '56-36=20'] Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,60 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,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,3,3 Current State: 60:[88, 92], Operations: ['82-26=56', '36+56=92'] Exploring Operation: 88+92=180, Resulting Numbers: [180] 180,60 unequal: No Solution Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 88*92=8096, Resulting Numbers: [8096] 8096,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,3,4 Current State: 60:[56, 124], Operations: ['82-26=56', '36+88=124'] Exploring Operation: 56+124=180, Resulting Numbers: [180] 180,60 unequal: No Solution Exploring Operation: 56*124=6944, Resulting Numbers: [6944] 6944,60 unequal: No Solution Exploring Operation: 124-56=68, Resulting Numbers: [68] 68,60 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: 60:[88, 26, 46], Operations: ['82-36=46'] Exploring Operation: 46-26=20, Resulting Numbers: [88, 20] Generated Node #0,4,0: 60:[88, 20] Operation: 46-26=20 Exploring Operation: 88-26=62, Resulting Numbers: [46, 62] Generated Node #0,4,1: 60:[46, 62] Operation: 88-26=62 Exploring Operation: 26+46=72, Resulting Numbers: [88, 72] Generated Node #0,4,2: 60:[88, 72] Operation: 26+46=72 Exploring Operation: 88+26=114, Resulting Numbers: [46, 114] Generated Node #0,4,3: 60:[46, 114] Operation: 88+26=114 Exploring Operation: 88-46=42, Resulting Numbers: [26, 42] Generated Node #0,4,4: 60:[26, 42] Operation: 88-46=42 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 60:[46, 62], Operations: ['82-36=46', '88-26=62'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,60 unequal: No Solution Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,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:[26, 42], Operations: ['82-36=46', '88-46=42'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 26+42=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 26*42=1092, Resulting Numbers: [1092] 1092,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:[88, 20], Operations: ['82-36=46', '46-26=20'] Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,60 unequal: No Solution Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,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:[88, 72], Operations: ['82-36=46', '26+46=72'] Exploring Operation: 88*72=6336, Resulting Numbers: [6336] 6336,60 unequal: No Solution Exploring Operation: 88+72=160, Resulting Numbers: [160] 160,60 unequal: No Solution Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,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:[46, 114], Operations: ['82-36=46', '88+26=114'] Exploring Operation: 46+114=160, Resulting Numbers: [160] 160,60 unequal: No Solution Exploring Operation: 114-46=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 46*114=5244, Resulting Numbers: [5244] 5244,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 60:[6, 10], Operations: ['88-82=6', '36-26=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[82, 36, 88, 26], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [36, 26, 6] Generated Node #0,2: 60:[36, 26, 6] Operation: 88-82=6 Moving to Node #0,2 Current State: 60:[36, 26, 6], Operations: ['88-82=6'] Exploring Operation: 36-26=10, Resulting Numbers: [6, 10] Generated Node #0,2,0: 60:[6, 10] Operation: 36-26=10 Moving to Node #0,2,0 Current State: 60:[6, 10], Operations: ['88-82=6', '36-26=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.928819
hs_5
sum_heuristic
[ 74, 38, 56, 1 ]
57
[ "74+38=112", "56-1=55", "112-55=57" ]
Current State: 57:[74, 38, 56, 1], Operations: [] Exploring Operation: 74+38=112, Resulting Numbers: [56, 1, 112] Generated Node #2: [56, 1, 112] from Operation: 74+38=112 Current State: 57:[56, 1, 112], Operations: ['74+38=112'] Exploring Operation: 56-1=55, Resulting Numbers: [112, 55] Generated Node #3: [112, 55] from Operation: 56-1=55 Current State: 57:[112, 55], Operations: ['74+38=112', '56-1=55'] Exploring Operation: 112-55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[74, 38, 56, 1], Operations: [] Exploring Operation: 74-38=36, Resulting Numbers: [56, 1, 36] Generated Node #0,0: 57:[56, 1, 36] Operation: 74-38=36 Exploring Operation: 74-56=18, Resulting Numbers: [38, 1, 18] Generated Node #0,1: 57:[38, 1, 18] Operation: 74-56=18 Exploring Operation: 56-38=18, Resulting Numbers: [74, 1, 18] Generated Node #0,2: 57:[74, 1, 18] Operation: 56-38=18 Moving to Node #0,0 Current State: 57:[56, 1, 36], Operations: ['74-38=36'] Exploring Operation: 56+1=57, Resulting Numbers: [36, 57] Generated Node #0,0,0: 57:[36, 57] Operation: 56+1=57 Exploring Operation: 36-1=35, Resulting Numbers: [56, 35] Generated Node #0,0,1: 57:[56, 35] Operation: 36-1=35 Exploring Operation: 56-36=20, Resulting Numbers: [1, 20] Generated Node #0,0,2: 57:[1, 20] Operation: 56-36=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[1, 20], Operations: ['74-38=36', '56-36=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[36, 57], Operations: ['74-38=36', '56+1=57'] Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,57 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[56, 35], Operations: ['74-38=36', '36-1=35'] Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,57 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,57 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: 57:[74, 1, 18], Operations: ['56-38=18'] Exploring Operation: 74-1=73, Resulting Numbers: [18, 73] Generated Node #0,2,0: 57:[18, 73] Operation: 74-1=73 Exploring Operation: 74-18=56, Resulting Numbers: [1, 56] Generated Node #0,2,1: 57:[1, 56] Operation: 74-18=56 Exploring Operation: 1+18=19, Resulting Numbers: [74, 19] Generated Node #0,2,2: 57:[74, 19] Operation: 1+18=19 Moving to Node #0,1 Current State: 57:[38, 1, 18], Operations: ['74-56=18'] Exploring Operation: 38+18=56, Resulting Numbers: [1, 56] Generated Node #0,1,0: 57:[1, 56] Operation: 38+18=56 Exploring Operation: 38+1=39, Resulting Numbers: [18, 39] Generated Node #0,1,1: 57:[18, 39] Operation: 38+1=39 Exploring Operation: 38-18=20, Resulting Numbers: [1, 20] Generated Node #0,1,2: 57:[1, 20] Operation: 38-18=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[1, 56], Operations: ['74-56=18', '38+18=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[74, 38, 56, 1], Operations: [] Exploring Operation: 74-56=18, Resulting Numbers: [38, 1, 18] Generated Node #0,1: 57:[38, 1, 18] Operation: 74-56=18 Moving to Node #0,1 Current State: 57:[38, 1, 18], Operations: ['74-56=18'] Exploring Operation: 38+18=56, Resulting Numbers: [1, 56] Generated Node #0,1,0: 57:[1, 56] Operation: 38+18=56 Moving to Node #0,1,0 Current State: 57:[1, 56], Operations: ['74-56=18', '38+18=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 31, 51, 22, 26 ]
68
[ "51-31=20", "22+26=48", "20+48=68" ]
Current State: 68:[31, 51, 22, 26], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [22, 26, 20] Generated Node #2: [22, 26, 20] from Operation: 51-31=20 Current State: 68:[22, 26, 20], Operations: ['51-31=20'] Exploring Operation: 22+26=48, Resulting Numbers: [20, 48] Generated Node #3: [20, 48] from Operation: 22+26=48 Current State: 68:[20, 48], Operations: ['51-31=20', '22+26=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[31, 51, 22, 26], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [22, 26, 20] Generated Node #0,0: 68:[22, 26, 20] Operation: 51-31=20 Moving to Node #0,0 Current State: 68:[22, 26, 20], Operations: ['51-31=20'] Exploring Operation: 26-22=4, Resulting Numbers: [20, 4] Generated Node #0,0,0: 68:[20, 4] Operation: 26-22=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[20, 4], Operations: ['51-31=20', '26-22=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 49, 26, 77, 79 ]
21
[ "49-26=23", "79-77=2", "23-2=21" ]
Current State: 21:[49, 26, 77, 79], Operations: [] Exploring Operation: 49-26=23, Resulting Numbers: [77, 79, 23] Generated Node #2: [77, 79, 23] from Operation: 49-26=23 Current State: 21:[77, 79, 23], Operations: ['49-26=23'] Exploring Operation: 79-77=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 79-77=2 Current State: 21:[23, 2], Operations: ['49-26=23', '79-77=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[49, 26, 77, 79], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [26, 79, 28] Generated Node #0,0: 21:[26, 79, 28] Operation: 77-49=28 Exploring Operation: 79-77=2, Resulting Numbers: [49, 26, 2] Generated Node #0,1: 21:[49, 26, 2] Operation: 79-77=2 Exploring Operation: 79-49=30, Resulting Numbers: [26, 77, 30] Generated Node #0,2: 21:[26, 77, 30] Operation: 79-49=30 Moving to Node #0,1 Current State: 21:[49, 26, 2], Operations: ['79-77=2'] Exploring Operation: 26-2=24, Resulting Numbers: [49, 24] Generated Node #0,1,0: 21:[49, 24] Operation: 26-2=24 Exploring Operation: 49-26=23, Resulting Numbers: [2, 23] Generated Node #0,1,1: 21:[2, 23] Operation: 49-26=23 Exploring Operation: 49-2=47, Resulting Numbers: [26, 47] Generated Node #0,1,2: 21:[26, 47] Operation: 49-2=47 Moving to Node #0,0 Current State: 21:[26, 79, 28], Operations: ['77-49=28'] Exploring Operation: 79-28=51, Resulting Numbers: [26, 51] Generated Node #0,0,0: 21:[26, 51] Operation: 79-28=51 Exploring Operation: 79-26=53, Resulting Numbers: [28, 53] Generated Node #0,0,1: 21:[28, 53] Operation: 79-26=53 Exploring Operation: 28-26=2, Resulting Numbers: [79, 2] Generated Node #0,0,2: 21:[79, 2] Operation: 28-26=2 Moving to Node #0,2 Current State: 21:[26, 77, 30], Operations: ['79-49=30'] Exploring Operation: 77-30=47, Resulting Numbers: [26, 47] Generated Node #0,2,0: 21:[26, 47] Operation: 77-30=47 Exploring Operation: 30-26=4, Resulting Numbers: [77, 4] Generated Node #0,2,1: 21:[77, 4] Operation: 30-26=4 Exploring Operation: 77-26=51, Resulting Numbers: [30, 51] Generated Node #0,2,2: 21:[30, 51] Operation: 77-26=51 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[26, 47], Operations: ['79-49=30', '77-30=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,21 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[49, 26, 77, 79], Operations: [] Exploring Operation: 79-49=30, Resulting Numbers: [26, 77, 30] Generated Node #0,2: 21:[26, 77, 30] Operation: 79-49=30 Moving to Node #0,2 Current State: 21:[26, 77, 30], Operations: ['79-49=30'] Exploring Operation: 77-30=47, Resulting Numbers: [26, 47] Generated Node #0,2,0: 21:[26, 47] Operation: 77-30=47 Moving to Node #0,2,0 Current State: 21:[26, 47], Operations: ['79-49=30', '77-30=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 66, 68, 35, 44 ]
42
[ "68-35=33", "66/33=2", "44-2=42" ]
Current State: 42:[66, 68, 35, 44], Operations: [] Exploring Operation: 68-35=33, Resulting Numbers: [66, 44, 33] Generated Node #2: [66, 44, 33] from Operation: 68-35=33 Current State: 42:[66, 44, 33], Operations: ['68-35=33'] Exploring Operation: 66/33=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 66/33=2 Current State: 42:[44, 2], Operations: ['68-35=33', '66/33=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[66, 68, 35, 44], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [68, 35, 22] Generated Node #0,0: 42:[68, 35, 22] Operation: 66-44=22 Exploring Operation: 68-66=2, Resulting Numbers: [35, 44, 2] Generated Node #0,1: 42:[35, 44, 2] Operation: 68-66=2 Exploring Operation: 68-44=24, Resulting Numbers: [66, 35, 24] Generated Node #0,2: 42:[66, 35, 24] Operation: 68-44=24 Exploring Operation: 68-35=33, Resulting Numbers: [66, 44, 33] Generated Node #0,3: 42:[66, 44, 33] Operation: 68-35=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[35, 44, 2], Operations: ['68-66=2'] Exploring Operation: 35+2=37, Resulting Numbers: [44, 37] Generated Node #0,1,0: 42:[44, 37] Operation: 35+2=37 Exploring Operation: 44-2=42, Resulting Numbers: [35, 42] Generated Node #0,1,1: 42:[35, 42] Operation: 44-2=42 Exploring Operation: 44-35=9, Resulting Numbers: [2, 9] Generated Node #0,1,2: 42:[2, 9] Operation: 44-35=9 Exploring Operation: 44/2=22, Resulting Numbers: [35, 22] Generated Node #0,1,3: 42:[35, 22] Operation: 44/2=22 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[2, 9], Operations: ['68-66=2', '44-35=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,42 unequal: No Solution No 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: 42:[44, 37], Operations: ['68-66=2', '35+2=37'] Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,42 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,42 unequal: No Solution No 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: 42:[35, 42], Operations: ['68-66=2', '44-2=42'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,42 unequal: No Solution No 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: 42:[35, 22], Operations: ['68-66=2', '44/2=22'] Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,42 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,42 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: 42:[68, 35, 22], Operations: ['66-44=22'] Exploring Operation: 68-35=33, Resulting Numbers: [22, 33] Generated Node #0,0,0: 42:[22, 33] Operation: 68-35=33 Exploring Operation: 68-22=46, Resulting Numbers: [35, 46] Generated Node #0,0,1: 42:[35, 46] Operation: 68-22=46 Exploring Operation: 35+22=57, Resulting Numbers: [68, 57] Generated Node #0,0,2: 42:[68, 57] Operation: 35+22=57 Exploring Operation: 35-22=13, Resulting Numbers: [68, 13] Generated Node #0,0,3: 42:[68, 13] Operation: 35-22=13 Moving to Node #0,0,0 Current State: 42:[22, 33], Operations: ['66-44=22', '68-35=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,42 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[35, 46], Operations: ['66-44=22', '68-22=46'] Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,42 unequal: No Solution Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[68, 13], Operations: ['66-44=22', '35-22=13'] Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,42 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[68, 57], Operations: ['66-44=22', '35+22=57'] Exploring Operation: 68*57=3876, Resulting Numbers: [3876] 3876,42 unequal: No Solution Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,42 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[66, 35, 24], Operations: ['68-44=24'] Exploring Operation: 66-24=42, Resulting Numbers: [35, 42] Generated Node #0,2,0: 42:[35, 42] Operation: 66-24=42 Exploring Operation: 35+24=59, Resulting Numbers: [66, 59] Generated Node #0,2,1: 42:[66, 59] Operation: 35+24=59 Exploring Operation: 35-24=11, Resulting Numbers: [66, 11] Generated Node #0,2,2: 42:[66, 11] Operation: 35-24=11 Exploring Operation: 66-35=31, Resulting Numbers: [24, 31] Generated Node #0,2,3: 42:[24, 31] Operation: 66-35=31 Moving to Node #0,2,0 Current State: 42:[35, 42], Operations: ['68-44=24', '66-24=42'] Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,42 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[24, 31], Operations: ['68-44=24', '66-35=31'] Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,42 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[66, 11], Operations: ['68-44=24', '35-24=11'] Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,42 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[66, 59], Operations: ['68-44=24', '35+24=59'] Exploring Operation: 66+59=125, Resulting Numbers: [125] 125,42 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 66*59=3894, Resulting Numbers: [3894] 3894,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[66, 44, 33], Operations: ['68-35=33'] Exploring Operation: 66-44=22, Resulting Numbers: [33, 22] Generated Node #0,3,0: 42:[33, 22] Operation: 66-44=22 Exploring Operation: 66/33=2, Resulting Numbers: [44, 2] Generated Node #0,3,1: 42:[44, 2] Operation: 66/33=2 Exploring Operation: 44-33=11, Resulting Numbers: [66, 11] Generated Node #0,3,2: 42:[66, 11] Operation: 44-33=11 Exploring Operation: 66-33=33, Resulting Numbers: [44, 33] Generated Node #0,3,3: 42:[44, 33] Operation: 66-33=33 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[44, 2], Operations: ['68-35=33', '66/33=2'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[66, 68, 35, 44], Operations: [] Exploring Operation: 68-35=33, Resulting Numbers: [66, 44, 33] Generated Node #0,3: 42:[66, 44, 33] Operation: 68-35=33 Moving to Node #0,3 Current State: 42:[66, 44, 33], Operations: ['68-35=33'] Exploring Operation: 66/33=2, Resulting Numbers: [44, 2] Generated Node #0,3,1: 42:[44, 2] Operation: 66/33=2 Moving to Node #0,3,1 Current State: 42:[44, 2], Operations: ['68-35=33', '66/33=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.945313
hs_4
mult_heuristic
[ 4, 42, 76, 62 ]
31
[ "42-4=38", "76/38=2", "62/2=31" ]
Current State: 31:[4, 42, 76, 62], Operations: [] Exploring Operation: 42-4=38, Resulting Numbers: [76, 62, 38] Generated Node #2: [76, 62, 38] from Operation: 42-4=38 Current State: 31:[76, 62, 38], Operations: ['42-4=38'] Exploring Operation: 76/38=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 76/38=2 Current State: 31:[62, 2], Operations: ['42-4=38', '76/38=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[4, 42, 76, 62], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [42, 62, 19] Generated Node #0,0: 31:[42, 62, 19] Operation: 76/4=19 Moving to Node #0,0 Current State: 31:[42, 62, 19], Operations: ['76/4=19'] Exploring Operation: 62-42=20, Resulting Numbers: [19, 20] Generated Node #0,0,0: 31:[19, 20] Operation: 62-42=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[19, 20], Operations: ['76/4=19', '62-42=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,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
[ 81, 63, 2, 80 ]
16
[ "81+63=144", "2*80=160", "160-144=16" ]
Current State: 16:[81, 63, 2, 80], Operations: [] Exploring Operation: 81+63=144, Resulting Numbers: [2, 80, 144] Generated Node #2: [2, 80, 144] from Operation: 81+63=144 Current State: 16:[2, 80, 144], Operations: ['81+63=144'] Exploring Operation: 2*80=160, Resulting Numbers: [144, 160] Generated Node #3: [144, 160] from Operation: 2*80=160 Current State: 16:[144, 160], Operations: ['81+63=144', '2*80=160'] Exploring Operation: 160-144=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[81, 63, 2, 80], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [63, 2, 1] Generated Node #0,0: 16:[63, 2, 1] Operation: 81-80=1 Exploring Operation: 81-63=18, Resulting Numbers: [2, 80, 18] Generated Node #0,1: 16:[2, 80, 18] Operation: 81-63=18 Moving to Node #0,0 Current State: 16:[63, 2, 1], Operations: ['81-80=1'] Exploring Operation: 63-1=62, Resulting Numbers: [2, 62] Generated Node #0,0,0: 16:[2, 62] Operation: 63-1=62 Exploring Operation: 63-2=61, Resulting Numbers: [1, 61] Generated Node #0,0,1: 16:[1, 61] Operation: 63-2=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[2, 62], Operations: ['81-80=1', '63-1=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[1, 61], Operations: ['81-80=1', '63-2=61'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,16 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: 16:[2, 80, 18], Operations: ['81-63=18'] Exploring Operation: 80/2=40, Resulting Numbers: [18, 40] Generated Node #0,1,0: 16:[18, 40] Operation: 80/2=40 Exploring Operation: 80-18=62, Resulting Numbers: [2, 62] Generated Node #0,1,1: 16:[2, 62] Operation: 80-18=62 Moving to Node #0,1,0 Current State: 16:[18, 40], Operations: ['81-63=18', '80/2=40'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[2, 62], Operations: ['81-63=18', '80-18=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,16 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 69, 88, 4, 5 ]
99
[ "88-69=19", "5*19=95", "4+95=99" ]
Current State: 99:[69, 88, 4, 5], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [4, 5, 19] Generated Node #2: [4, 5, 19] from Operation: 88-69=19 Current State: 99:[4, 5, 19], Operations: ['88-69=19'] Exploring Operation: 5*19=95, Resulting Numbers: [4, 95] Generated Node #3: [4, 95] from Operation: 5*19=95 Current State: 99:[4, 95], Operations: ['88-69=19', '5*19=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[69, 88, 4, 5], Operations: [] Exploring Operation: 69+5=74, Resulting Numbers: [88, 4, 74] Generated Node #0,0: 99:[88, 4, 74] Operation: 69+5=74 Exploring Operation: 88-69=19, Resulting Numbers: [4, 5, 19] Generated Node #0,1: 99:[4, 5, 19] Operation: 88-69=19 Exploring Operation: 69+4=73, Resulting Numbers: [88, 5, 73] Generated Node #0,2: 99:[88, 5, 73] Operation: 69+4=73 Exploring Operation: 88+4=92, Resulting Numbers: [69, 5, 92] Generated Node #0,3: 99:[69, 5, 92] Operation: 88+4=92 Exploring Operation: 88+5=93, Resulting Numbers: [69, 4, 93] Generated Node #0,4: 99:[69, 4, 93] Operation: 88+5=93 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[4, 5, 19], Operations: ['88-69=19'] Exploring Operation: 19-5=14, Resulting Numbers: [4, 14] Generated Node #0,1,0: 99:[4, 14] Operation: 19-5=14 Exploring Operation: 5*19=95, Resulting Numbers: [4, 95] Generated Node #0,1,1: 99:[4, 95] Operation: 5*19=95 Exploring Operation: 5-4=1, Resulting Numbers: [19, 1] Generated Node #0,1,2: 99:[19, 1] Operation: 5-4=1 Exploring Operation: 19-4=15, Resulting Numbers: [5, 15] Generated Node #0,1,3: 99:[5, 15] Operation: 19-4=15 Exploring Operation: 4+5=9, Resulting Numbers: [19, 9] Generated Node #0,1,4: 99:[19, 9] Operation: 4+5=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[4, 14], Operations: ['88-69=19', '19-5=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,99 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[4, 95], Operations: ['88-69=19', '5*19=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[69, 88, 4, 5], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [4, 5, 19] Generated Node #0,1: 99:[4, 5, 19] Operation: 88-69=19 Moving to Node #0,1 Current State: 99:[4, 5, 19], Operations: ['88-69=19'] Exploring Operation: 5*19=95, Resulting Numbers: [4, 95] Generated Node #0,1,1: 99:[4, 95] Operation: 5*19=95 Moving to Node #0,1,1 Current State: 99:[4, 95], Operations: ['88-69=19', '5*19=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic