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
[ 18, 46, 44, 42 ]
12
[ "42-18=24", "46-44=2", "24/2=12" ]
Current State: 12:[18, 46, 44, 42], Operations: [] Exploring Operation: 42-18=24, Resulting Numbers: [46, 44, 24] Generated Node #2: [46, 44, 24] from Operation: 42-18=24 Current State: 12:[46, 44, 24], Operations: ['42-18=24'] Exploring Operation: 46-44=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 46-44=2 Current State: 12:[24, 2], Operations: ['42-18=24', '46-44=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[18, 46, 44, 42], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [18, 44, 4] Generated Node #0,0: 12:[18, 44, 4] Operation: 46-42=4 Exploring Operation: 46-18=28, Resulting Numbers: [44, 42, 28] Generated Node #0,1: 12:[44, 42, 28] Operation: 46-18=28 Exploring Operation: 44-42=2, Resulting Numbers: [18, 46, 2] Generated Node #0,2: 12:[18, 46, 2] Operation: 44-42=2 Exploring Operation: 46-44=2, Resulting Numbers: [18, 42, 2] Generated Node #0,3: 12:[18, 42, 2] Operation: 46-44=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[18, 42, 2], Operations: ['46-44=2'] Exploring Operation: 18-2=16, Resulting Numbers: [42, 16] Generated Node #0,3,0: 12:[42, 16] Operation: 18-2=16 Exploring Operation: 42/2=21, Resulting Numbers: [18, 21] Generated Node #0,3,1: 12:[18, 21] Operation: 42/2=21 Exploring Operation: 42-18=24, Resulting Numbers: [2, 24] Generated Node #0,3,2: 12:[2, 24] Operation: 42-18=24 Exploring Operation: 18/2=9, Resulting Numbers: [42, 9] Generated Node #0,3,3: 12:[42, 9] Operation: 18/2=9 Moving to Node #0,3,2 Current State: 12:[2, 24], Operations: ['46-44=2', '42-18=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[18, 46, 44, 42], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [18, 42, 2] Generated Node #0,3: 12:[18, 42, 2] Operation: 46-44=2 Moving to Node #0,3 Current State: 12:[18, 42, 2], Operations: ['46-44=2'] Exploring Operation: 42-18=24, Resulting Numbers: [2, 24] Generated Node #0,3,2: 12:[2, 24] Operation: 42-18=24 Moving to Node #0,3,2 Current State: 12:[2, 24], Operations: ['46-44=2', '42-18=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 52, 43, 76, 34 ]
15
[ "52+43=95", "76+34=110", "110-95=15" ]
Current State: 15:[52, 43, 76, 34], Operations: [] Exploring Operation: 52+43=95, Resulting Numbers: [76, 34, 95] Generated Node #2: [76, 34, 95] from Operation: 52+43=95 Current State: 15:[76, 34, 95], Operations: ['52+43=95'] Exploring Operation: 76+34=110, Resulting Numbers: [95, 110] Generated Node #3: [95, 110] from Operation: 76+34=110 Current State: 15:[95, 110], Operations: ['52+43=95', '76+34=110'] Exploring Operation: 110-95=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[52, 43, 76, 34], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [43, 34, 24] Generated Node #0,0: 15:[43, 34, 24] Operation: 76-52=24 Moving to Node #0,0 Current State: 15:[43, 34, 24], Operations: ['76-52=24'] Exploring Operation: 43-34=9, Resulting Numbers: [24, 9] Generated Node #0,0,0: 15:[24, 9] Operation: 43-34=9 Moving to Node #0,0,0 Current State: 15:[24, 9], Operations: ['76-52=24', '43-34=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[52, 43, 76, 34], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [43, 34, 24] Generated Node #0,0: 15:[43, 34, 24] Operation: 76-52=24 Moving to Node #0,0 Current State: 15:[43, 34, 24], Operations: ['76-52=24'] Exploring Operation: 43-34=9, Resulting Numbers: [24, 9] Generated Node #0,0,0: 15:[24, 9] Operation: 43-34=9 Moving to Node #0,0,0 Current State: 15:[24, 9], Operations: ['76-52=24', '43-34=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 28, 97, 23, 81 ]
35
[ "97-28=69", "23+81=104", "104-69=35" ]
Current State: 35:[28, 97, 23, 81], Operations: [] Exploring Operation: 97-28=69, Resulting Numbers: [23, 81, 69] Generated Node #2: [23, 81, 69] from Operation: 97-28=69 Current State: 35:[23, 81, 69], Operations: ['97-28=69'] Exploring Operation: 23+81=104, Resulting Numbers: [69, 104] Generated Node #3: [69, 104] from Operation: 23+81=104 Current State: 35:[69, 104], Operations: ['97-28=69', '23+81=104'] Exploring Operation: 104-69=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[28, 97, 23, 81], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [28, 23, 16] Generated Node #0,0: 35:[28, 23, 16] Operation: 97-81=16 Exploring Operation: 97-28=69, Resulting Numbers: [23, 81, 69] Generated Node #0,1: 35:[23, 81, 69] Operation: 97-28=69 Exploring Operation: 81-28=53, Resulting Numbers: [97, 23, 53] Generated Node #0,2: 35:[97, 23, 53] Operation: 81-28=53 Moving to Node #0,0 Current State: 35:[28, 23, 16], Operations: ['97-81=16'] Exploring Operation: 23+16=39, Resulting Numbers: [28, 39] Generated Node #0,0,0: 35:[28, 39] Operation: 23+16=39 Exploring Operation: 23-16=7, Resulting Numbers: [28, 7] Generated Node #0,0,1: 35:[28, 7] Operation: 23-16=7 Exploring Operation: 28-23=5, Resulting Numbers: [16, 5] Generated Node #0,0,2: 35:[16, 5] Operation: 28-23=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[28, 7], Operations: ['97-81=16', '23-16=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[28, 97, 23, 81], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [28, 23, 16] Generated Node #0,0: 35:[28, 23, 16] Operation: 97-81=16 Moving to Node #0,0 Current State: 35:[28, 23, 16], Operations: ['97-81=16'] Exploring Operation: 23-16=7, Resulting Numbers: [28, 7] Generated Node #0,0,1: 35:[28, 7] Operation: 23-16=7 Moving to Node #0,0,1 Current State: 35:[28, 7], Operations: ['97-81=16', '23-16=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 83, 16, 88, 63 ]
42
[ "83-16=67", "88-63=25", "67-25=42" ]
Current State: 42:[83, 16, 88, 63], Operations: [] Exploring Operation: 83-16=67, Resulting Numbers: [88, 63, 67] Generated Node #2: [88, 63, 67] from Operation: 83-16=67 Current State: 42:[88, 63, 67], Operations: ['83-16=67'] Exploring Operation: 88-63=25, Resulting Numbers: [67, 25] Generated Node #3: [67, 25] from Operation: 88-63=25 Current State: 42:[67, 25], Operations: ['83-16=67', '88-63=25'] Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[83, 16, 88, 63], Operations: [] Exploring Operation: 88-63=25, Resulting Numbers: [83, 16, 25] Generated Node #0,0: 42:[83, 16, 25] Operation: 88-63=25 Exploring Operation: 88-83=5, Resulting Numbers: [16, 63, 5] Generated Node #0,1: 42:[16, 63, 5] Operation: 88-83=5 Exploring Operation: 88-16=72, Resulting Numbers: [83, 63, 72] Generated Node #0,2: 42:[83, 63, 72] Operation: 88-16=72 Exploring Operation: 83-63=20, Resulting Numbers: [16, 88, 20] Generated Node #0,3: 42:[16, 88, 20] Operation: 83-63=20 Exploring Operation: 83-16=67, Resulting Numbers: [88, 63, 67] Generated Node #0,4: 42:[88, 63, 67] Operation: 83-16=67 Moving to Node #0,1 Current State: 42:[16, 63, 5], Operations: ['88-83=5'] Exploring Operation: 63-5=58, Resulting Numbers: [16, 58] Generated Node #0,1,0: 42:[16, 58] Operation: 63-5=58 Exploring Operation: 63+5=68, Resulting Numbers: [16, 68] Generated Node #0,1,1: 42:[16, 68] Operation: 63+5=68 Exploring Operation: 16-5=11, Resulting Numbers: [63, 11] Generated Node #0,1,2: 42:[63, 11] Operation: 16-5=11 Exploring Operation: 63-16=47, Resulting Numbers: [5, 47] Generated Node #0,1,3: 42:[5, 47] Operation: 63-16=47 Exploring Operation: 16+5=21, Resulting Numbers: [63, 21] Generated Node #0,1,4: 42:[63, 21] Operation: 16+5=21 Moving to Node #0,0 Current State: 42:[83, 16, 25], Operations: ['88-63=25'] Exploring Operation: 16+25=41, Resulting Numbers: [83, 41] Generated Node #0,0,0: 42:[83, 41] Operation: 16+25=41 Exploring Operation: 83+16=99, Resulting Numbers: [25, 99] Generated Node #0,0,1: 42:[25, 99] Operation: 83+16=99 Exploring Operation: 83-16=67, Resulting Numbers: [25, 67] Generated Node #0,0,2: 42:[25, 67] Operation: 83-16=67 Exploring Operation: 25-16=9, Resulting Numbers: [83, 9] Generated Node #0,0,3: 42:[83, 9] Operation: 25-16=9 Exploring Operation: 83-25=58, Resulting Numbers: [16, 58] Generated Node #0,0,4: 42:[16, 58] Operation: 83-25=58 Moving to Node #0,3 Current State: 42:[16, 88, 20], Operations: ['83-63=20'] Exploring Operation: 20-16=4, Resulting Numbers: [88, 4] Generated Node #0,3,0: 42:[88, 4] Operation: 20-16=4 Exploring Operation: 88-20=68, Resulting Numbers: [16, 68] Generated Node #0,3,1: 42:[16, 68] Operation: 88-20=68 Exploring Operation: 16+88=104, Resulting Numbers: [20, 104] Generated Node #0,3,2: 42:[20, 104] Operation: 16+88=104 Exploring Operation: 88-16=72, Resulting Numbers: [20, 72] Generated Node #0,3,3: 42:[20, 72] Operation: 88-16=72 Exploring Operation: 16+20=36, Resulting Numbers: [88, 36] Generated Node #0,3,4: 42:[88, 36] Operation: 16+20=36 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[16, 68], Operations: ['83-63=20', '88-20=68'] Exploring Operation: 16*68=1088, Resulting Numbers: [1088] 1088,42 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,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:[20, 72], Operations: ['83-63=20', '88-16=72'] Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,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:[88, 4], Operations: ['83-63=20', '20-16=4'] Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,42 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,42 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,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,4 Current State: 42:[88, 36], Operations: ['83-63=20', '16+20=36'] Exploring Operation: 88*36=3168, Resulting Numbers: [3168] 3168,42 unequal: No Solution Exploring Operation: 88+36=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,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,2 Current State: 42:[20, 104], Operations: ['83-63=20', '16+88=104'] Exploring Operation: 20+104=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 104-20=84, Resulting Numbers: [84] 84,42 unequal: No Solution Exploring Operation: 20*104=2080, Resulting Numbers: [2080] 2080,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 42:[83, 63, 72], Operations: ['88-16=72'] Exploring Operation: 83-72=11, Resulting Numbers: [63, 11] Generated Node #0,2,0: 42:[63, 11] Operation: 83-72=11 Exploring Operation: 83-63=20, Resulting Numbers: [72, 20] Generated Node #0,2,1: 42:[72, 20] Operation: 83-63=20 Exploring Operation: 83+72=155, Resulting Numbers: [63, 155] Generated Node #0,2,2: 42:[63, 155] Operation: 83+72=155 Exploring Operation: 72-63=9, Resulting Numbers: [83, 9] Generated Node #0,2,3: 42:[83, 9] Operation: 72-63=9 Exploring Operation: 83+63=146, Resulting Numbers: [72, 146] Generated Node #0,2,4: 42:[72, 146] Operation: 83+63=146 Moving to Node #0,4 Current State: 42:[88, 63, 67], Operations: ['83-16=67'] Exploring Operation: 88+67=155, Resulting Numbers: [63, 155] Generated Node #0,4,0: 42:[63, 155] Operation: 88+67=155 Exploring Operation: 88-63=25, Resulting Numbers: [67, 25] Generated Node #0,4,1: 42:[67, 25] Operation: 88-63=25 Exploring Operation: 67-63=4, Resulting Numbers: [88, 4] Generated Node #0,4,2: 42:[88, 4] Operation: 67-63=4 Exploring Operation: 88-67=21, Resulting Numbers: [63, 21] Generated Node #0,4,3: 42:[63, 21] Operation: 88-67=21 Exploring Operation: 88+63=151, Resulting Numbers: [67, 151] Generated Node #0,4,4: 42:[67, 151] Operation: 88+63=151 Moving to Node #0,1,3 Current State: 42:[5, 47], Operations: ['88-83=5', '63-16=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[83, 16, 88, 63], Operations: [] Exploring Operation: 88-83=5, Resulting Numbers: [16, 63, 5] Generated Node #0,1: 42:[16, 63, 5] Operation: 88-83=5 Moving to Node #0,1 Current State: 42:[16, 63, 5], Operations: ['88-83=5'] Exploring Operation: 63-16=47, Resulting Numbers: [5, 47] Generated Node #0,1,3: 42:[5, 47] Operation: 63-16=47 Moving to Node #0,1,3 Current State: 42:[5, 47], Operations: ['88-83=5', '63-16=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.954861
hs_5
sum_heuristic
[ 10, 21, 69, 13 ]
11
[ "21-13=8", "10*8=80", "80-69=11" ]
Current State: 11:[10, 21, 69, 13], Operations: [] Exploring Operation: 21-13=8, Resulting Numbers: [10, 69, 8] Generated Node #2: [10, 69, 8] from Operation: 21-13=8 Current State: 11:[10, 69, 8], Operations: ['21-13=8'] Exploring Operation: 10*8=80, Resulting Numbers: [69, 80] Generated Node #3: [69, 80] from Operation: 10*8=80 Current State: 11:[69, 80], Operations: ['21-13=8', '10*8=80'] Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[10, 21, 69, 13], Operations: [] Exploring Operation: 21-10=11, Resulting Numbers: [69, 13, 11] Generated Node #0,0: 11:[69, 13, 11] Operation: 21-10=11 Exploring Operation: 69-21=48, Resulting Numbers: [10, 13, 48] Generated Node #0,1: 11:[10, 13, 48] Operation: 69-21=48 Exploring Operation: 21-13=8, Resulting Numbers: [10, 69, 8] Generated Node #0,2: 11:[10, 69, 8] Operation: 21-13=8 Exploring Operation: 69-10=59, Resulting Numbers: [21, 13, 59] Generated Node #0,3: 11:[21, 13, 59] Operation: 69-10=59 Exploring Operation: 69-13=56, Resulting Numbers: [10, 21, 56] Generated Node #0,4: 11:[10, 21, 56] Operation: 69-13=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[10, 13, 48], Operations: ['69-21=48'] Exploring Operation: 10+48=58, Resulting Numbers: [13, 58] Generated Node #0,1,0: 11:[13, 58] Operation: 10+48=58 Exploring Operation: 10+13=23, Resulting Numbers: [48, 23] Generated Node #0,1,1: 11:[48, 23] Operation: 10+13=23 Exploring Operation: 13-10=3, Resulting Numbers: [48, 3] Generated Node #0,1,2: 11:[48, 3] Operation: 13-10=3 Exploring Operation: 48-13=35, Resulting Numbers: [10, 35] Generated Node #0,1,3: 11:[10, 35] Operation: 48-13=35 Exploring Operation: 48-10=38, Resulting Numbers: [13, 38] Generated Node #0,1,4: 11:[13, 38] Operation: 48-10=38 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 11:[10, 35], Operations: ['69-21=48', '48-13=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,11 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,11 unequal: No Solution No 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: 11:[13, 38], Operations: ['69-21=48', '48-10=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,11 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[48, 3], Operations: ['69-21=48', '13-10=3'] Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,11 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,11 unequal: No Solution No 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: 11:[13, 58], Operations: ['69-21=48', '10+48=58'] Exploring Operation: 13*58=754, Resulting Numbers: [754] 754,11 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,11 unequal: No Solution No 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: 11:[48, 23], Operations: ['69-21=48', '10+13=23'] Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,11 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,11 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: 11:[10, 21, 56], Operations: ['69-13=56'] Exploring Operation: 21-10=11, Resulting Numbers: [56, 11] Generated Node #0,4,0: 11:[56, 11] Operation: 21-10=11 Exploring Operation: 10+56=66, Resulting Numbers: [21, 66] Generated Node #0,4,1: 11:[21, 66] Operation: 10+56=66 Exploring Operation: 56-21=35, Resulting Numbers: [10, 35] Generated Node #0,4,2: 11:[10, 35] Operation: 56-21=35 Exploring Operation: 56-10=46, Resulting Numbers: [21, 46] Generated Node #0,4,3: 11:[21, 46] Operation: 56-10=46 Exploring Operation: 10+21=31, Resulting Numbers: [56, 31] Generated Node #0,4,4: 11:[56, 31] Operation: 10+21=31 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 11:[10, 35], Operations: ['69-13=56', '56-21=35'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,11 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,11 unequal: No Solution No 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: 11:[56, 11], Operations: ['69-13=56', '21-10=11'] Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,11 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,11 unequal: No Solution No 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: 11:[21, 46], Operations: ['69-13=56', '56-10=46'] Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,11 unequal: No Solution Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,11 unequal: No Solution No 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: 11:[21, 66], Operations: ['69-13=56', '10+56=66'] Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 21*66=1386, Resulting Numbers: [1386] 1386,11 unequal: No Solution Exploring Operation: 21+66=87, Resulting Numbers: [87] 87,11 unequal: No Solution No 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: 11:[56, 31], Operations: ['69-13=56', '10+21=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,11 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: 11:[69, 13, 11], Operations: ['21-10=11'] Exploring Operation: 69+13=82, Resulting Numbers: [11, 82] Generated Node #0,0,0: 11:[11, 82] Operation: 69+13=82 Exploring Operation: 13-11=2, Resulting Numbers: [69, 2] Generated Node #0,0,1: 11:[69, 2] Operation: 13-11=2 Exploring Operation: 69-11=58, Resulting Numbers: [13, 58] Generated Node #0,0,2: 11:[13, 58] Operation: 69-11=58 Exploring Operation: 69-13=56, Resulting Numbers: [11, 56] Generated Node #0,0,3: 11:[11, 56] Operation: 69-13=56 Exploring Operation: 69+11=80, Resulting Numbers: [13, 80] Generated Node #0,0,4: 11:[13, 80] Operation: 69+11=80 Moving to Node #0,0,3 Current State: 11:[11, 56], Operations: ['21-10=11', '69-13=56'] Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,11 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[13, 58], Operations: ['21-10=11', '69-11=58'] Exploring Operation: 13*58=754, Resulting Numbers: [754] 754,11 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[69, 2], Operations: ['21-10=11', '13-11=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[11, 82], Operations: ['21-10=11', '69+13=82'] Exploring Operation: 11*82=902, Resulting Numbers: [902] 902,11 unequal: No Solution Exploring Operation: 11+82=93, Resulting Numbers: [93] 93,11 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[13, 80], Operations: ['21-10=11', '69+11=80'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,11 unequal: No Solution Exploring Operation: 13*80=1040, Resulting Numbers: [1040] 1040,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[21, 13, 59], Operations: ['69-10=59'] Exploring Operation: 59-13=46, Resulting Numbers: [21, 46] Generated Node #0,3,0: 11:[21, 46] Operation: 59-13=46 Exploring Operation: 21-13=8, Resulting Numbers: [59, 8] Generated Node #0,3,1: 11:[59, 8] Operation: 21-13=8 Exploring Operation: 59-21=38, Resulting Numbers: [13, 38] Generated Node #0,3,2: 11:[13, 38] Operation: 59-21=38 Exploring Operation: 21+59=80, Resulting Numbers: [13, 80] Generated Node #0,3,3: 11:[13, 80] Operation: 21+59=80 Exploring Operation: 21+13=34, Resulting Numbers: [59, 34] Generated Node #0,3,4: 11:[59, 34] Operation: 21+13=34 Moving to Node #0,3,2 Current State: 11:[13, 38], Operations: ['69-10=59', '59-21=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,11 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[21, 46], Operations: ['69-10=59', '59-13=46'] Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,11 unequal: No Solution Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[59, 8], Operations: ['69-10=59', '21-13=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,11 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[13, 80], Operations: ['69-10=59', '21+59=80'] Exploring Operation: 13*80=1040, Resulting Numbers: [1040] 1040,11 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,11 unequal: No Solution Moving to Node #0,3,4 Current State: 11:[59, 34], Operations: ['69-10=59', '21+13=34'] Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,11 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[10, 69, 8], Operations: ['21-13=8'] Exploring Operation: 10+8=18, Resulting Numbers: [69, 18] Generated Node #0,2,0: 11:[69, 18] Operation: 10+8=18 Exploring Operation: 69+8=77, Resulting Numbers: [10, 77] Generated Node #0,2,1: 11:[10, 77] Operation: 69+8=77 Exploring Operation: 10-8=2, Resulting Numbers: [69, 2] Generated Node #0,2,2: 11:[69, 2] Operation: 10-8=2 Exploring Operation: 69-10=59, Resulting Numbers: [8, 59] Generated Node #0,2,3: 11:[8, 59] Operation: 69-10=59 Exploring Operation: 69-8=61, Resulting Numbers: [10, 61] Generated Node #0,2,4: 11:[10, 61] Operation: 69-8=61 Moving to Node #0,2,3 Current State: 11:[8, 59], Operations: ['21-13=8', '69-10=59'] Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 8*59=472, Resulting Numbers: [472] 472,11 unequal: No Solution Moving to Node #0,2,4 Current State: 11:[10, 61], Operations: ['21-13=8', '69-8=61'] Exploring Operation: 10*61=610, Resulting Numbers: [610] 610,11 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 10+61=71, Resulting Numbers: [71] 71,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[69, 18], Operations: ['21-13=8', '10+8=18'] Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,11 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[10, 77], Operations: ['21-13=8', '69+8=77'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[69, 2], Operations: ['21-13=8', '10-8=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,11 unequal: No Solution Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 14, 13, 23, 21 ]
20
[ "23-21=2", "14/2=7", "13+7=20" ]
Current State: 20:[14, 13, 23, 21], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [14, 13, 2] Generated Node #2: [14, 13, 2] from Operation: 23-21=2 Current State: 20:[14, 13, 2], Operations: ['23-21=2'] Exploring Operation: 14/2=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 14/2=7 Current State: 20:[13, 7], Operations: ['23-21=2', '14/2=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[14, 13, 23, 21], Operations: [] Exploring Operation: 14-13=1, Resulting Numbers: [23, 21, 1] Generated Node #0,0: 20:[23, 21, 1] Operation: 14-13=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[23, 21, 1], Operations: ['14-13=1'] Exploring Operation: 23-21=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 20:[1, 2] Operation: 23-21=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[1, 2], Operations: ['14-13=1', '23-21=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 11, 92, 32, 44 ]
18
[ "11*44=484", "92+484=576", "576/32=18" ]
Current State: 18:[11, 92, 32, 44], Operations: [] Exploring Operation: 11*44=484, Resulting Numbers: [92, 32, 484] Generated Node #2: [92, 32, 484] from Operation: 11*44=484 Current State: 18:[92, 32, 484], Operations: ['11*44=484'] Exploring Operation: 92+484=576, Resulting Numbers: [32, 576] Generated Node #3: [32, 576] from Operation: 92+484=576 Current State: 18:[32, 576], Operations: ['11*44=484', '92+484=576'] Exploring Operation: 576/32=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[11, 92, 32, 44], Operations: [] Exploring Operation: 44-32=12, Resulting Numbers: [11, 92, 12] Generated Node #0,0: 18:[11, 92, 12] Operation: 44-32=12 Exploring Operation: 92-44=48, Resulting Numbers: [11, 32, 48] Generated Node #0,1: 18:[11, 32, 48] Operation: 92-44=48 Exploring Operation: 44/11=4, Resulting Numbers: [92, 32, 4] Generated Node #0,2: 18:[92, 32, 4] Operation: 44/11=4 Exploring Operation: 92-32=60, Resulting Numbers: [11, 44, 60] Generated Node #0,3: 18:[11, 44, 60] Operation: 92-32=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[11, 32, 48], Operations: ['92-44=48'] Exploring Operation: 48-11=37, Resulting Numbers: [32, 37] Generated Node #0,1,0: 18:[32, 37] Operation: 48-11=37 Exploring Operation: 11+32=43, Resulting Numbers: [48, 43] Generated Node #0,1,1: 18:[48, 43] Operation: 11+32=43 Exploring Operation: 48-32=16, Resulting Numbers: [11, 16] Generated Node #0,1,2: 18:[11, 16] Operation: 48-32=16 Exploring Operation: 32-11=21, Resulting Numbers: [48, 21] Generated Node #0,1,3: 18:[48, 21] Operation: 32-11=21 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 18:[11, 16], Operations: ['92-44=48', '48-32=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,18 unequal: No Solution No 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: 18:[32, 37], Operations: ['92-44=48', '48-11=37'] Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,18 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,18 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,18 unequal: No Solution No 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: 18:[48, 21], Operations: ['92-44=48', '32-11=21'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,18 unequal: No Solution Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,18 unequal: No Solution No 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: 18:[48, 43], Operations: ['92-44=48', '11+32=43'] Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,18 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: 18:[11, 44, 60], Operations: ['92-32=60'] Exploring Operation: 60-44=16, Resulting Numbers: [11, 16] Generated Node #0,3,0: 18:[11, 16] Operation: 60-44=16 Exploring Operation: 60-11=49, Resulting Numbers: [44, 49] Generated Node #0,3,1: 18:[44, 49] Operation: 60-11=49 Exploring Operation: 44-11=33, Resulting Numbers: [60, 33] Generated Node #0,3,2: 18:[60, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [60, 4] Generated Node #0,3,3: 18:[60, 4] Operation: 44/11=4 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 18:[11, 16], Operations: ['92-32=60', '60-44=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,18 unequal: No Solution No 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: 18:[60, 4], Operations: ['92-32=60', '44/11=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,18 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,18 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,18 unequal: No Solution No 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: 18:[44, 49], Operations: ['92-32=60', '60-11=49'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,18 unequal: No Solution Exploring Operation: 44*49=2156, Resulting Numbers: [2156] 2156,18 unequal: No Solution No 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: 18:[60, 33], Operations: ['92-32=60', '44-11=33'] Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,18 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,18 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: 18:[11, 92, 12], Operations: ['44-32=12'] Exploring Operation: 92-11=81, Resulting Numbers: [12, 81] Generated Node #0,0,0: 18:[12, 81] Operation: 92-11=81 Exploring Operation: 92-12=80, Resulting Numbers: [11, 80] Generated Node #0,0,1: 18:[11, 80] Operation: 92-12=80 Exploring Operation: 12-11=1, Resulting Numbers: [92, 1] Generated Node #0,0,2: 18:[92, 1] Operation: 12-11=1 Exploring Operation: 11+12=23, Resulting Numbers: [92, 23] Generated Node #0,0,3: 18:[92, 23] Operation: 11+12=23 Moving to Node #0,0,1 Current State: 18:[11, 80], Operations: ['44-32=12', '92-12=80'] Exploring Operation: 11+80=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 11*80=880, Resulting Numbers: [880] 880,18 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[12, 81], Operations: ['44-32=12', '92-11=81'] Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,18 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,18 unequal: No Solution Exploring Operation: 12+81=93, Resulting Numbers: [93] 93,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[92, 1], Operations: ['44-32=12', '12-11=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,18 unequal: No Solution Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,18 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[92, 23], Operations: ['44-32=12', '11+12=23'] Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 92*23=2116, Resulting Numbers: [2116] 2116,18 unequal: No Solution Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,18 unequal: No Solution Exploring Operation: 92+23=115, Resulting Numbers: [115] 115,18 unequal: No Solution No 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: 18:[92, 32, 4], Operations: ['44/11=4'] Exploring Operation: 92-32=60, Resulting Numbers: [4, 60] Generated Node #0,2,0: 18:[4, 60] Operation: 92-32=60 Exploring Operation: 92/4=23, Resulting Numbers: [32, 23] Generated Node #0,2,1: 18:[32, 23] Operation: 92/4=23 Exploring Operation: 32/4=8, Resulting Numbers: [92, 8] Generated Node #0,2,2: 18:[92, 8] Operation: 32/4=8 Exploring Operation: 92-4=88, Resulting Numbers: [32, 88] Generated Node #0,2,3: 18:[32, 88] Operation: 92-4=88 Moving to Node #0,2,1 Current State: 18:[32, 23], Operations: ['44/11=4', '92/4=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,18 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[4, 60], Operations: ['44/11=4', '92-32=60'] Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,18 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[92, 8], Operations: ['44/11=4', '32/4=8'] Exploring Operation: 92*8=736, Resulting Numbers: [736] 736,18 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,18 unequal: No Solution Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,18 unequal: No Solution Moving to Node #0,2,3 Current State: 18:[32, 88], Operations: ['44/11=4', '92-4=88'] Exploring Operation: 32*88=2816, Resulting Numbers: [2816] 2816,18 unequal: No Solution Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 32+88=120, Resulting Numbers: [120] 120,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 19, 3, 99, 39 ]
38
[ "19+3=22", "99-39=60", "60-22=38" ]
Current State: 38:[19, 3, 99, 39], Operations: [] Exploring Operation: 19+3=22, Resulting Numbers: [99, 39, 22] Generated Node #2: [99, 39, 22] from Operation: 19+3=22 Current State: 38:[99, 39, 22], Operations: ['19+3=22'] Exploring Operation: 99-39=60, Resulting Numbers: [22, 60] Generated Node #3: [22, 60] from Operation: 99-39=60 Current State: 38:[22, 60], Operations: ['19+3=22', '99-39=60'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[19, 3, 99, 39], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [19, 3, 60] Generated Node #0,0: 38:[19, 3, 60] Operation: 99-39=60 Exploring Operation: 99-19=80, Resulting Numbers: [3, 39, 80] Generated Node #0,1: 38:[3, 39, 80] Operation: 99-19=80 Exploring Operation: 99/3=33, Resulting Numbers: [19, 39, 33] Generated Node #0,2: 38:[19, 39, 33] Operation: 99/3=33 Moving to Node #0,2 Current State: 38:[19, 39, 33], Operations: ['99/3=33'] Exploring Operation: 33-19=14, Resulting Numbers: [39, 14] Generated Node #0,2,0: 38:[39, 14] Operation: 33-19=14 Exploring Operation: 39-19=20, Resulting Numbers: [33, 20] Generated Node #0,2,1: 38:[33, 20] Operation: 39-19=20 Exploring Operation: 39-33=6, Resulting Numbers: [19, 6] Generated Node #0,2,2: 38:[19, 6] Operation: 39-33=6 Moving to Node #0,0 Current State: 38:[19, 3, 60], Operations: ['99-39=60'] Exploring Operation: 60-19=41, Resulting Numbers: [3, 41] Generated Node #0,0,0: 38:[3, 41] Operation: 60-19=41 Exploring Operation: 60-3=57, Resulting Numbers: [19, 57] Generated Node #0,0,1: 38:[19, 57] Operation: 60-3=57 Exploring Operation: 60/3=20, Resulting Numbers: [19, 20] Generated Node #0,0,2: 38:[19, 20] Operation: 60/3=20 Moving to Node #0,1 Current State: 38:[3, 39, 80], Operations: ['99-19=80'] Exploring Operation: 39-3=36, Resulting Numbers: [80, 36] Generated Node #0,1,0: 38:[80, 36] Operation: 39-3=36 Exploring Operation: 80-39=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 38:[3, 41] Operation: 80-39=41 Exploring Operation: 80-3=77, Resulting Numbers: [39, 77] Generated Node #0,1,2: 38:[39, 77] Operation: 80-3=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[3, 41], Operations: ['99-19=80', '80-39=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[19, 3, 99, 39], Operations: [] Exploring Operation: 99-19=80, Resulting Numbers: [3, 39, 80] Generated Node #0,1: 38:[3, 39, 80] Operation: 99-19=80 Moving to Node #0,1 Current State: 38:[3, 39, 80], Operations: ['99-19=80'] Exploring Operation: 80-39=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 38:[3, 41] Operation: 80-39=41 Moving to Node #0,1,1 Current State: 38:[3, 41], Operations: ['99-19=80', '80-39=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 40, 59, 8, 3 ]
61
[ "40/8=5", "59-3=56", "5+56=61" ]
Current State: 61:[40, 59, 8, 3], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [59, 3, 5] Generated Node #2: [59, 3, 5] from Operation: 40/8=5 Current State: 61:[59, 3, 5], Operations: ['40/8=5'] Exploring Operation: 59-3=56, Resulting Numbers: [5, 56] Generated Node #3: [5, 56] from Operation: 59-3=56 Current State: 61:[5, 56], Operations: ['40/8=5', '59-3=56'] Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[40, 59, 8, 3], Operations: [] Exploring Operation: 40+8=48, Resulting Numbers: [59, 3, 48] Generated Node #0,0: 61:[59, 3, 48] Operation: 40+8=48 Exploring Operation: 40+3=43, Resulting Numbers: [59, 8, 43] Generated Node #0,1: 61:[59, 8, 43] Operation: 40+3=43 Exploring Operation: 8+3=11, Resulting Numbers: [40, 59, 11] Generated Node #0,2: 61:[40, 59, 11] Operation: 8+3=11 Exploring Operation: 8*3=24, Resulting Numbers: [40, 59, 24] Generated Node #0,3: 61:[40, 59, 24] Operation: 8*3=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[40, 59, 24], Operations: ['8*3=24'] Exploring Operation: 59+24=83, Resulting Numbers: [40, 83] Generated Node #0,3,0: 61:[40, 83] Operation: 59+24=83 Exploring Operation: 59-24=35, Resulting Numbers: [40, 35] Generated Node #0,3,1: 61:[40, 35] Operation: 59-24=35 Exploring Operation: 40+24=64, Resulting Numbers: [59, 64] Generated Node #0,3,2: 61:[59, 64] Operation: 40+24=64 Exploring Operation: 40-24=16, Resulting Numbers: [59, 16] Generated Node #0,3,3: 61:[59, 16] Operation: 40-24=16 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[59, 64], Operations: ['8*3=24', '40+24=64'] Exploring Operation: 59*64=3776, Resulting Numbers: [3776] 3776,61 unequal: No Solution Exploring Operation: 59+64=123, Resulting Numbers: [123] 123,61 unequal: No Solution Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,61 unequal: No Solution No 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: 61:[40, 83], Operations: ['8*3=24', '59+24=83'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 40+83=123, Resulting Numbers: [123] 123,61 unequal: No Solution Exploring Operation: 40*83=3320, Resulting Numbers: [3320] 3320,61 unequal: No Solution No 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: 61:[40, 35], Operations: ['8*3=24', '59-24=35'] Exploring Operation: 40*35=1400, Resulting Numbers: [1400] 1400,61 unequal: No Solution Exploring Operation: 40+35=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,61 unequal: No Solution No 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: 61:[59, 16], Operations: ['8*3=24', '40-24=16'] Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,61 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,61 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: 61:[59, 3, 48], Operations: ['40+8=48'] Exploring Operation: 3+48=51, Resulting Numbers: [59, 51] Generated Node #0,0,0: 61:[59, 51] Operation: 3+48=51 Exploring Operation: 59+3=62, Resulting Numbers: [48, 62] Generated Node #0,0,1: 61:[48, 62] Operation: 59+3=62 Exploring Operation: 48-3=45, Resulting Numbers: [59, 45] Generated Node #0,0,2: 61:[59, 45] Operation: 48-3=45 Exploring Operation: 59-3=56, Resulting Numbers: [48, 56] Generated Node #0,0,3: 61:[48, 56] Operation: 59-3=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[59, 51], Operations: ['40+8=48', '3+48=51'] Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,61 unequal: No Solution No 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: 61:[48, 62], Operations: ['40+8=48', '59+3=62'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 48+62=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 48*62=2976, Resulting Numbers: [2976] 2976,61 unequal: No Solution No 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: 61:[59, 45], Operations: ['40+8=48', '48-3=45'] Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,61 unequal: No Solution No 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: 61:[48, 56], Operations: ['40+8=48', '59-3=56'] Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,61 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: 61:[59, 8, 43], Operations: ['40+3=43'] Exploring Operation: 43-8=35, Resulting Numbers: [59, 35] Generated Node #0,1,0: 61:[59, 35] Operation: 43-8=35 Exploring Operation: 59+8=67, Resulting Numbers: [43, 67] Generated Node #0,1,1: 61:[43, 67] Operation: 59+8=67 Exploring Operation: 59-8=51, Resulting Numbers: [43, 51] Generated Node #0,1,2: 61:[43, 51] Operation: 59-8=51 Exploring Operation: 8+43=51, Resulting Numbers: [59, 51] Generated Node #0,1,3: 61:[59, 51] Operation: 8+43=51 Moving to Node #0,1,3 Current State: 61:[59, 51], Operations: ['40+3=43', '8+43=51'] Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,61 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[43, 67], Operations: ['40+3=43', '59+8=67'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[43, 51], Operations: ['40+3=43', '59-8=51'] Exploring Operation: 43*51=2193, Resulting Numbers: [2193] 2193,61 unequal: No Solution Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[59, 35], Operations: ['40+3=43', '43-8=35'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 59*35=2065, Resulting Numbers: [2065] 2065,61 unequal: No Solution Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[40, 59, 11], Operations: ['8+3=11'] Exploring Operation: 59-11=48, Resulting Numbers: [40, 48] Generated Node #0,2,0: 61:[40, 48] Operation: 59-11=48 Exploring Operation: 40+11=51, Resulting Numbers: [59, 51] Generated Node #0,2,1: 61:[59, 51] Operation: 40+11=51 Exploring Operation: 59+11=70, Resulting Numbers: [40, 70] Generated Node #0,2,2: 61:[40, 70] Operation: 59+11=70 Exploring Operation: 40-11=29, Resulting Numbers: [59, 29] Generated Node #0,2,3: 61:[59, 29] Operation: 40-11=29 Moving to Node #0,2,1 Current State: 61:[59, 51], Operations: ['8+3=11', '40+11=51'] Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,61 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[40, 70], Operations: ['8+3=11', '59+11=70'] Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[59, 29], Operations: ['8+3=11', '40-11=29'] Exploring Operation: 59+29=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 59*29=1711, Resulting Numbers: [1711] 1711,61 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[40, 48], Operations: ['8+3=11', '59-11=48'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 40+48=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 40*48=1920, Resulting Numbers: [1920] 1920,61 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
[ 72, 63, 61, 51 ]
15
[ "63-61=2", "72/2=36", "51-36=15" ]
Current State: 15:[72, 63, 61, 51], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [72, 51, 2] Generated Node #2: [72, 51, 2] from Operation: 63-61=2 Current State: 15:[72, 51, 2], Operations: ['63-61=2'] Exploring Operation: 72/2=36, Resulting Numbers: [51, 36] Generated Node #3: [51, 36] from Operation: 72/2=36 Current State: 15:[51, 36], Operations: ['63-61=2', '72/2=36'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[72, 63, 61, 51], Operations: [] Exploring Operation: 63-51=12, Resulting Numbers: [72, 61, 12] Generated Node #0,0: 15:[72, 61, 12] Operation: 63-51=12 Exploring Operation: 72-63=9, Resulting Numbers: [61, 51, 9] Generated Node #0,1: 15:[61, 51, 9] Operation: 72-63=9 Exploring Operation: 63-61=2, Resulting Numbers: [72, 51, 2] Generated Node #0,2: 15:[72, 51, 2] Operation: 63-61=2 Exploring Operation: 72-61=11, Resulting Numbers: [63, 51, 11] Generated Node #0,3: 15:[63, 51, 11] Operation: 72-61=11 Exploring Operation: 72-51=21, Resulting Numbers: [63, 61, 21] Generated Node #0,4: 15:[63, 61, 21] Operation: 72-51=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[61, 51, 9], Operations: ['72-63=9'] Exploring Operation: 61+9=70, Resulting Numbers: [51, 70] Generated Node #0,1,0: 15:[51, 70] Operation: 61+9=70 Exploring Operation: 51+9=60, Resulting Numbers: [61, 60] Generated Node #0,1,1: 15:[61, 60] Operation: 51+9=60 Exploring Operation: 51-9=42, Resulting Numbers: [61, 42] Generated Node #0,1,2: 15:[61, 42] Operation: 51-9=42 Exploring Operation: 61-51=10, Resulting Numbers: [9, 10] Generated Node #0,1,3: 15:[9, 10] Operation: 61-51=10 Exploring Operation: 61-9=52, Resulting Numbers: [51, 52] Generated Node #0,1,4: 15:[51, 52] Operation: 61-9=52 Moving to Node #0,1,3 Current State: 15:[9, 10], Operations: ['72-63=9', '61-51=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[51, 52], Operations: ['72-63=9', '61-9=52'] Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,15 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[61, 42], Operations: ['72-63=9', '51-9=42'] Exploring Operation: 61*42=2562, Resulting Numbers: [2562] 2562,15 unequal: No Solution Exploring Operation: 61+42=103, Resulting Numbers: [103] 103,15 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[51, 70], Operations: ['72-63=9', '61+9=70'] Exploring Operation: 51+70=121, Resulting Numbers: [121] 121,15 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 51*70=3570, Resulting Numbers: [3570] 3570,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[61, 60], Operations: ['72-63=9', '51+9=60'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 61+60=121, Resulting Numbers: [121] 121,15 unequal: No Solution Exploring Operation: 61*60=3660, Resulting Numbers: [3660] 3660,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[63, 51, 11], Operations: ['72-61=11'] Exploring Operation: 63+11=74, Resulting Numbers: [51, 74] Generated Node #0,3,0: 15:[51, 74] Operation: 63+11=74 Exploring Operation: 63-11=52, Resulting Numbers: [51, 52] Generated Node #0,3,1: 15:[51, 52] Operation: 63-11=52 Exploring Operation: 51-11=40, Resulting Numbers: [63, 40] Generated Node #0,3,2: 15:[63, 40] Operation: 51-11=40 Exploring Operation: 51+11=62, Resulting Numbers: [63, 62] Generated Node #0,3,3: 15:[63, 62] Operation: 51+11=62 Exploring Operation: 63-51=12, Resulting Numbers: [11, 12] Generated Node #0,3,4: 15:[11, 12] Operation: 63-51=12 Moving to Node #0,3,4 Current State: 15:[11, 12], Operations: ['72-61=11', '63-51=12'] Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,15 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[63, 40], Operations: ['72-61=11', '51-11=40'] Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 63+40=103, Resulting Numbers: [103] 103,15 unequal: No Solution Exploring Operation: 63*40=2520, Resulting Numbers: [2520] 2520,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[51, 52], Operations: ['72-61=11', '63-11=52'] Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,15 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[51, 74], Operations: ['72-61=11', '63+11=74'] Exploring Operation: 51+74=125, Resulting Numbers: [125] 125,15 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 51*74=3774, Resulting Numbers: [3774] 3774,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[63, 62], Operations: ['72-61=11', '51+11=62'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 63+62=125, Resulting Numbers: [125] 125,15 unequal: No Solution Exploring Operation: 63*62=3906, Resulting Numbers: [3906] 3906,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[72, 51, 2], Operations: ['63-61=2'] Exploring Operation: 72+2=74, Resulting Numbers: [51, 74] Generated Node #0,2,0: 15:[51, 74] Operation: 72+2=74 Exploring Operation: 72/2=36, Resulting Numbers: [51, 36] Generated Node #0,2,1: 15:[51, 36] Operation: 72/2=36 Exploring Operation: 72-51=21, Resulting Numbers: [2, 21] Generated Node #0,2,2: 15:[2, 21] Operation: 72-51=21 Exploring Operation: 72-2=70, Resulting Numbers: [51, 70] Generated Node #0,2,3: 15:[51, 70] Operation: 72-2=70 Exploring Operation: 51-2=49, Resulting Numbers: [72, 49] Generated Node #0,2,4: 15:[72, 49] Operation: 51-2=49 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[2, 21], Operations: ['63-61=2', '72-51=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[51, 36], Operations: ['63-61=2', '72/2=36'] Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,15 unequal: No Solution Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,15 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[72, 63, 61, 51], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [72, 51, 2] Generated Node #0,2: 15:[72, 51, 2] Operation: 63-61=2 Moving to Node #0,2 Current State: 15:[72, 51, 2], Operations: ['63-61=2'] Exploring Operation: 72/2=36, Resulting Numbers: [51, 36] Generated Node #0,2,1: 15:[51, 36] Operation: 72/2=36 Moving to Node #0,2,1 Current State: 15:[51, 36], Operations: ['63-61=2', '72/2=36'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947917
hs_5
sum_heuristic
[ 94, 69, 3, 14 ]
89
[ "94-69=25", "3*25=75", "14+75=89" ]
Current State: 89:[94, 69, 3, 14], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [3, 14, 25] Generated Node #2: [3, 14, 25] from Operation: 94-69=25 Current State: 89:[3, 14, 25], Operations: ['94-69=25'] Exploring Operation: 3*25=75, Resulting Numbers: [14, 75] Generated Node #3: [14, 75] from Operation: 3*25=75 Current State: 89:[14, 75], Operations: ['94-69=25', '3*25=75'] Exploring Operation: 14+75=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[94, 69, 3, 14], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [94, 69, 42] Generated Node #0,0: 89:[94, 69, 42] Operation: 3*14=42 Exploring Operation: 94-3=91, Resulting Numbers: [69, 14, 91] Generated Node #0,1: 89:[69, 14, 91] Operation: 94-3=91 Moving to Node #0,0 Current State: 89:[94, 69, 42], Operations: ['3*14=42'] Exploring Operation: 94-42=52, Resulting Numbers: [69, 52] Generated Node #0,0,0: 89:[69, 52] Operation: 94-42=52 Exploring Operation: 69+42=111, Resulting Numbers: [94, 111] Generated Node #0,0,1: 89:[94, 111] Operation: 69+42=111 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[94, 111], Operations: ['3*14=42', '69+42=111'] Exploring Operation: 94+111=205, Resulting Numbers: [205] 205,89 unequal: No Solution Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[69, 52], Operations: ['3*14=42', '94-42=52'] Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,89 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: 89:[69, 14, 91], Operations: ['94-3=91'] Exploring Operation: 69+14=83, Resulting Numbers: [91, 83] Generated Node #0,1,0: 89:[91, 83] Operation: 69+14=83 Exploring Operation: 91-14=77, Resulting Numbers: [69, 77] Generated Node #0,1,1: 89:[69, 77] Operation: 91-14=77 Moving to Node #0,1,0 Current State: 89:[91, 83], Operations: ['94-3=91', '69+14=83'] Exploring Operation: 91-83=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 91+83=174, Resulting Numbers: [174] 174,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[69, 77], Operations: ['94-3=91', '91-14=77'] Exploring Operation: 69+77=146, Resulting Numbers: [146] 146,89 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 27, 66, 31 ]
78
[ "27-8=19", "66+31=97", "97-19=78" ]
Current State: 78:[8, 27, 66, 31], Operations: [] Exploring Operation: 27-8=19, Resulting Numbers: [66, 31, 19] Generated Node #2: [66, 31, 19] from Operation: 27-8=19 Current State: 78:[66, 31, 19], Operations: ['27-8=19'] Exploring Operation: 66+31=97, Resulting Numbers: [19, 97] Generated Node #3: [19, 97] from Operation: 66+31=97 Current State: 78:[19, 97], Operations: ['27-8=19', '66+31=97'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[8, 27, 66, 31], Operations: [] Exploring Operation: 66-27=39, Resulting Numbers: [8, 31, 39] Generated Node #0,0: 78:[8, 31, 39] Operation: 66-27=39 Moving to Node #0,0 Current State: 78:[8, 31, 39], Operations: ['66-27=39'] Exploring Operation: 8+31=39, Resulting Numbers: [39, 39] Generated Node #0,0,0: 78:[39, 39] Operation: 8+31=39 Moving to Node #0,0,0 Current State: 78:[39, 39], Operations: ['66-27=39', '8+31=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[8, 27, 66, 31], Operations: [] Exploring Operation: 66-27=39, Resulting Numbers: [8, 31, 39] Generated Node #0,0: 78:[8, 31, 39] Operation: 66-27=39 Moving to Node #0,0 Current State: 78:[8, 31, 39], Operations: ['66-27=39'] Exploring Operation: 8+31=39, Resulting Numbers: [39, 39] Generated Node #0,0,0: 78:[39, 39] Operation: 8+31=39 Moving to Node #0,0,0 Current State: 78:[39, 39], Operations: ['66-27=39', '8+31=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 24, 16, 4, 35 ]
75
[ "35-24=11", "16*4=64", "11+64=75" ]
Current State: 75:[24, 16, 4, 35], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [16, 4, 11] Generated Node #2: [16, 4, 11] from Operation: 35-24=11 Current State: 75:[16, 4, 11], Operations: ['35-24=11'] Exploring Operation: 16*4=64, Resulting Numbers: [11, 64] Generated Node #3: [11, 64] from Operation: 16*4=64 Current State: 75:[11, 64], Operations: ['35-24=11', '16*4=64'] Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[24, 16, 4, 35], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [16, 4, 11] Generated Node #0,0: 75:[16, 4, 11] Operation: 35-24=11 Exploring Operation: 35-16=19, Resulting Numbers: [24, 4, 19] Generated Node #0,1: 75:[24, 4, 19] Operation: 35-16=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[16, 4, 11], Operations: ['35-24=11'] Exploring Operation: 16-11=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 75:[4, 5] Operation: 16-11=5 Exploring Operation: 4+11=15, Resulting Numbers: [16, 15] Generated Node #0,0,1: 75:[16, 15] Operation: 4+11=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[4, 5], Operations: ['35-24=11', '16-11=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,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:[16, 15], Operations: ['35-24=11', '4+11=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,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,1 Current State: 75:[24, 4, 19], Operations: ['35-16=19'] Exploring Operation: 19-4=15, Resulting Numbers: [24, 15] Generated Node #0,1,0: 75:[24, 15] Operation: 19-4=15 Exploring Operation: 24-19=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 75:[4, 5] Operation: 24-19=5 Moving to Node #0,1,0 Current State: 75:[24, 15], Operations: ['35-16=19', '19-4=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[4, 5], Operations: ['35-16=19', '24-19=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,75 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
[ 61, 48, 59, 73 ]
49
[ "61-59=2", "48/2=24", "73-24=49" ]
Current State: 49:[61, 48, 59, 73], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [48, 73, 2] Generated Node #2: [48, 73, 2] from Operation: 61-59=2 Current State: 49:[48, 73, 2], Operations: ['61-59=2'] Exploring Operation: 48/2=24, Resulting Numbers: [73, 24] Generated Node #3: [73, 24] from Operation: 48/2=24 Current State: 49:[73, 24], Operations: ['61-59=2', '48/2=24'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[61, 48, 59, 73], Operations: [] Exploring Operation: 73-61=12, Resulting Numbers: [48, 59, 12] Generated Node #0,0: 49:[48, 59, 12] Operation: 73-61=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[48, 59, 12], Operations: ['73-61=12'] Exploring Operation: 59-12=47, Resulting Numbers: [48, 47] Generated Node #0,0,0: 49:[48, 47] Operation: 59-12=47 Moving to Node #0,0,0 Current State: 49:[48, 47], Operations: ['73-61=12', '59-12=47'] Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,49 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
[ 62, 22, 67, 3 ]
11
[ "67-62=5", "5-3=2", "22/2=11" ]
Current State: 11:[62, 22, 67, 3], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [22, 3, 5] Generated Node #2: [22, 3, 5] from Operation: 67-62=5 Current State: 11:[22, 3, 5], Operations: ['67-62=5'] Exploring Operation: 5-3=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 5-3=2 Current State: 11:[22, 2], Operations: ['67-62=5', '5-3=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[62, 22, 67, 3], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [22, 3, 5] Generated Node #0,0: 11:[22, 3, 5] Operation: 67-62=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[22, 3, 5], Operations: ['67-62=5'] Exploring Operation: 22-3=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 11:[5, 19] Operation: 22-3=19 Moving to Node #0,0,0 Current State: 11:[5, 19], Operations: ['67-62=5', '22-3=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,11 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
[ 57, 30, 60, 68 ]
23
[ "60/30=2", "68/2=34", "57-34=23" ]
Current State: 23:[57, 30, 60, 68], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [57, 68, 2] Generated Node #2: [57, 68, 2] from Operation: 60/30=2 Current State: 23:[57, 68, 2], Operations: ['60/30=2'] Exploring Operation: 68/2=34, Resulting Numbers: [57, 34] Generated Node #3: [57, 34] from Operation: 68/2=34 Current State: 23:[57, 34], Operations: ['60/30=2', '68/2=34'] Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[57, 30, 60, 68], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [30, 68, 3] Generated Node #0,0: 23:[30, 68, 3] Operation: 60-57=3 Exploring Operation: 68-57=11, Resulting Numbers: [30, 60, 11] Generated Node #0,1: 23:[30, 60, 11] Operation: 68-57=11 Exploring Operation: 57-30=27, Resulting Numbers: [60, 68, 27] Generated Node #0,2: 23:[60, 68, 27] Operation: 57-30=27 Exploring Operation: 68-60=8, Resulting Numbers: [57, 30, 8] Generated Node #0,3: 23:[57, 30, 8] Operation: 68-60=8 Exploring Operation: 60-30=30, Resulting Numbers: [57, 68, 30] Generated Node #0,4: 23:[57, 68, 30] Operation: 60-30=30 Moving to Node #0,1 Current State: 23:[30, 60, 11], Operations: ['68-57=11'] Exploring Operation: 60-30=30, Resulting Numbers: [11, 30] Generated Node #0,1,0: 23:[11, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [11, 2] Generated Node #0,1,1: 23:[11, 2] Operation: 60/30=2 Exploring Operation: 30+11=41, Resulting Numbers: [60, 41] Generated Node #0,1,2: 23:[60, 41] Operation: 30+11=41 Exploring Operation: 60-11=49, Resulting Numbers: [30, 49] Generated Node #0,1,3: 23:[30, 49] Operation: 60-11=49 Exploring Operation: 30-11=19, Resulting Numbers: [60, 19] Generated Node #0,1,4: 23:[60, 19] Operation: 30-11=19 Moving to Node #0,3 Current State: 23:[57, 30, 8], Operations: ['68-60=8'] Exploring Operation: 57-8=49, Resulting Numbers: [30, 49] Generated Node #0,3,0: 23:[30, 49] Operation: 57-8=49 Exploring Operation: 57-30=27, Resulting Numbers: [8, 27] Generated Node #0,3,1: 23:[8, 27] Operation: 57-30=27 Exploring Operation: 57+8=65, Resulting Numbers: [30, 65] Generated Node #0,3,2: 23:[30, 65] Operation: 57+8=65 Exploring Operation: 30-8=22, Resulting Numbers: [57, 22] Generated Node #0,3,3: 23:[57, 22] Operation: 30-8=22 Exploring Operation: 30+8=38, Resulting Numbers: [57, 38] Generated Node #0,3,4: 23:[57, 38] Operation: 30+8=38 Moving to Node #0,0 Current State: 23:[30, 68, 3], Operations: ['60-57=3'] Exploring Operation: 68-3=65, Resulting Numbers: [30, 65] Generated Node #0,0,0: 23:[30, 65] Operation: 68-3=65 Exploring Operation: 68+3=71, Resulting Numbers: [30, 71] Generated Node #0,0,1: 23:[30, 71] Operation: 68+3=71 Exploring Operation: 30+3=33, Resulting Numbers: [68, 33] Generated Node #0,0,2: 23:[68, 33] Operation: 30+3=33 Exploring Operation: 68-30=38, Resulting Numbers: [3, 38] Generated Node #0,0,3: 23:[3, 38] Operation: 68-30=38 Exploring Operation: 30-3=27, Resulting Numbers: [68, 27] Generated Node #0,0,4: 23:[68, 27] Operation: 30-3=27 Moving to Node #0,2 Current State: 23:[60, 68, 27], Operations: ['57-30=27'] Exploring Operation: 60+68=128, Resulting Numbers: [27, 128] Generated Node #0,2,0: 23:[27, 128] Operation: 60+68=128 Exploring Operation: 60+27=87, Resulting Numbers: [68, 87] Generated Node #0,2,1: 23:[68, 87] Operation: 60+27=87 Exploring Operation: 68-27=41, Resulting Numbers: [60, 41] Generated Node #0,2,2: 23:[60, 41] Operation: 68-27=41 Exploring Operation: 68-60=8, Resulting Numbers: [27, 8] Generated Node #0,2,3: 23:[27, 8] Operation: 68-60=8 Exploring Operation: 60-27=33, Resulting Numbers: [68, 33] Generated Node #0,2,4: 23:[68, 33] Operation: 60-27=33 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[27, 8], Operations: ['57-30=27', '68-60=8'] Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,23 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[60, 41], Operations: ['57-30=27', '68-27=41'] Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 23:[68, 33], Operations: ['57-30=27', '60-27=33'] Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,23 unequal: No Solution Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[27, 128], Operations: ['57-30=27', '60+68=128'] Exploring Operation: 128-27=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 27+128=155, Resulting Numbers: [155] 155,23 unequal: No Solution Exploring Operation: 27*128=3456, Resulting Numbers: [3456] 3456,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[68, 87], Operations: ['57-30=27', '60+27=87'] Exploring Operation: 68+87=155, Resulting Numbers: [155] 155,23 unequal: No Solution Exploring Operation: 68*87=5916, Resulting Numbers: [5916] 5916,23 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,23 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: 23:[57, 68, 30], Operations: ['60-30=30'] Exploring Operation: 57+30=87, Resulting Numbers: [68, 87] Generated Node #0,4,0: 23:[68, 87] Operation: 57+30=87 Exploring Operation: 57-30=27, Resulting Numbers: [68, 27] Generated Node #0,4,1: 23:[68, 27] Operation: 57-30=27 Exploring Operation: 68-30=38, Resulting Numbers: [57, 38] Generated Node #0,4,2: 23:[57, 38] Operation: 68-30=38 Exploring Operation: 57+68=125, Resulting Numbers: [30, 125] Generated Node #0,4,3: 23:[30, 125] Operation: 57+68=125 Exploring Operation: 68-57=11, Resulting Numbers: [30, 11] Generated Node #0,4,4: 23:[30, 11] Operation: 68-57=11 Moving to Node #0,1,0 Current State: 23:[11, 30], Operations: ['68-57=11', '60-30=30'] Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,23 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[8, 27], Operations: ['68-60=8', '57-30=27'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[30, 11], Operations: ['60-30=30', '68-57=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,23 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[30, 49], Operations: ['68-60=8', '57-8=49'] Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,23 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 30*49=1470, Resulting Numbers: [1470] 1470,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[30, 49], Operations: ['68-57=11', '60-11=49'] Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,23 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 30*49=1470, Resulting Numbers: [1470] 1470,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[11, 2], Operations: ['68-57=11', '60/30=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[3, 38], Operations: ['60-57=3', '68-30=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,23 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[57, 22], Operations: ['68-60=8', '30-8=22'] Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,23 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,23 unequal: No Solution Moving to Node #0,1,4 Current State: 23:[60, 19], Operations: ['68-57=11', '30-11=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,23 unequal: No Solution Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,23 unequal: No Solution Moving to Node #0,0,4 Current State: 23:[68, 27], Operations: ['60-57=3', '30-3=27'] Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,23 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[57, 38], Operations: ['60-30=30', '68-30=38'] Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,23 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 57*38=2166, Resulting Numbers: [2166] 2166,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[30, 65], Operations: ['60-57=3', '68-3=65'] Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,23 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,23 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[57, 38], Operations: ['68-60=8', '30+8=38'] Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,23 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 57*38=2166, Resulting Numbers: [2166] 2166,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[68, 27], Operations: ['60-30=30', '57-30=27'] Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,23 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[30, 65], Operations: ['68-60=8', '57+8=65'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,23 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[68, 33], Operations: ['60-57=3', '30+3=33'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[30, 71], Operations: ['60-57=3', '68+3=71'] Exploring Operation: 30+71=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 30*71=2130, Resulting Numbers: [2130] 2130,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[60, 41], Operations: ['68-57=11', '30+11=41'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,23 unequal: No Solution Moving to Node #0,4,3 Current State: 23:[30, 125], Operations: ['60-30=30', '57+68=125'] Exploring Operation: 30*125=3750, Resulting Numbers: [3750] 3750,23 unequal: No Solution Exploring Operation: 125-30=95, Resulting Numbers: [95] 95,23 unequal: No Solution Exploring Operation: 30+125=155, Resulting Numbers: [155] 155,23 unequal: No Solution Moving to Node #0,4,0 Current State: 23:[68, 87], Operations: ['60-30=30', '57+30=87'] Exploring Operation: 68*87=5916, Resulting Numbers: [5916] 5916,23 unequal: No Solution Exploring Operation: 68+87=155, Resulting Numbers: [155] 155,23 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,23 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 37, 90, 14, 74 ]
67
[ "37+90=127", "74-14=60", "127-60=67" ]
Current State: 67:[37, 90, 14, 74], Operations: [] Exploring Operation: 37+90=127, Resulting Numbers: [14, 74, 127] Generated Node #2: [14, 74, 127] from Operation: 37+90=127 Current State: 67:[14, 74, 127], Operations: ['37+90=127'] Exploring Operation: 74-14=60, Resulting Numbers: [127, 60] Generated Node #3: [127, 60] from Operation: 74-14=60 Current State: 67:[127, 60], Operations: ['37+90=127', '74-14=60'] Exploring Operation: 127-60=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[37, 90, 14, 74], Operations: [] Exploring Operation: 90-14=76, Resulting Numbers: [37, 74, 76] Generated Node #0,0: 67:[37, 74, 76] Operation: 90-14=76 Exploring Operation: 37+14=51, Resulting Numbers: [90, 74, 51] Generated Node #0,1: 67:[90, 74, 51] Operation: 37+14=51 Moving to Node #0,0 Current State: 67:[37, 74, 76], Operations: ['90-14=76'] Exploring Operation: 76-37=39, Resulting Numbers: [74, 39] Generated Node #0,0,0: 67:[74, 39] Operation: 76-37=39 Exploring Operation: 74-37=37, Resulting Numbers: [76, 37] Generated Node #0,0,1: 67:[76, 37] Operation: 74-37=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[74, 39], Operations: ['90-14=76', '76-37=39'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[76, 37], Operations: ['90-14=76', '74-37=37'] Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,67 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: 67:[90, 74, 51], Operations: ['37+14=51'] Exploring Operation: 90-74=16, Resulting Numbers: [51, 16] Generated Node #0,1,0: 67:[51, 16] Operation: 90-74=16 Exploring Operation: 90-51=39, Resulting Numbers: [74, 39] Generated Node #0,1,1: 67:[74, 39] Operation: 90-51=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[74, 39], Operations: ['37+14=51', '90-51=39'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[51, 16], Operations: ['37+14=51', '90-74=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[37, 90, 14, 74], Operations: [] Exploring Operation: 37+14=51, Resulting Numbers: [90, 74, 51] Generated Node #0,1: 67:[90, 74, 51] Operation: 37+14=51 Moving to Node #0,1 Current State: 67:[90, 74, 51], Operations: ['37+14=51'] Exploring Operation: 90-74=16, Resulting Numbers: [51, 16] Generated Node #0,1,0: 67:[51, 16] Operation: 90-74=16 Moving to Node #0,1,0 Current State: 67:[51, 16], Operations: ['37+14=51', '90-74=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 56, 54, 78, 90 ]
98
[ "56+54=110", "90-78=12", "110-12=98" ]
Current State: 98:[56, 54, 78, 90], Operations: [] Exploring Operation: 56+54=110, Resulting Numbers: [78, 90, 110] Generated Node #2: [78, 90, 110] from Operation: 56+54=110 Current State: 98:[78, 90, 110], Operations: ['56+54=110'] Exploring Operation: 90-78=12, Resulting Numbers: [110, 12] Generated Node #3: [110, 12] from Operation: 90-78=12 Current State: 98:[110, 12], Operations: ['56+54=110', '90-78=12'] Exploring Operation: 110-12=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[56, 54, 78, 90], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [56, 54, 12] Generated Node #0,0: 98:[56, 54, 12] Operation: 90-78=12 Exploring Operation: 78-56=22, Resulting Numbers: [54, 90, 22] Generated Node #0,1: 98:[54, 90, 22] Operation: 78-56=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[56, 54, 12], Operations: ['90-78=12'] Exploring Operation: 56-12=44, Resulting Numbers: [54, 44] Generated Node #0,0,0: 98:[54, 44] Operation: 56-12=44 Exploring Operation: 56-54=2, Resulting Numbers: [12, 2] Generated Node #0,0,1: 98:[12, 2] Operation: 56-54=2 Moving to Node #0,0,1 Current State: 98:[12, 2], Operations: ['90-78=12', '56-54=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,98 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[54, 44], Operations: ['90-78=12', '56-12=44'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[56, 54, 78, 90], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [56, 54, 12] Generated Node #0,0: 98:[56, 54, 12] Operation: 90-78=12 Moving to Node #0,0 Current State: 98:[56, 54, 12], Operations: ['90-78=12'] Exploring Operation: 56-12=44, Resulting Numbers: [54, 44] Generated Node #0,0,0: 98:[54, 44] Operation: 56-12=44 Moving to Node #0,0,0 Current State: 98:[54, 44], Operations: ['90-78=12', '56-12=44'] Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 21, 40, 44, 47 ]
41
[ "47-40=7", "21/7=3", "44-3=41" ]
Current State: 41:[21, 40, 44, 47], Operations: [] Exploring Operation: 47-40=7, Resulting Numbers: [21, 44, 7] Generated Node #2: [21, 44, 7] from Operation: 47-40=7 Current State: 41:[21, 44, 7], Operations: ['47-40=7'] Exploring Operation: 21/7=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 21/7=3 Current State: 41:[44, 3], Operations: ['47-40=7', '21/7=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[21, 40, 44, 47], Operations: [] Exploring Operation: 44-21=23, Resulting Numbers: [40, 47, 23] Generated Node #0,0: 41:[40, 47, 23] Operation: 44-21=23 Exploring Operation: 21+40=61, Resulting Numbers: [44, 47, 61] Generated Node #0,1: 41:[44, 47, 61] Operation: 21+40=61 Exploring Operation: 47-21=26, Resulting Numbers: [40, 44, 26] Generated Node #0,2: 41:[40, 44, 26] Operation: 47-21=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[40, 44, 26], Operations: ['47-21=26'] Exploring Operation: 40-26=14, Resulting Numbers: [44, 14] Generated Node #0,2,0: 41:[44, 14] Operation: 40-26=14 Exploring Operation: 40+26=66, Resulting Numbers: [44, 66] Generated Node #0,2,1: 41:[44, 66] Operation: 40+26=66 Exploring Operation: 44-26=18, Resulting Numbers: [40, 18] Generated Node #0,2,2: 41:[40, 18] Operation: 44-26=18 Moving to Node #0,2,2 Current State: 41:[40, 18], Operations: ['47-21=26', '44-26=18'] Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,41 unequal: No Solution Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[44, 66], Operations: ['47-21=26', '40+26=66'] Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[44, 14], Operations: ['47-21=26', '40-26=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[40, 47, 23], Operations: ['44-21=23'] Exploring Operation: 40-23=17, Resulting Numbers: [47, 17] Generated Node #0,0,0: 41:[47, 17] Operation: 40-23=17 Exploring Operation: 40+23=63, Resulting Numbers: [47, 63] Generated Node #0,0,1: 41:[47, 63] Operation: 40+23=63 Exploring Operation: 47-23=24, Resulting Numbers: [40, 24] Generated Node #0,0,2: 41:[40, 24] Operation: 47-23=24 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[40, 24], Operations: ['44-21=23', '47-23=24'] Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,41 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,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,0,1 Current State: 41:[47, 63], Operations: ['44-21=23', '40+23=63'] Exploring Operation: 47*63=2961, Resulting Numbers: [2961] 2961,41 unequal: No Solution Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,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,0,0 Current State: 41:[47, 17], Operations: ['44-21=23', '40-23=17'] Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,41 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,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:[44, 47, 61], Operations: ['21+40=61'] Exploring Operation: 47-44=3, Resulting Numbers: [61, 3] Generated Node #0,1,0: 41:[61, 3] Operation: 47-44=3 Exploring Operation: 61-47=14, Resulting Numbers: [44, 14] Generated Node #0,1,1: 41:[44, 14] Operation: 61-47=14 Exploring Operation: 61-44=17, Resulting Numbers: [47, 17] Generated Node #0,1,2: 41:[47, 17] Operation: 61-44=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[44, 14], Operations: ['21+40=61', '61-47=14'] Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,41 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,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,1,2 Current State: 41:[47, 17], Operations: ['21+40=61', '61-44=17'] Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,41 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,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,1,0 Current State: 41:[61, 3], Operations: ['21+40=61', '47-44=3'] Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,41 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 50, 69, 60, 20 ]
27
[ "69*20=1380", "1380/60=23", "50-23=27" ]
Current State: 27:[50, 69, 60, 20], Operations: [] Exploring Operation: 69*20=1380, Resulting Numbers: [50, 60, 1380] Generated Node #2: [50, 60, 1380] from Operation: 69*20=1380 Current State: 27:[50, 60, 1380], Operations: ['69*20=1380'] Exploring Operation: 1380/60=23, Resulting Numbers: [50, 23] Generated Node #3: [50, 23] from Operation: 1380/60=23 Current State: 27:[50, 23], Operations: ['69*20=1380', '1380/60=23'] Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[50, 69, 60, 20], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [50, 20, 9] Generated Node #0,0: 27:[50, 20, 9] Operation: 69-60=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[50, 20, 9], Operations: ['69-60=9'] Exploring Operation: 50-20=30, Resulting Numbers: [9, 30] Generated Node #0,0,0: 27:[9, 30] Operation: 50-20=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[9, 30], Operations: ['69-60=9', '50-20=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 50, 43, 7, 15 ]
48
[ "50-15=35", "35/7=5", "43+5=48" ]
Current State: 48:[50, 43, 7, 15], Operations: [] Exploring Operation: 50-15=35, Resulting Numbers: [43, 7, 35] Generated Node #2: [43, 7, 35] from Operation: 50-15=35 Current State: 48:[43, 7, 35], Operations: ['50-15=35'] Exploring Operation: 35/7=5, Resulting Numbers: [43, 5] Generated Node #3: [43, 5] from Operation: 35/7=5 Current State: 48:[43, 5], Operations: ['50-15=35', '35/7=5'] Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[50, 43, 7, 15], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [7, 15, 7] Generated Node #0,0: 48:[7, 15, 7] Operation: 50-43=7 Exploring Operation: 43+7=50, Resulting Numbers: [50, 15, 50] Generated Node #0,1: 48:[50, 15, 50] Operation: 43+7=50 Moving to Node #0,0 Current State: 48:[7, 15, 7], Operations: ['50-43=7'] Exploring Operation: 15-7=8, Resulting Numbers: [7, 8] Generated Node #0,0,0: 48:[7, 8] Operation: 15-7=8 Exploring Operation: 15-7=8, Resulting Numbers: [7, 8] Generated Node #0,0,1: 48:[7, 8] Operation: 15-7=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[7, 8], Operations: ['50-43=7', '15-7=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[7, 8], Operations: ['50-43=7', '15-7=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 48:[50, 15, 50], Operations: ['43+7=50'] Exploring Operation: 50/50=1, Resulting Numbers: [15, 1] Generated Node #0,1,0: 48:[15, 1] Operation: 50/50=1 Exploring Operation: 50-50=0, Resulting Numbers: [15, 0] Generated Node #0,1,1: 48:[15, 0] Operation: 50-50=0 Moving to Node #0,1,0 Current State: 48:[15, 1], Operations: ['43+7=50', '50/50=1'] Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[15, 0], Operations: ['43+7=50', '50-50=0'] Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,48 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 3, 12, 52, 43 ]
81
[ "12-3=9", "52-43=9", "9*9=81" ]
Current State: 81:[3, 12, 52, 43], Operations: [] Exploring Operation: 12-3=9, Resulting Numbers: [52, 43, 9] Generated Node #2: [52, 43, 9] from Operation: 12-3=9 Current State: 81:[52, 43, 9], Operations: ['12-3=9'] Exploring Operation: 52-43=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 52-43=9 Current State: 81:[9, 9], Operations: ['12-3=9', '52-43=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[3, 12, 52, 43], Operations: [] Exploring Operation: 52-12=40, Resulting Numbers: [3, 43, 40] Generated Node #0,0: 81:[3, 43, 40] Operation: 52-12=40 Exploring Operation: 43-12=31, Resulting Numbers: [3, 52, 31] Generated Node #0,1: 81:[3, 52, 31] Operation: 43-12=31 Exploring Operation: 52+43=95, Resulting Numbers: [3, 12, 95] Generated Node #0,2: 81:[3, 12, 95] Operation: 52+43=95 Exploring Operation: 52-43=9, Resulting Numbers: [3, 12, 9] Generated Node #0,3: 81:[3, 12, 9] Operation: 52-43=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[3, 12, 9], Operations: ['52-43=9'] Exploring Operation: 3*9=27, Resulting Numbers: [12, 27] Generated Node #0,3,0: 81:[12, 27] Operation: 3*9=27 Exploring Operation: 12/3=4, Resulting Numbers: [9, 4] Generated Node #0,3,1: 81:[9, 4] Operation: 12/3=4 Exploring Operation: 12-9=3, Resulting Numbers: [3, 3] Generated Node #0,3,2: 81:[3, 3] Operation: 12-9=3 Exploring Operation: 12-3=9, Resulting Numbers: [9, 9] Generated Node #0,3,3: 81:[9, 9] Operation: 12-3=9 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 81:[3, 3], Operations: ['52-43=9', '12-9=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 81:[9, 9], Operations: ['52-43=9', '12-3=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[3, 12, 52, 43], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [3, 12, 9] Generated Node #0,3: 81:[3, 12, 9] Operation: 52-43=9 Moving to Node #0,3 Current State: 81:[3, 12, 9], Operations: ['52-43=9'] Exploring Operation: 12-3=9, Resulting Numbers: [9, 9] Generated Node #0,3,3: 81:[9, 9] Operation: 12-3=9 Moving to Node #0,3,3 Current State: 81:[9, 9], Operations: ['52-43=9', '12-3=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 24, 59, 97, 35 ]
96
[ "59-24=35", "35/35=1", "97-1=96" ]
Current State: 96:[24, 59, 97, 35], Operations: [] Exploring Operation: 59-24=35, Resulting Numbers: [97, 35, 35] Generated Node #2: [97, 35, 35] from Operation: 59-24=35 Current State: 96:[97, 35, 35], Operations: ['59-24=35'] Exploring Operation: 35/35=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 35/35=1 Current State: 96:[97, 1], Operations: ['59-24=35', '35/35=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[24, 59, 97, 35], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [24, 97, 24] Generated Node #0,0: 96:[24, 97, 24] Operation: 59-35=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[24, 97, 24], Operations: ['59-35=24'] Exploring Operation: 24+24=48, Resulting Numbers: [97, 48] Generated Node #0,0,0: 96:[97, 48] Operation: 24+24=48 Moving to Node #0,0,0 Current State: 96:[97, 48], Operations: ['59-35=24', '24+24=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 67, 46, 69, 18 ]
32
[ "69-67=2", "46+18=64", "64/2=32" ]
Current State: 32:[67, 46, 69, 18], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [46, 18, 2] Generated Node #2: [46, 18, 2] from Operation: 69-67=2 Current State: 32:[46, 18, 2], Operations: ['69-67=2'] Exploring Operation: 46+18=64, Resulting Numbers: [2, 64] Generated Node #3: [2, 64] from Operation: 46+18=64 Current State: 32:[2, 64], Operations: ['69-67=2', '46+18=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[67, 46, 69, 18], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [46, 69, 49] Generated Node #0,0: 32:[46, 69, 49] Operation: 67-18=49 Exploring Operation: 69-46=23, Resulting Numbers: [67, 18, 23] Generated Node #0,1: 32:[67, 18, 23] Operation: 69-46=23 Exploring Operation: 69-18=51, Resulting Numbers: [67, 46, 51] Generated Node #0,2: 32:[67, 46, 51] Operation: 69-18=51 Exploring Operation: 67-46=21, Resulting Numbers: [69, 18, 21] Generated Node #0,3: 32:[69, 18, 21] Operation: 67-46=21 Exploring Operation: 69-67=2, Resulting Numbers: [46, 18, 2] Generated Node #0,4: 32:[46, 18, 2] Operation: 69-67=2 Moving to Node #0,4 Current State: 32:[46, 18, 2], Operations: ['69-67=2'] Exploring Operation: 46/2=23, Resulting Numbers: [18, 23] Generated Node #0,4,0: 32:[18, 23] Operation: 46/2=23 Exploring Operation: 18/2=9, Resulting Numbers: [46, 9] Generated Node #0,4,1: 32:[46, 9] Operation: 18/2=9 Exploring Operation: 18-2=16, Resulting Numbers: [46, 16] Generated Node #0,4,2: 32:[46, 16] Operation: 18-2=16 Exploring Operation: 46-18=28, Resulting Numbers: [2, 28] Generated Node #0,4,3: 32:[2, 28] Operation: 46-18=28 Exploring Operation: 46-2=44, Resulting Numbers: [18, 44] Generated Node #0,4,4: 32:[18, 44] Operation: 46-2=44 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 32:[2, 28], Operations: ['69-67=2', '46-18=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 32:[18, 23], Operations: ['69-67=2', '46/2=23'] Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 18*23=414, Resulting Numbers: [414] 414,32 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 32:[46, 16], Operations: ['69-67=2', '18-2=16'] Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,32 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 32:[18, 44], Operations: ['69-67=2', '46-2=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 32:[46, 9], Operations: ['69-67=2', '18/2=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,32 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: 32:[69, 18, 21], Operations: ['67-46=21'] Exploring Operation: 69-18=51, Resulting Numbers: [21, 51] Generated Node #0,3,0: 32:[21, 51] Operation: 69-18=51 Exploring Operation: 69-21=48, Resulting Numbers: [18, 48] Generated Node #0,3,1: 32:[18, 48] Operation: 69-21=48 Exploring Operation: 69+18=87, Resulting Numbers: [21, 87] Generated Node #0,3,2: 32:[21, 87] Operation: 69+18=87 Exploring Operation: 21-18=3, Resulting Numbers: [69, 3] Generated Node #0,3,3: 32:[69, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [69, 39] Generated Node #0,3,4: 32:[69, 39] Operation: 18+21=39 Moving to Node #0,1 Current State: 32:[67, 18, 23], Operations: ['69-46=23'] Exploring Operation: 67+18=85, Resulting Numbers: [23, 85] Generated Node #0,1,0: 32:[23, 85] Operation: 67+18=85 Exploring Operation: 67-23=44, Resulting Numbers: [18, 44] Generated Node #0,1,1: 32:[18, 44] Operation: 67-23=44 Exploring Operation: 18+23=41, Resulting Numbers: [67, 41] Generated Node #0,1,2: 32:[67, 41] Operation: 18+23=41 Exploring Operation: 67-18=49, Resulting Numbers: [23, 49] Generated Node #0,1,3: 32:[23, 49] Operation: 67-18=49 Exploring Operation: 23-18=5, Resulting Numbers: [67, 5] Generated Node #0,1,4: 32:[67, 5] Operation: 23-18=5 Moving to Node #0,0 Current State: 32:[46, 69, 49], Operations: ['67-18=49'] Exploring Operation: 69-46=23, Resulting Numbers: [49, 23] Generated Node #0,0,0: 32:[49, 23] Operation: 69-46=23 Exploring Operation: 49-46=3, Resulting Numbers: [69, 3] Generated Node #0,0,1: 32:[69, 3] Operation: 49-46=3 Exploring Operation: 46+49=95, Resulting Numbers: [69, 95] Generated Node #0,0,2: 32:[69, 95] Operation: 46+49=95 Exploring Operation: 69-49=20, Resulting Numbers: [46, 20] Generated Node #0,0,3: 32:[46, 20] Operation: 69-49=20 Exploring Operation: 46+69=115, Resulting Numbers: [49, 115] Generated Node #0,0,4: 32:[49, 115] Operation: 46+69=115 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[46, 20], Operations: ['67-18=49', '69-49=20'] Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[49, 23], Operations: ['67-18=49', '69-46=23'] Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[69, 3], Operations: ['67-18=49', '49-46=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,32 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[69, 95], Operations: ['67-18=49', '46+49=95'] Exploring Operation: 69*95=6555, Resulting Numbers: [6555] 6555,32 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 69+95=164, Resulting Numbers: [164] 164,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 32:[49, 115], Operations: ['67-18=49', '46+69=115'] Exploring Operation: 49+115=164, Resulting Numbers: [164] 164,32 unequal: No Solution Exploring Operation: 115-49=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 49*115=5635, Resulting Numbers: [5635] 5635,32 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: 32:[67, 46, 51], Operations: ['69-18=51'] Exploring Operation: 67-46=21, Resulting Numbers: [51, 21] Generated Node #0,2,0: 32:[51, 21] Operation: 67-46=21 Exploring Operation: 51-46=5, Resulting Numbers: [67, 5] Generated Node #0,2,1: 32:[67, 5] Operation: 51-46=5 Exploring Operation: 67+46=113, Resulting Numbers: [51, 113] Generated Node #0,2,2: 32:[51, 113] Operation: 67+46=113 Exploring Operation: 67+51=118, Resulting Numbers: [46, 118] Generated Node #0,2,3: 32:[46, 118] Operation: 67+51=118 Exploring Operation: 67-51=16, Resulting Numbers: [46, 16] Generated Node #0,2,4: 32:[46, 16] Operation: 67-51=16 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 32:[46, 16], Operations: ['69-18=51', '67-51=16'] Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,32 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[51, 21], Operations: ['69-18=51', '67-46=21'] Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,32 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[67, 5], Operations: ['69-18=51', '51-46=5'] Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,32 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[51, 113], Operations: ['69-18=51', '67+46=113'] Exploring Operation: 113-51=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 51*113=5763, Resulting Numbers: [5763] 5763,32 unequal: No Solution Exploring Operation: 51+113=164, Resulting Numbers: [164] 164,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[46, 118], Operations: ['69-18=51', '67+51=118'] Exploring Operation: 118-46=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 46+118=164, Resulting Numbers: [164] 164,32 unequal: No Solution Exploring Operation: 46*118=5428, Resulting Numbers: [5428] 5428,32 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: 32:[18, 44], Operations: ['69-46=23', '67-23=44'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,32 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[18, 48], Operations: ['67-46=21', '69-21=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,32 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[23, 49], Operations: ['69-46=23', '67-18=49'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,32 unequal: No Solution Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[21, 51], Operations: ['67-46=21', '69-18=51'] Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,32 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[67, 5], Operations: ['69-46=23', '23-18=5'] Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,32 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[69, 3], Operations: ['67-46=21', '21-18=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,32 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[67, 41], Operations: ['69-46=23', '18+23=41'] Exploring Operation: 67+41=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 67*41=2747, Resulting Numbers: [2747] 2747,32 unequal: No Solution Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,32 unequal: No Solution Moving to Node #0,3,4 Current State: 32:[69, 39], Operations: ['67-46=21', '18+21=39'] Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,32 unequal: No Solution Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[23, 85], Operations: ['69-46=23', '67+18=85'] Exploring Operation: 23+85=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 23*85=1955, Resulting Numbers: [1955] 1955,32 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[21, 87], Operations: ['67-46=21', '69+18=87'] Exploring Operation: 21*87=1827, Resulting Numbers: [1827] 1827,32 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 21+87=108, Resulting Numbers: [108] 108,32 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 52, 30, 3, 86 ]
56
[ "52+30=82", "86+82=168", "168/3=56" ]
Current State: 56:[52, 30, 3, 86], Operations: [] Exploring Operation: 52+30=82, Resulting Numbers: [3, 86, 82] Generated Node #2: [3, 86, 82] from Operation: 52+30=82 Current State: 56:[3, 86, 82], Operations: ['52+30=82'] Exploring Operation: 86+82=168, Resulting Numbers: [3, 168] Generated Node #3: [3, 168] from Operation: 86+82=168 Current State: 56:[3, 168], Operations: ['52+30=82', '86+82=168'] Exploring Operation: 168/3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[52, 30, 3, 86], Operations: [] Exploring Operation: 52+3=55, Resulting Numbers: [30, 86, 55] Generated Node #0,0: 56:[30, 86, 55] Operation: 52+3=55 Exploring Operation: 86-52=34, Resulting Numbers: [30, 3, 34] Generated Node #0,1: 56:[30, 3, 34] Operation: 86-52=34 Exploring Operation: 86-30=56, Resulting Numbers: [52, 3, 56] Generated Node #0,2: 56:[52, 3, 56] Operation: 86-30=56 Moving to Node #0,2 Current State: 56:[52, 3, 56], Operations: ['86-30=56'] Exploring Operation: 56-52=4, Resulting Numbers: [3, 4] Generated Node #0,2,0: 56:[3, 4] Operation: 56-52=4 Exploring Operation: 52-3=49, Resulting Numbers: [56, 49] Generated Node #0,2,1: 56:[56, 49] Operation: 52-3=49 Exploring Operation: 52+3=55, Resulting Numbers: [56, 55] Generated Node #0,2,2: 56:[56, 55] Operation: 52+3=55 Moving to Node #0,1 Current State: 56:[30, 3, 34], Operations: ['86-52=34'] Exploring Operation: 34-30=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 56:[3, 4] Operation: 34-30=4 Exploring Operation: 34-3=31, Resulting Numbers: [30, 31] Generated Node #0,1,1: 56:[30, 31] Operation: 34-3=31 Exploring Operation: 30-3=27, Resulting Numbers: [34, 27] Generated Node #0,1,2: 56:[34, 27] Operation: 30-3=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[3, 4], Operations: ['86-52=34', '34-30=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[30, 31], Operations: ['86-52=34', '34-3=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,56 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[34, 27], Operations: ['86-52=34', '30-3=27'] Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,56 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,56 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: 56:[30, 86, 55], Operations: ['52+3=55'] Exploring Operation: 55-30=25, Resulting Numbers: [86, 25] Generated Node #0,0,0: 56:[86, 25] Operation: 55-30=25 Exploring Operation: 86-55=31, Resulting Numbers: [30, 31] Generated Node #0,0,1: 56:[30, 31] Operation: 86-55=31 Exploring Operation: 86-30=56, Resulting Numbers: [55, 56] Generated Node #0,0,2: 56:[55, 56] Operation: 86-30=56 Moving to Node #0,2,0 Current State: 56:[3, 4], Operations: ['86-30=56', '56-52=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[56, 55], Operations: ['86-30=56', '52+3=55'] Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,56 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 56*55=3080, Resulting Numbers: [3080] 3080,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[55, 56], Operations: ['52+3=55', '86-30=56'] Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,56 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,56 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[30, 31], Operations: ['52+3=55', '86-55=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,56 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[56, 49], Operations: ['86-30=56', '52-3=49'] Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,56 unequal: No Solution Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[86, 25], Operations: ['52+3=55', '55-30=25'] Exploring Operation: 86*25=2150, Resulting Numbers: [2150] 2150,56 unequal: No Solution Exploring Operation: 86+25=111, Resulting Numbers: [111] 111,56 unequal: No Solution Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 54, 32, 41, 4 ]
20
[ "54-41=13", "4*13=52", "52-32=20" ]
Current State: 20:[54, 32, 41, 4], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [32, 4, 13] Generated Node #2: [32, 4, 13] from Operation: 54-41=13 Current State: 20:[32, 4, 13], Operations: ['54-41=13'] Exploring Operation: 4*13=52, Resulting Numbers: [32, 52] Generated Node #3: [32, 52] from Operation: 4*13=52 Current State: 20:[32, 52], Operations: ['54-41=13', '4*13=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[54, 32, 41, 4], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [32, 4, 13] Generated Node #0,0: 20:[32, 4, 13] Operation: 54-41=13 Exploring Operation: 54-32=22, Resulting Numbers: [41, 4, 22] Generated Node #0,1: 20:[41, 4, 22] Operation: 54-32=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[32, 4, 13], Operations: ['54-41=13'] Exploring Operation: 32-13=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 20:[4, 19] Operation: 32-13=19 Exploring Operation: 32/4=8, Resulting Numbers: [13, 8] Generated Node #0,0,1: 20:[13, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[4, 19], Operations: ['54-41=13', '32-13=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,20 unequal: No Solution No 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: 20:[13, 8], Operations: ['54-41=13', '32/4=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,20 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: 20:[41, 4, 22], Operations: ['54-32=22'] Exploring Operation: 41-4=37, Resulting Numbers: [22, 37] Generated Node #0,1,0: 20:[22, 37] Operation: 41-4=37 Exploring Operation: 41-22=19, Resulting Numbers: [4, 19] Generated Node #0,1,1: 20:[4, 19] Operation: 41-22=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[4, 19], Operations: ['54-32=22', '41-22=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,20 unequal: No Solution No 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: 20:[22, 37], Operations: ['54-32=22', '41-4=37'] Exploring Operation: 22+37=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,20 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
[ 40, 49, 24, 28 ]
46
[ "40*49=1960", "1960/28=70", "70-24=46" ]
Current State: 46:[40, 49, 24, 28], Operations: [] Exploring Operation: 40*49=1960, Resulting Numbers: [24, 28, 1960] Generated Node #2: [24, 28, 1960] from Operation: 40*49=1960 Current State: 46:[24, 28, 1960], Operations: ['40*49=1960'] Exploring Operation: 1960/28=70, Resulting Numbers: [24, 70] Generated Node #3: [24, 70] from Operation: 1960/28=70 Current State: 46:[24, 70], Operations: ['40*49=1960', '1960/28=70'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[40, 49, 24, 28], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [49, 24, 12] Generated Node #0,0: 46:[49, 24, 12] Operation: 40-28=12 Exploring Operation: 49-28=21, Resulting Numbers: [40, 24, 21] Generated Node #0,1: 46:[40, 24, 21] Operation: 49-28=21 Exploring Operation: 49-24=25, Resulting Numbers: [40, 28, 25] Generated Node #0,2: 46:[40, 28, 25] Operation: 49-24=25 Exploring Operation: 28-24=4, Resulting Numbers: [40, 49, 4] Generated Node #0,3: 46:[40, 49, 4] Operation: 28-24=4 Exploring Operation: 49-40=9, Resulting Numbers: [24, 28, 9] Generated Node #0,4: 46:[24, 28, 9] Operation: 49-40=9 Moving to Node #0,1 Current State: 46:[40, 24, 21], Operations: ['49-28=21'] Exploring Operation: 24+21=45, Resulting Numbers: [40, 45] Generated Node #0,1,0: 46:[40, 45] Operation: 24+21=45 Exploring Operation: 40-24=16, Resulting Numbers: [21, 16] Generated Node #0,1,1: 46:[21, 16] Operation: 40-24=16 Exploring Operation: 24-21=3, Resulting Numbers: [40, 3] Generated Node #0,1,2: 46:[40, 3] Operation: 24-21=3 Exploring Operation: 40+21=61, Resulting Numbers: [24, 61] Generated Node #0,1,3: 46:[24, 61] Operation: 40+21=61 Exploring Operation: 40-21=19, Resulting Numbers: [24, 19] Generated Node #0,1,4: 46:[24, 19] Operation: 40-21=19 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 46:[24, 19], Operations: ['49-28=21', '40-21=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,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,0 Current State: 46:[40, 45], Operations: ['49-28=21', '24+21=45'] Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 40*45=1800, Resulting Numbers: [1800] 1800,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:[40, 3], Operations: ['49-28=21', '24-21=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,46 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,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:[21, 16], Operations: ['49-28=21', '40-24=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,46 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,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:[24, 61], Operations: ['49-28=21', '40+21=61'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 24*61=1464, Resulting Numbers: [1464] 1464,46 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: 46:[40, 49, 4], Operations: ['28-24=4'] Exploring Operation: 49-40=9, Resulting Numbers: [4, 9] Generated Node #0,3,0: 46:[4, 9] Operation: 49-40=9 Exploring Operation: 49-4=45, Resulting Numbers: [40, 45] Generated Node #0,3,1: 46:[40, 45] Operation: 49-4=45 Exploring Operation: 40-4=36, Resulting Numbers: [49, 36] Generated Node #0,3,2: 46:[49, 36] Operation: 40-4=36 Exploring Operation: 40+4=44, Resulting Numbers: [49, 44] Generated Node #0,3,3: 46:[49, 44] Operation: 40+4=44 Exploring Operation: 40/4=10, Resulting Numbers: [49, 10] Generated Node #0,3,4: 46:[49, 10] Operation: 40/4=10 Moving to Node #0,2 Current State: 46:[40, 28, 25], Operations: ['49-24=25'] Exploring Operation: 28-25=3, Resulting Numbers: [40, 3] Generated Node #0,2,0: 46:[40, 3] Operation: 28-25=3 Exploring Operation: 40-28=12, Resulting Numbers: [25, 12] Generated Node #0,2,1: 46:[25, 12] Operation: 40-28=12 Exploring Operation: 28+25=53, Resulting Numbers: [40, 53] Generated Node #0,2,2: 46:[40, 53] Operation: 28+25=53 Exploring Operation: 40+28=68, Resulting Numbers: [25, 68] Generated Node #0,2,3: 46:[25, 68] Operation: 40+28=68 Exploring Operation: 40-25=15, Resulting Numbers: [28, 15] Generated Node #0,2,4: 46:[28, 15] Operation: 40-25=15 Moving to Node #0,4 Current State: 46:[24, 28, 9], Operations: ['49-40=9'] Exploring Operation: 28-24=4, Resulting Numbers: [9, 4] Generated Node #0,4,0: 46:[9, 4] Operation: 28-24=4 Exploring Operation: 28+9=37, Resulting Numbers: [24, 37] Generated Node #0,4,1: 46:[24, 37] Operation: 28+9=37 Exploring Operation: 28-9=19, Resulting Numbers: [24, 19] Generated Node #0,4,2: 46:[24, 19] Operation: 28-9=19 Exploring Operation: 24-9=15, Resulting Numbers: [28, 15] Generated Node #0,4,3: 46:[28, 15] Operation: 24-9=15 Exploring Operation: 24+28=52, Resulting Numbers: [9, 52] Generated Node #0,4,4: 46:[9, 52] Operation: 24+28=52 Moving to Node #0,0 Current State: 46:[49, 24, 12], Operations: ['40-28=12'] Exploring Operation: 24/12=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 46:[49, 2] Operation: 24/12=2 Exploring Operation: 49-12=37, Resulting Numbers: [24, 37] Generated Node #0,0,1: 46:[24, 37] Operation: 49-12=37 Exploring Operation: 24+12=36, Resulting Numbers: [49, 36] Generated Node #0,0,2: 46:[49, 36] Operation: 24+12=36 Exploring Operation: 49-24=25, Resulting Numbers: [12, 25] Generated Node #0,0,3: 46:[12, 25] Operation: 49-24=25 Exploring Operation: 24-12=12, Resulting Numbers: [49, 12] Generated Node #0,0,4: 46:[49, 12] Operation: 24-12=12 Moving to Node #0,0,0 Current State: 46:[49, 2], Operations: ['40-28=12', '24/12=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[49, 44], Operations: ['28-24=4', '40+4=44'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[24, 19], Operations: ['49-40=9', '28-9=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,46 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[40, 3], Operations: ['49-24=25', '28-25=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,46 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[40, 45], Operations: ['28-24=4', '49-4=45'] Exploring Operation: 40*45=1800, Resulting Numbers: [1800] 1800,46 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[4, 9], Operations: ['28-24=4', '49-40=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,46 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,46 unequal: No Solution Moving to Node #0,4,0 Current State: 46:[9, 4], Operations: ['49-40=9', '28-24=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,46 unequal: No Solution Moving to Node #0,4,1 Current State: 46:[24, 37], Operations: ['49-40=9', '28+9=37'] Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,46 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[24, 37], Operations: ['40-28=12', '49-12=37'] Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,46 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[49, 10], Operations: ['28-24=4', '40/4=10'] Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,46 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[25, 12], Operations: ['49-24=25', '40-28=12'] Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,46 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[12, 25], Operations: ['40-28=12', '49-24=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,46 unequal: No Solution Moving to Node #0,4,3 Current State: 46:[28, 15], Operations: ['49-40=9', '24-9=15'] Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,46 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[49, 36], Operations: ['40-28=12', '24+12=36'] Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 49+36=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 49*36=1764, Resulting Numbers: [1764] 1764,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[28, 15], Operations: ['49-24=25', '40-25=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,46 unequal: No Solution Moving to Node #0,4,4 Current State: 46:[9, 52], Operations: ['49-40=9', '24+28=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 9*52=468, Resulting Numbers: [468] 468,46 unequal: No Solution Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[49, 36], Operations: ['28-24=4', '40-4=36'] Exploring Operation: 49+36=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 49*36=1764, Resulting Numbers: [1764] 1764,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[40, 53], Operations: ['49-24=25', '28+25=53'] Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,46 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[49, 12], Operations: ['40-28=12', '24-12=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,46 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[25, 68], Operations: ['49-24=25', '40+28=68'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,46 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 7, 38, 15, 98 ]
28
[ "98-38=60", "7*60=420", "420/15=28" ]
Current State: 28:[7, 38, 15, 98], Operations: [] Exploring Operation: 98-38=60, Resulting Numbers: [7, 15, 60] Generated Node #2: [7, 15, 60] from Operation: 98-38=60 Current State: 28:[7, 15, 60], Operations: ['98-38=60'] Exploring Operation: 7*60=420, Resulting Numbers: [15, 420] Generated Node #3: [15, 420] from Operation: 7*60=420 Current State: 28:[15, 420], Operations: ['98-38=60', '7*60=420'] Exploring Operation: 420/15=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 38, 15, 98], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [38, 15, 14] Generated Node #0,0: 28:[38, 15, 14] Operation: 98/7=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[38, 15, 14], Operations: ['98/7=14'] Exploring Operation: 38-15=23, Resulting Numbers: [14, 23] Generated Node #0,0,0: 28:[14, 23] Operation: 38-15=23 Moving to Node #0,0,0 Current State: 28:[14, 23], Operations: ['98/7=14', '38-15=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,28 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
[ 57, 40, 99, 33 ]
66
[ "57+40=97", "99-97=2", "33*2=66" ]
Current State: 66:[57, 40, 99, 33], Operations: [] Exploring Operation: 57+40=97, Resulting Numbers: [99, 33, 97] Generated Node #2: [99, 33, 97] from Operation: 57+40=97 Current State: 66:[99, 33, 97], Operations: ['57+40=97'] Exploring Operation: 99-97=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 99-97=2 Current State: 66:[33, 2], Operations: ['57+40=97', '99-97=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[57, 40, 99, 33], Operations: [] Exploring Operation: 99-57=42, Resulting Numbers: [40, 33, 42] Generated Node #0,0: 66:[40, 33, 42] Operation: 99-57=42 Exploring Operation: 99-40=59, Resulting Numbers: [57, 33, 59] Generated Node #0,1: 66:[57, 33, 59] Operation: 99-40=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[40, 33, 42], Operations: ['99-57=42'] Exploring Operation: 42-33=9, Resulting Numbers: [40, 9] Generated Node #0,0,0: 66:[40, 9] Operation: 42-33=9 Exploring Operation: 42-40=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 66:[33, 2] Operation: 42-40=2 Moving to Node #0,0,1 Current State: 66:[33, 2], Operations: ['99-57=42', '42-40=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[57, 40, 99, 33], Operations: [] Exploring Operation: 99-57=42, Resulting Numbers: [40, 33, 42] Generated Node #0,0: 66:[40, 33, 42] Operation: 99-57=42 Moving to Node #0,0 Current State: 66:[40, 33, 42], Operations: ['99-57=42'] Exploring Operation: 42-40=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 66:[33, 2] Operation: 42-40=2 Moving to Node #0,0,1 Current State: 66:[33, 2], Operations: ['99-57=42', '42-40=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 38, 66, 93, 39 ]
50
[ "38+66=104", "93-39=54", "104-54=50" ]
Current State: 50:[38, 66, 93, 39], Operations: [] Exploring Operation: 38+66=104, Resulting Numbers: [93, 39, 104] Generated Node #2: [93, 39, 104] from Operation: 38+66=104 Current State: 50:[93, 39, 104], Operations: ['38+66=104'] Exploring Operation: 93-39=54, Resulting Numbers: [104, 54] Generated Node #3: [104, 54] from Operation: 93-39=54 Current State: 50:[104, 54], Operations: ['38+66=104', '93-39=54'] Exploring Operation: 104-54=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[38, 66, 93, 39], Operations: [] Exploring Operation: 93-66=27, Resulting Numbers: [38, 39, 27] Generated Node #0,0: 50:[38, 39, 27] Operation: 93-66=27 Exploring Operation: 93-38=55, Resulting Numbers: [66, 39, 55] Generated Node #0,1: 50:[66, 39, 55] Operation: 93-38=55 Exploring Operation: 93-39=54, Resulting Numbers: [38, 66, 54] Generated Node #0,2: 50:[38, 66, 54] Operation: 93-39=54 Exploring Operation: 66-38=28, Resulting Numbers: [93, 39, 28] Generated Node #0,3: 50:[93, 39, 28] Operation: 66-38=28 Exploring Operation: 66-39=27, Resulting Numbers: [38, 93, 27] Generated Node #0,4: 50:[38, 93, 27] Operation: 66-39=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[38, 39, 27], Operations: ['93-66=27'] Exploring Operation: 39-27=12, Resulting Numbers: [38, 12] Generated Node #0,0,0: 50:[38, 12] Operation: 39-27=12 Exploring Operation: 38+27=65, Resulting Numbers: [39, 65] Generated Node #0,0,1: 50:[39, 65] Operation: 38+27=65 Exploring Operation: 38-27=11, Resulting Numbers: [39, 11] Generated Node #0,0,2: 50:[39, 11] Operation: 38-27=11 Exploring Operation: 39-38=1, Resulting Numbers: [27, 1] Generated Node #0,0,3: 50:[27, 1] Operation: 39-38=1 Exploring Operation: 39+27=66, Resulting Numbers: [38, 66] Generated Node #0,0,4: 50:[38, 66] Operation: 39+27=66 Moving to Node #0,0,3 Current State: 50:[27, 1], Operations: ['93-66=27', '39-38=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[39, 11], Operations: ['93-66=27', '38-27=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[38, 66, 93, 39], Operations: [] Exploring Operation: 93-66=27, Resulting Numbers: [38, 39, 27] Generated Node #0,0: 50:[38, 39, 27] Operation: 93-66=27 Moving to Node #0,0 Current State: 50:[38, 39, 27], Operations: ['93-66=27'] Exploring Operation: 38-27=11, Resulting Numbers: [39, 11] Generated Node #0,0,2: 50:[39, 11] Operation: 38-27=11 Moving to Node #0,0,2 Current State: 50:[39, 11], Operations: ['93-66=27', '38-27=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 79, 48, 87, 33 ]
27
[ "87-79=8", "48/8=6", "33-6=27" ]
Current State: 27:[79, 48, 87, 33], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [48, 33, 8] Generated Node #2: [48, 33, 8] from Operation: 87-79=8 Current State: 27:[48, 33, 8], Operations: ['87-79=8'] Exploring Operation: 48/8=6, Resulting Numbers: [33, 6] Generated Node #3: [33, 6] from Operation: 48/8=6 Current State: 27:[33, 6], Operations: ['87-79=8', '48/8=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[79, 48, 87, 33], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [48, 33, 8] Generated Node #0,0: 27:[48, 33, 8] Operation: 87-79=8 Moving to Node #0,0 Current State: 27:[48, 33, 8], Operations: ['87-79=8'] Exploring Operation: 48-33=15, Resulting Numbers: [8, 15] Generated Node #0,0,0: 27:[8, 15] Operation: 48-33=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[8, 15], Operations: ['87-79=8', '48-33=15'] Exploring Operation: 15-8=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
[ 64, 31, 68, 35 ]
34
[ "64-31=33", "35-33=2", "68/2=34" ]
Current State: 34:[64, 31, 68, 35], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [68, 35, 33] Generated Node #2: [68, 35, 33] from Operation: 64-31=33 Current State: 34:[68, 35, 33], Operations: ['64-31=33'] Exploring Operation: 35-33=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 35-33=2 Current State: 34:[68, 2], Operations: ['64-31=33', '35-33=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[64, 31, 68, 35], Operations: [] Exploring Operation: 68-31=37, Resulting Numbers: [64, 35, 37] Generated Node #0,0: 34:[64, 35, 37] Operation: 68-31=37 Exploring Operation: 68-64=4, Resulting Numbers: [31, 35, 4] Generated Node #0,1: 34:[31, 35, 4] Operation: 68-64=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[31, 35, 4], Operations: ['68-64=4'] Exploring Operation: 35-31=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 34:[4, 4] Operation: 35-31=4 Exploring Operation: 31+4=35, Resulting Numbers: [35, 35] Generated Node #0,1,1: 34:[35, 35] Operation: 31+4=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[35, 35], Operations: ['68-64=4', '31+4=35'] Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[4, 4], Operations: ['68-64=4', '35-31=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[64, 35, 37], Operations: ['68-31=37'] Exploring Operation: 64-35=29, Resulting Numbers: [37, 29] Generated Node #0,0,0: 34:[37, 29] Operation: 64-35=29 Exploring Operation: 64-37=27, Resulting Numbers: [35, 27] Generated Node #0,0,1: 34:[35, 27] Operation: 64-37=27 Moving to Node #0,0,0 Current State: 34:[37, 29], Operations: ['68-31=37', '64-35=29'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[35, 27], Operations: ['68-31=37', '64-37=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,34 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
[ 92, 81, 50, 22 ]
61
[ "92-81=11", "50+22=72", "72-11=61" ]
Current State: 61:[92, 81, 50, 22], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [50, 22, 11] Generated Node #2: [50, 22, 11] from Operation: 92-81=11 Current State: 61:[50, 22, 11], Operations: ['92-81=11'] Exploring Operation: 50+22=72, Resulting Numbers: [11, 72] Generated Node #3: [11, 72] from Operation: 50+22=72 Current State: 61:[11, 72], Operations: ['92-81=11', '50+22=72'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[92, 81, 50, 22], Operations: [] Exploring Operation: 81-22=59, Resulting Numbers: [92, 50, 59] Generated Node #0,0: 61:[92, 50, 59] Operation: 81-22=59 Exploring Operation: 92-22=70, Resulting Numbers: [81, 50, 70] Generated Node #0,1: 61:[81, 50, 70] Operation: 92-22=70 Moving to Node #0,1 Current State: 61:[81, 50, 70], Operations: ['92-22=70'] Exploring Operation: 81-70=11, Resulting Numbers: [50, 11] Generated Node #0,1,0: 61:[50, 11] Operation: 81-70=11 Exploring Operation: 81-50=31, Resulting Numbers: [70, 31] Generated Node #0,1,1: 61:[70, 31] Operation: 81-50=31 Moving to Node #0,0 Current State: 61:[92, 50, 59], Operations: ['81-22=59'] Exploring Operation: 92-59=33, Resulting Numbers: [50, 33] Generated Node #0,0,0: 61:[50, 33] Operation: 92-59=33 Exploring Operation: 92-50=42, Resulting Numbers: [59, 42] Generated Node #0,0,1: 61:[59, 42] Operation: 92-50=42 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[59, 42], Operations: ['81-22=59', '92-50=42'] Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[50, 33], Operations: ['81-22=59', '92-59=33'] Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,61 unequal: No Solution Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,61 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: 61:[70, 31], Operations: ['92-22=70', '81-50=31'] Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[50, 11], Operations: ['92-22=70', '81-70=11'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[92, 81, 50, 22], Operations: [] Exploring Operation: 92-22=70, Resulting Numbers: [81, 50, 70] Generated Node #0,1: 61:[81, 50, 70] Operation: 92-22=70 Moving to Node #0,1 Current State: 61:[81, 50, 70], Operations: ['92-22=70'] Exploring Operation: 81-70=11, Resulting Numbers: [50, 11] Generated Node #0,1,0: 61:[50, 11] Operation: 81-70=11 Moving to Node #0,1,0 Current State: 61:[50, 11], Operations: ['92-22=70', '81-70=11'] Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 3, 92, 8, 5 ]
11
[ "3+92=95", "95/5=19", "19-8=11" ]
Current State: 11:[3, 92, 8, 5], Operations: [] Exploring Operation: 3+92=95, Resulting Numbers: [8, 5, 95] Generated Node #2: [8, 5, 95] from Operation: 3+92=95 Current State: 11:[8, 5, 95], Operations: ['3+92=95'] Exploring Operation: 95/5=19, Resulting Numbers: [8, 19] Generated Node #3: [8, 19] from Operation: 95/5=19 Current State: 11:[8, 19], Operations: ['3+92=95', '95/5=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[3, 92, 8, 5], Operations: [] Exploring Operation: 92-8=84, Resulting Numbers: [3, 5, 84] Generated Node #0,0: 11:[3, 5, 84] Operation: 92-8=84 Exploring Operation: 3+8=11, Resulting Numbers: [92, 5, 11] Generated Node #0,1: 11:[92, 5, 11] Operation: 3+8=11 Exploring Operation: 92-5=87, Resulting Numbers: [3, 8, 87] Generated Node #0,2: 11:[3, 8, 87] Operation: 92-5=87 Exploring Operation: 92-3=89, Resulting Numbers: [8, 5, 89] Generated Node #0,3: 11:[8, 5, 89] Operation: 92-3=89 Exploring Operation: 3+5=8, Resulting Numbers: [92, 8, 8] Generated Node #0,4: 11:[92, 8, 8] Operation: 3+5=8 Moving to Node #0,0 Current State: 11:[3, 5, 84], Operations: ['92-8=84'] Exploring Operation: 3*5=15, Resulting Numbers: [84, 15] Generated Node #0,0,0: 11:[84, 15] Operation: 3*5=15 Exploring Operation: 84/3=28, Resulting Numbers: [5, 28] Generated Node #0,0,1: 11:[5, 28] Operation: 84/3=28 Exploring Operation: 84-3=81, Resulting Numbers: [5, 81] Generated Node #0,0,2: 11:[5, 81] Operation: 84-3=81 Exploring Operation: 84-5=79, Resulting Numbers: [3, 79] Generated Node #0,0,3: 11:[3, 79] Operation: 84-5=79 Exploring Operation: 3+5=8, Resulting Numbers: [84, 8] Generated Node #0,0,4: 11:[84, 8] Operation: 3+5=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[5, 28], Operations: ['92-8=84', '84/3=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,11 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[5, 81], Operations: ['92-8=84', '84-3=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,11 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[3, 79], Operations: ['92-8=84', '84-5=79'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,11 unequal: No Solution Exploring Operation: 3*79=237, Resulting Numbers: [237] 237,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 11:[84, 8], Operations: ['92-8=84', '3+5=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[84, 15], Operations: ['92-8=84', '3*5=15'] Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,11 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,11 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 11:[3, 8, 87], Operations: ['92-5=87'] Exploring Operation: 3+8=11, Resulting Numbers: [87, 11] Generated Node #0,2,0: 11:[87, 11] Operation: 3+8=11 Exploring Operation: 87-8=79, Resulting Numbers: [3, 79] Generated Node #0,2,1: 11:[3, 79] Operation: 87-8=79 Exploring Operation: 87-3=84, Resulting Numbers: [8, 84] Generated Node #0,2,2: 11:[8, 84] Operation: 87-3=84 Exploring Operation: 8-3=5, Resulting Numbers: [87, 5] Generated Node #0,2,3: 11:[87, 5] Operation: 8-3=5 Exploring Operation: 87/3=29, Resulting Numbers: [8, 29] Generated Node #0,2,4: 11:[8, 29] Operation: 87/3=29 Moving to Node #0,4 Current State: 11:[92, 8, 8], Operations: ['3+5=8'] Exploring Operation: 8/8=1, Resulting Numbers: [92, 1] Generated Node #0,4,0: 11:[92, 1] Operation: 8/8=1 Exploring Operation: 92-8=84, Resulting Numbers: [8, 84] Generated Node #0,4,1: 11:[8, 84] Operation: 92-8=84 Exploring Operation: 92-8=84, Resulting Numbers: [8, 84] Generated Node #0,4,2: 11:[8, 84] Operation: 92-8=84 Exploring Operation: 92+8=100, Resulting Numbers: [8, 100] Generated Node #0,4,3: 11:[8, 100] Operation: 92+8=100 Exploring Operation: 8+8=16, Resulting Numbers: [92, 16] Generated Node #0,4,4: 11:[92, 16] Operation: 8+8=16 Moving to Node #0,1 Current State: 11:[92, 5, 11], Operations: ['3+8=11'] Exploring Operation: 92-11=81, Resulting Numbers: [5, 81] Generated Node #0,1,0: 11:[5, 81] Operation: 92-11=81 Exploring Operation: 92+5=97, Resulting Numbers: [11, 97] Generated Node #0,1,1: 11:[11, 97] Operation: 92+5=97 Exploring Operation: 11-5=6, Resulting Numbers: [92, 6] Generated Node #0,1,2: 11:[92, 6] Operation: 11-5=6 Exploring Operation: 5+11=16, Resulting Numbers: [92, 16] Generated Node #0,1,3: 11:[92, 16] Operation: 5+11=16 Exploring Operation: 92-5=87, Resulting Numbers: [11, 87] Generated Node #0,1,4: 11:[11, 87] Operation: 92-5=87 Moving to Node #0,3 Current State: 11:[8, 5, 89], Operations: ['92-3=89'] Exploring Operation: 89-5=84, Resulting Numbers: [8, 84] Generated Node #0,3,0: 11:[8, 84] Operation: 89-5=84 Exploring Operation: 5+89=94, Resulting Numbers: [8, 94] Generated Node #0,3,1: 11:[8, 94] Operation: 5+89=94 Exploring Operation: 89-8=81, Resulting Numbers: [5, 81] Generated Node #0,3,2: 11:[5, 81] Operation: 89-8=81 Exploring Operation: 8+5=13, Resulting Numbers: [89, 13] Generated Node #0,3,3: 11:[89, 13] Operation: 8+5=13 Exploring Operation: 8-5=3, Resulting Numbers: [89, 3] Generated Node #0,3,4: 11:[89, 3] Operation: 8-5=3 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[8, 84], Operations: ['92-3=89', '89-5=84'] Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,11 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[5, 81], Operations: ['92-3=89', '89-8=81'] Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,11 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[89, 13], Operations: ['92-3=89', '8+5=13'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,11 unequal: No Solution Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[8, 94], Operations: ['92-3=89', '5+89=94'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 8+94=102, Resulting Numbers: [102] 102,11 unequal: No Solution Exploring Operation: 8*94=752, Resulting Numbers: [752] 752,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 11:[89, 3], Operations: ['92-3=89', '8-5=3'] Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,11 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 11:[8, 29], Operations: ['92-5=87', '87/3=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[3, 79], Operations: ['92-5=87', '87-8=79'] Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,11 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 3*79=237, Resulting Numbers: [237] 237,11 unequal: No Solution Moving to Node #0,4,2 Current State: 11:[8, 84], Operations: ['3+5=8', '92-8=84'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,11 unequal: No Solution Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,11 unequal: No Solution Moving to Node #0,4,1 Current State: 11:[8, 84], Operations: ['3+5=8', '92-8=84'] Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[11, 87], Operations: ['3+8=11', '92-5=87'] Exploring Operation: 11*87=957, Resulting Numbers: [957] 957,11 unequal: No Solution Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 11+87=98, Resulting Numbers: [98] 98,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[87, 11], Operations: ['92-5=87', '3+8=11'] Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 87+11=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 87*11=957, Resulting Numbers: [957] 957,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[5, 81], Operations: ['3+8=11', '92-11=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,11 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[8, 84], Operations: ['92-5=87', '87-3=84'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[87, 5], Operations: ['92-5=87', '8-3=5'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,11 unequal: No Solution Exploring Operation: 87*5=435, Resulting Numbers: [435] 435,11 unequal: No Solution Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[92, 6], Operations: ['3+8=11', '11-5=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[92, 16], Operations: ['3+8=11', '5+11=16'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 92*16=1472, Resulting Numbers: [1472] 1472,11 unequal: No Solution Exploring Operation: 92+16=108, Resulting Numbers: [108] 108,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[11, 97], Operations: ['3+8=11', '92+5=97'] Exploring Operation: 97-11=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 11*97=1067, Resulting Numbers: [1067] 1067,11 unequal: No Solution Exploring Operation: 11+97=108, Resulting Numbers: [108] 108,11 unequal: No Solution Moving to Node #0,4,4 Current State: 11:[92, 16], Operations: ['3+5=8', '8+8=16'] Exploring Operation: 92*16=1472, Resulting Numbers: [1472] 1472,11 unequal: No Solution Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 92+16=108, Resulting Numbers: [108] 108,11 unequal: No Solution Moving to Node #0,4,0 Current State: 11:[92, 1], Operations: ['3+5=8', '8/8=1'] Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,11 unequal: No Solution Moving to Node #0,4,3 Current State: 11:[8, 100], Operations: ['3+5=8', '92+8=100'] Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 8+100=108, Resulting Numbers: [108] 108,11 unequal: No Solution Exploring Operation: 8*100=800, Resulting Numbers: [800] 800,11 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 34, 48, 69, 30 ]
57
[ "34-30=4", "48/4=12", "69-12=57" ]
Current State: 57:[34, 48, 69, 30], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [48, 69, 4] Generated Node #2: [48, 69, 4] from Operation: 34-30=4 Current State: 57:[48, 69, 4], Operations: ['34-30=4'] Exploring Operation: 48/4=12, Resulting Numbers: [69, 12] Generated Node #3: [69, 12] from Operation: 48/4=12 Current State: 57:[69, 12], Operations: ['34-30=4', '48/4=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[34, 48, 69, 30], Operations: [] Exploring Operation: 48-34=14, Resulting Numbers: [69, 30, 14] Generated Node #0,0: 57:[69, 30, 14] Operation: 48-34=14 Exploring Operation: 34+30=64, Resulting Numbers: [48, 69, 64] Generated Node #0,1: 57:[48, 69, 64] Operation: 34+30=64 Exploring Operation: 48-30=18, Resulting Numbers: [34, 69, 18] Generated Node #0,2: 57:[34, 69, 18] Operation: 48-30=18 Exploring Operation: 69-48=21, Resulting Numbers: [34, 30, 21] Generated Node #0,3: 57:[34, 30, 21] Operation: 69-48=21 Exploring Operation: 34-30=4, Resulting Numbers: [48, 69, 4] Generated Node #0,4: 57:[48, 69, 4] Operation: 34-30=4 Moving to Node #0,4 Current State: 57:[48, 69, 4], Operations: ['34-30=4'] Exploring Operation: 48+4=52, Resulting Numbers: [69, 52] Generated Node #0,4,0: 57:[69, 52] Operation: 48+4=52 Exploring Operation: 48-4=44, Resulting Numbers: [69, 44] Generated Node #0,4,1: 57:[69, 44] Operation: 48-4=44 Exploring Operation: 48/4=12, Resulting Numbers: [69, 12] Generated Node #0,4,2: 57:[69, 12] Operation: 48/4=12 Exploring Operation: 69-48=21, Resulting Numbers: [4, 21] Generated Node #0,4,3: 57:[4, 21] Operation: 69-48=21 Exploring Operation: 69-4=65, Resulting Numbers: [48, 65] Generated Node #0,4,4: 57:[48, 65] Operation: 69-4=65 Moving to Node #0,1 Current State: 57:[48, 69, 64], Operations: ['34+30=64'] Exploring Operation: 69-48=21, Resulting Numbers: [64, 21] Generated Node #0,1,0: 57:[64, 21] Operation: 69-48=21 Exploring Operation: 48+64=112, Resulting Numbers: [69, 112] Generated Node #0,1,1: 57:[69, 112] Operation: 48+64=112 Exploring Operation: 48+69=117, Resulting Numbers: [64, 117] Generated Node #0,1,2: 57:[64, 117] Operation: 48+69=117 Exploring Operation: 69-64=5, Resulting Numbers: [48, 5] Generated Node #0,1,3: 57:[48, 5] Operation: 69-64=5 Exploring Operation: 64-48=16, Resulting Numbers: [69, 16] Generated Node #0,1,4: 57:[69, 16] Operation: 64-48=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[64, 21], Operations: ['34+30=64', '69-48=21'] Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,57 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[48, 5], Operations: ['34+30=64', '69-64=5'] Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,57 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 57:[69, 16], Operations: ['34+30=64', '64-48=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,57 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[69, 112], Operations: ['34+30=64', '48+64=112'] Exploring Operation: 69*112=7728, Resulting Numbers: [7728] 7728,57 unequal: No Solution Exploring Operation: 69+112=181, Resulting Numbers: [181] 181,57 unequal: No Solution Exploring Operation: 112-69=43, Resulting Numbers: [43] 43,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[64, 117], Operations: ['34+30=64', '48+69=117'] Exploring Operation: 64*117=7488, Resulting Numbers: [7488] 7488,57 unequal: No Solution Exploring Operation: 64+117=181, Resulting Numbers: [181] 181,57 unequal: No Solution Exploring Operation: 117-64=53, Resulting Numbers: [53] 53,57 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: 57:[34, 30, 21], Operations: ['69-48=21'] Exploring Operation: 34+21=55, Resulting Numbers: [30, 55] Generated Node #0,3,0: 57:[30, 55] Operation: 34+21=55 Exploring Operation: 34-30=4, Resulting Numbers: [21, 4] Generated Node #0,3,1: 57:[21, 4] Operation: 34-30=4 Exploring Operation: 30+21=51, Resulting Numbers: [34, 51] Generated Node #0,3,2: 57:[34, 51] Operation: 30+21=51 Exploring Operation: 34+30=64, Resulting Numbers: [21, 64] Generated Node #0,3,3: 57:[21, 64] Operation: 34+30=64 Exploring Operation: 34-21=13, Resulting Numbers: [30, 13] Generated Node #0,3,4: 57:[30, 13] Operation: 34-21=13 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 57:[21, 4], Operations: ['69-48=21', '34-30=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,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,3,3 Current State: 57:[21, 64], Operations: ['69-48=21', '34+30=64'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 21+64=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 21*64=1344, Resulting Numbers: [1344] 1344,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,3,0 Current State: 57:[30, 55], Operations: ['69-48=21', '34+21=55'] Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,57 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,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,3,4 Current State: 57:[30, 13], Operations: ['69-48=21', '34-21=13'] Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,57 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,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,3,2 Current State: 57:[34, 51], Operations: ['69-48=21', '30+21=51'] Exploring Operation: 34+51=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 34*51=1734, Resulting Numbers: [1734] 1734,57 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,57 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: 57:[69, 30, 14], Operations: ['48-34=14'] Exploring Operation: 30-14=16, Resulting Numbers: [69, 16] Generated Node #0,0,0: 57:[69, 16] Operation: 30-14=16 Exploring Operation: 30+14=44, Resulting Numbers: [69, 44] Generated Node #0,0,1: 57:[69, 44] Operation: 30+14=44 Exploring Operation: 69-14=55, Resulting Numbers: [30, 55] Generated Node #0,0,2: 57:[30, 55] Operation: 69-14=55 Exploring Operation: 69-30=39, Resulting Numbers: [14, 39] Generated Node #0,0,3: 57:[14, 39] Operation: 69-30=39 Exploring Operation: 69+14=83, Resulting Numbers: [30, 83] Generated Node #0,0,4: 57:[30, 83] Operation: 69+14=83 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[30, 55], Operations: ['48-34=14', '69-14=55'] Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,57 unequal: No Solution Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,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:[69, 16], Operations: ['48-34=14', '30-14=16'] Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,57 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,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,3 Current State: 57:[14, 39], Operations: ['48-34=14', '69-30=39'] Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,57 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,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:[69, 44], Operations: ['48-34=14', '30+14=44'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,57 unequal: No Solution Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,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,4 Current State: 57:[30, 83], Operations: ['48-34=14', '69+14=83'] Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,57 unequal: No Solution Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,57 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,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:[34, 69, 18], Operations: ['48-30=18'] Exploring Operation: 69-18=51, Resulting Numbers: [34, 51] Generated Node #0,2,0: 57:[34, 51] Operation: 69-18=51 Exploring Operation: 69+18=87, Resulting Numbers: [34, 87] Generated Node #0,2,1: 57:[34, 87] Operation: 69+18=87 Exploring Operation: 34-18=16, Resulting Numbers: [69, 16] Generated Node #0,2,2: 57:[69, 16] Operation: 34-18=16 Exploring Operation: 69-34=35, Resulting Numbers: [18, 35] Generated Node #0,2,3: 57:[18, 35] Operation: 69-34=35 Exploring Operation: 34+18=52, Resulting Numbers: [69, 52] Generated Node #0,2,4: 57:[69, 52] Operation: 34+18=52 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[69, 16], Operations: ['48-30=18', '34-18=16'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,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,2,3 Current State: 57:[18, 35], Operations: ['48-30=18', '69-34=35'] Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,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,2,4 Current State: 57:[69, 52], Operations: ['48-30=18', '34+18=52'] Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,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,2,0 Current State: 57:[34, 51], Operations: ['48-30=18', '69-18=51'] Exploring Operation: 34*51=1734, Resulting Numbers: [1734] 1734,57 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 34+51=85, Resulting Numbers: [85] 85,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,2,1 Current State: 57:[34, 87], Operations: ['48-30=18', '69+18=87'] Exploring Operation: 34*87=2958, Resulting Numbers: [2958] 2958,57 unequal: No Solution Exploring Operation: 34+87=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 57:[4, 21], Operations: ['34-30=4', '69-48=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,57 unequal: No Solution Moving to Node #0,4,4 Current State: 57:[48, 65], Operations: ['34-30=4', '69-4=65'] Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,57 unequal: No Solution Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,57 unequal: No Solution Moving to Node #0,4,0 Current State: 57:[69, 52], Operations: ['34-30=4', '48+4=52'] Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,57 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,57 unequal: No Solution Moving to Node #0,4,2 Current State: 57:[69, 12], Operations: ['34-30=4', '48/4=12'] Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,57 unequal: No Solution Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,57 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[34, 48, 69, 30], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [48, 69, 4] Generated Node #0,4: 57:[48, 69, 4] Operation: 34-30=4 Moving to Node #0,4 Current State: 57:[48, 69, 4], Operations: ['34-30=4'] Exploring Operation: 48/4=12, Resulting Numbers: [69, 12] Generated Node #0,4,2: 57:[69, 12] Operation: 48/4=12 Moving to Node #0,4,2 Current State: 57:[69, 12], Operations: ['34-30=4', '48/4=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.907986
hs_5
sum_heuristic
[ 2, 9, 20, 98 ]
98
[ "20/2=10", "10-9=1", "98*1=98" ]
Current State: 98:[2, 9, 20, 98], Operations: [] Exploring Operation: 20/2=10, Resulting Numbers: [9, 98, 10] Generated Node #2: [9, 98, 10] from Operation: 20/2=10 Current State: 98:[9, 98, 10], Operations: ['20/2=10'] Exploring Operation: 10-9=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 10-9=1 Current State: 98:[98, 1], Operations: ['20/2=10', '10-9=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[2, 9, 20, 98], Operations: [] Exploring Operation: 20-9=11, Resulting Numbers: [2, 98, 11] Generated Node #0,0: 98:[2, 98, 11] Operation: 20-9=11 Exploring Operation: 20/2=10, Resulting Numbers: [9, 98, 10] Generated Node #0,1: 98:[9, 98, 10] Operation: 20/2=10 Exploring Operation: 9-2=7, Resulting Numbers: [20, 98, 7] Generated Node #0,2: 98:[20, 98, 7] Operation: 9-2=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[2, 98, 11], Operations: ['20-9=11'] Exploring Operation: 11-2=9, Resulting Numbers: [98, 9] Generated Node #0,0,0: 98:[98, 9] Operation: 11-2=9 Exploring Operation: 2+11=13, Resulting Numbers: [98, 13] Generated Node #0,0,1: 98:[98, 13] Operation: 2+11=13 Exploring Operation: 98/2=49, Resulting Numbers: [11, 49] Generated Node #0,0,2: 98:[11, 49] Operation: 98/2=49 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[98, 13], Operations: ['20-9=11', '2+11=13'] Exploring Operation: 98-13=85, Resulting Numbers: [85] 85,98 unequal: No Solution Exploring Operation: 98*13=1274, Resulting Numbers: [1274] 1274,98 unequal: No Solution Exploring Operation: 98+13=111, Resulting Numbers: [111] 111,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[98, 9], Operations: ['20-9=11', '11-2=9'] Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,98 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[11, 49], Operations: ['20-9=11', '98/2=49'] Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,98 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[9, 98, 10], Operations: ['20/2=10'] Exploring Operation: 9+10=19, Resulting Numbers: [98, 19] Generated Node #0,1,0: 98:[98, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [98, 1] Generated Node #0,1,1: 98:[98, 1] Operation: 10-9=1 Exploring Operation: 9*10=90, Resulting Numbers: [98, 90] Generated Node #0,1,2: 98:[98, 90] Operation: 9*10=90 Moving to Node #0,1,1 Current State: 98:[98, 1], Operations: ['20/2=10', '10-9=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[2, 9, 20, 98], Operations: [] Exploring Operation: 20/2=10, Resulting Numbers: [9, 98, 10] Generated Node #0,1: 98:[9, 98, 10] Operation: 20/2=10 Moving to Node #0,1 Current State: 98:[9, 98, 10], Operations: ['20/2=10'] Exploring Operation: 10-9=1, Resulting Numbers: [98, 1] Generated Node #0,1,1: 98:[98, 1] Operation: 10-9=1 Moving to Node #0,1,1 Current State: 98:[98, 1], Operations: ['20/2=10', '10-9=1'] Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 15, 94, 87, 2 ]
10
[ "94-15=79", "87+2=89", "89-79=10" ]
Current State: 10:[15, 94, 87, 2], Operations: [] Exploring Operation: 94-15=79, Resulting Numbers: [87, 2, 79] Generated Node #2: [87, 2, 79] from Operation: 94-15=79 Current State: 10:[87, 2, 79], Operations: ['94-15=79'] Exploring Operation: 87+2=89, Resulting Numbers: [79, 89] Generated Node #3: [79, 89] from Operation: 87+2=89 Current State: 10:[79, 89], Operations: ['94-15=79', '87+2=89'] Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 94, 87, 2], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [15, 87, 47] Generated Node #0,0: 10:[15, 87, 47] Operation: 94/2=47 Exploring Operation: 94-87=7, Resulting Numbers: [15, 2, 7] Generated Node #0,1: 10:[15, 2, 7] Operation: 94-87=7 Moving to Node #0,1 Current State: 10:[15, 2, 7], Operations: ['94-87=7'] Exploring Operation: 15-7=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 10:[2, 8] Operation: 15-7=8 Exploring Operation: 15-2=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 10:[7, 13] Operation: 15-2=13 Moving to Node #0,0 Current State: 10:[15, 87, 47], Operations: ['94/2=47'] Exploring Operation: 87-15=72, Resulting Numbers: [47, 72] Generated Node #0,0,0: 10:[47, 72] Operation: 87-15=72 Exploring Operation: 87-47=40, Resulting Numbers: [15, 40] Generated Node #0,0,1: 10:[15, 40] Operation: 87-47=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[15, 40], Operations: ['94/2=47', '87-47=40'] 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,0 Current State: 10:[47, 72], Operations: ['94/2=47', '87-15=72'] Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 47+72=119, Resulting Numbers: [119] 119,10 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: 10:[2, 8], Operations: ['94-87=7', '15-7=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[15, 94, 87, 2], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [15, 2, 7] Generated Node #0,1: 10:[15, 2, 7] Operation: 94-87=7 Moving to Node #0,1 Current State: 10:[15, 2, 7], Operations: ['94-87=7'] Exploring Operation: 15-7=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 10:[2, 8] Operation: 15-7=8 Moving to Node #0,1,0 Current State: 10:[2, 8], Operations: ['94-87=7', '15-7=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 5, 12, 60, 5 ]
97
[ "5*5=25", "12+60=72", "25+72=97" ]
Current State: 97:[5, 12, 60, 5], Operations: [] Exploring Operation: 5*5=25, Resulting Numbers: [12, 60, 25] Generated Node #2: [12, 60, 25] from Operation: 5*5=25 Current State: 97:[12, 60, 25], Operations: ['5*5=25'] Exploring Operation: 12+60=72, Resulting Numbers: [25, 72] Generated Node #3: [25, 72] from Operation: 12+60=72 Current State: 97:[25, 72], Operations: ['5*5=25', '12+60=72'] Exploring Operation: 25+72=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[5, 12, 60, 5], Operations: [] Exploring Operation: 5*12=60, Resulting Numbers: [60, 5, 60] Generated Node #0,0: 97:[60, 5, 60] Operation: 5*12=60 Exploring Operation: 12*5=60, Resulting Numbers: [5, 60, 60] Generated Node #0,1: 97:[5, 60, 60] Operation: 12*5=60 Exploring Operation: 5+12=17, Resulting Numbers: [60, 5, 17] Generated Node #0,2: 97:[60, 5, 17] Operation: 5+12=17 Exploring Operation: 5*5=25, Resulting Numbers: [12, 60, 25] Generated Node #0,3: 97:[12, 60, 25] Operation: 5*5=25 Moving to Node #0,0 Current State: 97:[60, 5, 60], Operations: ['5*12=60'] Exploring Operation: 5+60=65, Resulting Numbers: [60, 65] Generated Node #0,0,0: 97:[60, 65] Operation: 5+60=65 Exploring Operation: 60+5=65, Resulting Numbers: [60, 65] Generated Node #0,0,1: 97:[60, 65] Operation: 60+5=65 Exploring Operation: 60-5=55, Resulting Numbers: [60, 55] Generated Node #0,0,2: 97:[60, 55] Operation: 60-5=55 Exploring Operation: 60-5=55, Resulting Numbers: [60, 55] Generated Node #0,0,3: 97:[60, 55] Operation: 60-5=55 Moving to Node #0,1 Current State: 97:[5, 60, 60], Operations: ['12*5=60'] Exploring Operation: 5+60=65, Resulting Numbers: [60, 65] Generated Node #0,1,0: 97:[60, 65] Operation: 5+60=65 Exploring Operation: 5+60=65, Resulting Numbers: [60, 65] Generated Node #0,1,1: 97:[60, 65] Operation: 5+60=65 Exploring Operation: 60-5=55, Resulting Numbers: [60, 55] Generated Node #0,1,2: 97:[60, 55] Operation: 60-5=55 Exploring Operation: 60-5=55, Resulting Numbers: [60, 55] Generated Node #0,1,3: 97:[60, 55] Operation: 60-5=55 Moving to Node #0,3 Current State: 97:[12, 60, 25], Operations: ['5*5=25'] Exploring Operation: 60+25=85, Resulting Numbers: [12, 85] Generated Node #0,3,0: 97:[12, 85] Operation: 60+25=85 Exploring Operation: 12+60=72, Resulting Numbers: [25, 72] Generated Node #0,3,1: 97:[25, 72] Operation: 12+60=72 Exploring Operation: 12+25=37, Resulting Numbers: [60, 37] Generated Node #0,3,2: 97:[60, 37] Operation: 12+25=37 Exploring Operation: 60-12=48, Resulting Numbers: [25, 48] Generated Node #0,3,3: 97:[25, 48] Operation: 60-12=48 Moving to Node #0,2 Current State: 97:[60, 5, 17], Operations: ['5+12=17'] Exploring Operation: 60+17=77, Resulting Numbers: [5, 77] Generated Node #0,2,0: 97:[5, 77] Operation: 60+17=77 Exploring Operation: 5+17=22, Resulting Numbers: [60, 22] Generated Node #0,2,1: 97:[60, 22] Operation: 5+17=22 Exploring Operation: 5*17=85, Resulting Numbers: [60, 85] Generated Node #0,2,2: 97:[60, 85] Operation: 5*17=85 Exploring Operation: 60+5=65, Resulting Numbers: [17, 65] Generated Node #0,2,3: 97:[17, 65] Operation: 60+5=65 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[60, 85], Operations: ['5+12=17', '5*17=85'] Exploring Operation: 85-60=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 60*85=5100, Resulting Numbers: [5100] 5100,97 unequal: No Solution Exploring Operation: 60+85=145, Resulting Numbers: [145] 145,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[5, 77], Operations: ['5+12=17', '60+17=77'] Exploring Operation: 5*77=385, Resulting Numbers: [385] 385,97 unequal: No Solution Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[60, 22], Operations: ['5+12=17', '5+17=22'] Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,97 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[17, 65], Operations: ['5+12=17', '60+5=65'] Exploring Operation: 17*65=1105, Resulting Numbers: [1105] 1105,97 unequal: No Solution Exploring Operation: 17+65=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,97 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: 97:[60, 65], Operations: ['5*12=60', '5+60=65'] Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,97 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,97 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[60, 65], Operations: ['12*5=60', '5+60=65'] Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,97 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[60, 65], Operations: ['5*12=60', '60+5=65'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,97 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[60, 65], Operations: ['12*5=60', '5+60=65'] Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,97 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,97 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[60, 55], Operations: ['12*5=60', '60-5=55'] Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,97 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[60, 55], Operations: ['5*12=60', '60-5=55'] Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,97 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[60, 55], Operations: ['5*12=60', '60-5=55'] Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[60, 55], Operations: ['12*5=60', '60-5=55'] Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,97 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[12, 85], Operations: ['5*5=25', '60+25=85'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 12+85=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[5, 12, 60, 5], Operations: [] Exploring Operation: 5*5=25, Resulting Numbers: [12, 60, 25] Generated Node #0,3: 97:[12, 60, 25] Operation: 5*5=25 Moving to Node #0,3 Current State: 97:[12, 60, 25], Operations: ['5*5=25'] Exploring Operation: 60+25=85, Resulting Numbers: [12, 85] Generated Node #0,3,0: 97:[12, 85] Operation: 60+25=85 Moving to Node #0,3,0 Current State: 97:[12, 85], Operations: ['5*5=25', '60+25=85'] Exploring Operation: 12+85=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.946181
hs_4
sum_heuristic
[ 32, 52, 84, 34 ]
94
[ "34-32=2", "84/2=42", "52+42=94" ]
Current State: 94:[32, 52, 84, 34], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [52, 84, 2] Generated Node #2: [52, 84, 2] from Operation: 34-32=2 Current State: 94:[52, 84, 2], Operations: ['34-32=2'] Exploring Operation: 84/2=42, Resulting Numbers: [52, 42] Generated Node #3: [52, 42] from Operation: 84/2=42 Current State: 94:[52, 42], Operations: ['34-32=2', '84/2=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[32, 52, 84, 34], Operations: [] Exploring Operation: 84-32=52, Resulting Numbers: [52, 34, 52] Generated Node #0,0: 94:[52, 34, 52] Operation: 84-32=52 Exploring Operation: 34-32=2, Resulting Numbers: [52, 84, 2] Generated Node #0,1: 94:[52, 84, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[52, 84, 2], Operations: ['34-32=2'] Exploring Operation: 84/2=42, Resulting Numbers: [52, 42] Generated Node #0,1,0: 94:[52, 42] Operation: 84/2=42 Exploring Operation: 52-2=50, Resulting Numbers: [84, 50] Generated Node #0,1,1: 94:[84, 50] Operation: 52-2=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[52, 42], Operations: ['34-32=2', '84/2=42'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[32, 52, 84, 34], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [52, 84, 2] Generated Node #0,1: 94:[52, 84, 2] Operation: 34-32=2 Moving to Node #0,1 Current State: 94:[52, 84, 2], Operations: ['34-32=2'] Exploring Operation: 84/2=42, Resulting Numbers: [52, 42] Generated Node #0,1,0: 94:[52, 42] Operation: 84/2=42 Moving to Node #0,1,0 Current State: 94:[52, 42], Operations: ['34-32=2', '84/2=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 54, 19, 27, 5 ]
41
[ "54+19=73", "27+5=32", "73-32=41" ]
Current State: 41:[54, 19, 27, 5], Operations: [] Exploring Operation: 54+19=73, Resulting Numbers: [27, 5, 73] Generated Node #2: [27, 5, 73] from Operation: 54+19=73 Current State: 41:[27, 5, 73], Operations: ['54+19=73'] Exploring Operation: 27+5=32, Resulting Numbers: [73, 32] Generated Node #3: [73, 32] from Operation: 27+5=32 Current State: 41:[73, 32], Operations: ['54+19=73', '27+5=32'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[54, 19, 27, 5], Operations: [] Exploring Operation: 19+5=24, Resulting Numbers: [54, 27, 24] Generated Node #0,0: 41:[54, 27, 24] Operation: 19+5=24 Exploring Operation: 54+5=59, Resulting Numbers: [19, 27, 59] Generated Node #0,1: 41:[19, 27, 59] Operation: 54+5=59 Exploring Operation: 54-5=49, Resulting Numbers: [19, 27, 49] Generated Node #0,2: 41:[19, 27, 49] Operation: 54-5=49 Exploring Operation: 27+5=32, Resulting Numbers: [54, 19, 32] Generated Node #0,3: 41:[54, 19, 32] Operation: 27+5=32 Exploring Operation: 19+27=46, Resulting Numbers: [54, 5, 46] Generated Node #0,4: 41:[54, 5, 46] Operation: 19+27=46 Moving to Node #0,0 Current State: 41:[54, 27, 24], Operations: ['19+5=24'] Exploring Operation: 27-24=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 41:[54, 3] Operation: 27-24=3 Exploring Operation: 54-24=30, Resulting Numbers: [27, 30] Generated Node #0,0,1: 41:[27, 30] Operation: 54-24=30 Exploring Operation: 27+24=51, Resulting Numbers: [54, 51] Generated Node #0,0,2: 41:[54, 51] Operation: 27+24=51 Exploring Operation: 54-27=27, Resulting Numbers: [24, 27] Generated Node #0,0,3: 41:[24, 27] Operation: 54-27=27 Exploring Operation: 54+24=78, Resulting Numbers: [27, 78] Generated Node #0,0,4: 41:[27, 78] Operation: 54+24=78 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[54, 51], Operations: ['19+5=24', '27+24=51'] Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,41 unequal: No Solution Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,41 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[27, 30], Operations: ['19+5=24', '54-24=30'] Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,41 unequal: No Solution Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[24, 27], Operations: ['19+5=24', '54-27=27'] Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,41 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[54, 3], Operations: ['19+5=24', '27-24=3'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,41 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 41:[27, 78], Operations: ['19+5=24', '54+24=78'] Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,41 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,41 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: 41:[54, 19, 32], Operations: ['27+5=32'] Exploring Operation: 54-19=35, Resulting Numbers: [32, 35] Generated Node #0,3,0: 41:[32, 35] Operation: 54-19=35 Exploring Operation: 19+32=51, Resulting Numbers: [54, 51] Generated Node #0,3,1: 41:[54, 51] Operation: 19+32=51 Exploring Operation: 32-19=13, Resulting Numbers: [54, 13] Generated Node #0,3,2: 41:[54, 13] Operation: 32-19=13 Exploring Operation: 54-32=22, Resulting Numbers: [19, 22] Generated Node #0,3,3: 41:[19, 22] Operation: 54-32=22 Exploring Operation: 54+19=73, Resulting Numbers: [32, 73] Generated Node #0,3,4: 41:[32, 73] Operation: 54+19=73 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[32, 35], Operations: ['27+5=32', '54-19=35'] Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,41 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,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,1 Current State: 41:[54, 51], Operations: ['27+5=32', '19+32=51'] Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,41 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,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,2 Current State: 41:[54, 13], Operations: ['27+5=32', '32-19=13'] Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,41 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[54, 19, 27, 5], Operations: [] Exploring Operation: 27+5=32, Resulting Numbers: [54, 19, 32] Generated Node #0,3: 41:[54, 19, 32] Operation: 27+5=32 Moving to Node #0,3 Current State: 41:[54, 19, 32], Operations: ['27+5=32'] Exploring Operation: 32-19=13, Resulting Numbers: [54, 13] Generated Node #0,3,2: 41:[54, 13] Operation: 32-19=13 Moving to Node #0,3,2 Current State: 41:[54, 13], Operations: ['27+5=32', '32-19=13'] Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
sum_heuristic
[ 18, 29, 2, 34 ]
72
[ "18/2=9", "29+34=63", "9+63=72" ]
Current State: 72:[18, 29, 2, 34], Operations: [] Exploring Operation: 18/2=9, Resulting Numbers: [29, 34, 9] Generated Node #2: [29, 34, 9] from Operation: 18/2=9 Current State: 72:[29, 34, 9], Operations: ['18/2=9'] Exploring Operation: 29+34=63, Resulting Numbers: [9, 63] Generated Node #3: [9, 63] from Operation: 29+34=63 Current State: 72:[9, 63], Operations: ['18/2=9', '29+34=63'] Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[18, 29, 2, 34], Operations: [] Exploring Operation: 34-29=5, Resulting Numbers: [18, 2, 5] Generated Node #0,0: 72:[18, 2, 5] Operation: 34-29=5 Moving to Node #0,0 Current State: 72:[18, 2, 5], Operations: ['34-29=5'] Exploring Operation: 5-2=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 72:[18, 3] Operation: 5-2=3 Moving to Node #0,0,0 Current State: 72:[18, 3], Operations: ['34-29=5', '5-2=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 87, 53, 69, 86 ]
15
[ "87+53=140", "69+86=155", "155-140=15" ]
Current State: 15:[87, 53, 69, 86], Operations: [] Exploring Operation: 87+53=140, Resulting Numbers: [69, 86, 140] Generated Node #2: [69, 86, 140] from Operation: 87+53=140 Current State: 15:[69, 86, 140], Operations: ['87+53=140'] Exploring Operation: 69+86=155, Resulting Numbers: [140, 155] Generated Node #3: [140, 155] from Operation: 69+86=155 Current State: 15:[140, 155], Operations: ['87+53=140', '69+86=155'] Exploring Operation: 155-140=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[87, 53, 69, 86], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [53, 86, 18] Generated Node #0,0: 15:[53, 86, 18] Operation: 87-69=18 Exploring Operation: 87-53=34, Resulting Numbers: [69, 86, 34] Generated Node #0,1: 15:[69, 86, 34] Operation: 87-53=34 Exploring Operation: 69-53=16, Resulting Numbers: [87, 86, 16] Generated Node #0,2: 15:[87, 86, 16] Operation: 69-53=16 Exploring Operation: 87-86=1, Resulting Numbers: [53, 69, 1] Generated Node #0,3: 15:[53, 69, 1] Operation: 87-86=1 Exploring Operation: 86-69=17, Resulting Numbers: [87, 53, 17] Generated Node #0,4: 15:[87, 53, 17] Operation: 86-69=17 Moving to Node #0,3 Current State: 15:[53, 69, 1], Operations: ['87-86=1'] Exploring Operation: 69-1=68, Resulting Numbers: [53, 68] Generated Node #0,3,0: 15:[53, 68] Operation: 69-1=68 Exploring Operation: 53/1=53, Resulting Numbers: [69, 53] Generated Node #0,3,1: 15:[69, 53] Operation: 53/1=53 Exploring Operation: 53*1=53, Resulting Numbers: [69, 53] Generated Node #0,3,2: 15:[69, 53] Operation: 53*1=53 Exploring Operation: 53-1=52, Resulting Numbers: [69, 52] Generated Node #0,3,3: 15:[69, 52] Operation: 53-1=52 Exploring Operation: 69-53=16, Resulting Numbers: [1, 16] Generated Node #0,3,4: 15:[1, 16] Operation: 69-53=16 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 15:[1, 16], Operations: ['87-86=1', '69-53=16'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[87, 53, 69, 86], Operations: [] Exploring Operation: 87-86=1, Resulting Numbers: [53, 69, 1] Generated Node #0,3: 15:[53, 69, 1] Operation: 87-86=1 Moving to Node #0,3 Current State: 15:[53, 69, 1], Operations: ['87-86=1'] Exploring Operation: 69-53=16, Resulting Numbers: [1, 16] Generated Node #0,3,4: 15:[1, 16] Operation: 69-53=16 Moving to Node #0,3,4 Current State: 15:[1, 16], Operations: ['87-86=1', '69-53=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 65, 20, 16, 19 ]
71
[ "65*16=1040", "1040/20=52", "19+52=71" ]
Current State: 71:[65, 20, 16, 19], Operations: [] Exploring Operation: 65*16=1040, Resulting Numbers: [20, 19, 1040] Generated Node #2: [20, 19, 1040] from Operation: 65*16=1040 Current State: 71:[20, 19, 1040], Operations: ['65*16=1040'] Exploring Operation: 1040/20=52, Resulting Numbers: [19, 52] Generated Node #3: [19, 52] from Operation: 1040/20=52 Current State: 71:[19, 52], Operations: ['65*16=1040', '1040/20=52'] Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[65, 20, 16, 19], Operations: [] Exploring Operation: 20+19=39, Resulting Numbers: [65, 16, 39] Generated Node #0,0: 71:[65, 16, 39] Operation: 20+19=39 Exploring Operation: 65+16=81, Resulting Numbers: [20, 19, 81] Generated Node #0,1: 71:[20, 19, 81] Operation: 65+16=81 Exploring Operation: 20+16=36, Resulting Numbers: [65, 19, 36] Generated Node #0,2: 71:[65, 19, 36] Operation: 20+16=36 Exploring Operation: 16+19=35, Resulting Numbers: [65, 20, 35] Generated Node #0,3: 71:[65, 20, 35] Operation: 16+19=35 Moving to Node #0,0 Current State: 71:[65, 16, 39], Operations: ['20+19=39'] Exploring Operation: 39-16=23, Resulting Numbers: [65, 23] Generated Node #0,0,0: 71:[65, 23] Operation: 39-16=23 Exploring Operation: 65+16=81, Resulting Numbers: [39, 81] Generated Node #0,0,1: 71:[39, 81] Operation: 65+16=81 Exploring Operation: 65-16=49, Resulting Numbers: [39, 49] Generated Node #0,0,2: 71:[39, 49] Operation: 65-16=49 Exploring Operation: 16+39=55, Resulting Numbers: [65, 55] Generated Node #0,0,3: 71:[65, 55] Operation: 16+39=55 Moving to Node #0,3 Current State: 71:[65, 20, 35], Operations: ['16+19=35'] Exploring Operation: 35-20=15, Resulting Numbers: [65, 15] Generated Node #0,3,0: 71:[65, 15] Operation: 35-20=15 Exploring Operation: 20+35=55, Resulting Numbers: [65, 55] Generated Node #0,3,1: 71:[65, 55] Operation: 20+35=55 Exploring Operation: 65+20=85, Resulting Numbers: [35, 85] Generated Node #0,3,2: 71:[35, 85] Operation: 65+20=85 Exploring Operation: 65-20=45, Resulting Numbers: [35, 45] Generated Node #0,3,3: 71:[35, 45] Operation: 65-20=45 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[65, 55], Operations: ['16+19=35', '20+35=55'] Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 65*55=3575, Resulting Numbers: [3575] 3575,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,3,2 Current State: 71:[35, 85], Operations: ['16+19=35', '65+20=85'] Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 35*85=2975, Resulting Numbers: [2975] 2975,71 unequal: No Solution Exploring Operation: 35+85=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,3,0 Current State: 71:[65, 15], Operations: ['16+19=35', '35-20=15'] Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,71 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,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,3,3 Current State: 71:[35, 45], Operations: ['16+19=35', '65-20=45'] Exploring Operation: 35*45=1575, Resulting Numbers: [1575] 1575,71 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 71:[65, 19, 36], Operations: ['20+16=36'] Exploring Operation: 65-19=46, Resulting Numbers: [36, 46] Generated Node #0,2,0: 71:[36, 46] Operation: 65-19=46 Exploring Operation: 36-19=17, Resulting Numbers: [65, 17] Generated Node #0,2,1: 71:[65, 17] Operation: 36-19=17 Exploring Operation: 19+36=55, Resulting Numbers: [65, 55] Generated Node #0,2,2: 71:[65, 55] Operation: 19+36=55 Exploring Operation: 65+19=84, Resulting Numbers: [36, 84] Generated Node #0,2,3: 71:[36, 84] Operation: 65+19=84 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[65, 55], Operations: ['20+16=36', '19+36=55'] Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 65*55=3575, Resulting Numbers: [3575] 3575,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 71:[36, 84], Operations: ['20+16=36', '65+19=84'] Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 36+84=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 36*84=3024, Resulting Numbers: [3024] 3024,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[36, 46], Operations: ['20+16=36', '65-19=46'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 36*46=1656, Resulting Numbers: [1656] 1656,71 unequal: No Solution Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[65, 17], Operations: ['20+16=36', '36-19=17'] Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,71 unequal: No Solution Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,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:[20, 19, 81], Operations: ['65+16=81'] Exploring Operation: 20-19=1, Resulting Numbers: [81, 1] Generated Node #0,1,0: 71:[81, 1] Operation: 20-19=1 Exploring Operation: 81-20=61, Resulting Numbers: [19, 61] Generated Node #0,1,1: 71:[19, 61] Operation: 81-20=61 Exploring Operation: 20+19=39, Resulting Numbers: [81, 39] Generated Node #0,1,2: 71:[81, 39] Operation: 20+19=39 Exploring Operation: 81-19=62, Resulting Numbers: [20, 62] Generated Node #0,1,3: 71:[20, 62] Operation: 81-19=62 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[81, 39], Operations: ['65+16=81', '20+19=39'] Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,71 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,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,1,3 Current State: 71:[20, 62], Operations: ['65+16=81', '81-19=62'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,71 unequal: No Solution Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,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,1,1 Current State: 71:[19, 61], Operations: ['65+16=81', '81-20=61'] Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 19*61=1159, Resulting Numbers: [1159] 1159,71 unequal: No Solution Exploring Operation: 19+61=80, Resulting Numbers: [80] 80,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,1,0 Current State: 71:[81, 1], Operations: ['65+16=81', '20-19=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,71 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,71 unequal: No Solution Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,71 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 71:[65, 55], Operations: ['20+19=39', '16+39=55'] Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 65*55=3575, Resulting Numbers: [3575] 3575,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[39, 81], Operations: ['20+19=39', '65+16=81'] Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 39*81=3159, Resulting Numbers: [3159] 3159,71 unequal: No Solution Exploring Operation: 39+81=120, Resulting Numbers: [120] 120,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[39, 49], Operations: ['20+19=39', '65-16=49'] Exploring Operation: 39+49=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 39*49=1911, Resulting Numbers: [1911] 1911,71 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[65, 23], Operations: ['20+19=39', '39-16=23'] Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,71 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,71 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 73, 80, 21, 59 ]
74
[ "80-21=59", "59/59=1", "73+1=74" ]
Current State: 74:[73, 80, 21, 59], Operations: [] Exploring Operation: 80-21=59, Resulting Numbers: [73, 59, 59] Generated Node #2: [73, 59, 59] from Operation: 80-21=59 Current State: 74:[73, 59, 59], Operations: ['80-21=59'] Exploring Operation: 59/59=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 59/59=1 Current State: 74:[73, 1], Operations: ['80-21=59', '59/59=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[73, 80, 21, 59], Operations: [] Exploring Operation: 59-21=38, Resulting Numbers: [73, 80, 38] Generated Node #0,0: 74:[73, 80, 38] Operation: 59-21=38 Exploring Operation: 80-59=21, Resulting Numbers: [73, 21, 21] Generated Node #0,1: 74:[73, 21, 21] Operation: 80-59=21 Exploring Operation: 73-59=14, Resulting Numbers: [80, 21, 14] Generated Node #0,2: 74:[80, 21, 14] Operation: 73-59=14 Exploring Operation: 21+59=80, Resulting Numbers: [73, 80, 80] Generated Node #0,3: 74:[73, 80, 80] Operation: 21+59=80 Exploring Operation: 80-21=59, Resulting Numbers: [73, 59, 59] Generated Node #0,4: 74:[73, 59, 59] Operation: 80-21=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[73, 80, 38], Operations: ['59-21=38'] Exploring Operation: 73-38=35, Resulting Numbers: [80, 35] Generated Node #0,0,0: 74:[80, 35] Operation: 73-38=35 Exploring Operation: 80-38=42, Resulting Numbers: [73, 42] Generated Node #0,0,1: 74:[73, 42] Operation: 80-38=42 Exploring Operation: 80-73=7, Resulting Numbers: [38, 7] Generated Node #0,0,2: 74:[38, 7] Operation: 80-73=7 Exploring Operation: 73+38=111, Resulting Numbers: [80, 111] Generated Node #0,0,3: 74:[80, 111] Operation: 73+38=111 Exploring Operation: 80+38=118, Resulting Numbers: [73, 118] Generated Node #0,0,4: 74:[73, 118] Operation: 80+38=118 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[73, 42], Operations: ['59-21=38', '80-38=42'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 73+42=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 73*42=3066, Resulting Numbers: [3066] 3066,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[38, 7], Operations: ['59-21=38', '80-73=7'] Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,74 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[80, 35], Operations: ['59-21=38', '73-38=35'] Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,74 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[80, 111], Operations: ['59-21=38', '73+38=111'] Exploring Operation: 80+111=191, Resulting Numbers: [191] 191,74 unequal: No Solution Exploring Operation: 80*111=8880, Resulting Numbers: [8880] 8880,74 unequal: No Solution Exploring Operation: 111-80=31, Resulting Numbers: [31] 31,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 74:[73, 118], Operations: ['59-21=38', '80+38=118'] Exploring Operation: 118-73=45, Resulting Numbers: [45] 45,74 unequal: No Solution Exploring Operation: 73+118=191, Resulting Numbers: [191] 191,74 unequal: No Solution Exploring Operation: 73*118=8614, Resulting Numbers: [8614] 8614,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[73, 80, 80], Operations: ['21+59=80'] Exploring Operation: 73+80=153, Resulting Numbers: [80, 153] Generated Node #0,3,0: 74:[80, 153] Operation: 73+80=153 Exploring Operation: 80-73=7, Resulting Numbers: [80, 7] Generated Node #0,3,1: 74:[80, 7] Operation: 80-73=7 Exploring Operation: 80-73=7, Resulting Numbers: [80, 7] Generated Node #0,3,2: 74:[80, 7] Operation: 80-73=7 Exploring Operation: 80/80=1, Resulting Numbers: [73, 1] Generated Node #0,3,3: 74:[73, 1] Operation: 80/80=1 Exploring Operation: 80-80=0, Resulting Numbers: [73, 0] Generated Node #0,3,4: 74:[73, 0] Operation: 80-80=0 Moving to Node #0,3,3 Current State: 74:[73, 1], Operations: ['21+59=80', '80/80=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[73, 80, 21, 59], Operations: [] Exploring Operation: 21+59=80, Resulting Numbers: [73, 80, 80] Generated Node #0,3: 74:[73, 80, 80] Operation: 21+59=80 Moving to Node #0,3 Current State: 74:[73, 80, 80], Operations: ['21+59=80'] Exploring Operation: 80/80=1, Resulting Numbers: [73, 1] Generated Node #0,3,3: 74:[73, 1] Operation: 80/80=1 Moving to Node #0,3,3 Current State: 74:[73, 1], Operations: ['21+59=80', '80/80=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 40, 54, 27, 30 ]
99
[ "40*54=2160", "2160/30=72", "27+72=99" ]
Current State: 99:[40, 54, 27, 30], Operations: [] Exploring Operation: 40*54=2160, Resulting Numbers: [27, 30, 2160] Generated Node #2: [27, 30, 2160] from Operation: 40*54=2160 Current State: 99:[27, 30, 2160], Operations: ['40*54=2160'] Exploring Operation: 2160/30=72, Resulting Numbers: [27, 72] Generated Node #3: [27, 72] from Operation: 2160/30=72 Current State: 99:[27, 72], Operations: ['40*54=2160', '2160/30=72'] Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[40, 54, 27, 30], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [40, 30, 2] Generated Node #0,0: 99:[40, 30, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[40, 30, 2], Operations: ['54/27=2'] Exploring Operation: 40-30=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 99:[2, 10] Operation: 40-30=10 Moving to Node #0,0,0 Current State: 99:[2, 10], Operations: ['54/27=2', '40-30=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,99 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
[ 92, 45, 12, 95 ]
54
[ "92+45=137", "95-12=83", "137-83=54" ]
Current State: 54:[92, 45, 12, 95], Operations: [] Exploring Operation: 92+45=137, Resulting Numbers: [12, 95, 137] Generated Node #2: [12, 95, 137] from Operation: 92+45=137 Current State: 54:[12, 95, 137], Operations: ['92+45=137'] Exploring Operation: 95-12=83, Resulting Numbers: [137, 83] Generated Node #3: [137, 83] from Operation: 95-12=83 Current State: 54:[137, 83], Operations: ['92+45=137', '95-12=83'] Exploring Operation: 137-83=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[92, 45, 12, 95], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [45, 12, 3] Generated Node #0,0: 54:[45, 12, 3] Operation: 95-92=3 Moving to Node #0,0 Current State: 54:[45, 12, 3], Operations: ['95-92=3'] Exploring Operation: 45+12=57, Resulting Numbers: [3, 57] Generated Node #0,0,0: 54:[3, 57] Operation: 45+12=57 Moving to Node #0,0,0 Current State: 54:[3, 57], Operations: ['95-92=3', '45+12=57'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[92, 45, 12, 95], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [45, 12, 3] Generated Node #0,0: 54:[45, 12, 3] Operation: 95-92=3 Moving to Node #0,0 Current State: 54:[45, 12, 3], Operations: ['95-92=3'] Exploring Operation: 45+12=57, Resulting Numbers: [3, 57] Generated Node #0,0,0: 54:[3, 57] Operation: 45+12=57 Moving to Node #0,0,0 Current State: 54:[3, 57], Operations: ['95-92=3', '45+12=57'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 45, 28, 62, 94 ]
92
[ "28+62=90", "90/45=2", "94-2=92" ]
Current State: 92:[45, 28, 62, 94], Operations: [] Exploring Operation: 28+62=90, Resulting Numbers: [45, 94, 90] Generated Node #2: [45, 94, 90] from Operation: 28+62=90 Current State: 92:[45, 94, 90], Operations: ['28+62=90'] Exploring Operation: 90/45=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 90/45=2 Current State: 92:[94, 2], Operations: ['28+62=90', '90/45=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[45, 28, 62, 94], Operations: [] Exploring Operation: 28+62=90, Resulting Numbers: [45, 94, 90] Generated Node #0,0: 92:[45, 94, 90] Operation: 28+62=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[45, 94, 90], Operations: ['28+62=90'] Exploring Operation: 94-90=4, Resulting Numbers: [45, 4] Generated Node #0,0,0: 92:[45, 4] Operation: 94-90=4 Moving to Node #0,0,0 Current State: 92:[45, 4], Operations: ['28+62=90', '94-90=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,92 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
[ 76, 62, 13, 33 ]
34
[ "76-62=14", "33-13=20", "14+20=34" ]
Current State: 34:[76, 62, 13, 33], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [13, 33, 14] Generated Node #2: [13, 33, 14] from Operation: 76-62=14 Current State: 34:[13, 33, 14], Operations: ['76-62=14'] Exploring Operation: 33-13=20, Resulting Numbers: [14, 20] Generated Node #3: [14, 20] from Operation: 33-13=20 Current State: 34:[14, 20], Operations: ['76-62=14', '33-13=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[76, 62, 13, 33], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [13, 33, 14] Generated Node #0,0: 34:[13, 33, 14] Operation: 76-62=14 Moving to Node #0,0 Current State: 34:[13, 33, 14], Operations: ['76-62=14'] Exploring Operation: 14-13=1, Resulting Numbers: [33, 1] Generated Node #0,0,0: 34:[33, 1] Operation: 14-13=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[33, 1], Operations: ['76-62=14', '14-13=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[76, 62, 13, 33], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [13, 33, 14] Generated Node #0,0: 34:[13, 33, 14] Operation: 76-62=14 Moving to Node #0,0 Current State: 34:[13, 33, 14], Operations: ['76-62=14'] Exploring Operation: 14-13=1, Resulting Numbers: [33, 1] Generated Node #0,0,0: 34:[33, 1] Operation: 14-13=1 Moving to Node #0,0,0 Current State: 34:[33, 1], Operations: ['76-62=14', '14-13=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 17, 36, 97, 13 ]
65
[ "36-17=19", "97-13=84", "84-19=65" ]
Current State: 65:[17, 36, 97, 13], Operations: [] Exploring Operation: 36-17=19, Resulting Numbers: [97, 13, 19] Generated Node #2: [97, 13, 19] from Operation: 36-17=19 Current State: 65:[97, 13, 19], Operations: ['36-17=19'] Exploring Operation: 97-13=84, Resulting Numbers: [19, 84] Generated Node #3: [19, 84] from Operation: 97-13=84 Current State: 65:[19, 84], Operations: ['36-17=19', '97-13=84'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[17, 36, 97, 13], Operations: [] Exploring Operation: 17+36=53, Resulting Numbers: [97, 13, 53] Generated Node #0,0: 65:[97, 13, 53] Operation: 17+36=53 Exploring Operation: 36-13=23, Resulting Numbers: [17, 97, 23] Generated Node #0,1: 65:[17, 97, 23] Operation: 36-13=23 Exploring Operation: 97-17=80, Resulting Numbers: [36, 13, 80] Generated Node #0,2: 65:[36, 13, 80] Operation: 97-17=80 Exploring Operation: 97-36=61, Resulting Numbers: [17, 13, 61] Generated Node #0,3: 65:[17, 13, 61] Operation: 97-36=61 Exploring Operation: 36-17=19, Resulting Numbers: [97, 13, 19] Generated Node #0,4: 65:[97, 13, 19] Operation: 36-17=19 Moving to Node #0,3 Current State: 65:[17, 13, 61], Operations: ['97-36=61'] Exploring Operation: 61-17=44, Resulting Numbers: [13, 44] Generated Node #0,3,0: 65:[13, 44] Operation: 61-17=44 Exploring Operation: 13+61=74, Resulting Numbers: [17, 74] Generated Node #0,3,1: 65:[17, 74] Operation: 13+61=74 Exploring Operation: 17+61=78, Resulting Numbers: [13, 78] Generated Node #0,3,2: 65:[13, 78] Operation: 17+61=78 Exploring Operation: 17+13=30, Resulting Numbers: [61, 30] Generated Node #0,3,3: 65:[61, 30] Operation: 17+13=30 Exploring Operation: 17-13=4, Resulting Numbers: [61, 4] Generated Node #0,3,4: 65:[61, 4] Operation: 17-13=4 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 65:[61, 4], Operations: ['97-36=61', '17-13=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[17, 36, 97, 13], Operations: [] Exploring Operation: 97-36=61, Resulting Numbers: [17, 13, 61] Generated Node #0,3: 65:[17, 13, 61] Operation: 97-36=61 Moving to Node #0,3 Current State: 65:[17, 13, 61], Operations: ['97-36=61'] Exploring Operation: 17-13=4, Resulting Numbers: [61, 4] Generated Node #0,3,4: 65:[61, 4] Operation: 17-13=4 Moving to Node #0,3,4 Current State: 65:[61, 4], Operations: ['97-36=61', '17-13=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 15, 79, 70, 90 ]
96
[ "79-15=64", "70+90=160", "160-64=96" ]
Current State: 96:[15, 79, 70, 90], Operations: [] Exploring Operation: 79-15=64, Resulting Numbers: [70, 90, 64] Generated Node #2: [70, 90, 64] from Operation: 79-15=64 Current State: 96:[70, 90, 64], Operations: ['79-15=64'] Exploring Operation: 70+90=160, Resulting Numbers: [64, 160] Generated Node #3: [64, 160] from Operation: 70+90=160 Current State: 96:[64, 160], Operations: ['79-15=64', '70+90=160'] Exploring Operation: 160-64=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[15, 79, 70, 90], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [15, 70, 11] Generated Node #0,0: 96:[15, 70, 11] Operation: 90-79=11 Exploring Operation: 90-70=20, Resulting Numbers: [15, 79, 20] Generated Node #0,1: 96:[15, 79, 20] Operation: 90-70=20 Exploring Operation: 79-70=9, Resulting Numbers: [15, 90, 9] Generated Node #0,2: 96:[15, 90, 9] Operation: 79-70=9 Exploring Operation: 15+79=94, Resulting Numbers: [70, 90, 94] Generated Node #0,3: 96:[70, 90, 94] Operation: 15+79=94 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[15, 90, 9], Operations: ['79-70=9'] Exploring Operation: 90+9=99, Resulting Numbers: [15, 99] Generated Node #0,2,0: 96:[15, 99] Operation: 90+9=99 Exploring Operation: 15+9=24, Resulting Numbers: [90, 24] Generated Node #0,2,1: 96:[90, 24] Operation: 15+9=24 Exploring Operation: 90/15=6, Resulting Numbers: [9, 6] Generated Node #0,2,2: 96:[9, 6] Operation: 90/15=6 Exploring Operation: 90/9=10, Resulting Numbers: [15, 10] Generated Node #0,2,3: 96:[15, 10] Operation: 90/9=10 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[9, 6], Operations: ['79-70=9', '90/15=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,96 unequal: No Solution No 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: 96:[15, 10], Operations: ['79-70=9', '90/9=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,96 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,96 unequal: No Solution No 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: 96:[15, 99], Operations: ['79-70=9', '90+9=99'] Exploring Operation: 15+99=114, Resulting Numbers: [114] 114,96 unequal: No Solution Exploring Operation: 15*99=1485, Resulting Numbers: [1485] 1485,96 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,96 unequal: No Solution No 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: 96:[90, 24], Operations: ['79-70=9', '15+9=24'] Exploring Operation: 90*24=2160, Resulting Numbers: [2160] 2160,96 unequal: No Solution Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,96 unequal: No Solution Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,96 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: 96:[15, 79, 20], Operations: ['90-70=20'] Exploring Operation: 20-15=5, Resulting Numbers: [79, 5] Generated Node #0,1,0: 96:[79, 5] Operation: 20-15=5 Exploring Operation: 79-20=59, Resulting Numbers: [15, 59] Generated Node #0,1,1: 96:[15, 59] Operation: 79-20=59 Exploring Operation: 15+79=94, Resulting Numbers: [20, 94] Generated Node #0,1,2: 96:[20, 94] Operation: 15+79=94 Exploring Operation: 79+20=99, Resulting Numbers: [15, 99] Generated Node #0,1,3: 96:[15, 99] Operation: 79+20=99 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 96:[15, 99], Operations: ['90-70=20', '79+20=99'] Exploring Operation: 15+99=114, Resulting Numbers: [114] 114,96 unequal: No Solution Exploring Operation: 15*99=1485, Resulting Numbers: [1485] 1485,96 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,96 unequal: No Solution No 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: 96:[20, 94], Operations: ['90-70=20', '15+79=94'] Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 20*94=1880, Resulting Numbers: [1880] 1880,96 unequal: No Solution Exploring Operation: 20+94=114, Resulting Numbers: [114] 114,96 unequal: No Solution No 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: 96:[15, 59], Operations: ['90-70=20', '79-20=59'] Exploring Operation: 15*59=885, Resulting Numbers: [885] 885,96 unequal: No Solution Exploring Operation: 15+59=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,96 unequal: No Solution No 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: 96:[79, 5], Operations: ['90-70=20', '20-15=5'] Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,96 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,96 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: 96:[15, 70, 11], Operations: ['90-79=11'] Exploring Operation: 70-11=59, Resulting Numbers: [15, 59] Generated Node #0,0,0: 96:[15, 59] Operation: 70-11=59 Exploring Operation: 15+70=85, Resulting Numbers: [11, 85] Generated Node #0,0,1: 96:[11, 85] Operation: 15+70=85 Exploring Operation: 70-15=55, Resulting Numbers: [11, 55] Generated Node #0,0,2: 96:[11, 55] Operation: 70-15=55 Exploring Operation: 70+11=81, Resulting Numbers: [15, 81] Generated Node #0,0,3: 96:[15, 81] Operation: 70+11=81 Moving to Node #0,0,2 Current State: 96:[11, 55], Operations: ['90-79=11', '70-15=55'] Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,96 unequal: No Solution Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,96 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[11, 85], Operations: ['90-79=11', '15+70=85'] Exploring Operation: 11*85=935, Resulting Numbers: [935] 935,96 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[15, 79, 70, 90], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [15, 70, 11] Generated Node #0,0: 96:[15, 70, 11] Operation: 90-79=11 Moving to Node #0,0 Current State: 96:[15, 70, 11], Operations: ['90-79=11'] Exploring Operation: 15+70=85, Resulting Numbers: [11, 85] Generated Node #0,0,1: 96:[11, 85] Operation: 15+70=85 Moving to Node #0,0,1 Current State: 96:[11, 85], Operations: ['90-79=11', '15+70=85'] Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 28, 16, 12, 34 ]
58
[ "28-16=12", "12+34=46", "12+46=58" ]
Current State: 58:[28, 16, 12, 34], Operations: [] Exploring Operation: 28-16=12, Resulting Numbers: [12, 34, 12] Generated Node #2: [12, 34, 12] from Operation: 28-16=12 Current State: 58:[12, 34, 12], Operations: ['28-16=12'] Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,58 equal: Goal Reached Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[28, 16, 12, 34], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [28, 34, 4] Generated Node #0,0: 58:[28, 34, 4] Operation: 16-12=4 Exploring Operation: 16+12=28, Resulting Numbers: [28, 34, 28] Generated Node #0,1: 58:[28, 34, 28] Operation: 16+12=28 Moving to Node #0,1 Current State: 58:[28, 34, 28], Operations: ['16+12=28'] Exploring Operation: 34-28=6, Resulting Numbers: [28, 6] Generated Node #0,1,0: 58:[28, 6] Operation: 34-28=6 Exploring Operation: 28+34=62, Resulting Numbers: [28, 62] Generated Node #0,1,1: 58:[28, 62] Operation: 28+34=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[28, 6], Operations: ['16+12=28', '34-28=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,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,1 Current State: 58:[28, 62], Operations: ['16+12=28', '28+34=62'] Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,58 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: 58:[28, 34, 4], Operations: ['16-12=4'] Exploring Operation: 28+34=62, Resulting Numbers: [4, 62] Generated Node #0,0,0: 58:[4, 62] Operation: 28+34=62 Exploring Operation: 34-4=30, Resulting Numbers: [28, 30] Generated Node #0,0,1: 58:[28, 30] Operation: 34-4=30 Moving to Node #0,0,1 Current State: 58:[28, 30], Operations: ['16-12=4', '34-4=30'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[28, 16, 12, 34], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [28, 34, 4] Generated Node #0,0: 58:[28, 34, 4] Operation: 16-12=4 Moving to Node #0,0 Current State: 58:[28, 34, 4], Operations: ['16-12=4'] Exploring Operation: 34-4=30, Resulting Numbers: [28, 30] Generated Node #0,0,1: 58:[28, 30] Operation: 34-4=30 Moving to Node #0,0,1 Current State: 58:[28, 30], Operations: ['16-12=4', '34-4=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 3, 82, 92, 63 ]
56
[ "3+82=85", "92-63=29", "85-29=56" ]
Current State: 56:[3, 82, 92, 63], Operations: [] Exploring Operation: 3+82=85, Resulting Numbers: [92, 63, 85] Generated Node #2: [92, 63, 85] from Operation: 3+82=85 Current State: 56:[92, 63, 85], Operations: ['3+82=85'] Exploring Operation: 92-63=29, Resulting Numbers: [85, 29] Generated Node #3: [85, 29] from Operation: 92-63=29 Current State: 56:[85, 29], Operations: ['3+82=85', '92-63=29'] Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[3, 82, 92, 63], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [3, 63, 10] Generated Node #0,0: 56:[3, 63, 10] Operation: 92-82=10 Exploring Operation: 82-63=19, Resulting Numbers: [3, 92, 19] Generated Node #0,1: 56:[3, 92, 19] Operation: 82-63=19 Exploring Operation: 92-63=29, Resulting Numbers: [3, 82, 29] Generated Node #0,2: 56:[3, 82, 29] Operation: 92-63=29 Moving to Node #0,0 Current State: 56:[3, 63, 10], Operations: ['92-82=10'] Exploring Operation: 63-10=53, Resulting Numbers: [3, 53] Generated Node #0,0,0: 56:[3, 53] Operation: 63-10=53 Exploring Operation: 63-3=60, Resulting Numbers: [10, 60] Generated Node #0,0,1: 56:[10, 60] Operation: 63-3=60 Exploring Operation: 10-3=7, Resulting Numbers: [63, 7] Generated Node #0,0,2: 56:[63, 7] Operation: 10-3=7 Moving to Node #0,2 Current State: 56:[3, 82, 29], Operations: ['92-63=29'] Exploring Operation: 82-3=79, Resulting Numbers: [29, 79] Generated Node #0,2,0: 56:[29, 79] Operation: 82-3=79 Exploring Operation: 82-29=53, Resulting Numbers: [3, 53] Generated Node #0,2,1: 56:[3, 53] Operation: 82-29=53 Exploring Operation: 29-3=26, Resulting Numbers: [82, 26] Generated Node #0,2,2: 56:[82, 26] Operation: 29-3=26 Moving to Node #0,1 Current State: 56:[3, 92, 19], Operations: ['82-63=19'] Exploring Operation: 92-3=89, Resulting Numbers: [19, 89] Generated Node #0,1,0: 56:[19, 89] Operation: 92-3=89 Exploring Operation: 3*19=57, Resulting Numbers: [92, 57] Generated Node #0,1,1: 56:[92, 57] Operation: 3*19=57 Exploring Operation: 92-19=73, Resulting Numbers: [3, 73] Generated Node #0,1,2: 56:[3, 73] Operation: 92-19=73 Moving to Node #0,0,0 Current State: 56:[3, 53], Operations: ['92-82=10', '63-10=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,56 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[3, 82, 92, 63], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [3, 63, 10] Generated Node #0,0: 56:[3, 63, 10] Operation: 92-82=10 Moving to Node #0,0 Current State: 56:[3, 63, 10], Operations: ['92-82=10'] Exploring Operation: 63-10=53, Resulting Numbers: [3, 53] Generated Node #0,0,0: 56:[3, 53] Operation: 63-10=53 Moving to Node #0,0,0 Current State: 56:[3, 53], Operations: ['92-82=10', '63-10=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 10, 3, 58, 26 ]
86
[ "10*26=260", "3*58=174", "260-174=86" ]
Current State: 86:[10, 3, 58, 26], Operations: [] Exploring Operation: 10*26=260, Resulting Numbers: [3, 58, 260] Generated Node #2: [3, 58, 260] from Operation: 10*26=260 Current State: 86:[3, 58, 260], Operations: ['10*26=260'] Exploring Operation: 3*58=174, Resulting Numbers: [260, 174] Generated Node #3: [260, 174] from Operation: 3*58=174 Current State: 86:[260, 174], Operations: ['10*26=260', '3*58=174'] Exploring Operation: 260-174=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[10, 3, 58, 26], Operations: [] Exploring Operation: 58+26=84, Resulting Numbers: [10, 3, 84] Generated Node #0,0: 86:[10, 3, 84] Operation: 58+26=84 Moving to Node #0,0 Current State: 86:[10, 3, 84], Operations: ['58+26=84'] Exploring Operation: 10-3=7, Resulting Numbers: [84, 7] Generated Node #0,0,0: 86:[84, 7] Operation: 10-3=7 Moving to Node #0,0,0 Current State: 86:[84, 7], Operations: ['58+26=84', '10-3=7'] Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,86 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 6, 72, 71, 73 ]
30
[ "73-71=2", "72/2=36", "36-6=30" ]
Current State: 30:[6, 72, 71, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [6, 72, 2] Generated Node #2: [6, 72, 2] from Operation: 73-71=2 Current State: 30:[6, 72, 2], Operations: ['73-71=2'] Exploring Operation: 72/2=36, Resulting Numbers: [6, 36] Generated Node #3: [6, 36] from Operation: 72/2=36 Current State: 30:[6, 36], Operations: ['73-71=2', '72/2=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[6, 72, 71, 73], Operations: [] Exploring Operation: 73-72=1, Resulting Numbers: [6, 71, 1] Generated Node #0,0: 30:[6, 71, 1] Operation: 73-72=1 Exploring Operation: 73-71=2, Resulting Numbers: [6, 72, 2] Generated Node #0,1: 30:[6, 72, 2] Operation: 73-71=2 Exploring Operation: 72-71=1, Resulting Numbers: [6, 73, 1] Generated Node #0,2: 30:[6, 73, 1] Operation: 72-71=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[6, 71, 1], Operations: ['73-72=1'] Exploring Operation: 6*1=6, Resulting Numbers: [71, 6] Generated Node #0,0,0: 30:[71, 6] Operation: 6*1=6 Exploring Operation: 71-1=70, Resulting Numbers: [6, 70] Generated Node #0,0,1: 30:[6, 70] Operation: 71-1=70 Exploring Operation: 71-6=65, Resulting Numbers: [1, 65] Generated Node #0,0,2: 30:[1, 65] Operation: 71-6=65 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 30:[1, 65], Operations: ['73-72=1', '71-6=65'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,30 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,30 unequal: No Solution Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,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:[6, 70], Operations: ['73-72=1', '71-1=70'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,30 unequal: No Solution Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,30 unequal: No Solution Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,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:[71, 6], Operations: ['73-72=1', '6*1=6'] Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,30 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,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,1 Current State: 30:[6, 72, 2], Operations: ['73-71=2'] Exploring Operation: 72/6=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 30:[2, 12] Operation: 72/6=12 Exploring Operation: 72-6=66, Resulting Numbers: [2, 66] Generated Node #0,1,1: 30:[2, 66] Operation: 72-6=66 Exploring Operation: 72/2=36, Resulting Numbers: [6, 36] Generated Node #0,1,2: 30:[6, 36] Operation: 72/2=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[2, 12], Operations: ['73-71=2', '72/6=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 30:[6, 36], Operations: ['73-71=2', '72/2=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[6, 72, 71, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [6, 72, 2] Generated Node #0,1: 30:[6, 72, 2] Operation: 73-71=2 Moving to Node #0,1 Current State: 30:[6, 72, 2], Operations: ['73-71=2'] Exploring Operation: 72/2=36, Resulting Numbers: [6, 36] Generated Node #0,1,2: 30:[6, 36] Operation: 72/2=36 Moving to Node #0,1,2 Current State: 30:[6, 36], Operations: ['73-71=2', '72/2=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 51, 8, 47, 84 ]
22
[ "51+8=59", "84-47=37", "59-37=22" ]
Current State: 22:[51, 8, 47, 84], Operations: [] Exploring Operation: 51+8=59, Resulting Numbers: [47, 84, 59] Generated Node #2: [47, 84, 59] from Operation: 51+8=59 Current State: 22:[47, 84, 59], Operations: ['51+8=59'] Exploring Operation: 84-47=37, Resulting Numbers: [59, 37] Generated Node #3: [59, 37] from Operation: 84-47=37 Current State: 22:[59, 37], Operations: ['51+8=59', '84-47=37'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[51, 8, 47, 84], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [8, 84, 4] Generated Node #0,0: 22:[8, 84, 4] Operation: 51-47=4 Exploring Operation: 84-51=33, Resulting Numbers: [8, 47, 33] Generated Node #0,1: 22:[8, 47, 33] Operation: 84-51=33 Exploring Operation: 51-8=43, Resulting Numbers: [47, 84, 43] Generated Node #0,2: 22:[47, 84, 43] Operation: 51-8=43 Exploring Operation: 47-8=39, Resulting Numbers: [51, 84, 39] Generated Node #0,3: 22:[51, 84, 39] Operation: 47-8=39 Exploring Operation: 84-47=37, Resulting Numbers: [51, 8, 37] Generated Node #0,4: 22:[51, 8, 37] Operation: 84-47=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[8, 47, 33], Operations: ['84-51=33'] Exploring Operation: 8+33=41, Resulting Numbers: [47, 41] Generated Node #0,1,0: 22:[47, 41] Operation: 8+33=41 Exploring Operation: 33-8=25, Resulting Numbers: [47, 25] Generated Node #0,1,1: 22:[47, 25] Operation: 33-8=25 Exploring Operation: 47-33=14, Resulting Numbers: [8, 14] Generated Node #0,1,2: 22:[8, 14] Operation: 47-33=14 Exploring Operation: 47-8=39, Resulting Numbers: [33, 39] Generated Node #0,1,3: 22:[33, 39] Operation: 47-8=39 Exploring Operation: 8+47=55, Resulting Numbers: [33, 55] Generated Node #0,1,4: 22:[33, 55] Operation: 8+47=55 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 22:[8, 14], Operations: ['84-51=33', '47-33=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,22 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[51, 8, 47, 84], Operations: [] Exploring Operation: 84-51=33, Resulting Numbers: [8, 47, 33] Generated Node #0,1: 22:[8, 47, 33] Operation: 84-51=33 Moving to Node #0,1 Current State: 22:[8, 47, 33], Operations: ['84-51=33'] Exploring Operation: 47-33=14, Resulting Numbers: [8, 14] Generated Node #0,1,2: 22:[8, 14] Operation: 47-33=14 Moving to Node #0,1,2 Current State: 22:[8, 14], Operations: ['84-51=33', '47-33=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 41, 66, 48, 3 ]
79
[ "66+48=114", "114/3=38", "41+38=79" ]
Current State: 79:[41, 66, 48, 3], Operations: [] Exploring Operation: 66+48=114, Resulting Numbers: [41, 3, 114] Generated Node #2: [41, 3, 114] from Operation: 66+48=114 Current State: 79:[41, 3, 114], Operations: ['66+48=114'] Exploring Operation: 114/3=38, Resulting Numbers: [41, 38] Generated Node #3: [41, 38] from Operation: 114/3=38 Current State: 79:[41, 38], Operations: ['66+48=114', '114/3=38'] Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[41, 66, 48, 3], Operations: [] Exploring Operation: 48+3=51, Resulting Numbers: [41, 66, 51] Generated Node #0,0: 79:[41, 66, 51] Operation: 48+3=51 Exploring Operation: 66+3=69, Resulting Numbers: [41, 48, 69] Generated Node #0,1: 79:[41, 48, 69] Operation: 66+3=69 Exploring Operation: 41-3=38, Resulting Numbers: [66, 48, 38] Generated Node #0,2: 79:[66, 48, 38] Operation: 41-3=38 Exploring Operation: 41+3=44, Resulting Numbers: [66, 48, 44] Generated Node #0,3: 79:[66, 48, 44] Operation: 41+3=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[41, 66, 51], Operations: ['48+3=51'] Exploring Operation: 41+51=92, Resulting Numbers: [66, 92] Generated Node #0,0,0: 79:[66, 92] Operation: 41+51=92 Exploring Operation: 66-41=25, Resulting Numbers: [51, 25] Generated Node #0,0,1: 79:[51, 25] Operation: 66-41=25 Exploring Operation: 41+66=107, Resulting Numbers: [51, 107] Generated Node #0,0,2: 79:[51, 107] Operation: 41+66=107 Exploring Operation: 66+51=117, Resulting Numbers: [41, 117] Generated Node #0,0,3: 79:[41, 117] Operation: 66+51=117 Moving to Node #0,0,0 Current State: 79:[66, 92], Operations: ['48+3=51', '41+51=92'] Exploring Operation: 66*92=6072, Resulting Numbers: [6072] 6072,79 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 66+92=158, Resulting Numbers: [158] 158,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[51, 107], Operations: ['48+3=51', '41+66=107'] Exploring Operation: 51*107=5457, Resulting Numbers: [5457] 5457,79 unequal: No Solution Exploring Operation: 107-51=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 51+107=158, Resulting Numbers: [158] 158,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[41, 117], Operations: ['48+3=51', '66+51=117'] Exploring Operation: 117-41=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 41*117=4797, Resulting Numbers: [4797] 4797,79 unequal: No Solution Exploring Operation: 41+117=158, Resulting Numbers: [158] 158,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[51, 25], Operations: ['48+3=51', '66-41=25'] Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,79 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[41, 48, 69], Operations: ['66+3=69'] Exploring Operation: 41+69=110, Resulting Numbers: [48, 110] Generated Node #0,1,0: 79:[48, 110] Operation: 41+69=110 Exploring Operation: 48-41=7, Resulting Numbers: [69, 7] Generated Node #0,1,1: 79:[69, 7] Operation: 48-41=7 Exploring Operation: 48+69=117, Resulting Numbers: [41, 117] Generated Node #0,1,2: 79:[41, 117] Operation: 48+69=117 Exploring Operation: 41+48=89, Resulting Numbers: [69, 89] Generated Node #0,1,3: 79:[69, 89] Operation: 41+48=89 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[69, 89], Operations: ['66+3=69', '41+48=89'] Exploring Operation: 69*89=6141, Resulting Numbers: [6141] 6141,79 unequal: No Solution Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 69+89=158, Resulting Numbers: [158] 158,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[48, 110], Operations: ['66+3=69', '41+69=110'] Exploring Operation: 110-48=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 48*110=5280, Resulting Numbers: [5280] 5280,79 unequal: No Solution Exploring Operation: 48+110=158, Resulting Numbers: [158] 158,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[41, 117], Operations: ['66+3=69', '48+69=117'] Exploring Operation: 41*117=4797, Resulting Numbers: [4797] 4797,79 unequal: No Solution Exploring Operation: 41+117=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 117-41=76, Resulting Numbers: [76] 76,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[69, 7], Operations: ['66+3=69', '48-41=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[66, 48, 44], Operations: ['41+3=44'] Exploring Operation: 48+44=92, Resulting Numbers: [66, 92] Generated Node #0,3,0: 79:[66, 92] Operation: 48+44=92 Exploring Operation: 66+48=114, Resulting Numbers: [44, 114] Generated Node #0,3,1: 79:[44, 114] Operation: 66+48=114 Exploring Operation: 66+44=110, Resulting Numbers: [48, 110] Generated Node #0,3,2: 79:[48, 110] Operation: 66+44=110 Exploring Operation: 66-44=22, Resulting Numbers: [48, 22] Generated Node #0,3,3: 79:[48, 22] Operation: 66-44=22 Moving to Node #0,3,0 Current State: 79:[66, 92], Operations: ['41+3=44', '48+44=92'] Exploring Operation: 66+92=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 66*92=6072, Resulting Numbers: [6072] 6072,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[48, 110], Operations: ['41+3=44', '66+44=110'] Exploring Operation: 48*110=5280, Resulting Numbers: [5280] 5280,79 unequal: No Solution Exploring Operation: 110-48=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 48+110=158, Resulting Numbers: [158] 158,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[44, 114], Operations: ['41+3=44', '66+48=114'] Exploring Operation: 44*114=5016, Resulting Numbers: [5016] 5016,79 unequal: No Solution Exploring Operation: 114-44=70, Resulting Numbers: [70] 70,79 unequal: No Solution Exploring Operation: 44+114=158, Resulting Numbers: [158] 158,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[48, 22], Operations: ['41+3=44', '66-44=22'] Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,79 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[66, 48, 38], Operations: ['41-3=38'] Exploring Operation: 66+48=114, Resulting Numbers: [38, 114] Generated Node #0,2,0: 79:[38, 114] Operation: 66+48=114 Exploring Operation: 66-38=28, Resulting Numbers: [48, 28] Generated Node #0,2,1: 79:[48, 28] Operation: 66-38=28 Exploring Operation: 66+38=104, Resulting Numbers: [48, 104] Generated Node #0,2,2: 79:[48, 104] Operation: 66+38=104 Exploring Operation: 48+38=86, Resulting Numbers: [66, 86] Generated Node #0,2,3: 79:[66, 86] Operation: 48+38=86 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[66, 86], Operations: ['41-3=38', '48+38=86'] Exploring Operation: 66*86=5676, Resulting Numbers: [5676] 5676,79 unequal: No Solution Exploring Operation: 66+86=152, Resulting Numbers: [152] 152,79 unequal: No Solution Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[48, 104], Operations: ['41-3=38', '66+38=104'] Exploring Operation: 48+104=152, Resulting Numbers: [152] 152,79 unequal: No Solution Exploring Operation: 104-48=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 48*104=4992, Resulting Numbers: [4992] 4992,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[38, 114], Operations: ['41-3=38', '66+48=114'] Exploring Operation: 114-38=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 114/38=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 38+114=152, Resulting Numbers: [152] 152,79 unequal: No Solution Exploring Operation: 38*114=4332, Resulting Numbers: [4332] 4332,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[48, 28], Operations: ['41-3=38', '66-38=28'] Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 48*28=1344, Resulting Numbers: [1344] 1344,79 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 41, 56, 23, 60 ]
68
[ "56-41=15", "23+60=83", "83-15=68" ]
Current State: 68:[41, 56, 23, 60], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [23, 60, 15] Generated Node #2: [23, 60, 15] from Operation: 56-41=15 Current State: 68:[23, 60, 15], Operations: ['56-41=15'] Exploring Operation: 23+60=83, Resulting Numbers: [15, 83] Generated Node #3: [15, 83] from Operation: 23+60=83 Current State: 68:[15, 83], Operations: ['56-41=15', '23+60=83'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[41, 56, 23, 60], Operations: [] Exploring Operation: 60-41=19, Resulting Numbers: [56, 23, 19] Generated Node #0,0: 68:[56, 23, 19] Operation: 60-41=19 Exploring Operation: 56-23=33, Resulting Numbers: [41, 60, 33] Generated Node #0,1: 68:[41, 60, 33] Operation: 56-23=33 Exploring Operation: 56-41=15, Resulting Numbers: [23, 60, 15] Generated Node #0,2: 68:[23, 60, 15] Operation: 56-41=15 Exploring Operation: 41-23=18, Resulting Numbers: [56, 60, 18] Generated Node #0,3: 68:[56, 60, 18] Operation: 41-23=18 Exploring Operation: 60-56=4, Resulting Numbers: [41, 23, 4] Generated Node #0,4: 68:[41, 23, 4] Operation: 60-56=4 Moving to Node #0,4 Current State: 68:[41, 23, 4], Operations: ['60-56=4'] Exploring Operation: 41-23=18, Resulting Numbers: [4, 18] Generated Node #0,4,0: 68:[4, 18] Operation: 41-23=18 Exploring Operation: 23-4=19, Resulting Numbers: [41, 19] Generated Node #0,4,1: 68:[41, 19] Operation: 23-4=19 Exploring Operation: 23+4=27, Resulting Numbers: [41, 27] Generated Node #0,4,2: 68:[41, 27] Operation: 23+4=27 Exploring Operation: 41+23=64, Resulting Numbers: [4, 64] Generated Node #0,4,3: 68:[4, 64] Operation: 41+23=64 Exploring Operation: 41-4=37, Resulting Numbers: [23, 37] Generated Node #0,4,4: 68:[23, 37] Operation: 41-4=37 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 68:[4, 18], Operations: ['60-56=4', '41-23=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[4, 64], Operations: ['60-56=4', '41+23=64'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,68 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[41, 56, 23, 60], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [41, 23, 4] Generated Node #0,4: 68:[41, 23, 4] Operation: 60-56=4 Moving to Node #0,4 Current State: 68:[41, 23, 4], Operations: ['60-56=4'] Exploring Operation: 41+23=64, Resulting Numbers: [4, 64] Generated Node #0,4,3: 68:[4, 64] Operation: 41+23=64 Moving to Node #0,4,3 Current State: 68:[4, 64], Operations: ['60-56=4', '41+23=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 80, 5, 95, 10 ]
35
[ "80+95=175", "10-5=5", "175/5=35" ]
Current State: 35:[80, 5, 95, 10], Operations: [] Exploring Operation: 80+95=175, Resulting Numbers: [5, 10, 175] Generated Node #2: [5, 10, 175] from Operation: 80+95=175 Current State: 35:[5, 10, 175], Operations: ['80+95=175'] Exploring Operation: 10-5=5, Resulting Numbers: [175, 5] Generated Node #3: [175, 5] from Operation: 10-5=5 Current State: 35:[175, 5], Operations: ['80+95=175', '10-5=5'] Exploring Operation: 175/5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[80, 5, 95, 10], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [5, 95, 8] Generated Node #0,0: 35:[5, 95, 8] Operation: 80/10=8 Exploring Operation: 95-80=15, Resulting Numbers: [5, 10, 15] Generated Node #0,1: 35:[5, 10, 15] Operation: 95-80=15 Exploring Operation: 95/5=19, Resulting Numbers: [80, 10, 19] Generated Node #0,2: 35:[80, 10, 19] Operation: 95/5=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[5, 10, 15], Operations: ['95-80=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10, 10] Generated Node #0,1,0: 35:[10, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [10, 3] Generated Node #0,1,1: 35:[10, 3] Operation: 15/5=3 Exploring Operation: 15-10=5, Resulting Numbers: [5, 5] Generated Node #0,1,2: 35:[5, 5] Operation: 15-10=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[5, 5], Operations: ['95-80=15', '15-10=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,35 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,35 unequal: No Solution No 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: 35:[10, 3], Operations: ['95-80=15', '15/5=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,35 unequal: No Solution No 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: 35:[10, 10], Operations: ['95-80=15', '15-5=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,35 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,35 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: 35:[80, 10, 19], Operations: ['95/5=19'] Exploring Operation: 80-10=70, Resulting Numbers: [19, 70] Generated Node #0,2,0: 35:[19, 70] Operation: 80-10=70 Exploring Operation: 80/10=8, Resulting Numbers: [19, 8] Generated Node #0,2,1: 35:[19, 8] Operation: 80/10=8 Exploring Operation: 80-19=61, Resulting Numbers: [10, 61] Generated Node #0,2,2: 35:[10, 61] Operation: 80-19=61 Moving to Node #0,2,1 Current State: 35:[19, 8], Operations: ['95/5=19', '80/10=8'] Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,35 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[10, 61], Operations: ['95/5=19', '80-19=61'] Exploring Operation: 10*61=610, Resulting Numbers: [610] 610,35 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,35 unequal: No Solution Exploring Operation: 10+61=71, Resulting Numbers: [71] 71,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[19, 70], Operations: ['95/5=19', '80-10=70'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,35 unequal: No Solution Exploring Operation: 19*70=1330, Resulting Numbers: [1330] 1330,35 unequal: No Solution Exploring Operation: 19+70=89, Resulting Numbers: [89] 89,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[5, 95, 8], Operations: ['80/10=8'] Exploring Operation: 95-8=87, Resulting Numbers: [5, 87] Generated Node #0,0,0: 35:[5, 87] Operation: 95-8=87 Exploring Operation: 95/5=19, Resulting Numbers: [8, 19] Generated Node #0,0,1: 35:[8, 19] Operation: 95/5=19 Exploring Operation: 95-5=90, Resulting Numbers: [8, 90] Generated Node #0,0,2: 35:[8, 90] Operation: 95-5=90 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[8, 19], Operations: ['80/10=8', '95/5=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,35 unequal: No Solution No 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: 35:[5, 87], Operations: ['80/10=8', '95-8=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,35 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 5*87=435, Resulting Numbers: [435] 435,35 unequal: No Solution No 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: 35:[8, 90], Operations: ['80/10=8', '95-5=90'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 8*90=720, Resulting Numbers: [720] 720,35 unequal: No Solution Exploring Operation: 8+90=98, Resulting Numbers: [98] 98,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 56, 7, 8, 4 ]
80
[ "7-4=3", "8*3=24", "56+24=80" ]
Current State: 80:[56, 7, 8, 4], Operations: [] Exploring Operation: 7-4=3, Resulting Numbers: [56, 8, 3] Generated Node #2: [56, 8, 3] from Operation: 7-4=3 Current State: 80:[56, 8, 3], Operations: ['7-4=3'] Exploring Operation: 8*3=24, Resulting Numbers: [56, 24] Generated Node #3: [56, 24] from Operation: 8*3=24 Current State: 80:[56, 24], Operations: ['7-4=3', '8*3=24'] Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[56, 7, 8, 4], Operations: [] Exploring Operation: 56/4=14, Resulting Numbers: [7, 8, 14] Generated Node #0,0: 80:[7, 8, 14] Operation: 56/4=14 Exploring Operation: 56-7=49, Resulting Numbers: [8, 4, 49] Generated Node #0,1: 80:[8, 4, 49] Operation: 56-7=49 Exploring Operation: 56/7=8, Resulting Numbers: [8, 4, 8] Generated Node #0,2: 80:[8, 4, 8] Operation: 56/7=8 Exploring Operation: 56/8=7, Resulting Numbers: [7, 4, 7] Generated Node #0,3: 80:[7, 4, 7] Operation: 56/8=7 Exploring Operation: 56-8=48, Resulting Numbers: [7, 4, 48] Generated Node #0,4: 80:[7, 4, 48] Operation: 56-8=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[8, 4, 8], Operations: ['56/7=8'] Exploring Operation: 8-4=4, Resulting Numbers: [8, 4] Generated Node #0,2,0: 80:[8, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [8, 2] Generated Node #0,2,1: 80:[8, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [8, 4] Generated Node #0,2,2: 80:[8, 4] Operation: 8-4=4 Exploring Operation: 8+8=16, Resulting Numbers: [4, 16] Generated Node #0,2,3: 80:[4, 16] Operation: 8+8=16 Exploring Operation: 8/4=2, Resulting Numbers: [8, 2] Generated Node #0,2,4: 80:[8, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[8, 4], Operations: ['56/7=8', '8-4=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[8, 2], Operations: ['56/7=8', '8/4=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[8, 4], Operations: ['56/7=8', '8-4=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[4, 16], Operations: ['56/7=8', '8+8=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 80:[8, 2], Operations: ['56/7=8', '8/4=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[7, 4, 7], Operations: ['56/8=7'] Exploring Operation: 7/7=1, Resulting Numbers: [4, 1] Generated Node #0,3,0: 80:[4, 1] Operation: 7/7=1 Exploring Operation: 7-7=0, Resulting Numbers: [4, 0] Generated Node #0,3,1: 80:[4, 0] Operation: 7-7=0 Exploring Operation: 7+4=11, Resulting Numbers: [7, 11] Generated Node #0,3,2: 80:[7, 11] Operation: 7+4=11 Exploring Operation: 7-4=3, Resulting Numbers: [7, 3] Generated Node #0,3,3: 80:[7, 3] Operation: 7-4=3 Exploring Operation: 7+7=14, Resulting Numbers: [4, 14] Generated Node #0,3,4: 80:[4, 14] Operation: 7+7=14 Moving to Node #0,3,0 Current State: 80:[4, 1], Operations: ['56/8=7', '7/7=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[7, 11], Operations: ['56/8=7', '7+4=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[4, 14], Operations: ['56/8=7', '7+7=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[4, 0], Operations: ['56/8=7', '7-7=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[7, 3], Operations: ['56/8=7', '7-4=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,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:[7, 8, 14], Operations: ['56/4=14'] Exploring Operation: 14/7=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 80:[8, 2] Operation: 14/7=2 Exploring Operation: 7+14=21, Resulting Numbers: [8, 21] Generated Node #0,0,1: 80:[8, 21] Operation: 7+14=21 Exploring Operation: 14-8=6, Resulting Numbers: [7, 6] Generated Node #0,0,2: 80:[7, 6] Operation: 14-8=6 Exploring Operation: 14-7=7, Resulting Numbers: [8, 7] Generated Node #0,0,3: 80:[8, 7] Operation: 14-7=7 Exploring Operation: 7+8=15, Resulting Numbers: [14, 15] Generated Node #0,0,4: 80:[14, 15] Operation: 7+8=15 Moving to Node #0,0,0 Current State: 80:[8, 2], Operations: ['56/4=14', '14/7=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[8, 7], Operations: ['56/4=14', '14-7=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[8, 21], Operations: ['56/4=14', '7+14=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,80 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[7, 6], Operations: ['56/4=14', '14-8=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[14, 15], Operations: ['56/4=14', '7+8=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,80 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,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,1 Current State: 80:[8, 4, 49], Operations: ['56-7=49'] Exploring Operation: 49-4=45, Resulting Numbers: [8, 45] Generated Node #0,1,0: 80:[8, 45] Operation: 49-4=45 Exploring Operation: 8-4=4, Resulting Numbers: [49, 4] Generated Node #0,1,1: 80:[49, 4] Operation: 8-4=4 Exploring Operation: 8+4=12, Resulting Numbers: [49, 12] Generated Node #0,1,2: 80:[49, 12] Operation: 8+4=12 Exploring Operation: 8/4=2, Resulting Numbers: [49, 2] Generated Node #0,1,3: 80:[49, 2] Operation: 8/4=2 Exploring Operation: 49-8=41, Resulting Numbers: [4, 41] Generated Node #0,1,4: 80:[4, 41] Operation: 49-8=41 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 80:[4, 41], Operations: ['56-7=49', '49-8=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[8, 45], Operations: ['56-7=49', '49-4=45'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[49, 4], Operations: ['56-7=49', '8-4=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 80:[49, 2], Operations: ['56-7=49', '8/4=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[49, 12], Operations: ['56-7=49', '8+4=12'] Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,80 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 80:[7, 4, 48], Operations: ['56-8=48'] Exploring Operation: 48/4=12, Resulting Numbers: [7, 12] Generated Node #0,4,0: 80:[7, 12] Operation: 48/4=12 Exploring Operation: 7-4=3, Resulting Numbers: [48, 3] Generated Node #0,4,1: 80:[48, 3] Operation: 7-4=3 Exploring Operation: 7+4=11, Resulting Numbers: [48, 11] Generated Node #0,4,2: 80:[48, 11] Operation: 7+4=11 Exploring Operation: 48-7=41, Resulting Numbers: [4, 41] Generated Node #0,4,3: 80:[4, 41] Operation: 48-7=41 Exploring Operation: 48-4=44, Resulting Numbers: [7, 44] Generated Node #0,4,4: 80:[7, 44] Operation: 48-4=44 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 80:[4, 41], Operations: ['56-8=48', '48-7=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,80 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 80:[7, 12], Operations: ['56-8=48', '48/4=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 80:[7, 44], Operations: ['56-8=48', '48-4=44'] Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,80 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 80:[48, 3], Operations: ['56-8=48', '7-4=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 80:[48, 11], Operations: ['56-8=48', '7+4=11'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 60, 30, 12, 32 ]
20
[ "60-12=48", "30*32=960", "960/48=20" ]
Current State: 20:[60, 30, 12, 32], Operations: [] Exploring Operation: 60-12=48, Resulting Numbers: [30, 32, 48] Generated Node #2: [30, 32, 48] from Operation: 60-12=48 Current State: 20:[30, 32, 48], Operations: ['60-12=48'] Exploring Operation: 30*32=960, Resulting Numbers: [48, 960] Generated Node #3: [48, 960] from Operation: 30*32=960 Current State: 20:[48, 960], Operations: ['60-12=48', '30*32=960'] Exploring Operation: 960/48=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[60, 30, 12, 32], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [12, 32, 2] Generated Node #0,0: 20:[12, 32, 2] Operation: 60/30=2 Moving to Node #0,0 Current State: 20:[12, 32, 2], Operations: ['60/30=2'] Exploring Operation: 32-12=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 20:[2, 20] Operation: 32-12=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[2, 20], Operations: ['60/30=2', '32-12=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,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
[ 14, 8, 15, 21 ]
16
[ "14+8=22", "21-15=6", "22-6=16" ]
Current State: 16:[14, 8, 15, 21], Operations: [] Exploring Operation: 14+8=22, Resulting Numbers: [15, 21, 22] Generated Node #2: [15, 21, 22] from Operation: 14+8=22 Current State: 16:[15, 21, 22], Operations: ['14+8=22'] Exploring Operation: 21-15=6, Resulting Numbers: [22, 6] Generated Node #3: [22, 6] from Operation: 21-15=6 Current State: 16:[22, 6], Operations: ['14+8=22', '21-15=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[14, 8, 15, 21], Operations: [] Exploring Operation: 15-14=1, Resulting Numbers: [8, 21, 1] Generated Node #0,0: 16:[8, 21, 1] Operation: 15-14=1 Exploring Operation: 21-15=6, Resulting Numbers: [14, 8, 6] Generated Node #0,1: 16:[14, 8, 6] Operation: 21-15=6 Exploring Operation: 14-8=6, Resulting Numbers: [15, 21, 6] Generated Node #0,2: 16:[15, 21, 6] Operation: 14-8=6 Exploring Operation: 21-8=13, Resulting Numbers: [14, 15, 13] Generated Node #0,3: 16:[14, 15, 13] Operation: 21-8=13 Exploring Operation: 21-14=7, Resulting Numbers: [8, 15, 7] Generated Node #0,4: 16:[8, 15, 7] Operation: 21-14=7 Moving to Node #0,4 Current State: 16:[8, 15, 7], Operations: ['21-14=7'] Exploring Operation: 15-8=7, Resulting Numbers: [7, 7] Generated Node #0,4,0: 16:[7, 7] Operation: 15-8=7 Exploring Operation: 8-7=1, Resulting Numbers: [15, 1] Generated Node #0,4,1: 16:[15, 1] Operation: 8-7=1 Exploring Operation: 8+7=15, Resulting Numbers: [15, 15] Generated Node #0,4,2: 16:[15, 15] Operation: 8+7=15 Exploring Operation: 15+7=22, Resulting Numbers: [8, 22] Generated Node #0,4,3: 16:[8, 22] Operation: 15+7=22 Exploring Operation: 15-7=8, Resulting Numbers: [8, 8] Generated Node #0,4,4: 16:[8, 8] Operation: 15-7=8 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 16:[8, 8], Operations: ['21-14=7', '15-7=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[14, 8, 15, 21], Operations: [] Exploring Operation: 21-14=7, Resulting Numbers: [8, 15, 7] Generated Node #0,4: 16:[8, 15, 7] Operation: 21-14=7 Moving to Node #0,4 Current State: 16:[8, 15, 7], Operations: ['21-14=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8, 8] Generated Node #0,4,4: 16:[8, 8] Operation: 15-7=8 Moving to Node #0,4,4 Current State: 16:[8, 8], Operations: ['21-14=7', '15-7=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 6, 6, 69, 29 ]
69
[ "6-6=0", "29*0=0", "69+0=69" ]
Current State: 69:[6, 6, 69, 29], Operations: [] Exploring Operation: 6-6=0, Resulting Numbers: [69, 29, 0] Generated Node #2: [69, 29, 0] from Operation: 6-6=0 Current State: 69:[69, 29, 0], Operations: ['6-6=0'] Exploring Operation: 29*0=0, Resulting Numbers: [69, 0] Generated Node #3: [69, 0] from Operation: 29*0=0 Current State: 69:[69, 0], Operations: ['6-6=0', '29*0=0'] Exploring Operation: 69+0=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[6, 6, 69, 29], Operations: [] Exploring Operation: 6/6=1, Resulting Numbers: [69, 29, 1] Generated Node #0,0: 69:[69, 29, 1] Operation: 6/6=1 Exploring Operation: 6-6=0, Resulting Numbers: [69, 29, 0] Generated Node #0,1: 69:[69, 29, 0] Operation: 6-6=0 Exploring Operation: 29-6=23, Resulting Numbers: [6, 69, 23] Generated Node #0,2: 69:[6, 69, 23] Operation: 29-6=23 Exploring Operation: 29-6=23, Resulting Numbers: [6, 69, 23] Generated Node #0,3: 69:[6, 69, 23] Operation: 29-6=23 Moving to Node #0,2 Current State: 69:[6, 69, 23], Operations: ['29-6=23'] Exploring Operation: 6+23=29, Resulting Numbers: [69, 29] Generated Node #0,2,0: 69:[69, 29] Operation: 6+23=29 Exploring Operation: 69/23=3, Resulting Numbers: [6, 3] Generated Node #0,2,1: 69:[6, 3] Operation: 69/23=3 Exploring Operation: 6+69=75, Resulting Numbers: [23, 75] Generated Node #0,2,2: 69:[23, 75] Operation: 6+69=75 Exploring Operation: 69-6=63, Resulting Numbers: [23, 63] Generated Node #0,2,3: 69:[23, 63] Operation: 69-6=63 Moving to Node #0,3 Current State: 69:[6, 69, 23], Operations: ['29-6=23'] Exploring Operation: 69/23=3, Resulting Numbers: [6, 3] Generated Node #0,3,0: 69:[6, 3] Operation: 69/23=3 Exploring Operation: 6+23=29, Resulting Numbers: [69, 29] Generated Node #0,3,1: 69:[69, 29] Operation: 6+23=29 Exploring Operation: 6+69=75, Resulting Numbers: [23, 75] Generated Node #0,3,2: 69:[23, 75] Operation: 6+69=75 Exploring Operation: 69-6=63, Resulting Numbers: [23, 63] Generated Node #0,3,3: 69:[23, 63] Operation: 69-6=63 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[6, 3], Operations: ['29-6=23', '69/23=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[69, 29], Operations: ['29-6=23', '6+23=29'] Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,69 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[23, 75], Operations: ['29-6=23', '6+69=75'] Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[23, 63], Operations: ['29-6=23', '69-6=63'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,69 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: 69:[69, 29, 1], Operations: ['6/6=1'] Exploring Operation: 69/1=69, Resulting Numbers: [29, 69] Generated Node #0,0,0: 69:[29, 69] Operation: 69/1=69 Exploring Operation: 29-1=28, Resulting Numbers: [69, 28] Generated Node #0,0,1: 69:[69, 28] Operation: 29-1=28 Exploring Operation: 29*1=29, Resulting Numbers: [69, 29] Generated Node #0,0,2: 69:[69, 29] Operation: 29*1=29 Exploring Operation: 69*1=69, Resulting Numbers: [29, 69] Generated Node #0,0,3: 69:[29, 69] Operation: 69*1=69 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[69, 28], Operations: ['6/6=1', '29-1=28'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,69 unequal: No Solution Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[29, 69], Operations: ['6/6=1', '69/1=69'] Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[69, 29], Operations: ['6/6=1', '29*1=29'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[29, 69], Operations: ['6/6=1', '69*1=69'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,69 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: 69:[69, 29, 0], Operations: ['6-6=0'] Exploring Operation: 29+0=29, Resulting Numbers: [69, 29] Generated Node #0,1,0: 69:[69, 29] Operation: 29+0=29 Exploring Operation: 69+0=69, Resulting Numbers: [29, 69] Generated Node #0,1,1: 69:[29, 69] Operation: 69+0=69 Exploring Operation: 29*0=0, Resulting Numbers: [69, 0] Generated Node #0,1,2: 69:[69, 0] Operation: 29*0=0 Exploring Operation: 69-0=69, Resulting Numbers: [29, 69] Generated Node #0,1,3: 69:[29, 69] Operation: 69-0=69 Moving to Node #0,2,1 Current State: 69:[6, 3], Operations: ['29-6=23', '69/23=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[69, 0], Operations: ['6-6=0', '29*0=0'] Exploring Operation: 69-0=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[6, 6, 69, 29], Operations: [] Exploring Operation: 6-6=0, Resulting Numbers: [69, 29, 0] Generated Node #0,1: 69:[69, 29, 0] Operation: 6-6=0 Moving to Node #0,1 Current State: 69:[69, 29, 0], Operations: ['6-6=0'] Exploring Operation: 29*0=0, Resulting Numbers: [69, 0] Generated Node #0,1,2: 69:[69, 0] Operation: 29*0=0 Moving to Node #0,1,2 Current State: 69:[69, 0], Operations: ['6-6=0', '29*0=0'] Exploring Operation: 69-0=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.953125
hs_4
sum_heuristic
[ 75, 13, 77, 94 ]
90
[ "75+94=169", "169/13=13", "77+13=90" ]
Current State: 90:[75, 13, 77, 94], Operations: [] Exploring Operation: 75+94=169, Resulting Numbers: [13, 77, 169] Generated Node #2: [13, 77, 169] from Operation: 75+94=169 Current State: 90:[13, 77, 169], Operations: ['75+94=169'] Exploring Operation: 169/13=13, Resulting Numbers: [77, 13] Generated Node #3: [77, 13] from Operation: 169/13=13 Current State: 90:[77, 13], Operations: ['75+94=169', '169/13=13'] Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[75, 13, 77, 94], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [13, 94, 2] Generated Node #0,0: 90:[13, 94, 2] Operation: 77-75=2 Moving to Node #0,0 Current State: 90:[13, 94, 2], Operations: ['77-75=2'] Exploring Operation: 13+2=15, Resulting Numbers: [94, 15] Generated Node #0,0,0: 90:[94, 15] Operation: 13+2=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[94, 15], Operations: ['77-75=2', '13+2=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 10, 24, 6, 91 ]
88
[ "24+6=30", "30/10=3", "91-3=88" ]
Current State: 88:[10, 24, 6, 91], Operations: [] Exploring Operation: 24+6=30, Resulting Numbers: [10, 91, 30] Generated Node #2: [10, 91, 30] from Operation: 24+6=30 Current State: 88:[10, 91, 30], Operations: ['24+6=30'] Exploring Operation: 30/10=3, Resulting Numbers: [91, 3] Generated Node #3: [91, 3] from Operation: 30/10=3 Current State: 88:[91, 3], Operations: ['24+6=30', '30/10=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[10, 24, 6, 91], Operations: [] Exploring Operation: 24-10=14, Resulting Numbers: [6, 91, 14] Generated Node #0,0: 88:[6, 91, 14] Operation: 24-10=14 Exploring Operation: 24-6=18, Resulting Numbers: [10, 91, 18] Generated Node #0,1: 88:[10, 91, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [10, 91, 4] Generated Node #0,2: 88:[10, 91, 4] Operation: 24/6=4 Exploring Operation: 10-6=4, Resulting Numbers: [24, 91, 4] Generated Node #0,3: 88:[24, 91, 4] Operation: 10-6=4 Exploring Operation: 91-6=85, Resulting Numbers: [10, 24, 85] Generated Node #0,4: 88:[10, 24, 85] Operation: 91-6=85 Moving to Node #0,2 Current State: 88:[10, 91, 4], Operations: ['24/6=4'] Exploring Operation: 91-4=87, Resulting Numbers: [10, 87] Generated Node #0,2,0: 88:[10, 87] Operation: 91-4=87 Exploring Operation: 10+4=14, Resulting Numbers: [91, 14] Generated Node #0,2,1: 88:[91, 14] Operation: 10+4=14 Exploring Operation: 91-10=81, Resulting Numbers: [4, 81] Generated Node #0,2,2: 88:[4, 81] Operation: 91-10=81 Exploring Operation: 10*4=40, Resulting Numbers: [91, 40] Generated Node #0,2,3: 88:[91, 40] Operation: 10*4=40 Exploring Operation: 10-4=6, Resulting Numbers: [91, 6] Generated Node #0,2,4: 88:[91, 6] Operation: 10-4=6 Moving to Node #0,3 Current State: 88:[24, 91, 4], Operations: ['10-6=4'] Exploring Operation: 91+4=95, Resulting Numbers: [24, 95] Generated Node #0,3,0: 88:[24, 95] Operation: 91+4=95 Exploring Operation: 24+4=28, Resulting Numbers: [91, 28] Generated Node #0,3,1: 88:[91, 28] Operation: 24+4=28 Exploring Operation: 91-4=87, Resulting Numbers: [24, 87] Generated Node #0,3,2: 88:[24, 87] Operation: 91-4=87 Exploring Operation: 24/4=6, Resulting Numbers: [91, 6] Generated Node #0,3,3: 88:[91, 6] Operation: 24/4=6 Exploring Operation: 24-4=20, Resulting Numbers: [91, 20] Generated Node #0,3,4: 88:[91, 20] Operation: 24-4=20 Moving to Node #0,4 Current State: 88:[10, 24, 85], Operations: ['91-6=85'] Exploring Operation: 10+24=34, Resulting Numbers: [85, 34] Generated Node #0,4,0: 88:[85, 34] Operation: 10+24=34 Exploring Operation: 24-10=14, Resulting Numbers: [85, 14] Generated Node #0,4,1: 88:[85, 14] Operation: 24-10=14 Exploring Operation: 85-10=75, Resulting Numbers: [24, 75] Generated Node #0,4,2: 88:[24, 75] Operation: 85-10=75 Exploring Operation: 10+85=95, Resulting Numbers: [24, 95] Generated Node #0,4,3: 88:[24, 95] Operation: 10+85=95 Exploring Operation: 85-24=61, Resulting Numbers: [10, 61] Generated Node #0,4,4: 88:[10, 61] Operation: 85-24=61 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[85, 14], Operations: ['91-6=85', '24-10=14'] Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,88 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[24, 95], Operations: ['91-6=85', '10+85=95'] Exploring Operation: 24*95=2280, Resulting Numbers: [2280] 2280,88 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 24+95=119, Resulting Numbers: [119] 119,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[85, 34], Operations: ['91-6=85', '10+24=34'] Exploring Operation: 85*34=2890, Resulting Numbers: [2890] 2890,88 unequal: No Solution Exploring Operation: 85+34=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[24, 75], Operations: ['91-6=85', '85-10=75'] Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 24*75=1800, Resulting Numbers: [1800] 1800,88 unequal: No Solution Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[10, 61], Operations: ['91-6=85', '85-24=61'] Exploring Operation: 10+61=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 10*61=610, Resulting Numbers: [610] 610,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 88:[6, 91, 14], Operations: ['24-10=14'] Exploring Operation: 14-6=8, Resulting Numbers: [91, 8] Generated Node #0,0,0: 88:[91, 8] Operation: 14-6=8 Exploring Operation: 6+14=20, Resulting Numbers: [91, 20] Generated Node #0,0,1: 88:[91, 20] Operation: 6+14=20 Exploring Operation: 6*14=84, Resulting Numbers: [91, 84] Generated Node #0,0,2: 88:[91, 84] Operation: 6*14=84 Exploring Operation: 91-6=85, Resulting Numbers: [14, 85] Generated Node #0,0,3: 88:[14, 85] Operation: 91-6=85 Exploring Operation: 6+91=97, Resulting Numbers: [14, 97] Generated Node #0,0,4: 88:[14, 97] Operation: 6+91=97 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[91, 8], Operations: ['24-10=14', '14-6=8'] Exploring Operation: 91+8=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,88 unequal: No Solution Exploring Operation: 91*8=728, Resulting Numbers: [728] 728,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[91, 20], Operations: ['24-10=14', '6+14=20'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,88 unequal: No Solution Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[14, 85], Operations: ['24-10=14', '91-6=85'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[91, 84], Operations: ['24-10=14', '6*14=84'] Exploring Operation: 91*84=7644, Resulting Numbers: [7644] 7644,88 unequal: No Solution Exploring Operation: 91+84=175, Resulting Numbers: [175] 175,88 unequal: No Solution Exploring Operation: 91-84=7, Resulting Numbers: [7] 7,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[14, 97], Operations: ['24-10=14', '6+91=97'] Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,88 unequal: No Solution Exploring Operation: 14+97=111, Resulting Numbers: [111] 111,88 unequal: No Solution Exploring Operation: 14*97=1358, Resulting Numbers: [1358] 1358,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 88:[10, 91, 18], Operations: ['24-6=18'] Exploring Operation: 10+18=28, Resulting Numbers: [91, 28] Generated Node #0,1,0: 88:[91, 28] Operation: 10+18=28 Exploring Operation: 91-10=81, Resulting Numbers: [18, 81] Generated Node #0,1,1: 88:[18, 81] Operation: 91-10=81 Exploring Operation: 91-18=73, Resulting Numbers: [10, 73] Generated Node #0,1,2: 88:[10, 73] Operation: 91-18=73 Exploring Operation: 10+91=101, Resulting Numbers: [18, 101] Generated Node #0,1,3: 88:[18, 101] Operation: 10+91=101 Exploring Operation: 18-10=8, Resulting Numbers: [91, 8] Generated Node #0,1,4: 88:[91, 8] Operation: 18-10=8 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 88:[91, 8], Operations: ['24-6=18', '18-10=8'] Exploring Operation: 91+8=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,88 unequal: No Solution Exploring Operation: 91*8=728, Resulting Numbers: [728] 728,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[91, 28], Operations: ['24-6=18', '10+18=28'] Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,88 unequal: No Solution Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[18, 81], Operations: ['24-6=18', '91-10=81'] Exploring Operation: 18+81=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 18*81=1458, Resulting Numbers: [1458] 1458,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[10, 73], Operations: ['24-6=18', '91-18=73'] Exploring Operation: 10*73=730, Resulting Numbers: [730] 730,88 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 10+73=83, Resulting Numbers: [83] 83,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[18, 101], Operations: ['24-6=18', '10+91=101'] Exploring Operation: 18+101=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 101-18=83, Resulting Numbers: [83] 83,88 unequal: No Solution Exploring Operation: 18*101=1818, Resulting Numbers: [1818] 1818,88 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: 88:[10, 87], Operations: ['24/6=4', '91-4=87'] Exploring Operation: 10+87=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,88 unequal: No Solution Exploring Operation: 10*87=870, Resulting Numbers: [870] 870,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[24, 87], Operations: ['10-6=4', '91-4=87'] Exploring Operation: 24*87=2088, Resulting Numbers: [2088] 2088,88 unequal: No Solution Exploring Operation: 24+87=111, Resulting Numbers: [111] 111,88 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[91, 6], Operations: ['10-6=4', '24/4=6'] Exploring Operation: 91*6=546, Resulting Numbers: [546] 546,88 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,88 unequal: No Solution Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,88 unequal: No Solution Moving to Node #0,2,4 Current State: 88:[91, 6], Operations: ['24/6=4', '10-4=6'] Exploring Operation: 91*6=546, Resulting Numbers: [546] 546,88 unequal: No Solution Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[91, 20], Operations: ['10-6=4', '24-4=20'] Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,88 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[91, 14], Operations: ['24/6=4', '10+4=14'] Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,88 unequal: No Solution Exploring Operation: 91*14=1274, Resulting Numbers: [1274] 1274,88 unequal: No Solution Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[91, 40], Operations: ['24/6=4', '10*4=40'] Exploring Operation: 91*40=3640, Resulting Numbers: [3640] 3640,88 unequal: No Solution Exploring Operation: 91+40=131, Resulting Numbers: [131] 131,88 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[4, 81], Operations: ['24/6=4', '91-10=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,88 unequal: No Solution Exploring Operation: 4*81=324, Resulting Numbers: [324] 324,88 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[91, 28], Operations: ['10-6=4', '24+4=28'] Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,88 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[24, 95], Operations: ['10-6=4', '91+4=95'] Exploring Operation: 24*95=2280, Resulting Numbers: [2280] 2280,88 unequal: No Solution Exploring Operation: 24+95=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,88 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 65, 20, 42, 5 ]
19
[ "65-42=23", "20/5=4", "23-4=19" ]
Current State: 19:[65, 20, 42, 5], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [20, 5, 23] Generated Node #2: [20, 5, 23] from Operation: 65-42=23 Current State: 19:[20, 5, 23], Operations: ['65-42=23'] Exploring Operation: 20/5=4, Resulting Numbers: [23, 4] Generated Node #3: [23, 4] from Operation: 20/5=4 Current State: 19:[23, 4], Operations: ['65-42=23', '20/5=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[65, 20, 42, 5], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [20, 5, 23] Generated Node #0,0: 19:[20, 5, 23] Operation: 65-42=23 Exploring Operation: 65/5=13, Resulting Numbers: [20, 42, 13] Generated Node #0,1: 19:[20, 42, 13] Operation: 65/5=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[20, 5, 23], Operations: ['65-42=23'] Exploring Operation: 20-5=15, Resulting Numbers: [23, 15] Generated Node #0,0,0: 19:[23, 15] Operation: 20-5=15 Exploring Operation: 23-5=18, Resulting Numbers: [20, 18] Generated Node #0,0,1: 19:[20, 18] Operation: 23-5=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[20, 18], Operations: ['65-42=23', '23-5=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[23, 15], Operations: ['65-42=23', '20-5=15'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[20, 42, 13], Operations: ['65/5=13'] Exploring Operation: 42-13=29, Resulting Numbers: [20, 29] Generated Node #0,1,0: 19:[20, 29] Operation: 42-13=29 Exploring Operation: 42-20=22, Resulting Numbers: [13, 22] Generated Node #0,1,1: 19:[13, 22] Operation: 42-20=22 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[13, 22], Operations: ['65/5=13', '42-20=22'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[20, 29], Operations: ['65/5=13', '42-13=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,19 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 45, 44, 25, 68 ]
93
[ "45-44=1", "25+68=93", "1*93=93" ]
Current State: 93:[45, 44, 25, 68], Operations: [] Exploring Operation: 45-44=1, Resulting Numbers: [25, 68, 1] Generated Node #2: [25, 68, 1] from Operation: 45-44=1 Current State: 93:[25, 68, 1], Operations: ['45-44=1'] Exploring Operation: 25+68=93, Resulting Numbers: [1, 93] Generated Node #3: [1, 93] from Operation: 25+68=93 Current State: 93:[1, 93], Operations: ['45-44=1', '25+68=93'] Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[45, 44, 25, 68], Operations: [] Exploring Operation: 68-44=24, Resulting Numbers: [45, 25, 24] Generated Node #0,0: 93:[45, 25, 24] Operation: 68-44=24 Exploring Operation: 68-45=23, Resulting Numbers: [44, 25, 23] Generated Node #0,1: 93:[44, 25, 23] Operation: 68-45=23 Exploring Operation: 25+68=93, Resulting Numbers: [45, 44, 93] Generated Node #0,2: 93:[45, 44, 93] Operation: 25+68=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[45, 25, 24], Operations: ['68-44=24'] Exploring Operation: 25-24=1, Resulting Numbers: [45, 1] Generated Node #0,0,0: 93:[45, 1] Operation: 25-24=1 Exploring Operation: 45-24=21, Resulting Numbers: [25, 21] Generated Node #0,0,1: 93:[25, 21] Operation: 45-24=21 Exploring Operation: 45-25=20, Resulting Numbers: [24, 20] Generated Node #0,0,2: 93:[24, 20] Operation: 45-25=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[45, 1], Operations: ['68-44=24', '25-24=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,93 unequal: No Solution No 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: 93:[25, 21], Operations: ['68-44=24', '45-24=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,93 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,93 unequal: No Solution No 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: 93:[24, 20], Operations: ['68-44=24', '45-25=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,93 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,93 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: 93:[44, 25, 23], Operations: ['68-45=23'] Exploring Operation: 44-25=19, Resulting Numbers: [23, 19] Generated Node #0,1,0: 93:[23, 19] Operation: 44-25=19 Exploring Operation: 25-23=2, Resulting Numbers: [44, 2] Generated Node #0,1,1: 93:[44, 2] Operation: 25-23=2 Exploring Operation: 44-23=21, Resulting Numbers: [25, 21] Generated Node #0,1,2: 93:[25, 21] Operation: 44-23=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[44, 2], Operations: ['68-45=23', '25-23=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,93 unequal: No Solution No 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: 93:[25, 21], Operations: ['68-45=23', '44-23=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,93 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,93 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,93 unequal: No Solution No 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: 93:[23, 19], Operations: ['68-45=23', '44-25=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,93 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,93 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: 93:[45, 44, 93], Operations: ['25+68=93'] Exploring Operation: 45+44=89, Resulting Numbers: [93, 89] Generated Node #0,2,0: 93:[93, 89] Operation: 45+44=89 Exploring Operation: 93-45=48, Resulting Numbers: [44, 48] Generated Node #0,2,1: 93:[44, 48] Operation: 93-45=48 Exploring Operation: 45-44=1, Resulting Numbers: [93, 1] Generated Node #0,2,2: 93:[93, 1] Operation: 45-44=1 Moving to Node #0,2,2 Current State: 93:[93, 1], Operations: ['25+68=93', '45-44=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[45, 44, 25, 68], Operations: [] Exploring Operation: 25+68=93, Resulting Numbers: [45, 44, 93] Generated Node #0,2: 93:[45, 44, 93] Operation: 25+68=93 Moving to Node #0,2 Current State: 93:[45, 44, 93], Operations: ['25+68=93'] Exploring Operation: 45-44=1, Resulting Numbers: [93, 1] Generated Node #0,2,2: 93:[93, 1] Operation: 45-44=1 Moving to Node #0,2,2 Current State: 93:[93, 1], Operations: ['25+68=93', '45-44=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 15, 96, 48, 83 ]
50
[ "96-15=81", "48+83=131", "131-81=50" ]
Current State: 50:[15, 96, 48, 83], Operations: [] Exploring Operation: 96-15=81, Resulting Numbers: [48, 83, 81] Generated Node #2: [48, 83, 81] from Operation: 96-15=81 Current State: 50:[48, 83, 81], Operations: ['96-15=81'] Exploring Operation: 48+83=131, Resulting Numbers: [81, 131] Generated Node #3: [81, 131] from Operation: 48+83=131 Current State: 50:[81, 131], Operations: ['96-15=81', '48+83=131'] Exploring Operation: 131-81=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[15, 96, 48, 83], Operations: [] Exploring Operation: 96-83=13, Resulting Numbers: [15, 48, 13] Generated Node #0,0: 50:[15, 48, 13] Operation: 96-83=13 Exploring Operation: 96/48=2, Resulting Numbers: [15, 83, 2] Generated Node #0,1: 50:[15, 83, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [15, 83, 48] Generated Node #0,2: 50:[15, 83, 48] Operation: 96-48=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[15, 48, 13], Operations: ['96-83=13'] Exploring Operation: 48-15=33, Resulting Numbers: [13, 33] Generated Node #0,0,0: 50:[13, 33] Operation: 48-15=33 Exploring Operation: 15+13=28, Resulting Numbers: [48, 28] Generated Node #0,0,1: 50:[48, 28] Operation: 15+13=28 Exploring Operation: 15-13=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 50:[48, 2] Operation: 15-13=2 Moving to Node #0,0,2 Current State: 50:[48, 2], Operations: ['96-83=13', '15-13=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[15, 96, 48, 83], Operations: [] Exploring Operation: 96-83=13, Resulting Numbers: [15, 48, 13] Generated Node #0,0: 50:[15, 48, 13] Operation: 96-83=13 Moving to Node #0,0 Current State: 50:[15, 48, 13], Operations: ['96-83=13'] Exploring Operation: 15-13=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 50:[48, 2] Operation: 15-13=2 Moving to Node #0,0,2 Current State: 50:[48, 2], Operations: ['96-83=13', '15-13=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 99, 22, 92, 11 ]
81
[ "99+22=121", "121/11=11", "92-11=81" ]
Current State: 81:[99, 22, 92, 11], Operations: [] Exploring Operation: 99+22=121, Resulting Numbers: [92, 11, 121] Generated Node #2: [92, 11, 121] from Operation: 99+22=121 Current State: 81:[92, 11, 121], Operations: ['99+22=121'] Exploring Operation: 121/11=11, Resulting Numbers: [92, 11] Generated Node #3: [92, 11] from Operation: 121/11=11 Current State: 81:[92, 11], Operations: ['99+22=121', '121/11=11'] Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[99, 22, 92, 11], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [22, 11, 7] Generated Node #0,0: 81:[22, 11, 7] Operation: 99-92=7 Moving to Node #0,0 Current State: 81:[22, 11, 7], Operations: ['99-92=7'] Exploring Operation: 22/11=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 81:[7, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[7, 2], Operations: ['99-92=7', '22/11=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,81 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
[ 67, 5, 27, 27 ]
71
[ "67+5=72", "27/27=1", "72-1=71" ]
Current State: 71:[67, 5, 27, 27], Operations: [] Exploring Operation: 67+5=72, Resulting Numbers: [27, 27, 72] Generated Node #2: [27, 27, 72] from Operation: 67+5=72 Current State: 71:[27, 27, 72], Operations: ['67+5=72'] Exploring Operation: 27/27=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 27/27=1 Current State: 71:[72, 1], Operations: ['67+5=72', '27/27=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[67, 5, 27, 27], Operations: [] Exploring Operation: 5+27=32, Resulting Numbers: [67, 27, 32] Generated Node #0,0: 71:[67, 27, 32] Operation: 5+27=32 Exploring Operation: 5+27=32, Resulting Numbers: [67, 27, 32] Generated Node #0,1: 71:[67, 27, 32] Operation: 5+27=32 Exploring Operation: 27+27=54, Resulting Numbers: [67, 5, 54] Generated Node #0,2: 71:[67, 5, 54] Operation: 27+27=54 Moving to Node #0,0 Current State: 71:[67, 27, 32], Operations: ['5+27=32'] Exploring Operation: 27+32=59, Resulting Numbers: [67, 59] Generated Node #0,0,0: 71:[67, 59] Operation: 27+32=59 Exploring Operation: 67+27=94, Resulting Numbers: [32, 94] Generated Node #0,0,1: 71:[32, 94] Operation: 67+27=94 Exploring Operation: 67-27=40, Resulting Numbers: [32, 40] Generated Node #0,0,2: 71:[32, 40] Operation: 67-27=40 Moving to Node #0,1 Current State: 71:[67, 27, 32], Operations: ['5+27=32'] Exploring Operation: 27+32=59, Resulting Numbers: [67, 59] Generated Node #0,1,0: 71:[67, 59] Operation: 27+32=59 Exploring Operation: 67+27=94, Resulting Numbers: [32, 94] Generated Node #0,1,1: 71:[32, 94] Operation: 67+27=94 Exploring Operation: 67-27=40, Resulting Numbers: [32, 40] Generated Node #0,1,2: 71:[32, 40] Operation: 67-27=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[67, 59], Operations: ['5+27=32', '27+32=59'] Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,71 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,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,1,1 Current State: 71:[32, 94], Operations: ['5+27=32', '67+27=94'] Exploring Operation: 32+94=126, Resulting Numbers: [126] 126,71 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 32*94=3008, Resulting Numbers: [3008] 3008,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,1,2 Current State: 71:[32, 40], Operations: ['5+27=32', '67-27=40'] Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,71 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 71:[67, 5, 54], Operations: ['27+27=54'] Exploring Operation: 5+54=59, Resulting Numbers: [67, 59] Generated Node #0,2,0: 71:[67, 59] Operation: 5+54=59 Exploring Operation: 67+5=72, Resulting Numbers: [54, 72] Generated Node #0,2,1: 71:[54, 72] Operation: 67+5=72 Exploring Operation: 67-5=62, Resulting Numbers: [54, 62] Generated Node #0,2,2: 71:[54, 62] Operation: 67-5=62 Moving to Node #0,0,0 Current State: 71:[67, 59], Operations: ['5+27=32', '27+32=59'] Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,71 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[67, 59], Operations: ['27+27=54', '5+54=59'] Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,71 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[54, 72], Operations: ['27+27=54', '67+5=72'] Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 54+72=126, Resulting Numbers: [126] 126,71 unequal: No Solution Exploring Operation: 54*72=3888, Resulting Numbers: [3888] 3888,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[54, 62], Operations: ['27+27=54', '67-5=62'] Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 54*62=3348, Resulting Numbers: [3348] 3348,71 unequal: No Solution Exploring Operation: 54+62=116, Resulting Numbers: [116] 116,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[32, 94], Operations: ['5+27=32', '67+27=94'] Exploring Operation: 32+94=126, Resulting Numbers: [126] 126,71 unequal: No Solution Exploring Operation: 32*94=3008, Resulting Numbers: [3008] 3008,71 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[32, 40], Operations: ['5+27=32', '67-27=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,71 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,71 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 98, 62, 32, 48 ]
43
[ "98+62=160", "160/32=5", "48-5=43" ]
Current State: 43:[98, 62, 32, 48], Operations: [] Exploring Operation: 98+62=160, Resulting Numbers: [32, 48, 160] Generated Node #2: [32, 48, 160] from Operation: 98+62=160 Current State: 43:[32, 48, 160], Operations: ['98+62=160'] Exploring Operation: 160/32=5, Resulting Numbers: [48, 5] Generated Node #3: [48, 5] from Operation: 160/32=5 Current State: 43:[48, 5], Operations: ['98+62=160', '160/32=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[98, 62, 32, 48], Operations: [] Exploring Operation: 62-32=30, Resulting Numbers: [98, 48, 30] Generated Node #0,0: 43:[98, 48, 30] Operation: 62-32=30 Exploring Operation: 98-48=50, Resulting Numbers: [62, 32, 50] Generated Node #0,1: 43:[62, 32, 50] Operation: 98-48=50 Exploring Operation: 62-48=14, Resulting Numbers: [98, 32, 14] Generated Node #0,2: 43:[98, 32, 14] Operation: 62-48=14 Exploring Operation: 98-62=36, Resulting Numbers: [32, 48, 36] Generated Node #0,3: 43:[32, 48, 36] Operation: 98-62=36 Exploring Operation: 98-32=66, Resulting Numbers: [62, 48, 66] Generated Node #0,4: 43:[62, 48, 66] Operation: 98-32=66 Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[32, 48, 36], Operations: ['98-62=36'] Exploring Operation: 48-36=12, Resulting Numbers: [32, 12] Generated Node #0,3,0: 43:[32, 12] Operation: 48-36=12 Exploring Operation: 36-32=4, Resulting Numbers: [48, 4] Generated Node #0,3,1: 43:[48, 4] Operation: 36-32=4 Exploring Operation: 32+48=80, Resulting Numbers: [36, 80] Generated Node #0,3,2: 43:[36, 80] Operation: 32+48=80 Exploring Operation: 48-32=16, Resulting Numbers: [36, 16] Generated Node #0,3,3: 43:[36, 16] Operation: 48-32=16 Exploring Operation: 32+36=68, Resulting Numbers: [48, 68] Generated Node #0,3,4: 43:[48, 68] Operation: 32+36=68 Moving to Node #0,3,4 Current State: 43:[48, 68], Operations: ['98-62=36', '32+36=68'] Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,43 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[36, 16], Operations: ['98-62=36', '48-32=16'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,43 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[32, 12], Operations: ['98-62=36', '48-36=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[48, 4], Operations: ['98-62=36', '36-32=4'] Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,43 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[36, 80], Operations: ['98-62=36', '32+48=80'] Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,43 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[62, 32, 50], Operations: ['98-48=50'] Exploring Operation: 62-32=30, Resulting Numbers: [50, 30] Generated Node #0,1,0: 43:[50, 30] Operation: 62-32=30 Exploring Operation: 62-50=12, Resulting Numbers: [32, 12] Generated Node #0,1,1: 43:[32, 12] Operation: 62-50=12 Exploring Operation: 62+32=94, Resulting Numbers: [50, 94] Generated Node #0,1,2: 43:[50, 94] Operation: 62+32=94 Exploring Operation: 32+50=82, Resulting Numbers: [62, 82] Generated Node #0,1,3: 43:[62, 82] Operation: 32+50=82 Exploring Operation: 50-32=18, Resulting Numbers: [62, 18] Generated Node #0,1,4: 43:[62, 18] Operation: 50-32=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[50, 30], Operations: ['98-48=50', '62-32=30'] Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,43 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,43 unequal: No Solution No 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: 43:[32, 12], Operations: ['98-48=50', '62-50=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,43 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,43 unequal: No Solution No 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: 43:[62, 18], Operations: ['98-48=50', '50-32=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,43 unequal: No Solution No 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: 43:[50, 94], Operations: ['98-48=50', '62+32=94'] Exploring Operation: 50+94=144, Resulting Numbers: [144] 144,43 unequal: No Solution Exploring Operation: 50*94=4700, Resulting Numbers: [4700] 4700,43 unequal: No Solution Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,43 unequal: No Solution No 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: 43:[62, 82], Operations: ['98-48=50', '32+50=82'] Exploring Operation: 62+82=144, Resulting Numbers: [144] 144,43 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 62*82=5084, Resulting Numbers: [5084] 5084,43 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: 43:[62, 48, 66], Operations: ['98-32=66'] Exploring Operation: 62-48=14, Resulting Numbers: [66, 14] Generated Node #0,4,0: 43:[66, 14] Operation: 62-48=14 Exploring Operation: 66-62=4, Resulting Numbers: [48, 4] Generated Node #0,4,1: 43:[48, 4] Operation: 66-62=4 Exploring Operation: 62+48=110, Resulting Numbers: [66, 110] Generated Node #0,4,2: 43:[66, 110] Operation: 62+48=110 Exploring Operation: 66-48=18, Resulting Numbers: [62, 18] Generated Node #0,4,3: 43:[62, 18] Operation: 66-48=18 Exploring Operation: 62+66=128, Resulting Numbers: [48, 128] Generated Node #0,4,4: 43:[48, 128] Operation: 62+66=128 Moving to Node #0,4,1 Current State: 43:[48, 4], Operations: ['98-32=66', '66-62=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,43 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,43 unequal: No Solution Moving to Node #0,4,3 Current State: 43:[62, 18], Operations: ['98-32=66', '66-48=18'] Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,43 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,43 unequal: No Solution Moving to Node #0,4,0 Current State: 43:[66, 14], Operations: ['98-32=66', '62-48=14'] Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,43 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,43 unequal: No Solution Moving to Node #0,4,2 Current State: 43:[66, 110], Operations: ['98-32=66', '62+48=110'] Exploring Operation: 110-66=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 66*110=7260, Resulting Numbers: [7260] 7260,43 unequal: No Solution Exploring Operation: 66+110=176, Resulting Numbers: [176] 176,43 unequal: No Solution Moving to Node #0,4,4 Current State: 43:[48, 128], Operations: ['98-32=66', '62+66=128'] Exploring Operation: 48*128=6144, Resulting Numbers: [6144] 6144,43 unequal: No Solution Exploring Operation: 48+128=176, Resulting Numbers: [176] 176,43 unequal: No Solution Exploring Operation: 128-48=80, Resulting Numbers: [80] 80,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[98, 48, 30], Operations: ['62-32=30'] Exploring Operation: 98-30=68, Resulting Numbers: [48, 68] Generated Node #0,0,0: 43:[48, 68] Operation: 98-30=68 Exploring Operation: 48-30=18, Resulting Numbers: [98, 18] Generated Node #0,0,1: 43:[98, 18] Operation: 48-30=18 Exploring Operation: 98+30=128, Resulting Numbers: [48, 128] Generated Node #0,0,2: 43:[48, 128] Operation: 98+30=128 Exploring Operation: 48+30=78, Resulting Numbers: [98, 78] Generated Node #0,0,3: 43:[98, 78] Operation: 48+30=78 Exploring Operation: 98-48=50, Resulting Numbers: [30, 50] Generated Node #0,0,4: 43:[30, 50] Operation: 98-48=50 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 43:[30, 50], Operations: ['62-32=30', '98-48=50'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,43 unequal: No Solution No 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: 43:[48, 68], Operations: ['62-32=30', '98-30=68'] Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,43 unequal: No Solution Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,43 unequal: No Solution No 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: 43:[98, 18], Operations: ['62-32=30', '48-30=18'] Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,43 unequal: No Solution Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,43 unequal: No Solution No 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: 43:[48, 128], Operations: ['62-32=30', '98+30=128'] Exploring Operation: 48+128=176, Resulting Numbers: [176] 176,43 unequal: No Solution Exploring Operation: 48*128=6144, Resulting Numbers: [6144] 6144,43 unequal: No Solution Exploring Operation: 128-48=80, Resulting Numbers: [80] 80,43 unequal: No Solution No 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: 43:[98, 78], Operations: ['62-32=30', '48+30=78'] Exploring Operation: 98*78=7644, Resulting Numbers: [7644] 7644,43 unequal: No Solution Exploring Operation: 98-78=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 98+78=176, Resulting Numbers: [176] 176,43 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: 43:[98, 32, 14], Operations: ['62-48=14'] Exploring Operation: 32+14=46, Resulting Numbers: [98, 46] Generated Node #0,2,0: 43:[98, 46] Operation: 32+14=46 Exploring Operation: 98-14=84, Resulting Numbers: [32, 84] Generated Node #0,2,1: 43:[32, 84] Operation: 98-14=84 Exploring Operation: 98-32=66, Resulting Numbers: [14, 66] Generated Node #0,2,2: 43:[14, 66] Operation: 98-32=66 Exploring Operation: 98+14=112, Resulting Numbers: [32, 112] Generated Node #0,2,3: 43:[32, 112] Operation: 98+14=112 Exploring Operation: 98/14=7, Resulting Numbers: [32, 7] Generated Node #0,2,4: 43:[32, 7] Operation: 98/14=7 Moving to Node #0,2,4 Current State: 43:[32, 7], Operations: ['62-48=14', '98/14=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,43 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[14, 66], Operations: ['62-48=14', '98-32=66'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 14*66=924, Resulting Numbers: [924] 924,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[32, 84], Operations: ['62-48=14', '98-14=84'] Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 32+84=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 32*84=2688, Resulting Numbers: [2688] 2688,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[98, 46], Operations: ['62-48=14', '32+14=46'] Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,43 unequal: No Solution Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,43 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[32, 112], Operations: ['62-48=14', '98+14=112'] Exploring Operation: 112-32=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 32*112=3584, Resulting Numbers: [3584] 3584,43 unequal: No Solution Exploring Operation: 32+112=144, Resulting Numbers: [144] 144,43 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
[ 69, 29, 96, 27 ]
25
[ "69+29=98", "96+27=123", "123-98=25" ]
Current State: 25:[69, 29, 96, 27], Operations: [] Exploring Operation: 69+29=98, Resulting Numbers: [96, 27, 98] Generated Node #2: [96, 27, 98] from Operation: 69+29=98 Current State: 25:[96, 27, 98], Operations: ['69+29=98'] Exploring Operation: 96+27=123, Resulting Numbers: [98, 123] Generated Node #3: [98, 123] from Operation: 96+27=123 Current State: 25:[98, 123], Operations: ['69+29=98', '96+27=123'] Exploring Operation: 123-98=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[69, 29, 96, 27], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [29, 27, 27] Generated Node #0,0: 25:[29, 27, 27] Operation: 96-69=27 Exploring Operation: 96-29=67, Resulting Numbers: [69, 27, 67] Generated Node #0,1: 25:[69, 27, 67] Operation: 96-29=67 Exploring Operation: 96-27=69, Resulting Numbers: [69, 29, 69] Generated Node #0,2: 25:[69, 29, 69] Operation: 96-27=69 Exploring Operation: 69-27=42, Resulting Numbers: [29, 96, 42] Generated Node #0,3: 25:[29, 96, 42] Operation: 69-27=42 Exploring Operation: 69-29=40, Resulting Numbers: [96, 27, 40] Generated Node #0,4: 25:[96, 27, 40] Operation: 69-29=40 Moving to Node #0,0 Current State: 25:[29, 27, 27], Operations: ['96-69=27'] Exploring Operation: 27-27=0, Resulting Numbers: [29, 0] Generated Node #0,0,0: 25:[29, 0] Operation: 27-27=0 Exploring Operation: 29+27=56, Resulting Numbers: [27, 56] Generated Node #0,0,1: 25:[27, 56] Operation: 29+27=56 Exploring Operation: 27/27=1, Resulting Numbers: [29, 1] Generated Node #0,0,2: 25:[29, 1] Operation: 27/27=1 Exploring Operation: 29-27=2, Resulting Numbers: [27, 2] Generated Node #0,0,3: 25:[27, 2] Operation: 29-27=2 Exploring Operation: 29-27=2, Resulting Numbers: [27, 2] Generated Node #0,0,4: 25:[27, 2] Operation: 29-27=2 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[27, 2], Operations: ['96-69=27', '29-27=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[69, 29, 96, 27], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [29, 27, 27] Generated Node #0,0: 25:[29, 27, 27] Operation: 96-69=27 Moving to Node #0,0 Current State: 25:[29, 27, 27], Operations: ['96-69=27'] Exploring Operation: 29-27=2, Resulting Numbers: [27, 2] Generated Node #0,0,3: 25:[27, 2] Operation: 29-27=2 Moving to Node #0,0,3 Current State: 25:[27, 2], Operations: ['96-69=27', '29-27=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 60, 76, 91, 57 ]
45
[ "60-57=3", "91-76=15", "3*15=45" ]
Current State: 45:[60, 76, 91, 57], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [76, 91, 3] Generated Node #2: [76, 91, 3] from Operation: 60-57=3 Current State: 45:[76, 91, 3], Operations: ['60-57=3'] Exploring Operation: 91-76=15, Resulting Numbers: [3, 15] Generated Node #3: [3, 15] from Operation: 91-76=15 Current State: 45:[3, 15], Operations: ['60-57=3', '91-76=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[60, 76, 91, 57], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [60, 57, 15] Generated Node #0,0: 45:[60, 57, 15] Operation: 91-76=15 Exploring Operation: 91-60=31, Resulting Numbers: [76, 57, 31] Generated Node #0,1: 45:[76, 57, 31] Operation: 91-60=31 Moving to Node #0,0 Current State: 45:[60, 57, 15], Operations: ['91-76=15'] Exploring Operation: 60-15=45, Resulting Numbers: [57, 45] Generated Node #0,0,0: 45:[57, 45] Operation: 60-15=45 Exploring Operation: 60-57=3, Resulting Numbers: [15, 3] Generated Node #0,0,1: 45:[15, 3] Operation: 60-57=3 Moving to Node #0,1 Current State: 45:[76, 57, 31], Operations: ['91-60=31'] Exploring Operation: 76-57=19, Resulting Numbers: [31, 19] Generated Node #0,1,0: 45:[31, 19] Operation: 76-57=19 Exploring Operation: 76-31=45, Resulting Numbers: [57, 45] Generated Node #0,1,1: 45:[57, 45] Operation: 76-31=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[57, 45], Operations: ['91-60=31', '76-31=45'] Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[31, 19], Operations: ['91-60=31', '76-57=19'] Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,45 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: 45:[15, 3], Operations: ['91-76=15', '60-57=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[60, 76, 91, 57], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [60, 57, 15] Generated Node #0,0: 45:[60, 57, 15] Operation: 91-76=15 Moving to Node #0,0 Current State: 45:[60, 57, 15], Operations: ['91-76=15'] Exploring Operation: 60-57=3, Resulting Numbers: [15, 3] Generated Node #0,0,1: 45:[15, 3] Operation: 60-57=3 Moving to Node #0,0,1 Current State: 45:[15, 3], Operations: ['91-76=15', '60-57=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 10, 98, 42, 27 ]
53
[ "98*27=2646", "2646/42=63", "63-10=53" ]
Current State: 53:[10, 98, 42, 27], Operations: [] Exploring Operation: 98*27=2646, Resulting Numbers: [10, 42, 2646] Generated Node #2: [10, 42, 2646] from Operation: 98*27=2646 Current State: 53:[10, 42, 2646], Operations: ['98*27=2646'] Exploring Operation: 2646/42=63, Resulting Numbers: [10, 63] Generated Node #3: [10, 63] from Operation: 2646/42=63 Current State: 53:[10, 63], Operations: ['98*27=2646', '2646/42=63'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[10, 98, 42, 27], Operations: [] Exploring Operation: 10+27=37, Resulting Numbers: [98, 42, 37] Generated Node #0,0: 53:[98, 42, 37] Operation: 10+27=37 Exploring Operation: 98-10=88, Resulting Numbers: [42, 27, 88] Generated Node #0,1: 53:[42, 27, 88] Operation: 98-10=88 Exploring Operation: 98-42=56, Resulting Numbers: [10, 27, 56] Generated Node #0,2: 53:[10, 27, 56] Operation: 98-42=56 Exploring Operation: 10+42=52, Resulting Numbers: [98, 27, 52] Generated Node #0,3: 53:[98, 27, 52] Operation: 10+42=52 Moving to Node #0,0 Current State: 53:[98, 42, 37], Operations: ['10+27=37'] Exploring Operation: 98-42=56, Resulting Numbers: [37, 56] Generated Node #0,0,0: 53:[37, 56] Operation: 98-42=56 Exploring Operation: 98-37=61, Resulting Numbers: [42, 61] Generated Node #0,0,1: 53:[42, 61] Operation: 98-37=61 Exploring Operation: 98+37=135, Resulting Numbers: [42, 135] Generated Node #0,0,2: 53:[42, 135] Operation: 98+37=135 Exploring Operation: 42+37=79, Resulting Numbers: [98, 79] Generated Node #0,0,3: 53:[98, 79] Operation: 42+37=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[37, 56], Operations: ['10+27=37', '98-42=56'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 37*56=2072, Resulting Numbers: [2072] 2072,53 unequal: No Solution Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[42, 61], Operations: ['10+27=37', '98-37=61'] Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,53 unequal: No Solution Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[98, 79], Operations: ['10+27=37', '42+37=79'] Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,53 unequal: No Solution Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[42, 135], Operations: ['10+27=37', '98+37=135'] Exploring Operation: 135-42=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 42+135=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 42*135=5670, Resulting Numbers: [5670] 5670,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 53:[10, 27, 56], Operations: ['98-42=56'] Exploring Operation: 56-10=46, Resulting Numbers: [27, 46] Generated Node #0,2,0: 53:[27, 46] Operation: 56-10=46 Exploring Operation: 27-10=17, Resulting Numbers: [56, 17] Generated Node #0,2,1: 53:[56, 17] Operation: 27-10=17 Exploring Operation: 10+56=66, Resulting Numbers: [27, 66] Generated Node #0,2,2: 53:[27, 66] Operation: 10+56=66 Exploring Operation: 10+27=37, Resulting Numbers: [56, 37] Generated Node #0,2,3: 53:[56, 37] Operation: 10+27=37 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 53:[56, 37], Operations: ['98-42=56', '10+27=37'] Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,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,0 Current State: 53:[27, 46], Operations: ['98-42=56', '56-10=46'] Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,53 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,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:[56, 17], Operations: ['98-42=56', '27-10=17'] Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,53 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[27, 66], Operations: ['98-42=56', '10+56=66'] Exploring Operation: 27*66=1782, Resulting Numbers: [1782] 1782,53 unequal: No Solution Exploring Operation: 27+66=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,53 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: 53:[42, 27, 88], Operations: ['98-10=88'] Exploring Operation: 42+27=69, Resulting Numbers: [88, 69] Generated Node #0,1,0: 53:[88, 69] Operation: 42+27=69 Exploring Operation: 42-27=15, Resulting Numbers: [88, 15] Generated Node #0,1,1: 53:[88, 15] Operation: 42-27=15 Exploring Operation: 88-42=46, Resulting Numbers: [27, 46] Generated Node #0,1,2: 53:[27, 46] Operation: 88-42=46 Exploring Operation: 88-27=61, Resulting Numbers: [42, 61] Generated Node #0,1,3: 53:[42, 61] Operation: 88-27=61 Moving to Node #0,3 Current State: 53:[98, 27, 52], Operations: ['10+42=52'] Exploring Operation: 98-27=71, Resulting Numbers: [52, 71] Generated Node #0,3,0: 53:[52, 71] Operation: 98-27=71 Exploring Operation: 98+27=125, Resulting Numbers: [52, 125] Generated Node #0,3,1: 53:[52, 125] Operation: 98+27=125 Exploring Operation: 98-52=46, Resulting Numbers: [27, 46] Generated Node #0,3,2: 53:[27, 46] Operation: 98-52=46 Exploring Operation: 27+52=79, Resulting Numbers: [98, 79] Generated Node #0,3,3: 53:[98, 79] Operation: 27+52=79 Moving to Node #0,1,3 Current State: 53:[42, 61], Operations: ['98-10=88', '88-27=61'] Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,53 unequal: No Solution Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[52, 71], Operations: ['10+42=52', '98-27=71'] Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 52+71=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 52*71=3692, Resulting Numbers: [3692] 3692,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[27, 46], Operations: ['10+42=52', '98-52=46'] Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,53 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[27, 46], Operations: ['98-10=88', '88-42=46'] Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,53 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[88, 69], Operations: ['98-10=88', '42+27=69'] Exploring Operation: 88+69=157, Resulting Numbers: [157] 157,53 unequal: No Solution Exploring Operation: 88*69=6072, Resulting Numbers: [6072] 6072,53 unequal: No Solution Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[98, 79], Operations: ['10+42=52', '27+52=79'] Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,53 unequal: No Solution Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[88, 15], Operations: ['98-10=88', '42-27=15'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,53 unequal: No Solution Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[52, 125], Operations: ['10+42=52', '98+27=125'] Exploring Operation: 125-52=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 52*125=6500, Resulting Numbers: [6500] 6500,53 unequal: No Solution Exploring Operation: 52+125=177, Resulting Numbers: [177] 177,53 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 35, 38, 19, 56 ]
63
[ "38/19=2", "56/2=28", "35+28=63" ]
Current State: 63:[35, 38, 19, 56], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [35, 56, 2] Generated Node #2: [35, 56, 2] from Operation: 38/19=2 Current State: 63:[35, 56, 2], Operations: ['38/19=2'] Exploring Operation: 56/2=28, Resulting Numbers: [35, 28] Generated Node #3: [35, 28] from Operation: 56/2=28 Current State: 63:[35, 28], Operations: ['38/19=2', '56/2=28'] Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[35, 38, 19, 56], Operations: [] Exploring Operation: 35+38=73, Resulting Numbers: [19, 56, 73] Generated Node #0,0: 63:[19, 56, 73] Operation: 35+38=73 Exploring Operation: 56-35=21, Resulting Numbers: [38, 19, 21] Generated Node #0,1: 63:[38, 19, 21] Operation: 56-35=21 Exploring Operation: 38-35=3, Resulting Numbers: [19, 56, 3] Generated Node #0,2: 63:[19, 56, 3] Operation: 38-35=3 Exploring Operation: 56-38=18, Resulting Numbers: [35, 19, 18] Generated Node #0,3: 63:[35, 19, 18] Operation: 56-38=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[19, 56, 3], Operations: ['38-35=3'] Exploring Operation: 19-3=16, Resulting Numbers: [56, 16] Generated Node #0,2,0: 63:[56, 16] Operation: 19-3=16 Exploring Operation: 19+56=75, Resulting Numbers: [3, 75] Generated Node #0,2,1: 63:[3, 75] Operation: 19+56=75 Exploring Operation: 19+3=22, Resulting Numbers: [56, 22] Generated Node #0,2,2: 63:[56, 22] Operation: 19+3=22 Exploring Operation: 56+3=59, Resulting Numbers: [19, 59] Generated Node #0,2,3: 63:[19, 59] Operation: 56+3=59 Moving to Node #0,2,3 Current State: 63:[19, 59], Operations: ['38-35=3', '56+3=59'] Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,63 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[56, 22], Operations: ['38-35=3', '19+3=22'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,63 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[3, 75], Operations: ['38-35=3', '19+56=75'] Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 3*75=225, Resulting Numbers: [225] 225,63 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[56, 16], Operations: ['38-35=3', '19-3=16'] Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,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:[19, 56, 73], Operations: ['35+38=73'] Exploring Operation: 73-56=17, Resulting Numbers: [19, 17] Generated Node #0,0,0: 63:[19, 17] Operation: 73-56=17 Exploring Operation: 73-19=54, Resulting Numbers: [56, 54] Generated Node #0,0,1: 63:[56, 54] Operation: 73-19=54 Exploring Operation: 56-19=37, Resulting Numbers: [73, 37] Generated Node #0,0,2: 63:[73, 37] Operation: 56-19=37 Exploring Operation: 19+56=75, Resulting Numbers: [73, 75] Generated Node #0,0,3: 63:[73, 75] Operation: 19+56=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[19, 17], Operations: ['35+38=73', '73-56=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[56, 54], Operations: ['35+38=73', '73-19=54'] Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,63 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 63:[73, 75], Operations: ['35+38=73', '19+56=75'] Exploring Operation: 73*75=5475, Resulting Numbers: [5475] 5475,63 unequal: No Solution Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 73+75=148, Resulting Numbers: [148] 148,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[73, 37], Operations: ['35+38=73', '56-19=37'] Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,63 unequal: No Solution Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,63 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[38, 19, 21], Operations: ['56-35=21'] Exploring Operation: 38-19=19, Resulting Numbers: [21, 19] Generated Node #0,1,0: 63:[21, 19] Operation: 38-19=19 Exploring Operation: 38+21=59, Resulting Numbers: [19, 59] Generated Node #0,1,1: 63:[19, 59] Operation: 38+21=59 Exploring Operation: 38+19=57, Resulting Numbers: [21, 57] Generated Node #0,1,2: 63:[21, 57] Operation: 38+19=57 Exploring Operation: 38/19=2, Resulting Numbers: [21, 2] Generated Node #0,1,3: 63:[21, 2] Operation: 38/19=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 63:[21, 2], Operations: ['56-35=21', '38/19=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[21, 19], Operations: ['56-35=21', '38-19=19'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,63 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[19, 59], Operations: ['56-35=21', '38+21=59'] Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,63 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[21, 57], Operations: ['56-35=21', '38+19=57'] Exploring Operation: 21*57=1197, Resulting Numbers: [1197] 1197,63 unequal: No Solution Exploring Operation: 21+57=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[35, 19, 18], Operations: ['56-38=18'] Exploring Operation: 35+19=54, Resulting Numbers: [18, 54] Generated Node #0,3,0: 63:[18, 54] Operation: 35+19=54 Exploring Operation: 35-19=16, Resulting Numbers: [18, 16] Generated Node #0,3,1: 63:[18, 16] Operation: 35-19=16 Exploring Operation: 35-18=17, Resulting Numbers: [19, 17] Generated Node #0,3,2: 63:[19, 17] Operation: 35-18=17 Exploring Operation: 35+18=53, Resulting Numbers: [19, 53] Generated Node #0,3,3: 63:[19, 53] Operation: 35+18=53 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 63:[19, 17], Operations: ['56-38=18', '35-18=17'] Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,63 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 63:[18, 16], Operations: ['56-38=18', '35-19=16'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 18*16=288, Resulting Numbers: [288] 288,63 unequal: No Solution Exploring Operation: 18+16=34, Resulting Numbers: [34] 34,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 63:[18, 54], Operations: ['56-38=18', '35+19=54'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 63:[19, 53], Operations: ['56-38=18', '35+18=53'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,63 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 87, 13, 41, 69 ]
10
[ "87+13=100", "41+69=110", "110-100=10" ]
Current State: 10:[87, 13, 41, 69], Operations: [] Exploring Operation: 87+13=100, Resulting Numbers: [41, 69, 100] Generated Node #2: [41, 69, 100] from Operation: 87+13=100 Current State: 10:[41, 69, 100], Operations: ['87+13=100'] Exploring Operation: 41+69=110, Resulting Numbers: [100, 110] Generated Node #3: [100, 110] from Operation: 41+69=110 Current State: 10:[100, 110], Operations: ['87+13=100', '41+69=110'] Exploring Operation: 110-100=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[87, 13, 41, 69], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [13, 41, 18] Generated Node #0,0: 10:[13, 41, 18] Operation: 87-69=18 Exploring Operation: 87-41=46, Resulting Numbers: [13, 69, 46] Generated Node #0,1: 10:[13, 69, 46] Operation: 87-41=46 Exploring Operation: 69-41=28, Resulting Numbers: [87, 13, 28] Generated Node #0,2: 10:[87, 13, 28] Operation: 69-41=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[13, 41, 18], Operations: ['87-69=18'] Exploring Operation: 41-18=23, Resulting Numbers: [13, 23] Generated Node #0,0,0: 10:[13, 23] Operation: 41-18=23 Exploring Operation: 41-13=28, Resulting Numbers: [18, 28] Generated Node #0,0,1: 10:[18, 28] Operation: 41-13=28 Exploring Operation: 18-13=5, Resulting Numbers: [41, 5] Generated Node #0,0,2: 10:[41, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[13, 23], Operations: ['87-69=18', '41-18=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[87, 13, 41, 69], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [13, 41, 18] Generated Node #0,0: 10:[13, 41, 18] Operation: 87-69=18 Moving to Node #0,0 Current State: 10:[13, 41, 18], Operations: ['87-69=18'] Exploring Operation: 41-18=23, Resulting Numbers: [13, 23] Generated Node #0,0,0: 10:[13, 23] Operation: 41-18=23 Moving to Node #0,0,0 Current State: 10:[13, 23], Operations: ['87-69=18', '41-18=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 43, 69, 75, 45 ]
82
[ "43+69=112", "75-45=30", "112-30=82" ]
Current State: 82:[43, 69, 75, 45], Operations: [] Exploring Operation: 43+69=112, Resulting Numbers: [75, 45, 112] Generated Node #2: [75, 45, 112] from Operation: 43+69=112 Current State: 82:[75, 45, 112], Operations: ['43+69=112'] Exploring Operation: 75-45=30, Resulting Numbers: [112, 30] Generated Node #3: [112, 30] from Operation: 75-45=30 Current State: 82:[112, 30], Operations: ['43+69=112', '75-45=30'] Exploring Operation: 112-30=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[43, 69, 75, 45], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [69, 75, 2] Generated Node #0,0: 82:[69, 75, 2] Operation: 45-43=2 Exploring Operation: 75-69=6, Resulting Numbers: [43, 45, 6] Generated Node #0,1: 82:[43, 45, 6] Operation: 75-69=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[43, 45, 6], Operations: ['75-69=6'] Exploring Operation: 45-6=39, Resulting Numbers: [43, 39] Generated Node #0,1,0: 82:[43, 39] Operation: 45-6=39 Exploring Operation: 45-43=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 82:[6, 2] Operation: 45-43=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[43, 39], Operations: ['75-69=6', '45-6=39'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[43, 69, 75, 45], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [43, 45, 6] Generated Node #0,1: 82:[43, 45, 6] Operation: 75-69=6 Moving to Node #0,1 Current State: 82:[43, 45, 6], Operations: ['75-69=6'] Exploring Operation: 45-6=39, Resulting Numbers: [43, 39] Generated Node #0,1,0: 82:[43, 39] Operation: 45-6=39 Moving to Node #0,1,0 Current State: 82:[43, 39], Operations: ['75-69=6', '45-6=39'] Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 28, 14, 28, 70 ]
40
[ "28/14=2", "70-28=42", "42-2=40" ]
Current State: 40:[28, 14, 28, 70], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [70, 2] Generated Node #2: [70, 2] from Operation: 28/14=2 Current State: 40:[70, 2], Operations: ['28/14=2'] Exploring Operation: 70-28=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 70-28=42 Current State: 40:[2, 42], Operations: ['28/14=2', '70-28=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[28, 14, 28, 70], Operations: [] Exploring Operation: 70-28=42, Resulting Numbers: [14, 28, 42] Generated Node #0,0: 40:[14, 28, 42] Operation: 70-28=42 Exploring Operation: 70-28=42, Resulting Numbers: [28, 14, 42] Generated Node #0,1: 40:[28, 14, 42] Operation: 70-28=42 Exploring Operation: 70/14=5, Resulting Numbers: [28, 28, 5] Generated Node #0,2: 40:[28, 28, 5] Operation: 70/14=5 Exploring Operation: 28/28=1, Resulting Numbers: [14, 70, 1] Generated Node #0,3: 40:[14, 70, 1] Operation: 28/28=1 Exploring Operation: 70-14=56, Resulting Numbers: [28, 28, 56] Generated Node #0,4: 40:[28, 28, 56] Operation: 70-14=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[14, 28, 42], Operations: ['70-28=42'] Exploring Operation: 28/14=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 40:[42, 2] Operation: 28/14=2 Exploring Operation: 14+28=42, Resulting Numbers: [42, 42] Generated Node #0,0,1: 40:[42, 42] Operation: 14+28=42 Exploring Operation: 42/14=3, Resulting Numbers: [28, 3] Generated Node #0,0,2: 40:[28, 3] Operation: 42/14=3 Exploring Operation: 28-14=14, Resulting Numbers: [42, 14] Generated Node #0,0,3: 40:[42, 14] Operation: 28-14=14 Exploring Operation: 42-28=14, Resulting Numbers: [14, 14] Generated Node #0,0,4: 40:[14, 14] Operation: 42-28=14 Moving to Node #0,0,0 Current State: 40:[42, 2], Operations: ['70-28=42', '28/14=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,40 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[28, 14, 28, 70], Operations: [] Exploring Operation: 70-28=42, Resulting Numbers: [14, 28, 42] Generated Node #0,0: 40:[14, 28, 42] Operation: 70-28=42 Moving to Node #0,0 Current State: 40:[14, 28, 42], Operations: ['70-28=42'] Exploring Operation: 28/14=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 40:[42, 2] Operation: 28/14=2 Moving to Node #0,0,0 Current State: 40:[42, 2], Operations: ['70-28=42', '28/14=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 61, 3, 2, 99 ]
30
[ "61+2=63", "99/3=33", "63-33=30" ]
Current State: 30:[61, 3, 2, 99], Operations: [] Exploring Operation: 61+2=63, Resulting Numbers: [3, 99, 63] Generated Node #2: [3, 99, 63] from Operation: 61+2=63 Current State: 30:[3, 99, 63], Operations: ['61+2=63'] Exploring Operation: 99/3=33, Resulting Numbers: [63, 33] Generated Node #3: [63, 33] from Operation: 99/3=33 Current State: 30:[63, 33], Operations: ['61+2=63', '99/3=33'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[61, 3, 2, 99], Operations: [] Exploring Operation: 61-3=58, Resulting Numbers: [2, 99, 58] Generated Node #0,0: 30:[2, 99, 58] Operation: 61-3=58 Exploring Operation: 99/3=33, Resulting Numbers: [61, 2, 33] Generated Node #0,1: 30:[61, 2, 33] Operation: 99/3=33 Exploring Operation: 99-61=38, Resulting Numbers: [3, 2, 38] Generated Node #0,2: 30:[3, 2, 38] Operation: 99-61=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[3, 2, 38], Operations: ['99-61=38'] Exploring Operation: 38/2=19, Resulting Numbers: [3, 19] Generated Node #0,2,0: 30:[3, 19] Operation: 38/2=19 Exploring Operation: 38-3=35, Resulting Numbers: [2, 35] Generated Node #0,2,1: 30:[2, 35] Operation: 38-3=35 Exploring Operation: 38-2=36, Resulting Numbers: [3, 36] Generated Node #0,2,2: 30:[3, 36] Operation: 38-2=36 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[3, 19], Operations: ['99-61=38', '38/2=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,30 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,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,1 Current State: 30:[2, 35], Operations: ['99-61=38', '38-3=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,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:[3, 36], Operations: ['99-61=38', '38-2=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,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,1 Current State: 30:[61, 2, 33], Operations: ['99/3=33'] Exploring Operation: 61-33=28, Resulting Numbers: [2, 28] Generated Node #0,1,0: 30:[2, 28] Operation: 61-33=28 Exploring Operation: 61-2=59, Resulting Numbers: [33, 59] Generated Node #0,1,1: 30:[33, 59] Operation: 61-2=59 Exploring Operation: 33-2=31, Resulting Numbers: [61, 31] Generated Node #0,1,2: 30:[61, 31] Operation: 33-2=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[2, 28], Operations: ['99/3=33', '61-33=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[61, 3, 2, 99], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [61, 2, 33] Generated Node #0,1: 30:[61, 2, 33] Operation: 99/3=33 Moving to Node #0,1 Current State: 30:[61, 2, 33], Operations: ['99/3=33'] Exploring Operation: 61-33=28, Resulting Numbers: [2, 28] Generated Node #0,1,0: 30:[2, 28] Operation: 61-33=28 Moving to Node #0,1,0 Current State: 30:[2, 28], Operations: ['99/3=33', '61-33=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 73, 78, 23, 99 ]
75
[ "73+78=151", "99-23=76", "151-76=75" ]
Current State: 75:[73, 78, 23, 99], Operations: [] Exploring Operation: 73+78=151, Resulting Numbers: [23, 99, 151] Generated Node #2: [23, 99, 151] from Operation: 73+78=151 Current State: 75:[23, 99, 151], Operations: ['73+78=151'] Exploring Operation: 99-23=76, Resulting Numbers: [151, 76] Generated Node #3: [151, 76] from Operation: 99-23=76 Current State: 75:[151, 76], Operations: ['73+78=151', '99-23=76'] Exploring Operation: 151-76=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[73, 78, 23, 99], Operations: [] Exploring Operation: 99-23=76, Resulting Numbers: [73, 78, 76] Generated Node #0,0: 75:[73, 78, 76] Operation: 99-23=76 Exploring Operation: 99-73=26, Resulting Numbers: [78, 23, 26] Generated Node #0,1: 75:[78, 23, 26] Operation: 99-73=26 Moving to Node #0,0 Current State: 75:[73, 78, 76], Operations: ['99-23=76'] Exploring Operation: 76-73=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 75:[78, 3] Operation: 76-73=3 Exploring Operation: 78-73=5, Resulting Numbers: [76, 5] Generated Node #0,0,1: 75:[76, 5] Operation: 78-73=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[76, 5], Operations: ['99-23=76', '78-73=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[78, 3], Operations: ['99-23=76', '76-73=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[73, 78, 23, 99], Operations: [] Exploring Operation: 99-23=76, Resulting Numbers: [73, 78, 76] Generated Node #0,0: 75:[73, 78, 76] Operation: 99-23=76 Moving to Node #0,0 Current State: 75:[73, 78, 76], Operations: ['99-23=76'] Exploring Operation: 76-73=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 75:[78, 3] Operation: 76-73=3 Moving to Node #0,0,0 Current State: 75:[78, 3], Operations: ['99-23=76', '76-73=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 8, 66, 96, 32 ]
58
[ "96-32=64", "64/8=8", "66-8=58" ]
Current State: 58:[8, 66, 96, 32], Operations: [] Exploring Operation: 96-32=64, Resulting Numbers: [8, 66, 64] Generated Node #2: [8, 66, 64] from Operation: 96-32=64 Current State: 58:[8, 66, 64], Operations: ['96-32=64'] Exploring Operation: 64/8=8, Resulting Numbers: [66, 8] Generated Node #3: [66, 8] from Operation: 64/8=8 Current State: 58:[66, 8], Operations: ['96-32=64', '64/8=8'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[8, 66, 96, 32], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [8, 66, 3] Generated Node #0,0: 58:[8, 66, 3] Operation: 96/32=3 Exploring Operation: 96-66=30, Resulting Numbers: [8, 32, 30] Generated Node #0,1: 58:[8, 32, 30] Operation: 96-66=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[8, 32, 30], Operations: ['96-66=30'] Exploring Operation: 32-8=24, Resulting Numbers: [30, 24] Generated Node #0,1,0: 58:[30, 24] Operation: 32-8=24 Exploring Operation: 32/8=4, Resulting Numbers: [30, 4] Generated Node #0,1,1: 58:[30, 4] Operation: 32/8=4 Moving to Node #0,1,1 Current State: 58:[30, 4], Operations: ['96-66=30', '32/8=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[30, 24], Operations: ['96-66=30', '32-8=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[8, 66, 3], Operations: ['96/32=3'] Exploring Operation: 8-3=5, Resulting Numbers: [66, 5] Generated Node #0,0,0: 58:[66, 5] Operation: 8-3=5 Exploring Operation: 66-8=58, Resulting Numbers: [3, 58] Generated Node #0,0,1: 58:[3, 58] Operation: 66-8=58 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[3, 58], Operations: ['96/32=3', '66-8=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,58 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[66, 5], Operations: ['96/32=3', '8-3=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 95, 23, 66, 46 ]
98
[ "95+23=118", "66-46=20", "118-20=98" ]
Current State: 98:[95, 23, 66, 46], Operations: [] Exploring Operation: 95+23=118, Resulting Numbers: [66, 46, 118] Generated Node #2: [66, 46, 118] from Operation: 95+23=118 Current State: 98:[66, 46, 118], Operations: ['95+23=118'] Exploring Operation: 66-46=20, Resulting Numbers: [118, 20] Generated Node #3: [118, 20] from Operation: 66-46=20 Current State: 98:[118, 20], Operations: ['95+23=118', '66-46=20'] Exploring Operation: 118-20=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[95, 23, 66, 46], Operations: [] Exploring Operation: 23+66=89, Resulting Numbers: [95, 46, 89] Generated Node #0,0: 98:[95, 46, 89] Operation: 23+66=89 Exploring Operation: 66-23=43, Resulting Numbers: [95, 46, 43] Generated Node #0,1: 98:[95, 46, 43] Operation: 66-23=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[95, 46, 43], Operations: ['66-23=43'] Exploring Operation: 46-43=3, Resulting Numbers: [95, 3] Generated Node #0,1,0: 98:[95, 3] Operation: 46-43=3 Exploring Operation: 95-46=49, Resulting Numbers: [43, 49] Generated Node #0,1,1: 98:[43, 49] Operation: 95-46=49 Moving to Node #0,1,0 Current State: 98:[95, 3], Operations: ['66-23=43', '46-43=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[95, 23, 66, 46], Operations: [] Exploring Operation: 66-23=43, Resulting Numbers: [95, 46, 43] Generated Node #0,1: 98:[95, 46, 43] Operation: 66-23=43 Moving to Node #0,1 Current State: 98:[95, 46, 43], Operations: ['66-23=43'] Exploring Operation: 46-43=3, Resulting Numbers: [95, 3] Generated Node #0,1,0: 98:[95, 3] Operation: 46-43=3 Moving to Node #0,1,0 Current State: 98:[95, 3], Operations: ['66-23=43', '46-43=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 3, 18, 77, 24 ]
87
[ "24/3=8", "18+77=95", "95-8=87" ]
Current State: 87:[3, 18, 77, 24], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [18, 77, 8] Generated Node #2: [18, 77, 8] from Operation: 24/3=8 Current State: 87:[18, 77, 8], Operations: ['24/3=8'] Exploring Operation: 18+77=95, Resulting Numbers: [8, 95] Generated Node #3: [8, 95] from Operation: 18+77=95 Current State: 87:[8, 95], Operations: ['24/3=8', '18+77=95'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[3, 18, 77, 24], Operations: [] Exploring Operation: 18/3=6, Resulting Numbers: [77, 24, 6] Generated Node #0,0: 87:[77, 24, 6] Operation: 18/3=6 Exploring Operation: 18+77=95, Resulting Numbers: [3, 24, 95] Generated Node #0,1: 87:[3, 24, 95] Operation: 18+77=95 Exploring Operation: 24-18=6, Resulting Numbers: [3, 77, 6] Generated Node #0,2: 87:[3, 77, 6] Operation: 24-18=6 Exploring Operation: 3+18=21, Resulting Numbers: [77, 24, 21] Generated Node #0,3: 87:[77, 24, 21] Operation: 3+18=21 Exploring Operation: 3+77=80, Resulting Numbers: [18, 24, 80] Generated Node #0,4: 87:[18, 24, 80] Operation: 3+77=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[3, 24, 95], Operations: ['18+77=95'] Exploring Operation: 95-3=92, Resulting Numbers: [24, 92] Generated Node #0,1,0: 87:[24, 92] Operation: 95-3=92 Exploring Operation: 24-3=21, Resulting Numbers: [95, 21] Generated Node #0,1,1: 87:[95, 21] Operation: 24-3=21 Exploring Operation: 24/3=8, Resulting Numbers: [95, 8] Generated Node #0,1,2: 87:[95, 8] Operation: 24/3=8 Exploring Operation: 3+24=27, Resulting Numbers: [95, 27] Generated Node #0,1,3: 87:[95, 27] Operation: 3+24=27 Exploring Operation: 3+95=98, Resulting Numbers: [24, 98] Generated Node #0,1,4: 87:[24, 98] Operation: 3+95=98 Moving to Node #0,1,0 Current State: 87:[24, 92], Operations: ['18+77=95', '95-3=92'] Exploring Operation: 24+92=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 24*92=2208, Resulting Numbers: [2208] 2208,87 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[95, 27], Operations: ['18+77=95', '3+24=27'] Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,87 unequal: No Solution Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,87 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[95, 8], Operations: ['18+77=95', '24/3=8'] Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[3, 18, 77, 24], Operations: [] Exploring Operation: 18+77=95, Resulting Numbers: [3, 24, 95] Generated Node #0,1: 87:[3, 24, 95] Operation: 18+77=95 Moving to Node #0,1 Current State: 87:[3, 24, 95], Operations: ['18+77=95'] Exploring Operation: 24/3=8, Resulting Numbers: [95, 8] Generated Node #0,1,2: 87:[95, 8] Operation: 24/3=8 Moving to Node #0,1,2 Current State: 87:[95, 8], Operations: ['18+77=95', '24/3=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 49, 4, 20, 2 ]
93
[ "49+4=53", "20*2=40", "53+40=93" ]
Current State: 93:[49, 4, 20, 2], Operations: [] Exploring Operation: 49+4=53, Resulting Numbers: [20, 2, 53] Generated Node #2: [20, 2, 53] from Operation: 49+4=53 Current State: 93:[20, 2, 53], Operations: ['49+4=53'] Exploring Operation: 20*2=40, Resulting Numbers: [53, 40] Generated Node #3: [53, 40] from Operation: 20*2=40 Current State: 93:[53, 40], Operations: ['49+4=53', '20*2=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[49, 4, 20, 2], Operations: [] Exploring Operation: 20/4=5, Resulting Numbers: [49, 2, 5] Generated Node #0,0: 93:[49, 2, 5] Operation: 20/4=5 Exploring Operation: 49+20=69, Resulting Numbers: [4, 2, 69] Generated Node #0,1: 93:[4, 2, 69] Operation: 49+20=69 Exploring Operation: 49-20=29, Resulting Numbers: [4, 2, 29] Generated Node #0,2: 93:[4, 2, 29] Operation: 49-20=29 Exploring Operation: 49*2=98, Resulting Numbers: [4, 20, 98] Generated Node #0,3: 93:[4, 20, 98] Operation: 49*2=98 Exploring Operation: 49-4=45, Resulting Numbers: [20, 2, 45] Generated Node #0,4: 93:[20, 2, 45] Operation: 49-4=45 Moving to Node #0,2 Current State: 93:[4, 2, 29], Operations: ['49-20=29'] Exploring Operation: 2+29=31, Resulting Numbers: [4, 31] Generated Node #0,2,0: 93:[4, 31] Operation: 2+29=31 Exploring Operation: 4/2=2, Resulting Numbers: [29, 2] Generated Node #0,2,1: 93:[29, 2] Operation: 4/2=2 Exploring Operation: 4+2=6, Resulting Numbers: [29, 6] Generated Node #0,2,2: 93:[29, 6] Operation: 4+2=6 Exploring Operation: 4+29=33, Resulting Numbers: [2, 33] Generated Node #0,2,3: 93:[2, 33] Operation: 4+29=33 Exploring Operation: 4-2=2, Resulting Numbers: [29, 2] Generated Node #0,2,4: 93:[29, 2] Operation: 4-2=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[4, 31], Operations: ['49-20=29', '2+29=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[29, 2], Operations: ['49-20=29', '4/2=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[2, 33], Operations: ['49-20=29', '4+29=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 93:[29, 2], Operations: ['49-20=29', '4-2=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[29, 6], Operations: ['49-20=29', '4+2=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,93 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,93 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: 93:[4, 20, 98], Operations: ['49*2=98'] Exploring Operation: 4*20=80, Resulting Numbers: [98, 80] Generated Node #0,3,0: 93:[98, 80] Operation: 4*20=80 Exploring Operation: 98-20=78, Resulting Numbers: [4, 78] Generated Node #0,3,1: 93:[4, 78] Operation: 98-20=78 Exploring Operation: 98-4=94, Resulting Numbers: [20, 94] Generated Node #0,3,2: 93:[20, 94] Operation: 98-4=94 Exploring Operation: 4+20=24, Resulting Numbers: [98, 24] Generated Node #0,3,3: 93:[98, 24] Operation: 4+20=24 Exploring Operation: 20/4=5, Resulting Numbers: [98, 5] Generated Node #0,3,4: 93:[98, 5] Operation: 20/4=5 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 93:[98, 5], Operations: ['49*2=98', '20/4=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[49, 4, 20, 2], Operations: [] Exploring Operation: 49*2=98, Resulting Numbers: [4, 20, 98] Generated Node #0,3: 93:[4, 20, 98] Operation: 49*2=98 Moving to Node #0,3 Current State: 93:[4, 20, 98], Operations: ['49*2=98'] Exploring Operation: 20/4=5, Resulting Numbers: [98, 5] Generated Node #0,3,4: 93:[98, 5] Operation: 20/4=5 Moving to Node #0,3,4 Current State: 93:[98, 5], Operations: ['49*2=98', '20/4=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 15, 29, 40, 20 ]
42
[ "15+29=44", "40/20=2", "44-2=42" ]
Current State: 42:[15, 29, 40, 20], Operations: [] Exploring Operation: 15+29=44, Resulting Numbers: [40, 20, 44] Generated Node #2: [40, 20, 44] from Operation: 15+29=44 Current State: 42:[40, 20, 44], Operations: ['15+29=44'] Exploring Operation: 40/20=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 40/20=2 Current State: 42:[44, 2], Operations: ['15+29=44', '40/20=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[15, 29, 40, 20], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [15, 29, 2] Generated Node #0,0: 42:[15, 29, 2] Operation: 40/20=2 Exploring Operation: 15+29=44, Resulting Numbers: [40, 20, 44] Generated Node #0,1: 42:[40, 20, 44] Operation: 15+29=44 Exploring Operation: 40-29=11, Resulting Numbers: [15, 20, 11] Generated Node #0,2: 42:[15, 20, 11] Operation: 40-29=11 Exploring Operation: 29-15=14, Resulting Numbers: [40, 20, 14] Generated Node #0,3: 42:[40, 20, 14] Operation: 29-15=14 Exploring Operation: 29-20=9, Resulting Numbers: [15, 40, 9] Generated Node #0,4: 42:[15, 40, 9] Operation: 29-20=9 Moving to Node #0,3 Current State: 42:[40, 20, 14], Operations: ['29-15=14'] Exploring Operation: 20+14=34, Resulting Numbers: [40, 34] Generated Node #0,3,0: 42:[40, 34] Operation: 20+14=34 Exploring Operation: 20-14=6, Resulting Numbers: [40, 6] Generated Node #0,3,1: 42:[40, 6] Operation: 20-14=6 Exploring Operation: 40/20=2, Resulting Numbers: [14, 2] Generated Node #0,3,2: 42:[14, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [14, 20] Generated Node #0,3,3: 42:[14, 20] Operation: 40-20=20 Exploring Operation: 40-14=26, Resulting Numbers: [20, 26] Generated Node #0,3,4: 42:[20, 26] Operation: 40-14=26 Moving to Node #0,2 Current State: 42:[15, 20, 11], Operations: ['40-29=11'] Exploring Operation: 20-11=9, Resulting Numbers: [15, 9] Generated Node #0,2,0: 42:[15, 9] Operation: 20-11=9 Exploring Operation: 15+20=35, Resulting Numbers: [11, 35] Generated Node #0,2,1: 42:[11, 35] Operation: 15+20=35 Exploring Operation: 20-15=5, Resulting Numbers: [11, 5] Generated Node #0,2,2: 42:[11, 5] Operation: 20-15=5 Exploring Operation: 15+11=26, Resulting Numbers: [20, 26] Generated Node #0,2,3: 42:[20, 26] Operation: 15+11=26 Exploring Operation: 15-11=4, Resulting Numbers: [20, 4] Generated Node #0,2,4: 42:[20, 4] Operation: 15-11=4 Moving to Node #0,1 Current State: 42:[40, 20, 44], Operations: ['15+29=44'] Exploring Operation: 44-20=24, Resulting Numbers: [40, 24] Generated Node #0,1,0: 42:[40, 24] Operation: 44-20=24 Exploring Operation: 44-40=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 42:[20, 4] Operation: 44-40=4 Exploring Operation: 40+20=60, Resulting Numbers: [44, 60] Generated Node #0,1,2: 42:[44, 60] Operation: 40+20=60 Exploring Operation: 40-20=20, Resulting Numbers: [44, 20] Generated Node #0,1,3: 42:[44, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [44, 2] Generated Node #0,1,4: 42:[44, 2] Operation: 40/20=2 Moving to Node #0,4 Current State: 42:[15, 40, 9], Operations: ['29-20=9'] Exploring Operation: 40-9=31, Resulting Numbers: [15, 31] Generated Node #0,4,0: 42:[15, 31] Operation: 40-9=31 Exploring Operation: 40-15=25, Resulting Numbers: [9, 25] Generated Node #0,4,1: 42:[9, 25] Operation: 40-15=25 Exploring Operation: 15+9=24, Resulting Numbers: [40, 24] Generated Node #0,4,2: 42:[40, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [40, 6] Generated Node #0,4,3: 42:[40, 6] Operation: 15-9=6 Exploring Operation: 40+9=49, Resulting Numbers: [15, 49] Generated Node #0,4,4: 42:[15, 49] Operation: 40+9=49 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 42:[40, 6], Operations: ['29-20=9', '15-9=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,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,4,2 Current State: 42:[40, 24], Operations: ['29-20=9', '15+9=24'] Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,42 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,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,4,1 Current State: 42:[9, 25], Operations: ['29-20=9', '40-15=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,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,4,4 Current State: 42:[15, 49], Operations: ['29-20=9', '40+9=49'] Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,42 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,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,4,0 Current State: 42:[15, 31], Operations: ['29-20=9', '40-9=31'] Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,42 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,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:[15, 29, 2], Operations: ['40/20=2'] Exploring Operation: 15-2=13, Resulting Numbers: [29, 13] Generated Node #0,0,0: 42:[29, 13] Operation: 15-2=13 Exploring Operation: 15+2=17, Resulting Numbers: [29, 17] Generated Node #0,0,1: 42:[29, 17] Operation: 15+2=17 Exploring Operation: 29-2=27, Resulting Numbers: [15, 27] Generated Node #0,0,2: 42:[15, 27] Operation: 29-2=27 Exploring Operation: 29-15=14, Resulting Numbers: [2, 14] Generated Node #0,0,3: 42:[2, 14] Operation: 29-15=14 Exploring Operation: 15+29=44, Resulting Numbers: [2, 44] Generated Node #0,0,4: 42:[2, 44] Operation: 15+29=44 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[2, 14], Operations: ['40/20=2', '29-15=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 42:[2, 44], Operations: ['40/20=2', '15+29=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[15, 29, 40, 20], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [15, 29, 2] Generated Node #0,0: 42:[15, 29, 2] Operation: 40/20=2 Moving to Node #0,0 Current State: 42:[15, 29, 2], Operations: ['40/20=2'] Exploring Operation: 15+29=44, Resulting Numbers: [2, 44] Generated Node #0,0,4: 42:[2, 44] Operation: 15+29=44 Moving to Node #0,0,4 Current State: 42:[2, 44], Operations: ['40/20=2', '15+29=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 81, 89, 28, 63 ]
83
[ "89-81=8", "28+63=91", "91-8=83" ]
Current State: 83:[81, 89, 28, 63], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [28, 63, 8] Generated Node #2: [28, 63, 8] from Operation: 89-81=8 Current State: 83:[28, 63, 8], Operations: ['89-81=8'] Exploring Operation: 28+63=91, Resulting Numbers: [8, 91] Generated Node #3: [8, 91] from Operation: 28+63=91 Current State: 83:[8, 91], Operations: ['89-81=8', '28+63=91'] Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[81, 89, 28, 63], Operations: [] Exploring Operation: 28+63=91, Resulting Numbers: [81, 89, 91] Generated Node #0,0: 83:[81, 89, 91] Operation: 28+63=91 Exploring Operation: 81-28=53, Resulting Numbers: [89, 63, 53] Generated Node #0,1: 83:[89, 63, 53] Operation: 81-28=53 Exploring Operation: 89+28=117, Resulting Numbers: [81, 63, 117] Generated Node #0,2: 83:[81, 63, 117] Operation: 89+28=117 Exploring Operation: 89-28=61, Resulting Numbers: [81, 63, 61] Generated Node #0,3: 83:[81, 63, 61] Operation: 89-28=61 Exploring Operation: 81+28=109, Resulting Numbers: [89, 63, 109] Generated Node #0,4: 83:[89, 63, 109] Operation: 81+28=109 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[81, 89, 91], Operations: ['28+63=91'] Exploring Operation: 91-89=2, Resulting Numbers: [81, 2] Generated Node #0,0,0: 83:[81, 2] Operation: 91-89=2 Exploring Operation: 89-81=8, Resulting Numbers: [91, 8] Generated Node #0,0,1: 83:[91, 8] Operation: 89-81=8 Exploring Operation: 91-81=10, Resulting Numbers: [89, 10] Generated Node #0,0,2: 83:[89, 10] Operation: 91-81=10 Exploring Operation: 81+91=172, Resulting Numbers: [89, 172] Generated Node #0,0,3: 83:[89, 172] Operation: 81+91=172 Exploring Operation: 81+89=170, Resulting Numbers: [91, 170] Generated Node #0,0,4: 83:[91, 170] Operation: 81+89=170 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[89, 10], Operations: ['28+63=91', '91-81=10'] Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 89*10=890, Resulting Numbers: [890] 890,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[81, 2], Operations: ['28+63=91', '91-89=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[81, 89, 28, 63], Operations: [] Exploring Operation: 28+63=91, Resulting Numbers: [81, 89, 91] Generated Node #0,0: 83:[81, 89, 91] Operation: 28+63=91 Moving to Node #0,0 Current State: 83:[81, 89, 91], Operations: ['28+63=91'] Exploring Operation: 91-89=2, Resulting Numbers: [81, 2] Generated Node #0,0,0: 83:[81, 2] Operation: 91-89=2 Moving to Node #0,0,0 Current State: 83:[81, 2], Operations: ['28+63=91', '91-89=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 29, 83, 6, 33 ]
15
[ "83-29=54", "6+33=39", "54-39=15" ]
Current State: 15:[29, 83, 6, 33], Operations: [] Exploring Operation: 83-29=54, Resulting Numbers: [6, 33, 54] Generated Node #2: [6, 33, 54] from Operation: 83-29=54 Current State: 15:[6, 33, 54], Operations: ['83-29=54'] Exploring Operation: 6+33=39, Resulting Numbers: [54, 39] Generated Node #3: [54, 39] from Operation: 6+33=39 Current State: 15:[54, 39], Operations: ['83-29=54', '6+33=39'] Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[29, 83, 6, 33], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [29, 6, 50] Generated Node #0,0: 15:[29, 6, 50] Operation: 83-33=50 Moving to Node #0,0 Current State: 15:[29, 6, 50], Operations: ['83-33=50'] Exploring Operation: 50-29=21, Resulting Numbers: [6, 21] Generated Node #0,0,0: 15:[6, 21] Operation: 50-29=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[6, 21], Operations: ['83-33=50', '50-29=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[29, 83, 6, 33], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [29, 6, 50] Generated Node #0,0: 15:[29, 6, 50] Operation: 83-33=50 Moving to Node #0,0 Current State: 15:[29, 6, 50], Operations: ['83-33=50'] Exploring Operation: 50-29=21, Resulting Numbers: [6, 21] Generated Node #0,0,0: 15:[6, 21] Operation: 50-29=21 Moving to Node #0,0,0 Current State: 15:[6, 21], Operations: ['83-33=50', '50-29=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 10, 24, 22, 57 ]
55
[ "22-10=12", "24/12=2", "57-2=55" ]
Current State: 55:[10, 24, 22, 57], Operations: [] Exploring Operation: 22-10=12, Resulting Numbers: [24, 57, 12] Generated Node #2: [24, 57, 12] from Operation: 22-10=12 Current State: 55:[24, 57, 12], Operations: ['22-10=12'] Exploring Operation: 24/12=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 24/12=2 Current State: 55:[57, 2], Operations: ['22-10=12', '24/12=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[10, 24, 22, 57], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [10, 57, 2] Generated Node #0,0: 55:[10, 57, 2] Operation: 24-22=2 Moving to Node #0,0 Current State: 55:[10, 57, 2], Operations: ['24-22=2'] Exploring Operation: 57-2=55, Resulting Numbers: [10, 55] Generated Node #0,0,0: 55:[10, 55] Operation: 57-2=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[10, 55], Operations: ['24-22=2', '57-2=55'] Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,55 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
[ 71, 97, 18, 79 ]
70
[ "97-18=79", "79/79=1", "71-1=70" ]
Current State: 70:[71, 97, 18, 79], Operations: [] Exploring Operation: 97-18=79, Resulting Numbers: [71, 79, 79] Generated Node #2: [71, 79, 79] from Operation: 97-18=79 Current State: 70:[71, 79, 79], Operations: ['97-18=79'] Exploring Operation: 79/79=1, Resulting Numbers: [71, 1] Generated Node #3: [71, 1] from Operation: 79/79=1 Current State: 70:[71, 1], Operations: ['97-18=79', '79/79=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[71, 97, 18, 79], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [97, 18, 8] Generated Node #0,0: 70:[97, 18, 8] Operation: 79-71=8 Exploring Operation: 97-79=18, Resulting Numbers: [71, 18, 18] Generated Node #0,1: 70:[71, 18, 18] Operation: 97-79=18 Exploring Operation: 97-18=79, Resulting Numbers: [71, 79, 79] Generated Node #0,2: 70:[71, 79, 79] Operation: 97-18=79 Exploring Operation: 97-71=26, Resulting Numbers: [18, 79, 26] Generated Node #0,3: 70:[18, 79, 26] Operation: 97-71=26 Moving to Node #0,1 Current State: 70:[71, 18, 18], Operations: ['97-79=18'] Exploring Operation: 18-18=0, Resulting Numbers: [71, 0] Generated Node #0,1,0: 70:[71, 0] Operation: 18-18=0 Exploring Operation: 71-18=53, Resulting Numbers: [18, 53] Generated Node #0,1,1: 70:[18, 53] Operation: 71-18=53 Exploring Operation: 18/18=1, Resulting Numbers: [71, 1] Generated Node #0,1,2: 70:[71, 1] Operation: 18/18=1 Exploring Operation: 18+18=36, Resulting Numbers: [71, 36] Generated Node #0,1,3: 70:[71, 36] Operation: 18+18=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[71, 1], Operations: ['97-79=18', '18/18=1'] Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[71, 97, 18, 79], Operations: [] Exploring Operation: 97-79=18, Resulting Numbers: [71, 18, 18] Generated Node #0,1: 70:[71, 18, 18] Operation: 97-79=18 Moving to Node #0,1 Current State: 70:[71, 18, 18], Operations: ['97-79=18'] Exploring Operation: 18/18=1, Resulting Numbers: [71, 1] Generated Node #0,1,2: 70:[71, 1] Operation: 18/18=1 Moving to Node #0,1,2 Current State: 70:[71, 1], Operations: ['97-79=18', '18/18=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 56, 14, 58, 95 ]
83
[ "56+14=70", "58+95=153", "153-70=83" ]
Current State: 83:[56, 14, 58, 95], Operations: [] Exploring Operation: 56+14=70, Resulting Numbers: [58, 95, 70] Generated Node #2: [58, 95, 70] from Operation: 56+14=70 Current State: 83:[58, 95, 70], Operations: ['56+14=70'] Exploring Operation: 58+95=153, Resulting Numbers: [70, 153] Generated Node #3: [70, 153] from Operation: 58+95=153 Current State: 83:[70, 153], Operations: ['56+14=70', '58+95=153'] Exploring Operation: 153-70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[56, 14, 58, 95], Operations: [] Exploring Operation: 14+58=72, Resulting Numbers: [56, 95, 72] Generated Node #0,0: 83:[56, 95, 72] Operation: 14+58=72 Exploring Operation: 56+14=70, Resulting Numbers: [58, 95, 70] Generated Node #0,1: 83:[58, 95, 70] Operation: 56+14=70 Exploring Operation: 95-14=81, Resulting Numbers: [56, 58, 81] Generated Node #0,2: 83:[56, 58, 81] Operation: 95-14=81 Exploring Operation: 58-14=44, Resulting Numbers: [56, 95, 44] Generated Node #0,3: 83:[56, 95, 44] Operation: 58-14=44 Exploring Operation: 56-14=42, Resulting Numbers: [58, 95, 42] Generated Node #0,4: 83:[58, 95, 42] Operation: 56-14=42 Moving to Node #0,0 Current State: 83:[56, 95, 72], Operations: ['14+58=72'] Exploring Operation: 56+95=151, Resulting Numbers: [72, 151] Generated Node #0,0,0: 83:[72, 151] Operation: 56+95=151 Exploring Operation: 95-72=23, Resulting Numbers: [56, 23] Generated Node #0,0,1: 83:[56, 23] Operation: 95-72=23 Exploring Operation: 95-56=39, Resulting Numbers: [72, 39] Generated Node #0,0,2: 83:[72, 39] Operation: 95-56=39 Exploring Operation: 72-56=16, Resulting Numbers: [95, 16] Generated Node #0,0,3: 83:[95, 16] Operation: 72-56=16 Exploring Operation: 56+72=128, Resulting Numbers: [95, 128] Generated Node #0,0,4: 83:[95, 128] Operation: 56+72=128 Moving to Node #0,1 Current State: 83:[58, 95, 70], Operations: ['56+14=70'] Exploring Operation: 58+95=153, Resulting Numbers: [70, 153] Generated Node #0,1,0: 83:[70, 153] Operation: 58+95=153 Exploring Operation: 70-58=12, Resulting Numbers: [95, 12] Generated Node #0,1,1: 83:[95, 12] Operation: 70-58=12 Exploring Operation: 95-70=25, Resulting Numbers: [58, 25] Generated Node #0,1,2: 83:[58, 25] Operation: 95-70=25 Exploring Operation: 58+70=128, Resulting Numbers: [95, 128] Generated Node #0,1,3: 83:[95, 128] Operation: 58+70=128 Exploring Operation: 95-58=37, Resulting Numbers: [70, 37] Generated Node #0,1,4: 83:[70, 37] Operation: 95-58=37 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[95, 128], Operations: ['56+14=70', '58+70=128'] Exploring Operation: 95+128=223, Resulting Numbers: [223] 223,83 unequal: No Solution Exploring Operation: 95*128=12160, Resulting Numbers: [12160] 12160,83 unequal: No Solution Exploring Operation: 128-95=33, Resulting Numbers: [33] 33,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[70, 37], Operations: ['56+14=70', '95-58=37'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[70, 153], Operations: ['56+14=70', '58+95=153'] Exploring Operation: 153-70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[56, 14, 58, 95], Operations: [] Exploring Operation: 56+14=70, Resulting Numbers: [58, 95, 70] Generated Node #0,1: 83:[58, 95, 70] Operation: 56+14=70 Moving to Node #0,1 Current State: 83:[58, 95, 70], Operations: ['56+14=70'] Exploring Operation: 58+95=153, Resulting Numbers: [70, 153] Generated Node #0,1,0: 83:[70, 153] Operation: 58+95=153 Moving to Node #0,1,0 Current State: 83:[70, 153], Operations: ['56+14=70', '58+95=153'] Exploring Operation: 153-70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 46, 38, 92, 59 ]
51
[ "46+38=84", "92-59=33", "84-33=51" ]
Current State: 51:[46, 38, 92, 59], Operations: [] Exploring Operation: 46+38=84, Resulting Numbers: [92, 59, 84] Generated Node #2: [92, 59, 84] from Operation: 46+38=84 Current State: 51:[92, 59, 84], Operations: ['46+38=84'] Exploring Operation: 92-59=33, Resulting Numbers: [84, 33] Generated Node #3: [84, 33] from Operation: 92-59=33 Current State: 51:[84, 33], Operations: ['46+38=84', '92-59=33'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[46, 38, 92, 59], Operations: [] Exploring Operation: 92-38=54, Resulting Numbers: [46, 59, 54] Generated Node #0,0: 51:[46, 59, 54] Operation: 92-38=54 Moving to Node #0,0 Current State: 51:[46, 59, 54], Operations: ['92-38=54'] Exploring Operation: 59-46=13, Resulting Numbers: [54, 13] Generated Node #0,0,0: 51:[54, 13] Operation: 59-46=13 Moving to Node #0,0,0 Current State: 51:[54, 13], Operations: ['92-38=54', '59-46=13'] Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,51 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 29, 65, 99, 70 ]
65
[ "29+65=94", "99-70=29", "94-29=65" ]
Current State: 65:[29, 65, 99, 70], Operations: [] Exploring Operation: 29+65=94, Resulting Numbers: [99, 70, 94] Generated Node #2: [99, 70, 94] from Operation: 29+65=94 Current State: 65:[99, 70, 94], Operations: ['29+65=94'] Exploring Operation: 99-70=29, Resulting Numbers: [94, 29] Generated Node #3: [94, 29] from Operation: 99-70=29 Current State: 65:[94, 29], Operations: ['29+65=94', '99-70=29'] Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[29, 65, 99, 70], Operations: [] Exploring Operation: 99-29=70, Resulting Numbers: [65, 70, 70] Generated Node #0,0: 65:[65, 70, 70] Operation: 99-29=70 Moving to Node #0,0 Current State: 65:[65, 70, 70], Operations: ['99-29=70'] Exploring Operation: 70/70=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 65:[65, 1] Operation: 70/70=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[65, 1], Operations: ['99-29=70', '70/70=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[29, 65, 99, 70], Operations: [] Exploring Operation: 99-29=70, Resulting Numbers: [65, 70, 70] Generated Node #0,0: 65:[65, 70, 70] Operation: 99-29=70 Moving to Node #0,0 Current State: 65:[65, 70, 70], Operations: ['99-29=70'] Exploring Operation: 70/70=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 65:[65, 1] Operation: 70/70=1 Moving to Node #0,0,0 Current State: 65:[65, 1], Operations: ['99-29=70', '70/70=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 50, 22, 95, 24 ]
92
[ "50+22=72", "72/24=3", "95-3=92" ]
Current State: 92:[50, 22, 95, 24], Operations: [] Exploring Operation: 50+22=72, Resulting Numbers: [95, 24, 72] Generated Node #2: [95, 24, 72] from Operation: 50+22=72 Current State: 92:[95, 24, 72], Operations: ['50+22=72'] Exploring Operation: 72/24=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 72/24=3 Current State: 92:[95, 3], Operations: ['50+22=72', '72/24=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[50, 22, 95, 24], Operations: [] Exploring Operation: 50-24=26, Resulting Numbers: [22, 95, 26] Generated Node #0,0: 92:[22, 95, 26] Operation: 50-24=26 Exploring Operation: 95-50=45, Resulting Numbers: [22, 24, 45] Generated Node #0,1: 92:[22, 24, 45] Operation: 95-50=45 Moving to Node #0,1 Current State: 92:[22, 24, 45], Operations: ['95-50=45'] Exploring Operation: 22+24=46, Resulting Numbers: [45, 46] Generated Node #0,1,0: 92:[45, 46] Operation: 22+24=46 Exploring Operation: 24-22=2, Resulting Numbers: [45, 2] Generated Node #0,1,1: 92:[45, 2] Operation: 24-22=2 Moving to Node #0,0 Current State: 92:[22, 95, 26], Operations: ['50-24=26'] Exploring Operation: 26-22=4, Resulting Numbers: [95, 4] Generated Node #0,0,0: 92:[95, 4] Operation: 26-22=4 Exploring Operation: 22+26=48, Resulting Numbers: [95, 48] Generated Node #0,0,1: 92:[95, 48] Operation: 22+26=48 Moving to Node #0,1,0 Current State: 92:[45, 46], Operations: ['95-50=45', '22+24=46'] Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[45, 2], Operations: ['95-50=45', '24-22=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[95, 4], Operations: ['50-24=26', '26-22=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[95, 48], Operations: ['50-24=26', '22+26=48'] Exploring Operation: 95+48=143, Resulting Numbers: [143] 143,92 unequal: No Solution Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,92 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 76, 97, 89, 10 ]
100
[ "97-76=21", "89-10=79", "21+79=100" ]
Current State: 100:[76, 97, 89, 10], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [89, 10, 21] Generated Node #2: [89, 10, 21] from Operation: 97-76=21 Current State: 100:[89, 10, 21], Operations: ['97-76=21'] Exploring Operation: 89-10=79, Resulting Numbers: [21, 79] Generated Node #3: [21, 79] from Operation: 89-10=79 Current State: 100:[21, 79], Operations: ['97-76=21', '89-10=79'] Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[76, 97, 89, 10], Operations: [] Exploring Operation: 89-76=13, Resulting Numbers: [97, 10, 13] Generated Node #0,0: 100:[97, 10, 13] Operation: 89-76=13 Exploring Operation: 97-76=21, Resulting Numbers: [89, 10, 21] Generated Node #0,1: 100:[89, 10, 21] Operation: 97-76=21 Exploring Operation: 89+10=99, Resulting Numbers: [76, 97, 99] Generated Node #0,2: 100:[76, 97, 99] Operation: 89+10=99 Exploring Operation: 97-89=8, Resulting Numbers: [76, 10, 8] Generated Node #0,3: 100:[76, 10, 8] Operation: 97-89=8 Exploring Operation: 76+10=86, Resulting Numbers: [97, 89, 86] Generated Node #0,4: 100:[97, 89, 86] Operation: 76+10=86 Moving to Node #0,0 Current State: 100:[97, 10, 13], Operations: ['89-76=13'] Exploring Operation: 13-10=3, Resulting Numbers: [97, 3] Generated Node #0,0,0: 100:[97, 3] Operation: 13-10=3 Exploring Operation: 97+10=107, Resulting Numbers: [13, 107] Generated Node #0,0,1: 100:[13, 107] Operation: 97+10=107 Exploring Operation: 10+13=23, Resulting Numbers: [97, 23] Generated Node #0,0,2: 100:[97, 23] Operation: 10+13=23 Exploring Operation: 97+13=110, Resulting Numbers: [10, 110] Generated Node #0,0,3: 100:[10, 110] Operation: 97+13=110 Exploring Operation: 97-10=87, Resulting Numbers: [13, 87] Generated Node #0,0,4: 100:[13, 87] Operation: 97-10=87 Moving to Node #0,1 Current State: 100:[89, 10, 21], Operations: ['97-76=21'] Exploring Operation: 89+10=99, Resulting Numbers: [21, 99] Generated Node #0,1,0: 100:[21, 99] Operation: 89+10=99 Exploring Operation: 10+21=31, Resulting Numbers: [89, 31] Generated Node #0,1,1: 100:[89, 31] Operation: 10+21=31 Exploring Operation: 89-21=68, Resulting Numbers: [10, 68] Generated Node #0,1,2: 100:[10, 68] Operation: 89-21=68 Exploring Operation: 21-10=11, Resulting Numbers: [89, 11] Generated Node #0,1,3: 100:[89, 11] Operation: 21-10=11 Exploring Operation: 89+21=110, Resulting Numbers: [10, 110] Generated Node #0,1,4: 100:[10, 110] Operation: 89+21=110 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[21, 99], Operations: ['97-76=21', '89+10=99'] Exploring Operation: 21+99=120, Resulting Numbers: [120] 120,100 unequal: No Solution Exploring Operation: 21*99=2079, Resulting Numbers: [2079] 2079,100 unequal: No Solution Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,100 unequal: No Solution No 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: 100:[10, 110], Operations: ['97-76=21', '89+21=110'] Exploring Operation: 10*110=1100, Resulting Numbers: [1100] 1100,100 unequal: No Solution Exploring Operation: 110/10=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 110-10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[76, 97, 89, 10], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [89, 10, 21] Generated Node #0,1: 100:[89, 10, 21] Operation: 97-76=21 Moving to Node #0,1 Current State: 100:[89, 10, 21], Operations: ['97-76=21'] Exploring Operation: 89+21=110, Resulting Numbers: [10, 110] Generated Node #0,1,4: 100:[10, 110] Operation: 89+21=110 Moving to Node #0,1,4 Current State: 100:[10, 110], Operations: ['97-76=21', '89+21=110'] Exploring Operation: 110-10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 23, 49, 65, 28 ]
67
[ "49-23=26", "65+28=93", "93-26=67" ]
Current State: 67:[23, 49, 65, 28], Operations: [] Exploring Operation: 49-23=26, Resulting Numbers: [65, 28, 26] Generated Node #2: [65, 28, 26] from Operation: 49-23=26 Current State: 67:[65, 28, 26], Operations: ['49-23=26'] Exploring Operation: 65+28=93, Resulting Numbers: [26, 93] Generated Node #3: [26, 93] from Operation: 65+28=93 Current State: 67:[26, 93], Operations: ['49-23=26', '65+28=93'] Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[23, 49, 65, 28], Operations: [] Exploring Operation: 23+49=72, Resulting Numbers: [65, 28, 72] Generated Node #0,0: 67:[65, 28, 72] Operation: 23+49=72 Exploring Operation: 23+28=51, Resulting Numbers: [49, 65, 51] Generated Node #0,1: 67:[49, 65, 51] Operation: 23+28=51 Exploring Operation: 23+65=88, Resulting Numbers: [49, 28, 88] Generated Node #0,2: 67:[49, 28, 88] Operation: 23+65=88 Exploring Operation: 49+28=77, Resulting Numbers: [23, 65, 77] Generated Node #0,3: 67:[23, 65, 77] Operation: 49+28=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[49, 65, 51], Operations: ['23+28=51'] Exploring Operation: 49+51=100, Resulting Numbers: [65, 100] Generated Node #0,1,0: 67:[65, 100] Operation: 49+51=100 Exploring Operation: 51-49=2, Resulting Numbers: [65, 2] Generated Node #0,1,1: 67:[65, 2] Operation: 51-49=2 Exploring Operation: 65-49=16, Resulting Numbers: [51, 16] Generated Node #0,1,2: 67:[51, 16] Operation: 65-49=16 Exploring Operation: 49+65=114, Resulting Numbers: [51, 114] Generated Node #0,1,3: 67:[51, 114] Operation: 49+65=114 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[65, 100], Operations: ['23+28=51', '49+51=100'] Exploring Operation: 65+100=165, Resulting Numbers: [165] 165,67 unequal: No Solution Exploring Operation: 100-65=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 65*100=6500, Resulting Numbers: [6500] 6500,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,3 Current State: 67:[51, 114], Operations: ['23+28=51', '49+65=114'] Exploring Operation: 114-51=63, Resulting Numbers: [63] 63,67 unequal: No Solution Exploring Operation: 51*114=5814, Resulting Numbers: [5814] 5814,67 unequal: No Solution Exploring Operation: 51+114=165, Resulting Numbers: [165] 165,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:[65, 2], Operations: ['23+28=51', '51-49=2'] Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,67 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,67 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[23, 49, 65, 28], Operations: [] Exploring Operation: 23+28=51, Resulting Numbers: [49, 65, 51] Generated Node #0,1: 67:[49, 65, 51] Operation: 23+28=51 Moving to Node #0,1 Current State: 67:[49, 65, 51], Operations: ['23+28=51'] Exploring Operation: 51-49=2, Resulting Numbers: [65, 2] Generated Node #0,1,1: 67:[65, 2] Operation: 51-49=2 Moving to Node #0,1,1 Current State: 67:[65, 2], Operations: ['23+28=51', '51-49=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 32, 14, 81, 14 ]
77
[ "32-14=18", "81+14=95", "95-18=77" ]
Current State: 77:[32, 14, 81, 14], Operations: [] Exploring Operation: 32-14=18, Resulting Numbers: [81, 18] Generated Node #2: [81, 18] from Operation: 32-14=18 Current State: 77:[81, 18], Operations: ['32-14=18'] Exploring Operation: 81+14=95, Resulting Numbers: [18, 95] Generated Node #3: [18, 95] from Operation: 81+14=95 Current State: 77:[18, 95], Operations: ['32-14=18', '81+14=95'] Exploring Operation: 95-18=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[32, 14, 81, 14], Operations: [] Exploring Operation: 14/14=1, Resulting Numbers: [32, 81, 1] Generated Node #0,0: 77:[32, 81, 1] Operation: 14/14=1 Exploring Operation: 32-14=18, Resulting Numbers: [81, 14, 18] Generated Node #0,1: 77:[81, 14, 18] Operation: 32-14=18 Exploring Operation: 32-14=18, Resulting Numbers: [14, 81, 18] Generated Node #0,2: 77:[14, 81, 18] Operation: 32-14=18 Moving to Node #0,1 Current State: 77:[81, 14, 18], Operations: ['32-14=18'] Exploring Operation: 18-14=4, Resulting Numbers: [81, 4] Generated Node #0,1,0: 77:[81, 4] Operation: 18-14=4 Exploring Operation: 81-18=63, Resulting Numbers: [14, 63] Generated Node #0,1,1: 77:[14, 63] Operation: 81-18=63 Exploring Operation: 81-14=67, Resulting Numbers: [18, 67] Generated Node #0,1,2: 77:[18, 67] Operation: 81-14=67 Moving to Node #0,2 Current State: 77:[14, 81, 18], Operations: ['32-14=18'] Exploring Operation: 81-14=67, Resulting Numbers: [18, 67] Generated Node #0,2,0: 77:[18, 67] Operation: 81-14=67 Exploring Operation: 18-14=4, Resulting Numbers: [81, 4] Generated Node #0,2,1: 77:[81, 4] Operation: 18-14=4 Exploring Operation: 81-18=63, Resulting Numbers: [14, 63] Generated Node #0,2,2: 77:[14, 63] Operation: 81-18=63 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[81, 4], Operations: ['32-14=18', '18-14=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[32, 14, 81, 14], Operations: [] Exploring Operation: 32-14=18, Resulting Numbers: [14, 81, 18] Generated Node #0,2: 77:[14, 81, 18] Operation: 32-14=18 Moving to Node #0,2 Current State: 77:[14, 81, 18], Operations: ['32-14=18'] Exploring Operation: 18-14=4, Resulting Numbers: [81, 4] Generated Node #0,2,1: 77:[81, 4] Operation: 18-14=4 Moving to Node #0,2,1 Current State: 77:[81, 4], Operations: ['32-14=18', '18-14=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 82, 72, 60, 73 ]
68
[ "82-73=9", "72/9=8", "60+8=68" ]
Current State: 68:[82, 72, 60, 73], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [72, 60, 9] Generated Node #2: [72, 60, 9] from Operation: 82-73=9 Current State: 68:[72, 60, 9], Operations: ['82-73=9'] Exploring Operation: 72/9=8, Resulting Numbers: [60, 8] Generated Node #3: [60, 8] from Operation: 72/9=8 Current State: 68:[60, 8], Operations: ['82-73=9', '72/9=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[82, 72, 60, 73], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [72, 60, 9] Generated Node #0,0: 68:[72, 60, 9] Operation: 82-73=9 Exploring Operation: 82-60=22, Resulting Numbers: [72, 73, 22] Generated Node #0,1: 68:[72, 73, 22] Operation: 82-60=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[72, 73, 22], Operations: ['82-60=22'] Exploring Operation: 72-22=50, Resulting Numbers: [73, 50] Generated Node #0,1,0: 68:[73, 50] Operation: 72-22=50 Exploring Operation: 73-72=1, Resulting Numbers: [22, 1] Generated Node #0,1,1: 68:[22, 1] Operation: 73-72=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[22, 1], Operations: ['82-60=22', '73-72=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[73, 50], Operations: ['82-60=22', '72-22=50'] Exploring Operation: 73+50=123, Resulting Numbers: [123] 123,68 unequal: No Solution Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[72, 60, 9], Operations: ['82-73=9'] Exploring Operation: 72-60=12, Resulting Numbers: [9, 12] Generated Node #0,0,0: 68:[9, 12] Operation: 72-60=12 Exploring Operation: 60+9=69, Resulting Numbers: [72, 69] Generated Node #0,0,1: 68:[72, 69] Operation: 60+9=69 Moving to Node #0,0,1 Current State: 68:[72, 69], Operations: ['82-73=9', '60+9=69'] Exploring Operation: 72+69=141, Resulting Numbers: [141] 141,68 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[9, 12], Operations: ['82-73=9', '72-60=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 16, 3, 74 ]
43
[ "12+16=28", "74-3=71", "71-28=43" ]
Current State: 43:[12, 16, 3, 74], Operations: [] Exploring Operation: 12+16=28, Resulting Numbers: [3, 74, 28] Generated Node #2: [3, 74, 28] from Operation: 12+16=28 Current State: 43:[3, 74, 28], Operations: ['12+16=28'] Exploring Operation: 74-3=71, Resulting Numbers: [28, 71] Generated Node #3: [28, 71] from Operation: 74-3=71 Current State: 43:[28, 71], Operations: ['12+16=28', '74-3=71'] Exploring Operation: 71-28=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[12, 16, 3, 74], Operations: [] Exploring Operation: 12+16=28, Resulting Numbers: [3, 74, 28] Generated Node #0,0: 43:[3, 74, 28] Operation: 12+16=28 Exploring Operation: 12*3=36, Resulting Numbers: [16, 74, 36] Generated Node #0,1: 43:[16, 74, 36] Operation: 12*3=36 Exploring Operation: 16*3=48, Resulting Numbers: [12, 74, 48] Generated Node #0,2: 43:[12, 74, 48] Operation: 16*3=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[16, 74, 36], Operations: ['12*3=36'] Exploring Operation: 74-16=58, Resulting Numbers: [36, 58] Generated Node #0,1,0: 43:[36, 58] Operation: 74-16=58 Exploring Operation: 16+36=52, Resulting Numbers: [74, 52] Generated Node #0,1,1: 43:[74, 52] Operation: 16+36=52 Exploring Operation: 74-36=38, Resulting Numbers: [16, 38] Generated Node #0,1,2: 43:[16, 38] Operation: 74-36=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[36, 58], Operations: ['12*3=36', '74-16=58'] Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,43 unequal: No Solution Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,43 unequal: No Solution No 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: 43:[16, 38], Operations: ['12*3=36', '74-36=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,43 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,43 unequal: No Solution No 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: 43:[74, 52], Operations: ['12*3=36', '16+36=52'] Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,43 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,43 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: 43:[12, 74, 48], Operations: ['16*3=48'] Exploring Operation: 48-12=36, Resulting Numbers: [74, 36] Generated Node #0,2,0: 43:[74, 36] Operation: 48-12=36 Exploring Operation: 74-12=62, Resulting Numbers: [48, 62] Generated Node #0,2,1: 43:[48, 62] Operation: 74-12=62 Exploring Operation: 12+74=86, Resulting Numbers: [48, 86] Generated Node #0,2,2: 43:[48, 86] Operation: 12+74=86 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[48, 62], Operations: ['16*3=48', '74-12=62'] Exploring Operation: 48*62=2976, Resulting Numbers: [2976] 2976,43 unequal: No Solution Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,43 unequal: No Solution Exploring Operation: 48+62=110, Resulting Numbers: [110] 110,43 unequal: No Solution No 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: 43:[74, 36], Operations: ['16*3=48', '48-12=36'] Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,43 unequal: No Solution No 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: 43:[48, 86], Operations: ['16*3=48', '12+74=86'] Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 48*86=4128, Resulting Numbers: [4128] 4128,43 unequal: No Solution Exploring Operation: 48+86=134, Resulting Numbers: [134] 134,43 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: 43:[3, 74, 28], Operations: ['12+16=28'] Exploring Operation: 3+28=31, Resulting Numbers: [74, 31] Generated Node #0,0,0: 43:[74, 31] Operation: 3+28=31 Exploring Operation: 74-28=46, Resulting Numbers: [3, 46] Generated Node #0,0,1: 43:[3, 46] Operation: 74-28=46 Exploring Operation: 74-3=71, Resulting Numbers: [28, 71] Generated Node #0,0,2: 43:[28, 71] Operation: 74-3=71 Moving to Node #0,0,0 Current State: 43:[74, 31], Operations: ['12+16=28', '3+28=31'] Exploring Operation: 74*31=2294, Resulting Numbers: [2294] 2294,43 unequal: No Solution Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[12, 16, 3, 74], Operations: [] Exploring Operation: 12+16=28, Resulting Numbers: [3, 74, 28] Generated Node #0,0: 43:[3, 74, 28] Operation: 12+16=28 Moving to Node #0,0 Current State: 43:[3, 74, 28], Operations: ['12+16=28'] Exploring Operation: 3+28=31, Resulting Numbers: [74, 31] Generated Node #0,0,0: 43:[74, 31] Operation: 3+28=31 Moving to Node #0,0,0 Current State: 43:[74, 31], Operations: ['12+16=28', '3+28=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 98, 92, 7, 89 ]
90
[ "98-92=6", "7+89=96", "96-6=90" ]
Current State: 90:[98, 92, 7, 89], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [7, 89, 6] Generated Node #2: [7, 89, 6] from Operation: 98-92=6 Current State: 90:[7, 89, 6], Operations: ['98-92=6'] Exploring Operation: 7+89=96, Resulting Numbers: [6, 96] Generated Node #3: [6, 96] from Operation: 7+89=96 Current State: 90:[6, 96], Operations: ['98-92=6', '7+89=96'] Exploring Operation: 96-6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[98, 92, 7, 89], Operations: [] Exploring Operation: 98-89=9, Resulting Numbers: [92, 7, 9] Generated Node #0,0: 90:[92, 7, 9] Operation: 98-89=9 Exploring Operation: 98-7=91, Resulting Numbers: [92, 89, 91] Generated Node #0,1: 90:[92, 89, 91] Operation: 98-7=91 Exploring Operation: 98-92=6, Resulting Numbers: [7, 89, 6] Generated Node #0,2: 90:[7, 89, 6] Operation: 98-92=6 Moving to Node #0,2 Current State: 90:[7, 89, 6], Operations: ['98-92=6'] Exploring Operation: 7-6=1, Resulting Numbers: [89, 1] Generated Node #0,2,0: 90:[89, 1] Operation: 7-6=1 Exploring Operation: 7*6=42, Resulting Numbers: [89, 42] Generated Node #0,2,1: 90:[89, 42] Operation: 7*6=42 Exploring Operation: 7+6=13, Resulting Numbers: [89, 13] Generated Node #0,2,2: 90:[89, 13] Operation: 7+6=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 90:[89, 1], Operations: ['98-92=6', '7-6=1'] Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[98, 92, 7, 89], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [7, 89, 6] Generated Node #0,2: 90:[7, 89, 6] Operation: 98-92=6 Moving to Node #0,2 Current State: 90:[7, 89, 6], Operations: ['98-92=6'] Exploring Operation: 7-6=1, Resulting Numbers: [89, 1] Generated Node #0,2,0: 90:[89, 1] Operation: 7-6=1 Moving to Node #0,2,0 Current State: 90:[89, 1], Operations: ['98-92=6', '7-6=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 59, 5, 18, 18 ]
12
[ "18/18=1", "59+1=60", "60/5=12" ]
Current State: 12:[59, 5, 18, 18], Operations: [] Exploring Operation: 18/18=1, Resulting Numbers: [59, 5, 1] Generated Node #2: [59, 5, 1] from Operation: 18/18=1 Current State: 12:[59, 5, 1], Operations: ['18/18=1'] Exploring Operation: 59+1=60, Resulting Numbers: [5, 60] Generated Node #3: [5, 60] from Operation: 59+1=60 Current State: 12:[5, 60], Operations: ['18/18=1', '59+1=60'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[59, 5, 18, 18], Operations: [] Exploring Operation: 18-18=0, Resulting Numbers: [59, 5, 0] Generated Node #0,0: 12:[59, 5, 0] Operation: 18-18=0 Exploring Operation: 18/18=1, Resulting Numbers: [59, 5, 1] Generated Node #0,1: 12:[59, 5, 1] Operation: 18/18=1 Exploring Operation: 59-18=41, Resulting Numbers: [5, 18, 41] Generated Node #0,2: 12:[5, 18, 41] Operation: 59-18=41 Exploring Operation: 59-18=41, Resulting Numbers: [5, 18, 41] Generated Node #0,3: 12:[5, 18, 41] Operation: 59-18=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[5, 18, 41], Operations: ['59-18=41'] Exploring Operation: 41-5=36, Resulting Numbers: [18, 36] Generated Node #0,2,0: 12:[18, 36] Operation: 41-5=36 Exploring Operation: 41-18=23, Resulting Numbers: [5, 23] Generated Node #0,2,1: 12:[5, 23] Operation: 41-18=23 Exploring Operation: 18-5=13, Resulting Numbers: [41, 13] Generated Node #0,2,2: 12:[41, 13] Operation: 18-5=13 Exploring Operation: 5+18=23, Resulting Numbers: [41, 23] Generated Node #0,2,3: 12:[41, 23] Operation: 5+18=23 Moving to Node #0,2,1 Current State: 12:[5, 23], Operations: ['59-18=41', '41-18=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[41, 13], Operations: ['59-18=41', '18-5=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,12 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[18, 36], Operations: ['59-18=41', '41-5=36'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 18*36=648, Resulting Numbers: [648] 648,12 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[41, 23], Operations: ['59-18=41', '5+18=23'] Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,12 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,12 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,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,3 Current State: 12:[5, 18, 41], Operations: ['59-18=41'] Exploring Operation: 41-5=36, Resulting Numbers: [18, 36] Generated Node #0,3,0: 12:[18, 36] Operation: 41-5=36 Exploring Operation: 18-5=13, Resulting Numbers: [41, 13] Generated Node #0,3,1: 12:[41, 13] Operation: 18-5=13 Exploring Operation: 5+18=23, Resulting Numbers: [41, 23] Generated Node #0,3,2: 12:[41, 23] Operation: 5+18=23 Exploring Operation: 41-18=23, Resulting Numbers: [5, 23] Generated Node #0,3,3: 12:[5, 23] Operation: 41-18=23 Moving to Node #0,3,3 Current State: 12:[5, 23], Operations: ['59-18=41', '41-18=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,12 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[41, 13], Operations: ['59-18=41', '18-5=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,12 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[18, 36], Operations: ['59-18=41', '41-5=36'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 18*36=648, Resulting Numbers: [648] 648,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[41, 23], Operations: ['59-18=41', '5+18=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,12 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,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:[59, 5, 1], Operations: ['18/18=1'] Exploring Operation: 59-5=54, Resulting Numbers: [1, 54] Generated Node #0,1,0: 12:[1, 54] Operation: 59-5=54 Exploring Operation: 59-1=58, Resulting Numbers: [5, 58] Generated Node #0,1,1: 12:[5, 58] Operation: 59-1=58 Exploring Operation: 5+1=6, Resulting Numbers: [59, 6] Generated Node #0,1,2: 12:[59, 6] Operation: 5+1=6 Exploring Operation: 5-1=4, Resulting Numbers: [59, 4] Generated Node #0,1,3: 12:[59, 4] Operation: 5-1=4 Moving to Node #0,1,0 Current State: 12:[1, 54], Operations: ['18/18=1', '59-5=54'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 1+54=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[59, 6], Operations: ['18/18=1', '5+1=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,12 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[5, 58], Operations: ['18/18=1', '59-1=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,12 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[59, 4], Operations: ['18/18=1', '5-1=4'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,12 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[59, 5, 0], Operations: ['18-18=0'] Exploring Operation: 59-5=54, Resulting Numbers: [0, 54] Generated Node #0,0,0: 12:[0, 54] Operation: 59-5=54 Exploring Operation: 59+0=59, Resulting Numbers: [5, 59] Generated Node #0,0,1: 12:[5, 59] Operation: 59+0=59 Exploring Operation: 59*0=0, Resulting Numbers: [5, 0] Generated Node #0,0,2: 12:[5, 0] Operation: 59*0=0 Exploring Operation: 59-0=59, Resulting Numbers: [5, 59] Generated Node #0,0,3: 12:[5, 59] Operation: 59-0=59 Moving to Node #0,0,2 Current State: 12:[5, 0], Operations: ['18-18=0', '59*0=0'] Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[0, 54], Operations: ['18-18=0', '59-5=54'] Exploring Operation: 0*54=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 0+54=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 54-0=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[5, 59], Operations: ['18-18=0', '59-0=59'] Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,12 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[5, 59], Operations: ['18-18=0', '59+0=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,12 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,12 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,12 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
[ 49, 98, 62, 83 ]
42
[ "98/49=2", "83-62=21", "2*21=42" ]
Current State: 42:[49, 98, 62, 83], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [62, 83, 2] Generated Node #2: [62, 83, 2] from Operation: 98/49=2 Current State: 42:[62, 83, 2], Operations: ['98/49=2'] Exploring Operation: 83-62=21, Resulting Numbers: [2, 21] Generated Node #3: [2, 21] from Operation: 83-62=21 Current State: 42:[2, 21], Operations: ['98/49=2', '83-62=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[49, 98, 62, 83], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [49, 62, 15] Generated Node #0,0: 42:[49, 62, 15] Operation: 98-83=15 Exploring Operation: 98/49=2, Resulting Numbers: [62, 83, 2] Generated Node #0,1: 42:[62, 83, 2] Operation: 98/49=2 Exploring Operation: 98-62=36, Resulting Numbers: [49, 83, 36] Generated Node #0,2: 42:[49, 83, 36] Operation: 98-62=36 Moving to Node #0,0 Current State: 42:[49, 62, 15], Operations: ['98-83=15'] Exploring Operation: 62-49=13, Resulting Numbers: [15, 13] Generated Node #0,0,0: 42:[15, 13] Operation: 62-49=13 Exploring Operation: 49-15=34, Resulting Numbers: [62, 34] Generated Node #0,0,1: 42:[62, 34] Operation: 49-15=34 Exploring Operation: 62-15=47, Resulting Numbers: [49, 47] Generated Node #0,0,2: 42:[49, 47] Operation: 62-15=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[15, 13], Operations: ['98-83=15', '62-49=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[49, 47], Operations: ['98-83=15', '62-15=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[62, 34], Operations: ['98-83=15', '49-15=34'] Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 42:[49, 83, 36], Operations: ['98-62=36'] Exploring Operation: 83-36=47, Resulting Numbers: [49, 47] Generated Node #0,2,0: 42:[49, 47] Operation: 83-36=47 Exploring Operation: 49-36=13, Resulting Numbers: [83, 13] Generated Node #0,2,1: 42:[83, 13] Operation: 49-36=13 Exploring Operation: 83-49=34, Resulting Numbers: [36, 34] Generated Node #0,2,2: 42:[36, 34] Operation: 83-49=34 Moving to Node #0,1 Current State: 42:[62, 83, 2], Operations: ['98/49=2'] Exploring Operation: 62-2=60, Resulting Numbers: [83, 60] Generated Node #0,1,0: 42:[83, 60] Operation: 62-2=60 Exploring Operation: 83-62=21, Resulting Numbers: [2, 21] Generated Node #0,1,1: 42:[2, 21] Operation: 83-62=21 Exploring Operation: 62/2=31, Resulting Numbers: [83, 31] Generated Node #0,1,2: 42:[83, 31] Operation: 62/2=31 Moving to Node #0,1,1 Current State: 42:[2, 21], Operations: ['98/49=2', '83-62=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[49, 98, 62, 83], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [62, 83, 2] Generated Node #0,1: 42:[62, 83, 2] Operation: 98/49=2 Moving to Node #0,1 Current State: 42:[62, 83, 2], Operations: ['98/49=2'] Exploring Operation: 83-62=21, Resulting Numbers: [2, 21] Generated Node #0,1,1: 42:[2, 21] Operation: 83-62=21 Moving to Node #0,1,1 Current State: 42:[2, 21], Operations: ['98/49=2', '83-62=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.975694
hs_3
sum_heuristic