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
[ 27, 45, 67, 63 ]
69
[ "27+63=90", "90/45=2", "67+2=69" ]
Current State: 69:[27, 45, 67, 63], Operations: [] Exploring Operation: 27+63=90, Resulting Numbers: [45, 67, 90] Generated Node #2: [45, 67, 90] from Operation: 27+63=90 Current State: 69:[45, 67, 90], Operations: ['27+63=90'] Exploring Operation: 90/45=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 90/45=2 Current State: 69:[67, 2], Operations: ['27+63=90', '90/45=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[27, 45, 67, 63], Operations: [] Exploring Operation: 45-27=18, Resulting Numbers: [67, 63, 18] Generated Node #0,0: 69:[67, 63, 18] Operation: 45-27=18 Exploring Operation: 67-45=22, Resulting Numbers: [27, 63, 22] Generated Node #0,1: 69:[27, 63, 22] Operation: 67-45=22 Exploring Operation: 27+45=72, Resulting Numbers: [67, 63, 72] Generated Node #0,2: 69:[67, 63, 72] Operation: 27+45=72 Exploring Operation: 63-45=18, Resulting Numbers: [27, 67, 18] Generated Node #0,3: 69:[27, 67, 18] Operation: 63-45=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[27, 63, 22], Operations: ['67-45=22'] Exploring Operation: 27+63=90, Resulting Numbers: [22, 90] Generated Node #0,1,0: 69:[22, 90] Operation: 27+63=90 Exploring Operation: 63+22=85, Resulting Numbers: [27, 85] Generated Node #0,1,1: 69:[27, 85] Operation: 63+22=85 Exploring Operation: 27-22=5, Resulting Numbers: [63, 5] Generated Node #0,1,2: 69:[63, 5] Operation: 27-22=5 Exploring Operation: 63-27=36, Resulting Numbers: [22, 36] Generated Node #0,1,3: 69:[22, 36] Operation: 63-27=36 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[63, 5], Operations: ['67-45=22', '27-22=5'] Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,69 unequal: No Solution No 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: 69:[22, 36], Operations: ['67-45=22', '63-27=36'] Exploring Operation: 22*36=792, Resulting Numbers: [792] 792,69 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 22+36=58, Resulting Numbers: [58] 58,69 unequal: No Solution No 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: 69:[27, 85], Operations: ['67-45=22', '63+22=85'] Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,69 unequal: No Solution No 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: 69:[22, 90], Operations: ['67-45=22', '27+63=90'] Exploring Operation: 22*90=1980, Resulting Numbers: [1980] 1980,69 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 22+90=112, Resulting Numbers: [112] 112,69 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: 69:[67, 63, 72], Operations: ['27+45=72'] Exploring Operation: 72-67=5, Resulting Numbers: [63, 5] Generated Node #0,2,0: 69:[63, 5] Operation: 72-67=5 Exploring Operation: 67-63=4, Resulting Numbers: [72, 4] Generated Node #0,2,1: 69:[72, 4] Operation: 67-63=4 Exploring Operation: 72-63=9, Resulting Numbers: [67, 9] Generated Node #0,2,2: 69:[67, 9] Operation: 72-63=9 Exploring Operation: 67+63=130, Resulting Numbers: [72, 130] Generated Node #0,2,3: 69:[72, 130] Operation: 67+63=130 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[72, 4], Operations: ['27+45=72', '67-63=4'] Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,69 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,69 unequal: No Solution No 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: 69:[63, 5], Operations: ['27+45=72', '72-67=5'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,69 unequal: No Solution Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,69 unequal: No Solution No 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: 69:[67, 9], Operations: ['27+45=72', '72-63=9'] Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,69 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,69 unequal: No Solution No 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: 69:[72, 130], Operations: ['27+45=72', '67+63=130'] Exploring Operation: 72*130=9360, Resulting Numbers: [9360] 9360,69 unequal: No Solution Exploring Operation: 72+130=202, Resulting Numbers: [202] 202,69 unequal: No Solution Exploring Operation: 130-72=58, Resulting Numbers: [58] 58,69 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: 69:[27, 67, 18], Operations: ['63-45=18'] Exploring Operation: 67+18=85, Resulting Numbers: [27, 85] Generated Node #0,3,0: 69:[27, 85] Operation: 67+18=85 Exploring Operation: 27+18=45, Resulting Numbers: [67, 45] Generated Node #0,3,1: 69:[67, 45] Operation: 27+18=45 Exploring Operation: 67-27=40, Resulting Numbers: [18, 40] Generated Node #0,3,2: 69:[18, 40] Operation: 67-27=40 Exploring Operation: 27-18=9, Resulting Numbers: [67, 9] Generated Node #0,3,3: 69:[67, 9] Operation: 27-18=9 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 69:[67, 9], Operations: ['63-45=18', '27-18=9'] Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,69 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,69 unequal: No Solution No 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: 69:[27, 85], Operations: ['63-45=18', '67+18=85'] Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,69 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,69 unequal: No Solution No 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: 69:[18, 40], Operations: ['63-45=18', '67-27=40'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,69 unequal: No Solution No 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: 69:[67, 45], Operations: ['63-45=18', '27+18=45'] Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,69 unequal: No Solution Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,69 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: 69:[67, 63, 18], Operations: ['45-27=18'] Exploring Operation: 63+18=81, Resulting Numbers: [67, 81] Generated Node #0,0,0: 69:[67, 81] Operation: 63+18=81 Exploring Operation: 67+18=85, Resulting Numbers: [63, 85] Generated Node #0,0,1: 69:[63, 85] Operation: 67+18=85 Exploring Operation: 67-63=4, Resulting Numbers: [18, 4] Generated Node #0,0,2: 69:[18, 4] Operation: 67-63=4 Exploring Operation: 63-18=45, Resulting Numbers: [67, 45] Generated Node #0,0,3: 69:[67, 45] Operation: 63-18=45 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[18, 4], Operations: ['45-27=18', '67-63=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,69 unequal: No Solution No 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: 69:[67, 81], Operations: ['45-27=18', '63+18=81'] Exploring Operation: 67+81=148, Resulting Numbers: [148] 148,69 unequal: No Solution Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 67*81=5427, Resulting Numbers: [5427] 5427,69 unequal: No Solution No 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: 69:[63, 85], Operations: ['45-27=18', '67+18=85'] Exploring Operation: 63+85=148, Resulting Numbers: [148] 148,69 unequal: No Solution Exploring Operation: 63*85=5355, Resulting Numbers: [5355] 5355,69 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,69 unequal: No Solution No 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: 69:[67, 45], Operations: ['45-27=18', '63-18=45'] Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,69 unequal: No Solution Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 10, 74, 77, 75 ]
42
[ "10+74=84", "77-75=2", "84/2=42" ]
Current State: 42:[10, 74, 77, 75], Operations: [] Exploring Operation: 10+74=84, Resulting Numbers: [77, 75, 84] Generated Node #2: [77, 75, 84] from Operation: 10+74=84 Current State: 42:[77, 75, 84], Operations: ['10+74=84'] Exploring Operation: 77-75=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 77-75=2 Current State: 42:[84, 2], Operations: ['10+74=84', '77-75=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[10, 74, 77, 75], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [77, 75, 64] Generated Node #0,0: 42:[77, 75, 64] Operation: 74-10=64 Exploring Operation: 77-75=2, Resulting Numbers: [10, 74, 2] Generated Node #0,1: 42:[10, 74, 2] Operation: 77-75=2 Exploring Operation: 75-74=1, Resulting Numbers: [10, 77, 1] Generated Node #0,2: 42:[10, 77, 1] Operation: 75-74=1 Exploring Operation: 77-74=3, Resulting Numbers: [10, 75, 3] Generated Node #0,3: 42:[10, 75, 3] Operation: 77-74=3 Exploring Operation: 77-10=67, Resulting Numbers: [74, 75, 67] Generated Node #0,4: 42:[74, 75, 67] Operation: 77-10=67 Moving to Node #0,1 Current State: 42:[10, 74, 2], Operations: ['77-75=2'] Exploring Operation: 74/2=37, Resulting Numbers: [10, 37] Generated Node #0,1,0: 42:[10, 37] Operation: 74/2=37 Exploring Operation: 10/2=5, Resulting Numbers: [74, 5] Generated Node #0,1,1: 42:[74, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [74, 8] Generated Node #0,1,2: 42:[74, 8] Operation: 10-2=8 Exploring Operation: 74-10=64, Resulting Numbers: [2, 64] Generated Node #0,1,3: 42:[2, 64] Operation: 74-10=64 Exploring Operation: 10*2=20, Resulting Numbers: [74, 20] Generated Node #0,1,4: 42:[74, 20] Operation: 10*2=20 Moving to Node #0,3 Current State: 42:[10, 75, 3], Operations: ['77-74=3'] Exploring Operation: 10+3=13, Resulting Numbers: [75, 13] Generated Node #0,3,0: 42:[75, 13] Operation: 10+3=13 Exploring Operation: 10-3=7, Resulting Numbers: [75, 7] Generated Node #0,3,1: 42:[75, 7] Operation: 10-3=7 Exploring Operation: 75-10=65, Resulting Numbers: [3, 65] Generated Node #0,3,2: 42:[3, 65] Operation: 75-10=65 Exploring Operation: 75/3=25, Resulting Numbers: [10, 25] Generated Node #0,3,3: 42:[10, 25] Operation: 75/3=25 Exploring Operation: 75-3=72, Resulting Numbers: [10, 72] Generated Node #0,3,4: 42:[10, 72] Operation: 75-3=72 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[10, 25], Operations: ['77-74=3', '75/3=25'] Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,42 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,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:[3, 65], Operations: ['77-74=3', '75-10=65'] Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,42 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[75, 7], Operations: ['77-74=3', '10-3=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,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:[10, 72], Operations: ['77-74=3', '75-3=72'] Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 10*72=720, Resulting Numbers: [720] 720,42 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,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:[75, 13], Operations: ['77-74=3', '10+3=13'] Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,42 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,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:[10, 77, 1], Operations: ['75-74=1'] Exploring Operation: 10+1=11, Resulting Numbers: [77, 11] Generated Node #0,2,0: 42:[77, 11] Operation: 10+1=11 Exploring Operation: 77-10=67, Resulting Numbers: [1, 67] Generated Node #0,2,1: 42:[1, 67] Operation: 77-10=67 Exploring Operation: 10*1=10, Resulting Numbers: [77, 10] Generated Node #0,2,2: 42:[77, 10] Operation: 10*1=10 Exploring Operation: 10-1=9, Resulting Numbers: [77, 9] Generated Node #0,2,3: 42:[77, 9] Operation: 10-1=9 Exploring Operation: 77-1=76, Resulting Numbers: [10, 76] Generated Node #0,2,4: 42:[10, 76] Operation: 77-1=76 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[1, 67], Operations: ['75-74=1', '77-10=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,42 unequal: No Solution Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 1*67=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 1+67=68, Resulting Numbers: [68] 68,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[77, 9], Operations: ['75-74=1', '10-1=9'] Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,42 unequal: No Solution Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 42:[10, 76], Operations: ['75-74=1', '77-1=76'] Exploring Operation: 10+76=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 10*76=760, Resulting Numbers: [760] 760,42 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[77, 11], Operations: ['75-74=1', '10+1=11'] Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,42 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[77, 10], Operations: ['75-74=1', '10*1=10'] Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,42 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,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:[77, 75, 64], Operations: ['74-10=64'] Exploring Operation: 77-64=13, Resulting Numbers: [75, 13] Generated Node #0,0,0: 42:[75, 13] Operation: 77-64=13 Exploring Operation: 77+75=152, Resulting Numbers: [64, 152] Generated Node #0,0,1: 42:[64, 152] Operation: 77+75=152 Exploring Operation: 75-64=11, Resulting Numbers: [77, 11] Generated Node #0,0,2: 42:[77, 11] Operation: 75-64=11 Exploring Operation: 77+64=141, Resulting Numbers: [75, 141] Generated Node #0,0,3: 42:[75, 141] Operation: 77+64=141 Exploring Operation: 77-75=2, Resulting Numbers: [64, 2] Generated Node #0,0,4: 42:[64, 2] Operation: 77-75=2 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 42:[64, 2], Operations: ['74-10=64', '77-75=2'] Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,42 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,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,0 Current State: 42:[75, 13], Operations: ['74-10=64', '77-64=13'] Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,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:[77, 11], Operations: ['74-10=64', '75-64=11'] Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,42 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,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:[64, 152], Operations: ['74-10=64', '77+75=152'] Exploring Operation: 64+152=216, Resulting Numbers: [216] 216,42 unequal: No Solution Exploring Operation: 64*152=9728, Resulting Numbers: [9728] 9728,42 unequal: No Solution Exploring Operation: 152-64=88, Resulting Numbers: [88] 88,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,3 Current State: 42:[75, 141], Operations: ['74-10=64', '77+64=141'] Exploring Operation: 75+141=216, Resulting Numbers: [216] 216,42 unequal: No Solution Exploring Operation: 75*141=10575, Resulting Numbers: [10575] 10575,42 unequal: No Solution Exploring Operation: 141-75=66, Resulting Numbers: [66] 66,42 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: 42:[74, 75, 67], Operations: ['77-10=67'] Exploring Operation: 74+67=141, Resulting Numbers: [75, 141] Generated Node #0,4,0: 42:[75, 141] Operation: 74+67=141 Exploring Operation: 75-74=1, Resulting Numbers: [67, 1] Generated Node #0,4,1: 42:[67, 1] Operation: 75-74=1 Exploring Operation: 75-67=8, Resulting Numbers: [74, 8] Generated Node #0,4,2: 42:[74, 8] Operation: 75-67=8 Exploring Operation: 74+75=149, Resulting Numbers: [67, 149] Generated Node #0,4,3: 42:[67, 149] Operation: 74+75=149 Exploring Operation: 74-67=7, Resulting Numbers: [75, 7] Generated Node #0,4,4: 42:[75, 7] Operation: 74-67=7 Moving to Node #0,1,0 Current State: 42:[10, 37], Operations: ['77-75=2', '74/2=37'] Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[2, 64], Operations: ['77-75=2', '74-10=64'] Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,42 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,42 unequal: No Solution Moving to Node #0,4,1 Current State: 42:[67, 1], Operations: ['77-10=67', '75-74=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,42 unequal: No Solution Moving to Node #0,4,2 Current State: 42:[74, 8], Operations: ['77-10=67', '75-67=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,42 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[74, 5], Operations: ['77-75=2', '10/2=5'] Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,42 unequal: No Solution Exploring Operation: 74*5=370, Resulting Numbers: [370] 370,42 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,42 unequal: No Solution Moving to Node #0,4,4 Current State: 42:[75, 7], Operations: ['77-10=67', '74-67=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,42 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,42 unequal: No Solution Moving to Node #0,1,4 Current State: 42:[74, 20], Operations: ['77-75=2', '10*2=20'] Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,42 unequal: No Solution Exploring Operation: 74*20=1480, Resulting Numbers: [1480] 1480,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[74, 8], Operations: ['77-75=2', '10-2=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,42 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,42 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,42 unequal: No Solution Moving to Node #0,4,3 Current State: 42:[67, 149], Operations: ['77-10=67', '74+75=149'] Exploring Operation: 67+149=216, Resulting Numbers: [216] 216,42 unequal: No Solution Exploring Operation: 67*149=9983, Resulting Numbers: [9983] 9983,42 unequal: No Solution Exploring Operation: 149-67=82, Resulting Numbers: [82] 82,42 unequal: No Solution Moving to Node #0,4,0 Current State: 42:[75, 141], Operations: ['77-10=67', '74+67=141'] Exploring Operation: 141-75=66, Resulting Numbers: [66] 66,42 unequal: No Solution Exploring Operation: 75*141=10575, Resulting Numbers: [10575] 10575,42 unequal: No Solution Exploring Operation: 75+141=216, Resulting Numbers: [216] 216,42 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 28, 4, 35, 9 ]
64
[ "35-28=7", "9+7=16", "4*16=64" ]
Current State: 64:[28, 4, 35, 9], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [4, 9, 7] Generated Node #2: [4, 9, 7] from Operation: 35-28=7 Current State: 64:[4, 9, 7], Operations: ['35-28=7'] Exploring Operation: 9+7=16, Resulting Numbers: [4, 16] Generated Node #3: [4, 16] from Operation: 9+7=16 Current State: 64:[4, 16], Operations: ['35-28=7', '9+7=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[28, 4, 35, 9], Operations: [] Exploring Operation: 28+4=32, Resulting Numbers: [35, 9, 32] Generated Node #0,0: 64:[35, 9, 32] Operation: 28+4=32 Exploring Operation: 28+35=63, Resulting Numbers: [4, 9, 63] Generated Node #0,1: 64:[4, 9, 63] Operation: 28+35=63 Exploring Operation: 28-9=19, Resulting Numbers: [4, 35, 19] Generated Node #0,2: 64:[4, 35, 19] Operation: 28-9=19 Exploring Operation: 35-28=7, Resulting Numbers: [4, 9, 7] Generated Node #0,3: 64:[4, 9, 7] Operation: 35-28=7 Exploring Operation: 28/4=7, Resulting Numbers: [35, 9, 7] Generated Node #0,4: 64:[35, 9, 7] Operation: 28/4=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[4, 9, 63], Operations: ['28+35=63'] Exploring Operation: 4*9=36, Resulting Numbers: [63, 36] Generated Node #0,1,0: 64:[63, 36] Operation: 4*9=36 Exploring Operation: 4+63=67, Resulting Numbers: [9, 67] Generated Node #0,1,1: 64:[9, 67] Operation: 4+63=67 Exploring Operation: 63/9=7, Resulting Numbers: [4, 7] Generated Node #0,1,2: 64:[4, 7] Operation: 63/9=7 Exploring Operation: 9-4=5, Resulting Numbers: [63, 5] Generated Node #0,1,3: 64:[63, 5] Operation: 9-4=5 Exploring Operation: 4+9=13, Resulting Numbers: [63, 13] Generated Node #0,1,4: 64:[63, 13] Operation: 4+9=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[4, 7], Operations: ['28+35=63', '63/9=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[63, 5], Operations: ['28+35=63', '9-4=5'] Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,64 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[9, 67], Operations: ['28+35=63', '4+63=67'] Exploring Operation: 9+67=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 9*67=603, Resulting Numbers: [603] 603,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 64:[63, 13], Operations: ['28+35=63', '4+9=13'] Exploring Operation: 63*13=819, Resulting Numbers: [819] 819,64 unequal: No Solution Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[63, 36], Operations: ['28+35=63', '4*9=36'] Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 63*36=2268, Resulting Numbers: [2268] 2268,64 unequal: No Solution Exploring Operation: 63+36=99, Resulting Numbers: [99] 99,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[4, 9, 7], Operations: ['35-28=7'] Exploring Operation: 9-4=5, Resulting Numbers: [7, 5] Generated Node #0,3,0: 64:[7, 5] Operation: 9-4=5 Exploring Operation: 9+7=16, Resulting Numbers: [4, 16] Generated Node #0,3,1: 64:[4, 16] Operation: 9+7=16 Exploring Operation: 9-7=2, Resulting Numbers: [4, 2] Generated Node #0,3,2: 64:[4, 2] Operation: 9-7=2 Exploring Operation: 9*7=63, Resulting Numbers: [4, 63] Generated Node #0,3,3: 64:[4, 63] Operation: 9*7=63 Exploring Operation: 7-4=3, Resulting Numbers: [9, 3] Generated Node #0,3,4: 64:[9, 3] Operation: 7-4=3 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 64:[4, 16], Operations: ['35-28=7', '9+7=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[28, 4, 35, 9], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [4, 9, 7] Generated Node #0,3: 64:[4, 9, 7] Operation: 35-28=7 Moving to Node #0,3 Current State: 64:[4, 9, 7], Operations: ['35-28=7'] Exploring Operation: 9+7=16, Resulting Numbers: [4, 16] Generated Node #0,3,1: 64:[4, 16] Operation: 9+7=16 Moving to Node #0,3,1 Current State: 64:[4, 16], Operations: ['35-28=7', '9+7=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 24, 26, 65, 46 ]
55
[ "46-24=22", "65*22=1430", "1430/26=55" ]
Current State: 55:[24, 26, 65, 46], Operations: [] Exploring Operation: 46-24=22, Resulting Numbers: [26, 65, 22] Generated Node #2: [26, 65, 22] from Operation: 46-24=22 Current State: 55:[26, 65, 22], Operations: ['46-24=22'] Exploring Operation: 65*22=1430, Resulting Numbers: [26, 1430] Generated Node #3: [26, 1430] from Operation: 65*22=1430 Current State: 55:[26, 1430], Operations: ['46-24=22', '65*22=1430'] Exploring Operation: 1430/26=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[24, 26, 65, 46], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [65, 46, 2] Generated Node #0,0: 55:[65, 46, 2] Operation: 26-24=2 Exploring Operation: 24+26=50, Resulting Numbers: [65, 46, 50] Generated Node #0,1: 55:[65, 46, 50] Operation: 24+26=50 Moving to Node #0,0 Current State: 55:[65, 46, 2], Operations: ['26-24=2'] Exploring Operation: 65-2=63, Resulting Numbers: [46, 63] Generated Node #0,0,0: 55:[46, 63] Operation: 65-2=63 Exploring Operation: 65-46=19, Resulting Numbers: [2, 19] Generated Node #0,0,1: 55:[2, 19] Operation: 65-46=19 Moving to Node #0,1 Current State: 55:[65, 46, 50], Operations: ['24+26=50'] Exploring Operation: 50-46=4, Resulting Numbers: [65, 4] Generated Node #0,1,0: 55:[65, 4] Operation: 50-46=4 Exploring Operation: 65-46=19, Resulting Numbers: [50, 19] Generated Node #0,1,1: 55:[50, 19] Operation: 65-46=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[65, 4], Operations: ['24+26=50', '50-46=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,55 unequal: No Solution Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[50, 19], Operations: ['24+26=50', '65-46=19'] Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,55 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,55 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: 55:[2, 19], Operations: ['26-24=2', '65-46=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[46, 63], Operations: ['26-24=2', '65-2=63'] Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 46+63=109, Resulting Numbers: [109] 109,55 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 76, 99, 3, 41 ]
72
[ "76+99=175", "41+175=216", "216/3=72" ]
Current State: 72:[76, 99, 3, 41], Operations: [] Exploring Operation: 76+99=175, Resulting Numbers: [3, 41, 175] Generated Node #2: [3, 41, 175] from Operation: 76+99=175 Current State: 72:[3, 41, 175], Operations: ['76+99=175'] Exploring Operation: 41+175=216, Resulting Numbers: [3, 216] Generated Node #3: [3, 216] from Operation: 41+175=216 Current State: 72:[3, 216], Operations: ['76+99=175', '41+175=216'] Exploring Operation: 216/3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[76, 99, 3, 41], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [76, 41, 33] Generated Node #0,0: 72:[76, 41, 33] Operation: 99/3=33 Exploring Operation: 99-76=23, Resulting Numbers: [3, 41, 23] Generated Node #0,1: 72:[3, 41, 23] Operation: 99-76=23 Exploring Operation: 76-41=35, Resulting Numbers: [99, 3, 35] Generated Node #0,2: 72:[99, 3, 35] Operation: 76-41=35 Exploring Operation: 76-3=73, Resulting Numbers: [99, 41, 73] Generated Node #0,3: 72:[99, 41, 73] Operation: 76-3=73 Exploring Operation: 99-41=58, Resulting Numbers: [76, 3, 58] Generated Node #0,4: 72:[76, 3, 58] Operation: 99-41=58 Moving to Node #0,1 Current State: 72:[3, 41, 23], Operations: ['99-76=23'] Exploring Operation: 3*23=69, Resulting Numbers: [41, 69] Generated Node #0,1,0: 72:[41, 69] Operation: 3*23=69 Exploring Operation: 41-23=18, Resulting Numbers: [3, 18] Generated Node #0,1,1: 72:[3, 18] Operation: 41-23=18 Exploring Operation: 3+23=26, Resulting Numbers: [41, 26] Generated Node #0,1,2: 72:[41, 26] Operation: 3+23=26 Exploring Operation: 23-3=20, Resulting Numbers: [41, 20] Generated Node #0,1,3: 72:[41, 20] Operation: 23-3=20 Exploring Operation: 41-3=38, Resulting Numbers: [23, 38] Generated Node #0,1,4: 72:[23, 38] Operation: 41-3=38 Moving to Node #0,0 Current State: 72:[76, 41, 33], Operations: ['99/3=33'] Exploring Operation: 76+33=109, Resulting Numbers: [41, 109] Generated Node #0,0,0: 72:[41, 109] Operation: 76+33=109 Exploring Operation: 41-33=8, Resulting Numbers: [76, 8] Generated Node #0,0,1: 72:[76, 8] Operation: 41-33=8 Exploring Operation: 76-41=35, Resulting Numbers: [33, 35] Generated Node #0,0,2: 72:[33, 35] Operation: 76-41=35 Exploring Operation: 76-33=43, Resulting Numbers: [41, 43] Generated Node #0,0,3: 72:[41, 43] Operation: 76-33=43 Exploring Operation: 41+33=74, Resulting Numbers: [76, 74] Generated Node #0,0,4: 72:[76, 74] Operation: 41+33=74 Moving to Node #0,4 Current State: 72:[76, 3, 58], Operations: ['99-41=58'] Exploring Operation: 3+58=61, Resulting Numbers: [76, 61] Generated Node #0,4,0: 72:[76, 61] Operation: 3+58=61 Exploring Operation: 76-58=18, Resulting Numbers: [3, 18] Generated Node #0,4,1: 72:[3, 18] Operation: 76-58=18 Exploring Operation: 76+3=79, Resulting Numbers: [58, 79] Generated Node #0,4,2: 72:[58, 79] Operation: 76+3=79 Exploring Operation: 58-3=55, Resulting Numbers: [76, 55] Generated Node #0,4,3: 72:[76, 55] Operation: 58-3=55 Exploring Operation: 76-3=73, Resulting Numbers: [58, 73] Generated Node #0,4,4: 72:[58, 73] Operation: 76-3=73 Moving to Node #0,2 Current State: 72:[99, 3, 35], Operations: ['76-41=35'] Exploring Operation: 99-35=64, Resulting Numbers: [3, 64] Generated Node #0,2,0: 72:[3, 64] Operation: 99-35=64 Exploring Operation: 99-3=96, Resulting Numbers: [35, 96] Generated Node #0,2,1: 72:[35, 96] Operation: 99-3=96 Exploring Operation: 3+35=38, Resulting Numbers: [99, 38] Generated Node #0,2,2: 72:[99, 38] Operation: 3+35=38 Exploring Operation: 99+3=102, Resulting Numbers: [35, 102] Generated Node #0,2,3: 72:[35, 102] Operation: 99+3=102 Exploring Operation: 99/3=33, Resulting Numbers: [35, 33] Generated Node #0,2,4: 72:[35, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 72:[35, 33], Operations: ['76-41=35', '99/3=33'] Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,72 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[3, 64], Operations: ['76-41=35', '99-35=64'] Exploring Operation: 3*64=192, Resulting Numbers: [192] 192,72 unequal: No Solution Exploring Operation: 3+64=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[35, 96], Operations: ['76-41=35', '99-3=96'] Exploring Operation: 35+96=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 35*96=3360, Resulting Numbers: [3360] 3360,72 unequal: No Solution Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[99, 38], Operations: ['76-41=35', '3+35=38'] Exploring Operation: 99+38=137, Resulting Numbers: [137] 137,72 unequal: No Solution Exploring Operation: 99*38=3762, Resulting Numbers: [3762] 3762,72 unequal: No Solution Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[35, 102], Operations: ['76-41=35', '99+3=102'] Exploring Operation: 35+102=137, Resulting Numbers: [137] 137,72 unequal: No Solution Exploring Operation: 102-35=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 35*102=3570, Resulting Numbers: [3570] 3570,72 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: 72:[99, 41, 73], Operations: ['76-3=73'] Exploring Operation: 99+41=140, Resulting Numbers: [73, 140] Generated Node #0,3,0: 72:[73, 140] Operation: 99+41=140 Exploring Operation: 99-41=58, Resulting Numbers: [73, 58] Generated Node #0,3,1: 72:[73, 58] Operation: 99-41=58 Exploring Operation: 41+73=114, Resulting Numbers: [99, 114] Generated Node #0,3,2: 72:[99, 114] Operation: 41+73=114 Exploring Operation: 73-41=32, Resulting Numbers: [99, 32] Generated Node #0,3,3: 72:[99, 32] Operation: 73-41=32 Exploring Operation: 99-73=26, Resulting Numbers: [41, 26] Generated Node #0,3,4: 72:[41, 26] Operation: 99-73=26 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 72:[41, 26], Operations: ['76-3=73', '99-73=26'] Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,72 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[73, 58], Operations: ['76-3=73', '99-41=58'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,72 unequal: No Solution Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[99, 32], Operations: ['76-3=73', '73-41=32'] Exploring Operation: 99-32=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 99*32=3168, Resulting Numbers: [3168] 3168,72 unequal: No Solution Exploring Operation: 99+32=131, Resulting Numbers: [131] 131,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[73, 140], Operations: ['76-3=73', '99+41=140'] Exploring Operation: 73*140=10220, Resulting Numbers: [10220] 10220,72 unequal: No Solution Exploring Operation: 73+140=213, Resulting Numbers: [213] 213,72 unequal: No Solution Exploring Operation: 140-73=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[99, 114], Operations: ['76-3=73', '41+73=114'] Exploring Operation: 114-99=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 99*114=11286, Resulting Numbers: [11286] 11286,72 unequal: No Solution Exploring Operation: 99+114=213, Resulting Numbers: [213] 213,72 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: 72:[3, 18], Operations: ['99-76=23', '41-23=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,72 unequal: No Solution Moving to Node #0,4,1 Current State: 72:[3, 18], Operations: ['99-41=58', '76-58=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,1,4 Current State: 72:[23, 38], Operations: ['99-76=23', '41-3=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[76, 8], Operations: ['99/3=33', '41-33=8'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,72 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[33, 35], Operations: ['99/3=33', '76-41=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[76, 74], Operations: ['99/3=33', '41+33=74'] Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 76*74=5624, Resulting Numbers: [5624] 5624,72 unequal: No Solution Exploring Operation: 76+74=150, Resulting Numbers: [150] 150,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[41, 26], Operations: ['99-76=23', '3+23=26'] Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,72 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[41, 20], Operations: ['99-76=23', '23-3=20'] Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,72 unequal: No Solution Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[41, 69], Operations: ['99-76=23', '3*23=69'] Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 41*69=2829, Resulting Numbers: [2829] 2829,72 unequal: No Solution Exploring Operation: 41+69=110, Resulting Numbers: [110] 110,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[41, 43], Operations: ['99/3=33', '76-33=43'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,72 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,72 unequal: No Solution Moving to Node #0,4,4 Current State: 72:[58, 73], Operations: ['99-41=58', '76-3=73'] Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,72 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[76, 61], Operations: ['99-41=58', '3+58=61'] Exploring Operation: 76+61=137, Resulting Numbers: [137] 137,72 unequal: No Solution Exploring Operation: 76-61=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 76*61=4636, Resulting Numbers: [4636] 4636,72 unequal: No Solution Moving to Node #0,4,3 Current State: 72:[76, 55], Operations: ['99-41=58', '58-3=55'] Exploring Operation: 76+55=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 76*55=4180, Resulting Numbers: [4180] 4180,72 unequal: No Solution Exploring Operation: 76-55=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,4,2 Current State: 72:[58, 79], Operations: ['99-41=58', '76+3=79'] Exploring Operation: 58+79=137, Resulting Numbers: [137] 137,72 unequal: No Solution Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 58*79=4582, Resulting Numbers: [4582] 4582,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[41, 109], Operations: ['99/3=33', '76+33=109'] Exploring Operation: 41*109=4469, Resulting Numbers: [4469] 4469,72 unequal: No Solution Exploring Operation: 109-41=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 41+109=150, Resulting Numbers: [150] 150,72 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 25, 20, 72, 2 ]
71
[ "20+72=92", "92/2=46", "25+46=71" ]
Current State: 71:[25, 20, 72, 2], Operations: [] Exploring Operation: 20+72=92, Resulting Numbers: [25, 2, 92] Generated Node #2: [25, 2, 92] from Operation: 20+72=92 Current State: 71:[25, 2, 92], Operations: ['20+72=92'] Exploring Operation: 92/2=46, Resulting Numbers: [25, 46] Generated Node #3: [25, 46] from Operation: 92/2=46 Current State: 71:[25, 46], Operations: ['20+72=92', '92/2=46'] Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[25, 20, 72, 2], Operations: [] Exploring Operation: 25*2=50, Resulting Numbers: [20, 72, 50] Generated Node #0,0: 71:[20, 72, 50] Operation: 25*2=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[20, 72, 50], Operations: ['25*2=50'] Exploring Operation: 20+50=70, Resulting Numbers: [72, 70] Generated Node #0,0,0: 71:[72, 70] Operation: 20+50=70 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[72, 70], Operations: ['25*2=50', '20+50=70'] Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,71 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
[ 38, 2, 51, 64 ]
53
[ "38+2=40", "64-51=13", "40+13=53" ]
Current State: 53:[38, 2, 51, 64], Operations: [] Exploring Operation: 38+2=40, Resulting Numbers: [51, 64, 40] Generated Node #2: [51, 64, 40] from Operation: 38+2=40 Current State: 53:[51, 64, 40], Operations: ['38+2=40'] Exploring Operation: 64-51=13, Resulting Numbers: [40, 13] Generated Node #3: [40, 13] from Operation: 64-51=13 Current State: 53:[40, 13], Operations: ['38+2=40', '64-51=13'] Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[38, 2, 51, 64], Operations: [] Exploring Operation: 38-2=36, Resulting Numbers: [51, 64, 36] Generated Node #0,0: 53:[51, 64, 36] Operation: 38-2=36 Exploring Operation: 64-2=62, Resulting Numbers: [38, 51, 62] Generated Node #0,1: 53:[38, 51, 62] Operation: 64-2=62 Exploring Operation: 38+2=40, Resulting Numbers: [51, 64, 40] Generated Node #0,2: 53:[51, 64, 40] Operation: 38+2=40 Exploring Operation: 2+51=53, Resulting Numbers: [38, 64, 53] Generated Node #0,3: 53:[38, 64, 53] Operation: 2+51=53 Moving to Node #0,1 Current State: 53:[38, 51, 62], Operations: ['64-2=62'] Exploring Operation: 62-38=24, Resulting Numbers: [51, 24] Generated Node #0,1,0: 53:[51, 24] Operation: 62-38=24 Exploring Operation: 51-38=13, Resulting Numbers: [62, 13] Generated Node #0,1,1: 53:[62, 13] Operation: 51-38=13 Exploring Operation: 38+62=100, Resulting Numbers: [51, 100] Generated Node #0,1,2: 53:[51, 100] Operation: 38+62=100 Exploring Operation: 38+51=89, Resulting Numbers: [62, 89] Generated Node #0,1,3: 53:[62, 89] Operation: 38+51=89 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[51, 24], Operations: ['64-2=62', '62-38=24'] Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[62, 89], Operations: ['64-2=62', '38+51=89'] Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 62*89=5518, Resulting Numbers: [5518] 5518,53 unequal: No Solution Exploring Operation: 62+89=151, Resulting Numbers: [151] 151,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[62, 13], Operations: ['64-2=62', '51-38=13'] Exploring Operation: 62*13=806, Resulting Numbers: [806] 806,53 unequal: No Solution Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[51, 100], Operations: ['64-2=62', '38+62=100'] Exploring Operation: 51*100=5100, Resulting Numbers: [5100] 5100,53 unequal: No Solution Exploring Operation: 51+100=151, Resulting Numbers: [151] 151,53 unequal: No Solution Exploring Operation: 100-51=49, Resulting Numbers: [49] 49,53 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: 53:[38, 64, 53], Operations: ['2+51=53'] Exploring Operation: 38+64=102, Resulting Numbers: [53, 102] Generated Node #0,3,0: 53:[53, 102] Operation: 38+64=102 Exploring Operation: 53-38=15, Resulting Numbers: [64, 15] Generated Node #0,3,1: 53:[64, 15] Operation: 53-38=15 Exploring Operation: 38+53=91, Resulting Numbers: [64, 91] Generated Node #0,3,2: 53:[64, 91] Operation: 38+53=91 Exploring Operation: 64-38=26, Resulting Numbers: [53, 26] Generated Node #0,3,3: 53:[53, 26] Operation: 64-38=26 Moving to Node #0,2 Current State: 53:[51, 64, 40], Operations: ['38+2=40'] Exploring Operation: 51-40=11, Resulting Numbers: [64, 11] Generated Node #0,2,0: 53:[64, 11] Operation: 51-40=11 Exploring Operation: 64-40=24, Resulting Numbers: [51, 24] Generated Node #0,2,1: 53:[51, 24] Operation: 64-40=24 Exploring Operation: 51+40=91, Resulting Numbers: [64, 91] Generated Node #0,2,2: 53:[64, 91] Operation: 51+40=91 Exploring Operation: 64-51=13, Resulting Numbers: [40, 13] Generated Node #0,2,3: 53:[40, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[51, 24], Operations: ['38+2=40', '64-40=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,53 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,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:[64, 91], Operations: ['38+2=40', '51+40=91'] Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 64+91=155, Resulting Numbers: [155] 155,53 unequal: No Solution Exploring Operation: 64*91=5824, Resulting Numbers: [5824] 5824,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:[64, 11], Operations: ['38+2=40', '51-40=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,53 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[38, 2, 51, 64], Operations: [] Exploring Operation: 38+2=40, Resulting Numbers: [51, 64, 40] Generated Node #0,2: 53:[51, 64, 40] Operation: 38+2=40 Moving to Node #0,2 Current State: 53:[51, 64, 40], Operations: ['38+2=40'] Exploring Operation: 51-40=11, Resulting Numbers: [64, 11] Generated Node #0,2,0: 53:[64, 11] Operation: 51-40=11 Moving to Node #0,2,0 Current State: 53:[64, 11], Operations: ['38+2=40', '51-40=11'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
mult_heuristic
[ 3, 10, 9, 28 ]
18
[ "3*10=30", "30-28=2", "9*2=18" ]
Current State: 18:[3, 10, 9, 28], Operations: [] Exploring Operation: 3*10=30, Resulting Numbers: [9, 28, 30] Generated Node #2: [9, 28, 30] from Operation: 3*10=30 Current State: 18:[9, 28, 30], Operations: ['3*10=30'] Exploring Operation: 30-28=2, Resulting Numbers: [9, 2] Generated Node #3: [9, 2] from Operation: 30-28=2 Current State: 18:[9, 2], Operations: ['3*10=30', '30-28=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[3, 10, 9, 28], Operations: [] Exploring Operation: 28-3=25, Resulting Numbers: [10, 9, 25] Generated Node #0,0: 18:[10, 9, 25] Operation: 28-3=25 Exploring Operation: 28-10=18, Resulting Numbers: [3, 9, 18] Generated Node #0,1: 18:[3, 9, 18] Operation: 28-10=18 Exploring Operation: 28-9=19, Resulting Numbers: [3, 10, 19] Generated Node #0,2: 18:[3, 10, 19] Operation: 28-9=19 Moving to Node #0,1 Current State: 18:[3, 9, 18], Operations: ['28-10=18'] Exploring Operation: 9-3=6, Resulting Numbers: [18, 6] Generated Node #0,1,0: 18:[18, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [18, 3] Generated Node #0,1,1: 18:[18, 3] Operation: 9/3=3 Exploring Operation: 18/3=6, Resulting Numbers: [9, 6] Generated Node #0,1,2: 18:[9, 6] Operation: 18/3=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[18, 6], Operations: ['28-10=18', '9-3=6'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,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,1,1 Current State: 18:[18, 3], Operations: ['28-10=18', '9/3=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,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,1,2 Current State: 18:[9, 6], Operations: ['28-10=18', '18/3=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,18 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: 18:[3, 10, 19], Operations: ['28-9=19'] Exploring Operation: 10-3=7, Resulting Numbers: [19, 7] Generated Node #0,2,0: 18:[19, 7] Operation: 10-3=7 Exploring Operation: 19-3=16, Resulting Numbers: [10, 16] Generated Node #0,2,1: 18:[10, 16] Operation: 19-3=16 Exploring Operation: 19-10=9, Resulting Numbers: [3, 9] Generated Node #0,2,2: 18:[3, 9] Operation: 19-10=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[3, 9], Operations: ['28-9=19', '19-10=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,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,0 Current State: 18:[19, 7], Operations: ['28-9=19', '10-3=7'] Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,18 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,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,1 Current State: 18:[10, 16], Operations: ['28-9=19', '19-3=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,18 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,18 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: 18:[10, 9, 25], Operations: ['28-3=25'] Exploring Operation: 25-9=16, Resulting Numbers: [10, 16] Generated Node #0,0,0: 18:[10, 16] Operation: 25-9=16 Exploring Operation: 25-10=15, Resulting Numbers: [9, 15] Generated Node #0,0,1: 18:[9, 15] Operation: 25-10=15 Exploring Operation: 10+9=19, Resulting Numbers: [25, 19] Generated Node #0,0,2: 18:[25, 19] Operation: 10+9=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[10, 16], Operations: ['28-3=25', '25-9=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,18 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,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,0,1 Current State: 18:[9, 15], Operations: ['28-3=25', '25-10=15'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,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,0,2 Current State: 18:[25, 19], Operations: ['28-3=25', '10+9=19'] Exploring Operation: 25*19=475, Resulting Numbers: [475] 475,18 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,18 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 62, 31, 40, 28 ]
99
[ "62-31=31", "40+28=68", "31+68=99" ]
Current State: 99:[62, 31, 40, 28], Operations: [] Exploring Operation: 62-31=31, Resulting Numbers: [40, 28, 31] Generated Node #2: [40, 28, 31] from Operation: 62-31=31 Current State: 99:[40, 28, 31], Operations: ['62-31=31'] Exploring Operation: 40+28=68, Resulting Numbers: [31, 68] Generated Node #3: [31, 68] from Operation: 40+28=68 Current State: 99:[31, 68], Operations: ['62-31=31', '40+28=68'] Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[62, 31, 40, 28], Operations: [] Exploring Operation: 62+40=102, Resulting Numbers: [31, 28, 102] Generated Node #0,0: 99:[31, 28, 102] Operation: 62+40=102 Exploring Operation: 62/31=2, Resulting Numbers: [40, 28, 2] Generated Node #0,1: 99:[40, 28, 2] Operation: 62/31=2 Exploring Operation: 62-28=34, Resulting Numbers: [31, 40, 34] Generated Node #0,2: 99:[31, 40, 34] Operation: 62-28=34 Moving to Node #0,0 Current State: 99:[31, 28, 102], Operations: ['62+40=102'] Exploring Operation: 102-28=74, Resulting Numbers: [31, 74] Generated Node #0,0,0: 99:[31, 74] Operation: 102-28=74 Exploring Operation: 31+28=59, Resulting Numbers: [102, 59] Generated Node #0,0,1: 99:[102, 59] Operation: 31+28=59 Exploring Operation: 31-28=3, Resulting Numbers: [102, 3] Generated Node #0,0,2: 99:[102, 3] Operation: 31-28=3 Moving to Node #0,2 Current State: 99:[31, 40, 34], Operations: ['62-28=34'] Exploring Operation: 40-34=6, Resulting Numbers: [31, 6] Generated Node #0,2,0: 99:[31, 6] Operation: 40-34=6 Exploring Operation: 40-31=9, Resulting Numbers: [34, 9] Generated Node #0,2,1: 99:[34, 9] Operation: 40-31=9 Exploring Operation: 34-31=3, Resulting Numbers: [40, 3] Generated Node #0,2,2: 99:[40, 3] Operation: 34-31=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[34, 9], Operations: ['62-28=34', '40-31=9'] Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,99 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[31, 6], Operations: ['62-28=34', '40-34=6'] Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,99 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[40, 3], Operations: ['62-28=34', '34-31=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 99:[40, 28, 2], Operations: ['62/31=2'] Exploring Operation: 28+2=30, Resulting Numbers: [40, 30] Generated Node #0,1,0: 99:[40, 30] Operation: 28+2=30 Exploring Operation: 40-2=38, Resulting Numbers: [28, 38] Generated Node #0,1,1: 99:[28, 38] Operation: 40-2=38 Exploring Operation: 40-28=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 99:[2, 12] Operation: 40-28=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[2, 12], Operations: ['62/31=2', '40-28=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[40, 30], Operations: ['62/31=2', '28+2=30'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,99 unequal: No Solution Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[28, 38], Operations: ['62/31=2', '40-2=38'] Exploring Operation: 28*38=1064, Resulting Numbers: [1064] 1064,99 unequal: No Solution Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 99:[102, 3], Operations: ['62+40=102', '31-28=3'] Exploring Operation: 102+3=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[62, 31, 40, 28], Operations: [] Exploring Operation: 62+40=102, Resulting Numbers: [31, 28, 102] Generated Node #0,0: 99:[31, 28, 102] Operation: 62+40=102 Moving to Node #0,0 Current State: 99:[31, 28, 102], Operations: ['62+40=102'] Exploring Operation: 31-28=3, Resulting Numbers: [102, 3] Generated Node #0,0,2: 99:[102, 3] Operation: 31-28=3 Moving to Node #0,0,2 Current State: 99:[102, 3], Operations: ['62+40=102', '31-28=3'] Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 46, 48, 44, 57 ]
44
[ "57-46=11", "48-44=4", "11*4=44" ]
Current State: 44:[46, 48, 44, 57], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [48, 44, 11] Generated Node #2: [48, 44, 11] from Operation: 57-46=11 Current State: 44:[48, 44, 11], Operations: ['57-46=11'] Exploring Operation: 48-44=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 48-44=4 Current State: 44:[11, 4], Operations: ['57-46=11', '48-44=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[46, 48, 44, 57], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [46, 44, 9] Generated Node #0,0: 44:[46, 44, 9] Operation: 57-48=9 Exploring Operation: 57-44=13, Resulting Numbers: [46, 48, 13] Generated Node #0,1: 44:[46, 48, 13] Operation: 57-44=13 Exploring Operation: 48-46=2, Resulting Numbers: [44, 57, 2] Generated Node #0,2: 44:[44, 57, 2] Operation: 48-46=2 Exploring Operation: 57-46=11, Resulting Numbers: [48, 44, 11] Generated Node #0,3: 44:[48, 44, 11] Operation: 57-46=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[46, 44, 9], Operations: ['57-48=9'] Exploring Operation: 46+9=55, Resulting Numbers: [44, 55] Generated Node #0,0,0: 44:[44, 55] Operation: 46+9=55 Exploring Operation: 44+9=53, Resulting Numbers: [46, 53] Generated Node #0,0,1: 44:[46, 53] Operation: 44+9=53 Exploring Operation: 46-9=37, Resulting Numbers: [44, 37] Generated Node #0,0,2: 44:[44, 37] Operation: 46-9=37 Exploring Operation: 46-44=2, Resulting Numbers: [9, 2] Generated Node #0,0,3: 44:[9, 2] Operation: 46-44=2 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[9, 2], Operations: ['57-48=9', '46-44=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,44 unequal: No Solution No 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: 44:[44, 37], Operations: ['57-48=9', '46-9=37'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,44 unequal: No Solution No 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: 44:[44, 55], Operations: ['57-48=9', '46+9=55'] Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,44 unequal: No Solution Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,44 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,44 unequal: No Solution No 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: 44:[46, 53], Operations: ['57-48=9', '44+9=53'] Exploring Operation: 46*53=2438, Resulting Numbers: [2438] 2438,44 unequal: No Solution Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,44 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,44 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: 44:[48, 44, 11], Operations: ['57-46=11'] Exploring Operation: 44/11=4, Resulting Numbers: [48, 4] Generated Node #0,3,0: 44:[48, 4] Operation: 44/11=4 Exploring Operation: 48-11=37, Resulting Numbers: [44, 37] Generated Node #0,3,1: 44:[44, 37] Operation: 48-11=37 Exploring Operation: 48-44=4, Resulting Numbers: [11, 4] Generated Node #0,3,2: 44:[11, 4] Operation: 48-44=4 Exploring Operation: 48+11=59, Resulting Numbers: [44, 59] Generated Node #0,3,3: 44:[44, 59] Operation: 48+11=59 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 44:[11, 4], Operations: ['57-46=11', '48-44=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[46, 48, 44, 57], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [48, 44, 11] Generated Node #0,3: 44:[48, 44, 11] Operation: 57-46=11 Moving to Node #0,3 Current State: 44:[48, 44, 11], Operations: ['57-46=11'] Exploring Operation: 48-44=4, Resulting Numbers: [11, 4] Generated Node #0,3,2: 44:[11, 4] Operation: 48-44=4 Moving to Node #0,3,2 Current State: 44:[11, 4], Operations: ['57-46=11', '48-44=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 74, 7, 68, 76 ]
75
[ "74-7=67", "76-68=8", "67+8=75" ]
Current State: 75:[74, 7, 68, 76], Operations: [] Exploring Operation: 74-7=67, Resulting Numbers: [68, 76, 67] Generated Node #2: [68, 76, 67] from Operation: 74-7=67 Current State: 75:[68, 76, 67], Operations: ['74-7=67'] Exploring Operation: 76-68=8, Resulting Numbers: [67, 8] Generated Node #3: [67, 8] from Operation: 76-68=8 Current State: 75:[67, 8], Operations: ['74-7=67', '76-68=8'] Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[74, 7, 68, 76], Operations: [] Exploring Operation: 7+68=75, Resulting Numbers: [74, 76, 75] Generated Node #0,0: 75:[74, 76, 75] Operation: 7+68=75 Exploring Operation: 74-68=6, Resulting Numbers: [7, 76, 6] Generated Node #0,1: 75:[7, 76, 6] Operation: 74-68=6 Moving to Node #0,0 Current State: 75:[74, 76, 75], Operations: ['7+68=75'] Exploring Operation: 76-74=2, Resulting Numbers: [75, 2] Generated Node #0,0,0: 75:[75, 2] Operation: 76-74=2 Exploring Operation: 75-74=1, Resulting Numbers: [76, 1] Generated Node #0,0,1: 75:[76, 1] Operation: 75-74=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[75, 2], Operations: ['7+68=75', '76-74=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[76, 1], Operations: ['7+68=75', '75-74=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[74, 7, 68, 76], Operations: [] Exploring Operation: 7+68=75, Resulting Numbers: [74, 76, 75] Generated Node #0,0: 75:[74, 76, 75] Operation: 7+68=75 Moving to Node #0,0 Current State: 75:[74, 76, 75], Operations: ['7+68=75'] Exploring Operation: 75-74=1, Resulting Numbers: [76, 1] Generated Node #0,0,1: 75:[76, 1] Operation: 75-74=1 Moving to Node #0,0,1 Current State: 75:[76, 1], Operations: ['7+68=75', '75-74=1'] Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 28, 24, 31, 44 ]
20
[ "28-24=4", "44/4=11", "31-11=20" ]
Current State: 20:[28, 24, 31, 44], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [31, 44, 4] Generated Node #2: [31, 44, 4] from Operation: 28-24=4 Current State: 20:[31, 44, 4], Operations: ['28-24=4'] Exploring Operation: 44/4=11, Resulting Numbers: [31, 11] Generated Node #3: [31, 11] from Operation: 44/4=11 Current State: 20:[31, 11], Operations: ['28-24=4', '44/4=11'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[28, 24, 31, 44], Operations: [] Exploring Operation: 44-28=16, Resulting Numbers: [24, 31, 16] Generated Node #0,0: 20:[24, 31, 16] Operation: 44-28=16 Exploring Operation: 31-28=3, Resulting Numbers: [24, 44, 3] Generated Node #0,1: 20:[24, 44, 3] Operation: 31-28=3 Exploring Operation: 31-24=7, Resulting Numbers: [28, 44, 7] Generated Node #0,2: 20:[28, 44, 7] Operation: 31-24=7 Exploring Operation: 44-24=20, Resulting Numbers: [28, 31, 20] Generated Node #0,3: 20:[28, 31, 20] Operation: 44-24=20 Exploring Operation: 44-31=13, Resulting Numbers: [28, 24, 13] Generated Node #0,4: 20:[28, 24, 13] Operation: 44-31=13 Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[28, 24, 13], Operations: ['44-31=13'] Exploring Operation: 24+13=37, Resulting Numbers: [28, 37] Generated Node #0,4,0: 20:[28, 37] Operation: 24+13=37 Exploring Operation: 28+13=41, Resulting Numbers: [24, 41] Generated Node #0,4,1: 20:[24, 41] Operation: 28+13=41 Exploring Operation: 28-24=4, Resulting Numbers: [13, 4] Generated Node #0,4,2: 20:[13, 4] Operation: 28-24=4 Exploring Operation: 28-13=15, Resulting Numbers: [24, 15] Generated Node #0,4,3: 20:[24, 15] Operation: 28-13=15 Exploring Operation: 24-13=11, Resulting Numbers: [28, 11] Generated Node #0,4,4: 20:[28, 11] Operation: 24-13=11 Moving to Node #0,4,2 Current State: 20:[13, 4], Operations: ['44-31=13', '28-24=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,20 unequal: No Solution Moving to Node #0,4,4 Current State: 20:[28, 11], Operations: ['44-31=13', '24-13=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,20 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[24, 15], Operations: ['44-31=13', '28-13=15'] Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,20 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[28, 37], Operations: ['44-31=13', '24+13=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,20 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[24, 41], Operations: ['44-31=13', '28+13=41'] Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,20 unequal: No Solution Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,20 unequal: No Solution No 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: 20:[24, 31, 16], Operations: ['44-28=16'] Exploring Operation: 24+16=40, Resulting Numbers: [31, 40] Generated Node #0,0,0: 20:[31, 40] Operation: 24+16=40 Exploring Operation: 31+16=47, Resulting Numbers: [24, 47] Generated Node #0,0,1: 20:[24, 47] Operation: 31+16=47 Exploring Operation: 31-16=15, Resulting Numbers: [24, 15] Generated Node #0,0,2: 20:[24, 15] Operation: 31-16=15 Exploring Operation: 31-24=7, Resulting Numbers: [16, 7] Generated Node #0,0,3: 20:[16, 7] Operation: 31-24=7 Exploring Operation: 24-16=8, Resulting Numbers: [31, 8] Generated Node #0,0,4: 20:[31, 8] Operation: 24-16=8 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 20:[16, 7], Operations: ['44-28=16', '31-24=7'] Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,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,2 Current State: 20:[24, 15], Operations: ['44-28=16', '31-16=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,20 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,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,4 Current State: 20:[31, 8], Operations: ['44-28=16', '24-16=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,20 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,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,0 Current State: 20:[31, 40], Operations: ['44-28=16', '24+16=40'] Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,20 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,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:[24, 47], Operations: ['44-28=16', '31+16=47'] Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,20 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,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,3 Current State: 20:[28, 31, 20], Operations: ['44-24=20'] Exploring Operation: 28+31=59, Resulting Numbers: [20, 59] Generated Node #0,3,0: 20:[20, 59] Operation: 28+31=59 Exploring Operation: 28+20=48, Resulting Numbers: [31, 48] Generated Node #0,3,1: 20:[31, 48] Operation: 28+20=48 Exploring Operation: 31-28=3, Resulting Numbers: [20, 3] Generated Node #0,3,2: 20:[20, 3] Operation: 31-28=3 Exploring Operation: 28-20=8, Resulting Numbers: [31, 8] Generated Node #0,3,3: 20:[31, 8] Operation: 28-20=8 Exploring Operation: 31-20=11, Resulting Numbers: [28, 11] Generated Node #0,3,4: 20:[28, 11] Operation: 31-20=11 Moving to Node #0,3,2 Current State: 20:[20, 3], Operations: ['44-24=20', '31-28=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,20 unequal: No Solution Moving to Node #0,3,4 Current State: 20:[28, 11], Operations: ['44-24=20', '31-20=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,20 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[31, 8], Operations: ['44-24=20', '28-20=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,20 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[20, 59], Operations: ['44-24=20', '28+31=59'] Exploring Operation: 20*59=1180, Resulting Numbers: [1180] 1180,20 unequal: No Solution Exploring Operation: 20+59=79, Resulting Numbers: [79] 79,20 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[31, 48], Operations: ['44-24=20', '28+20=48'] Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,20 unequal: No Solution Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,20 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,20 unequal: No Solution No 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:[24, 44, 3], Operations: ['31-28=3'] Exploring Operation: 24-3=21, Resulting Numbers: [44, 21] Generated Node #0,1,0: 20:[44, 21] Operation: 24-3=21 Exploring Operation: 24+3=27, Resulting Numbers: [44, 27] Generated Node #0,1,1: 20:[44, 27] Operation: 24+3=27 Exploring Operation: 44-3=41, Resulting Numbers: [24, 41] Generated Node #0,1,2: 20:[24, 41] Operation: 44-3=41 Exploring Operation: 24/3=8, Resulting Numbers: [44, 8] Generated Node #0,1,3: 20:[44, 8] Operation: 24/3=8 Exploring Operation: 44-24=20, Resulting Numbers: [3, 20] Generated Node #0,1,4: 20:[3, 20] Operation: 44-24=20 Moving to Node #0,1,4 Current State: 20:[3, 20], Operations: ['31-28=3', '44-24=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[24, 41], Operations: ['31-28=3', '44-3=41'] Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[44, 21], Operations: ['31-28=3', '24-3=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,20 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[44, 8], Operations: ['31-28=3', '24/3=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,20 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[44, 27], Operations: ['31-28=3', '24+3=27'] Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,20 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,20 unequal: No Solution No 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: 20:[28, 44, 7], Operations: ['31-24=7'] Exploring Operation: 44-28=16, Resulting Numbers: [7, 16] Generated Node #0,2,0: 20:[7, 16] Operation: 44-28=16 Exploring Operation: 28/7=4, Resulting Numbers: [44, 4] Generated Node #0,2,1: 20:[44, 4] Operation: 28/7=4 Exploring Operation: 28+7=35, Resulting Numbers: [44, 35] Generated Node #0,2,2: 20:[44, 35] Operation: 28+7=35 Exploring Operation: 44-7=37, Resulting Numbers: [28, 37] Generated Node #0,2,3: 20:[28, 37] Operation: 44-7=37 Exploring Operation: 28-7=21, Resulting Numbers: [44, 21] Generated Node #0,2,4: 20:[44, 21] Operation: 28-7=21 Moving to Node #0,2,0 Current State: 20:[7, 16], Operations: ['31-24=7', '44-28=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[44, 4], Operations: ['31-24=7', '28/7=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[28, 37], Operations: ['31-24=7', '44-7=37'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,20 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[44, 21], Operations: ['31-24=7', '28-7=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,20 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[44, 35], Operations: ['31-24=7', '28+7=35'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,20 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,20 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
[ 82, 92, 11, 66 ]
60
[ "92-82=10", "66/11=6", "10*6=60" ]
Current State: 60:[82, 92, 11, 66], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [11, 66, 10] Generated Node #2: [11, 66, 10] from Operation: 92-82=10 Current State: 60:[11, 66, 10], Operations: ['92-82=10'] Exploring Operation: 66/11=6, Resulting Numbers: [10, 6] Generated Node #3: [10, 6] from Operation: 66/11=6 Current State: 60:[10, 6], Operations: ['92-82=10', '66/11=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[82, 92, 11, 66], Operations: [] Exploring Operation: 92-66=26, Resulting Numbers: [82, 11, 26] Generated Node #0,0: 60:[82, 11, 26] Operation: 92-66=26 Exploring Operation: 92-82=10, Resulting Numbers: [11, 66, 10] Generated Node #0,1: 60:[11, 66, 10] Operation: 92-82=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[11, 66, 10], Operations: ['92-82=10'] Exploring Operation: 66/11=6, Resulting Numbers: [10, 6] Generated Node #0,1,0: 60:[10, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [10, 55] Generated Node #0,1,1: 60:[10, 55] Operation: 66-11=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[10, 6], Operations: ['92-82=10', '66/11=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[82, 92, 11, 66], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [11, 66, 10] Generated Node #0,1: 60:[11, 66, 10] Operation: 92-82=10 Moving to Node #0,1 Current State: 60:[11, 66, 10], Operations: ['92-82=10'] Exploring Operation: 66/11=6, Resulting Numbers: [10, 6] Generated Node #0,1,0: 60:[10, 6] Operation: 66/11=6 Moving to Node #0,1,0 Current State: 60:[10, 6], Operations: ['92-82=10', '66/11=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 70, 2, 58, 91 ]
67
[ "70-58=12", "2*12=24", "91-24=67" ]
Current State: 67:[70, 2, 58, 91], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [2, 91, 12] Generated Node #2: [2, 91, 12] from Operation: 70-58=12 Current State: 67:[2, 91, 12], Operations: ['70-58=12'] Exploring Operation: 2*12=24, Resulting Numbers: [91, 24] Generated Node #3: [91, 24] from Operation: 2*12=24 Current State: 67:[91, 24], Operations: ['70-58=12', '2*12=24'] Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[70, 2, 58, 91], Operations: [] Exploring Operation: 70-2=68, Resulting Numbers: [58, 91, 68] Generated Node #0,0: 67:[58, 91, 68] Operation: 70-2=68 Moving to Node #0,0 Current State: 67:[58, 91, 68], Operations: ['70-2=68'] Exploring Operation: 91-58=33, Resulting Numbers: [68, 33] Generated Node #0,0,0: 67:[68, 33] Operation: 91-58=33 Moving to Node #0,0,0 Current State: 67:[68, 33], Operations: ['70-2=68', '91-58=33'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 50, 11, 10, 63 ]
79
[ "50/10=5", "11+63=74", "5+74=79" ]
Current State: 79:[50, 11, 10, 63], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [11, 63, 5] Generated Node #2: [11, 63, 5] from Operation: 50/10=5 Current State: 79:[11, 63, 5], Operations: ['50/10=5'] Exploring Operation: 11+63=74, Resulting Numbers: [5, 74] Generated Node #3: [5, 74] from Operation: 11+63=74 Current State: 79:[5, 74], Operations: ['50/10=5', '11+63=74'] Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[50, 11, 10, 63], Operations: [] Exploring Operation: 11*10=110, Resulting Numbers: [50, 63, 110] Generated Node #0,0: 79:[50, 63, 110] Operation: 11*10=110 Exploring Operation: 50+11=61, Resulting Numbers: [10, 63, 61] Generated Node #0,1: 79:[10, 63, 61] Operation: 50+11=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[50, 63, 110], Operations: ['11*10=110'] Exploring Operation: 110-50=60, Resulting Numbers: [63, 60] Generated Node #0,0,0: 79:[63, 60] Operation: 110-50=60 Exploring Operation: 110-63=47, Resulting Numbers: [50, 47] Generated Node #0,0,1: 79:[50, 47] Operation: 110-63=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[63, 60], Operations: ['11*10=110', '110-50=60'] Exploring Operation: 63+60=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[50, 47], Operations: ['11*10=110', '110-63=47'] Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[10, 63, 61], Operations: ['50+11=61'] Exploring Operation: 10+63=73, Resulting Numbers: [61, 73] Generated Node #0,1,0: 79:[61, 73] Operation: 10+63=73 Exploring Operation: 10+61=71, Resulting Numbers: [63, 71] Generated Node #0,1,1: 79:[63, 71] Operation: 10+61=71 Moving to Node #0,1,0 Current State: 79:[61, 73], Operations: ['50+11=61', '10+63=73'] Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[63, 71], Operations: ['50+11=61', '10+61=71'] Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,79 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
[ 46, 71, 33, 54 ]
62
[ "71-46=25", "33+54=87", "87-25=62" ]
Current State: 62:[46, 71, 33, 54], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [33, 54, 25] Generated Node #2: [33, 54, 25] from Operation: 71-46=25 Current State: 62:[33, 54, 25], Operations: ['71-46=25'] Exploring Operation: 33+54=87, Resulting Numbers: [25, 87] Generated Node #3: [25, 87] from Operation: 33+54=87 Current State: 62:[25, 87], Operations: ['71-46=25', '33+54=87'] Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[46, 71, 33, 54], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [33, 54, 25] Generated Node #0,0: 62:[33, 54, 25] Operation: 71-46=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[33, 54, 25], Operations: ['71-46=25'] Exploring Operation: 54-25=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 62:[33, 29] Operation: 54-25=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[33, 29], Operations: ['71-46=25', '54-25=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[46, 71, 33, 54], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [33, 54, 25] Generated Node #0,0: 62:[33, 54, 25] Operation: 71-46=25 Moving to Node #0,0 Current State: 62:[33, 54, 25], Operations: ['71-46=25'] Exploring Operation: 54-25=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 62:[33, 29] Operation: 54-25=29 Moving to Node #0,0,0 Current State: 62:[33, 29], Operations: ['71-46=25', '54-25=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 55, 34, 41, 72 ]
43
[ "72-55=17", "34/17=2", "41+2=43" ]
Current State: 43:[55, 34, 41, 72], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [34, 41, 17] Generated Node #2: [34, 41, 17] from Operation: 72-55=17 Current State: 43:[34, 41, 17], Operations: ['72-55=17'] Exploring Operation: 34/17=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 34/17=2 Current State: 43:[41, 2], Operations: ['72-55=17', '34/17=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[55, 34, 41, 72], Operations: [] Exploring Operation: 72-41=31, Resulting Numbers: [55, 34, 31] Generated Node #0,0: 43:[55, 34, 31] Operation: 72-41=31 Exploring Operation: 72-34=38, Resulting Numbers: [55, 41, 38] Generated Node #0,1: 43:[55, 41, 38] Operation: 72-34=38 Moving to Node #0,1 Current State: 43:[55, 41, 38], Operations: ['72-34=38'] Exploring Operation: 55-38=17, Resulting Numbers: [41, 17] Generated Node #0,1,0: 43:[41, 17] Operation: 55-38=17 Exploring Operation: 55-41=14, Resulting Numbers: [38, 14] Generated Node #0,1,1: 43:[38, 14] Operation: 55-41=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[41, 17], Operations: ['72-34=38', '55-38=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,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,1 Current State: 43:[38, 14], Operations: ['72-34=38', '55-41=14'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,43 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: 43:[55, 34, 31], Operations: ['72-41=31'] Exploring Operation: 55-31=24, Resulting Numbers: [34, 24] Generated Node #0,0,0: 43:[34, 24] Operation: 55-31=24 Exploring Operation: 55-34=21, Resulting Numbers: [31, 21] Generated Node #0,0,1: 43:[31, 21] Operation: 55-34=21 Moving to Node #0,0,0 Current State: 43:[34, 24], Operations: ['72-41=31', '55-31=24'] Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[31, 21], Operations: ['72-41=31', '55-34=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 16, 35, 88, 49 ]
64
[ "88-35=53", "53-49=4", "16*4=64" ]
Current State: 64:[16, 35, 88, 49], Operations: [] Exploring Operation: 88-35=53, Resulting Numbers: [16, 49, 53] Generated Node #2: [16, 49, 53] from Operation: 88-35=53 Current State: 64:[16, 49, 53], Operations: ['88-35=53'] Exploring Operation: 53-49=4, Resulting Numbers: [16, 4] Generated Node #3: [16, 4] from Operation: 53-49=4 Current State: 64:[16, 4], Operations: ['88-35=53', '53-49=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 35, 88, 49], Operations: [] Exploring Operation: 88-16=72, Resulting Numbers: [35, 49, 72] Generated Node #0,0: 64:[35, 49, 72] Operation: 88-16=72 Exploring Operation: 88-49=39, Resulting Numbers: [16, 35, 39] Generated Node #0,1: 64:[16, 35, 39] Operation: 88-49=39 Exploring Operation: 88-35=53, Resulting Numbers: [16, 49, 53] Generated Node #0,2: 64:[16, 49, 53] Operation: 88-35=53 Moving to Node #0,1 Current State: 64:[16, 35, 39], Operations: ['88-49=39'] Exploring Operation: 39-16=23, Resulting Numbers: [35, 23] Generated Node #0,1,0: 64:[35, 23] Operation: 39-16=23 Exploring Operation: 39-35=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 64:[16, 4] Operation: 39-35=4 Exploring Operation: 35-16=19, Resulting Numbers: [39, 19] Generated Node #0,1,2: 64:[39, 19] Operation: 35-16=19 Moving to Node #0,0 Current State: 64:[35, 49, 72], Operations: ['88-16=72'] Exploring Operation: 72-49=23, Resulting Numbers: [35, 23] Generated Node #0,0,0: 64:[35, 23] Operation: 72-49=23 Exploring Operation: 49-35=14, Resulting Numbers: [72, 14] Generated Node #0,0,1: 64:[72, 14] Operation: 49-35=14 Exploring Operation: 72-35=37, Resulting Numbers: [49, 37] Generated Node #0,0,2: 64:[49, 37] Operation: 72-35=37 Moving to Node #0,2 Current State: 64:[16, 49, 53], Operations: ['88-35=53'] Exploring Operation: 49-16=33, Resulting Numbers: [53, 33] Generated Node #0,2,0: 64:[53, 33] Operation: 49-16=33 Exploring Operation: 16+49=65, Resulting Numbers: [53, 65] Generated Node #0,2,1: 64:[53, 65] Operation: 16+49=65 Exploring Operation: 53-49=4, Resulting Numbers: [16, 4] Generated Node #0,2,2: 64:[16, 4] Operation: 53-49=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[16, 4], Operations: ['88-35=53', '53-49=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[16, 35, 88, 49], Operations: [] Exploring Operation: 88-35=53, Resulting Numbers: [16, 49, 53] Generated Node #0,2: 64:[16, 49, 53] Operation: 88-35=53 Moving to Node #0,2 Current State: 64:[16, 49, 53], Operations: ['88-35=53'] Exploring Operation: 53-49=4, Resulting Numbers: [16, 4] Generated Node #0,2,2: 64:[16, 4] Operation: 53-49=4 Moving to Node #0,2,2 Current State: 64:[16, 4], Operations: ['88-35=53', '53-49=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 65, 61, 39, 22 ]
49
[ "65-61=4", "22*4=88", "88-39=49" ]
Current State: 49:[65, 61, 39, 22], Operations: [] Exploring Operation: 65-61=4, Resulting Numbers: [39, 22, 4] Generated Node #2: [39, 22, 4] from Operation: 65-61=4 Current State: 49:[39, 22, 4], Operations: ['65-61=4'] Exploring Operation: 22*4=88, Resulting Numbers: [39, 88] Generated Node #3: [39, 88] from Operation: 22*4=88 Current State: 49:[39, 88], Operations: ['65-61=4', '22*4=88'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[65, 61, 39, 22], Operations: [] Exploring Operation: 65-61=4, Resulting Numbers: [39, 22, 4] Generated Node #0,0: 49:[39, 22, 4] Operation: 65-61=4 Exploring Operation: 65-22=43, Resulting Numbers: [61, 39, 43] Generated Node #0,1: 49:[61, 39, 43] Operation: 65-22=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[39, 22, 4], Operations: ['65-61=4'] Exploring Operation: 39-22=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 49:[4, 17] Operation: 39-22=17 Exploring Operation: 39+22=61, Resulting Numbers: [4, 61] Generated Node #0,0,1: 49:[4, 61] Operation: 39+22=61 Moving to Node #0,0,0 Current State: 49:[4, 17], Operations: ['65-61=4', '39-22=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[4, 61], Operations: ['65-61=4', '39+22=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[61, 39, 43], Operations: ['65-22=43'] Exploring Operation: 61-39=22, Resulting Numbers: [43, 22] Generated Node #0,1,0: 49:[43, 22] Operation: 61-39=22 Exploring Operation: 43-39=4, Resulting Numbers: [61, 4] Generated Node #0,1,1: 49:[61, 4] Operation: 43-39=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[61, 4], Operations: ['65-22=43', '43-39=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[43, 22], Operations: ['65-22=43', '61-39=22'] Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 52, 40, 73, 40 ]
20
[ "73-52=21", "40/40=1", "21-1=20" ]
Current State: 20:[52, 40, 73, 40], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [40, 40, 21] Generated Node #2: [40, 40, 21] from Operation: 73-52=21 Current State: 20:[40, 40, 21], Operations: ['73-52=21'] Exploring Operation: 40/40=1, Resulting Numbers: [21, 1] Generated Node #3: [21, 1] from Operation: 40/40=1 Current State: 20:[21, 1], Operations: ['73-52=21', '40/40=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[52, 40, 73, 40], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [40, 40, 21] Generated Node #0,0: 20:[40, 40, 21] Operation: 73-52=21 Exploring Operation: 52-40=12, Resulting Numbers: [73, 40, 12] Generated Node #0,1: 20:[73, 40, 12] Operation: 52-40=12 Exploring Operation: 73-40=33, Resulting Numbers: [52, 40, 33] Generated Node #0,2: 20:[52, 40, 33] Operation: 73-40=33 Exploring Operation: 73-40=33, Resulting Numbers: [52, 40, 33] Generated Node #0,3: 20:[52, 40, 33] Operation: 73-40=33 Exploring Operation: 52-40=12, Resulting Numbers: [40, 73, 12] Generated Node #0,4: 20:[40, 73, 12] Operation: 52-40=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[40, 40, 21], Operations: ['73-52=21'] Exploring Operation: 40-40=0, Resulting Numbers: [21, 0] Generated Node #0,0,0: 20:[21, 0] Operation: 40-40=0 Exploring Operation: 40-21=19, Resulting Numbers: [40, 19] Generated Node #0,0,1: 20:[40, 19] Operation: 40-21=19 Exploring Operation: 40-21=19, Resulting Numbers: [40, 19] Generated Node #0,0,2: 20:[40, 19] Operation: 40-21=19 Exploring Operation: 40/40=1, Resulting Numbers: [21, 1] Generated Node #0,0,3: 20:[21, 1] Operation: 40/40=1 Exploring Operation: 40+40=80, Resulting Numbers: [21, 80] Generated Node #0,0,4: 20:[21, 80] Operation: 40+40=80 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 20:[21, 1], Operations: ['73-52=21', '40/40=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[52, 40, 73, 40], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [40, 40, 21] Generated Node #0,0: 20:[40, 40, 21] Operation: 73-52=21 Moving to Node #0,0 Current State: 20:[40, 40, 21], Operations: ['73-52=21'] Exploring Operation: 40/40=1, Resulting Numbers: [21, 1] Generated Node #0,0,3: 20:[21, 1] Operation: 40/40=1 Moving to Node #0,0,3 Current State: 20:[21, 1], Operations: ['73-52=21', '40/40=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 37, 36, 2, 39 ]
13
[ "37-36=1", "2+1=3", "39/3=13" ]
Current State: 13:[37, 36, 2, 39], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [2, 39, 1] Generated Node #2: [2, 39, 1] from Operation: 37-36=1 Current State: 13:[2, 39, 1], Operations: ['37-36=1'] Exploring Operation: 2+1=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 2+1=3 Current State: 13:[39, 3], Operations: ['37-36=1', '2+1=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[37, 36, 2, 39], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [36, 2, 2] Generated Node #0,0: 13:[36, 2, 2] Operation: 39-37=2 Moving to Node #0,0 Current State: 13:[36, 2, 2], Operations: ['39-37=2'] Exploring Operation: 36/2=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 13:[2, 18] Operation: 36/2=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[2, 18], Operations: ['39-37=2', '36/2=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,13 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
[ 63, 13, 89, 50 ]
52
[ "89-63=26", "26/13=2", "50+2=52" ]
Current State: 52:[63, 13, 89, 50], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [13, 50, 26] Generated Node #2: [13, 50, 26] from Operation: 89-63=26 Current State: 52:[13, 50, 26], Operations: ['89-63=26'] Exploring Operation: 26/13=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 26/13=2 Current State: 52:[50, 2], Operations: ['89-63=26', '26/13=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[63, 13, 89, 50], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [13, 50, 26] Generated Node #0,0: 52:[13, 50, 26] Operation: 89-63=26 Exploring Operation: 89-13=76, Resulting Numbers: [63, 50, 76] Generated Node #0,1: 52:[63, 50, 76] Operation: 89-13=76 Exploring Operation: 89-50=39, Resulting Numbers: [63, 13, 39] Generated Node #0,2: 52:[63, 13, 39] Operation: 89-50=39 Exploring Operation: 63-50=13, Resulting Numbers: [13, 89, 13] Generated Node #0,3: 52:[13, 89, 13] Operation: 63-50=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[13, 50, 26], Operations: ['89-63=26'] Exploring Operation: 50-26=24, Resulting Numbers: [13, 24] Generated Node #0,0,0: 52:[13, 24] Operation: 50-26=24 Exploring Operation: 26/13=2, Resulting Numbers: [50, 2] Generated Node #0,0,1: 52:[50, 2] Operation: 26/13=2 Exploring Operation: 26-13=13, Resulting Numbers: [50, 13] Generated Node #0,0,2: 52:[50, 13] Operation: 26-13=13 Exploring Operation: 13+50=63, Resulting Numbers: [26, 63] Generated Node #0,0,3: 52:[26, 63] Operation: 13+50=63 Moving to Node #0,0,0 Current State: 52:[13, 24], Operations: ['89-63=26', '50-26=24'] Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,52 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[50, 13], Operations: ['89-63=26', '26-13=13'] Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,52 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[50, 2], Operations: ['89-63=26', '26/13=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[63, 13, 89, 50], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [13, 50, 26] Generated Node #0,0: 52:[13, 50, 26] Operation: 89-63=26 Moving to Node #0,0 Current State: 52:[13, 50, 26], Operations: ['89-63=26'] Exploring Operation: 26/13=2, Resulting Numbers: [50, 2] Generated Node #0,0,1: 52:[50, 2] Operation: 26/13=2 Moving to Node #0,0,1 Current State: 52:[50, 2], Operations: ['89-63=26', '26/13=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 66, 9, 25, 20 ]
23
[ "66+9=75", "75/25=3", "20+3=23" ]
Current State: 23:[66, 9, 25, 20], Operations: [] Exploring Operation: 66+9=75, Resulting Numbers: [25, 20, 75] Generated Node #2: [25, 20, 75] from Operation: 66+9=75 Current State: 23:[25, 20, 75], Operations: ['66+9=75'] Exploring Operation: 75/25=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 75/25=3 Current State: 23:[20, 3], Operations: ['66+9=75', '75/25=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[66, 9, 25, 20], Operations: [] Exploring Operation: 9+20=29, Resulting Numbers: [66, 25, 29] Generated Node #0,0: 23:[66, 25, 29] Operation: 9+20=29 Exploring Operation: 25-9=16, Resulting Numbers: [66, 20, 16] Generated Node #0,1: 23:[66, 20, 16] Operation: 25-9=16 Exploring Operation: 66-9=57, Resulting Numbers: [25, 20, 57] Generated Node #0,2: 23:[25, 20, 57] Operation: 66-9=57 Exploring Operation: 66-25=41, Resulting Numbers: [9, 20, 41] Generated Node #0,3: 23:[9, 20, 41] Operation: 66-25=41 Exploring Operation: 66-20=46, Resulting Numbers: [9, 25, 46] Generated Node #0,4: 23:[9, 25, 46] Operation: 66-20=46 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[9, 20, 41], Operations: ['66-25=41'] Exploring Operation: 9+41=50, Resulting Numbers: [20, 50] Generated Node #0,3,0: 23:[20, 50] Operation: 9+41=50 Exploring Operation: 9+20=29, Resulting Numbers: [41, 29] Generated Node #0,3,1: 23:[41, 29] Operation: 9+20=29 Exploring Operation: 41-9=32, Resulting Numbers: [20, 32] Generated Node #0,3,2: 23:[20, 32] Operation: 41-9=32 Exploring Operation: 20-9=11, Resulting Numbers: [41, 11] Generated Node #0,3,3: 23:[41, 11] Operation: 20-9=11 Exploring Operation: 41-20=21, Resulting Numbers: [9, 21] Generated Node #0,3,4: 23:[9, 21] Operation: 41-20=21 Moving to Node #0,3,2 Current State: 23:[20, 32], Operations: ['66-25=41', '41-9=32'] Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[9, 21], Operations: ['66-25=41', '41-20=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[41, 29], Operations: ['66-25=41', '9+20=29'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,23 unequal: No Solution Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[20, 50], Operations: ['66-25=41', '9+41=50'] Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,23 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[41, 11], Operations: ['66-25=41', '20-9=11'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,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 Current State: 23:[25, 20, 57], Operations: ['66-9=57'] Exploring Operation: 57-25=32, Resulting Numbers: [20, 32] Generated Node #0,2,0: 23:[20, 32] Operation: 57-25=32 Exploring Operation: 25+20=45, Resulting Numbers: [57, 45] Generated Node #0,2,1: 23:[57, 45] Operation: 25+20=45 Exploring Operation: 57-20=37, Resulting Numbers: [25, 37] Generated Node #0,2,2: 23:[25, 37] Operation: 57-20=37 Exploring Operation: 25-20=5, Resulting Numbers: [57, 5] Generated Node #0,2,3: 23:[57, 5] Operation: 25-20=5 Exploring Operation: 20+57=77, Resulting Numbers: [25, 77] Generated Node #0,2,4: 23:[25, 77] Operation: 20+57=77 Moving to Node #0,2,0 Current State: 23:[20, 32], Operations: ['66-9=57', '57-25=32'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[25, 37], Operations: ['66-9=57', '57-20=37'] Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,23 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[57, 5], Operations: ['66-9=57', '25-20=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,23 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[57, 45], Operations: ['66-9=57', '25+20=45'] Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,23 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[25, 77], Operations: ['66-9=57', '20+57=77'] Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 25*77=1925, Resulting Numbers: [1925] 1925,23 unequal: No Solution Exploring Operation: 25+77=102, Resulting Numbers: [102] 102,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,4 Current State: 23:[9, 25, 46], Operations: ['66-20=46'] Exploring Operation: 46-25=21, Resulting Numbers: [9, 21] Generated Node #0,4,0: 23:[9, 21] Operation: 46-25=21 Exploring Operation: 25-9=16, Resulting Numbers: [46, 16] Generated Node #0,4,1: 23:[46, 16] Operation: 25-9=16 Exploring Operation: 9+46=55, Resulting Numbers: [25, 55] Generated Node #0,4,2: 23:[25, 55] Operation: 9+46=55 Exploring Operation: 46-9=37, Resulting Numbers: [25, 37] Generated Node #0,4,3: 23:[25, 37] Operation: 46-9=37 Exploring Operation: 9+25=34, Resulting Numbers: [46, 34] Generated Node #0,4,4: 23:[46, 34] Operation: 9+25=34 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 23:[9, 21], Operations: ['66-20=46', '46-25=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,23 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 23:[25, 37], Operations: ['66-20=46', '46-9=37'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 23:[46, 16], Operations: ['66-20=46', '25-9=16'] Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,23 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 23:[25, 55], Operations: ['66-20=46', '9+46=55'] Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 23:[46, 34], Operations: ['66-20=46', '9+25=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[66, 25, 29], Operations: ['9+20=29'] Exploring Operation: 66+25=91, Resulting Numbers: [29, 91] Generated Node #0,0,0: 23:[29, 91] Operation: 66+25=91 Exploring Operation: 66+29=95, Resulting Numbers: [25, 95] Generated Node #0,0,1: 23:[25, 95] Operation: 66+29=95 Exploring Operation: 66-29=37, Resulting Numbers: [25, 37] Generated Node #0,0,2: 23:[25, 37] Operation: 66-29=37 Exploring Operation: 66-25=41, Resulting Numbers: [29, 41] Generated Node #0,0,3: 23:[29, 41] Operation: 66-25=41 Exploring Operation: 29-25=4, Resulting Numbers: [66, 4] Generated Node #0,0,4: 23:[66, 4] Operation: 29-25=4 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 23:[25, 37], Operations: ['9+20=29', '66-29=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,23 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 23:[29, 41], Operations: ['9+20=29', '66-25=41'] Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,23 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 23:[66, 4], Operations: ['9+20=29', '29-25=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,23 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[29, 91], Operations: ['9+20=29', '66+25=91'] Exploring Operation: 29+91=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 29*91=2639, Resulting Numbers: [2639] 2639,23 unequal: No Solution Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[25, 95], Operations: ['9+20=29', '66+29=95'] Exploring Operation: 25+95=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 25*95=2375, Resulting Numbers: [2375] 2375,23 unequal: No Solution Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[66, 20, 16], Operations: ['25-9=16'] Exploring Operation: 20+16=36, Resulting Numbers: [66, 36] Generated Node #0,1,0: 23:[66, 36] Operation: 20+16=36 Exploring Operation: 66-20=46, Resulting Numbers: [16, 46] Generated Node #0,1,1: 23:[16, 46] Operation: 66-20=46 Exploring Operation: 66+16=82, Resulting Numbers: [20, 82] Generated Node #0,1,2: 23:[20, 82] Operation: 66+16=82 Exploring Operation: 20-16=4, Resulting Numbers: [66, 4] Generated Node #0,1,3: 23:[66, 4] Operation: 20-16=4 Exploring Operation: 66-16=50, Resulting Numbers: [20, 50] Generated Node #0,1,4: 23:[20, 50] Operation: 66-16=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[16, 46], Operations: ['25-9=16', '66-20=46'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 23:[20, 50], Operations: ['25-9=16', '66-16=50'] Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,23 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[66, 36], Operations: ['25-9=16', '20+16=36'] Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,23 unequal: No Solution Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[20, 82], Operations: ['25-9=16', '66+16=82'] Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 20+82=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 20*82=1640, Resulting Numbers: [1640] 1640,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 23:[66, 4], Operations: ['25-9=16', '20-16=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,23 unequal: No Solution Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 26, 73, 21, 20 ]
48
[ "73-26=47", "21-20=1", "47+1=48" ]
Current State: 48:[26, 73, 21, 20], Operations: [] Exploring Operation: 73-26=47, Resulting Numbers: [21, 20, 47] Generated Node #2: [21, 20, 47] from Operation: 73-26=47 Current State: 48:[21, 20, 47], Operations: ['73-26=47'] Exploring Operation: 21-20=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 21-20=1 Current State: 48:[47, 1], Operations: ['73-26=47', '21-20=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[26, 73, 21, 20], Operations: [] Exploring Operation: 21-20=1, Resulting Numbers: [26, 73, 1] Generated Node #0,0: 48:[26, 73, 1] Operation: 21-20=1 Exploring Operation: 26-20=6, Resulting Numbers: [73, 21, 6] Generated Node #0,1: 48:[73, 21, 6] Operation: 26-20=6 Exploring Operation: 73-20=53, Resulting Numbers: [26, 21, 53] Generated Node #0,2: 48:[26, 21, 53] Operation: 73-20=53 Exploring Operation: 73-26=47, Resulting Numbers: [21, 20, 47] Generated Node #0,3: 48:[21, 20, 47] Operation: 73-26=47 Exploring Operation: 73-21=52, Resulting Numbers: [26, 20, 52] Generated Node #0,4: 48:[26, 20, 52] Operation: 73-21=52 Moving to Node #0,3 Current State: 48:[21, 20, 47], Operations: ['73-26=47'] Exploring Operation: 20+47=67, Resulting Numbers: [21, 67] Generated Node #0,3,0: 48:[21, 67] Operation: 20+47=67 Exploring Operation: 21-20=1, Resulting Numbers: [47, 1] Generated Node #0,3,1: 48:[47, 1] Operation: 21-20=1 Exploring Operation: 47-21=26, Resulting Numbers: [20, 26] Generated Node #0,3,2: 48:[20, 26] Operation: 47-21=26 Exploring Operation: 47-20=27, Resulting Numbers: [21, 27] Generated Node #0,3,3: 48:[21, 27] Operation: 47-20=27 Exploring Operation: 21+20=41, Resulting Numbers: [47, 41] Generated Node #0,3,4: 48:[47, 41] Operation: 21+20=41 Moving to Node #0,4 Current State: 48:[26, 20, 52], Operations: ['73-21=52'] Exploring Operation: 52-26=26, Resulting Numbers: [20, 26] Generated Node #0,4,0: 48:[20, 26] Operation: 52-26=26 Exploring Operation: 26-20=6, Resulting Numbers: [52, 6] Generated Node #0,4,1: 48:[52, 6] Operation: 26-20=6 Exploring Operation: 52/26=2, Resulting Numbers: [20, 2] Generated Node #0,4,2: 48:[20, 2] Operation: 52/26=2 Exploring Operation: 26+20=46, Resulting Numbers: [52, 46] Generated Node #0,4,3: 48:[52, 46] Operation: 26+20=46 Exploring Operation: 52-20=32, Resulting Numbers: [26, 32] Generated Node #0,4,4: 48:[26, 32] Operation: 52-20=32 Moving to Node #0,2 Current State: 48:[26, 21, 53], Operations: ['73-20=53'] Exploring Operation: 26-21=5, Resulting Numbers: [53, 5] Generated Node #0,2,0: 48:[53, 5] Operation: 26-21=5 Exploring Operation: 53-21=32, Resulting Numbers: [26, 32] Generated Node #0,2,1: 48:[26, 32] Operation: 53-21=32 Exploring Operation: 21+53=74, Resulting Numbers: [26, 74] Generated Node #0,2,2: 48:[26, 74] Operation: 21+53=74 Exploring Operation: 26+21=47, Resulting Numbers: [53, 47] Generated Node #0,2,3: 48:[53, 47] Operation: 26+21=47 Exploring Operation: 53-26=27, Resulting Numbers: [21, 27] Generated Node #0,2,4: 48:[21, 27] Operation: 53-26=27 Moving to Node #0,0 Current State: 48:[26, 73, 1], Operations: ['21-20=1'] Exploring Operation: 26/1=26, Resulting Numbers: [73, 26] Generated Node #0,0,0: 48:[73, 26] Operation: 26/1=26 Exploring Operation: 73-1=72, Resulting Numbers: [26, 72] Generated Node #0,0,1: 48:[26, 72] Operation: 73-1=72 Exploring Operation: 26-1=25, Resulting Numbers: [73, 25] Generated Node #0,0,2: 48:[73, 25] Operation: 26-1=25 Exploring Operation: 26*1=26, Resulting Numbers: [73, 26] Generated Node #0,0,3: 48:[73, 26] Operation: 26*1=26 Exploring Operation: 73-26=47, Resulting Numbers: [1, 47] Generated Node #0,0,4: 48:[1, 47] Operation: 73-26=47 Moving to Node #0,1 Current State: 48:[73, 21, 6], Operations: ['26-20=6'] Exploring Operation: 21-6=15, Resulting Numbers: [73, 15] Generated Node #0,1,0: 48:[73, 15] Operation: 21-6=15 Exploring Operation: 21+6=27, Resulting Numbers: [73, 27] Generated Node #0,1,1: 48:[73, 27] Operation: 21+6=27 Exploring Operation: 73-6=67, Resulting Numbers: [21, 67] Generated Node #0,1,2: 48:[21, 67] Operation: 73-6=67 Exploring Operation: 73+6=79, Resulting Numbers: [21, 79] Generated Node #0,1,3: 48:[21, 79] Operation: 73+6=79 Exploring Operation: 73-21=52, Resulting Numbers: [6, 52] Generated Node #0,1,4: 48:[6, 52] Operation: 73-21=52 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 48:[6, 52], Operations: ['26-20=6', '73-21=52'] Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,48 unequal: No Solution Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[21, 67], Operations: ['26-20=6', '73-6=67'] Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[73, 15], Operations: ['26-20=6', '21-6=15'] Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[73, 27], Operations: ['26-20=6', '21+6=27'] Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,48 unequal: No Solution Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,48 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[21, 79], Operations: ['26-20=6', '73+6=79'] Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,48 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,48 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 48:[47, 1], Operations: ['73-26=47', '21-20=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[26, 73, 21, 20], Operations: [] Exploring Operation: 73-26=47, Resulting Numbers: [21, 20, 47] Generated Node #0,3: 48:[21, 20, 47] Operation: 73-26=47 Moving to Node #0,3 Current State: 48:[21, 20, 47], Operations: ['73-26=47'] Exploring Operation: 21-20=1, Resulting Numbers: [47, 1] Generated Node #0,3,1: 48:[47, 1] Operation: 21-20=1 Moving to Node #0,3,1 Current State: 48:[47, 1], Operations: ['73-26=47', '21-20=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.954861
hs_5
mult_heuristic
[ 36, 3, 96, 39 ]
63
[ "96-36=60", "60-39=21", "3*21=63" ]
Current State: 63:[36, 3, 96, 39], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [3, 39, 60] Generated Node #2: [3, 39, 60] from Operation: 96-36=60 Current State: 63:[3, 39, 60], Operations: ['96-36=60'] Exploring Operation: 60-39=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 60-39=21 Current State: 63:[3, 21], Operations: ['96-36=60', '60-39=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[36, 3, 96, 39], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [3, 39, 60] Generated Node #0,0: 63:[3, 39, 60] Operation: 96-36=60 Exploring Operation: 39-36=3, Resulting Numbers: [3, 96, 3] Generated Node #0,1: 63:[3, 96, 3] Operation: 39-36=3 Exploring Operation: 96-39=57, Resulting Numbers: [36, 3, 57] Generated Node #0,2: 63:[36, 3, 57] Operation: 96-39=57 Moving to Node #0,0 Current State: 63:[3, 39, 60], Operations: ['96-36=60'] Exploring Operation: 60-39=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 63:[3, 21] Operation: 60-39=21 Exploring Operation: 39/3=13, Resulting Numbers: [60, 13] Generated Node #0,0,1: 63:[60, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [60, 36] Generated Node #0,0,2: 63:[60, 36] Operation: 39-3=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[3, 21], Operations: ['96-36=60', '60-39=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[36, 3, 96, 39], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [3, 39, 60] Generated Node #0,0: 63:[3, 39, 60] Operation: 96-36=60 Moving to Node #0,0 Current State: 63:[3, 39, 60], Operations: ['96-36=60'] Exploring Operation: 60-39=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 63:[3, 21] Operation: 60-39=21 Moving to Node #0,0,0 Current State: 63:[3, 21], Operations: ['96-36=60', '60-39=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 62, 76, 68, 13 ]
41
[ "76-62=14", "68-13=55", "55-14=41" ]
Current State: 41:[62, 76, 68, 13], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [68, 13, 14] Generated Node #2: [68, 13, 14] from Operation: 76-62=14 Current State: 41:[68, 13, 14], Operations: ['76-62=14'] Exploring Operation: 68-13=55, Resulting Numbers: [14, 55] Generated Node #3: [14, 55] from Operation: 68-13=55 Current State: 41:[14, 55], Operations: ['76-62=14', '68-13=55'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[62, 76, 68, 13], Operations: [] Exploring Operation: 62-13=49, Resulting Numbers: [76, 68, 49] Generated Node #0,0: 41:[76, 68, 49] Operation: 62-13=49 Exploring Operation: 76-13=63, Resulting Numbers: [62, 68, 63] Generated Node #0,1: 41:[62, 68, 63] Operation: 76-13=63 Exploring Operation: 76-62=14, Resulting Numbers: [68, 13, 14] Generated Node #0,2: 41:[68, 13, 14] Operation: 76-62=14 Exploring Operation: 76-68=8, Resulting Numbers: [62, 13, 8] Generated Node #0,3: 41:[62, 13, 8] Operation: 76-68=8 Exploring Operation: 68-13=55, Resulting Numbers: [62, 76, 55] Generated Node #0,4: 41:[62, 76, 55] Operation: 68-13=55 Moving to Node #0,0 Current State: 41:[76, 68, 49], Operations: ['62-13=49'] Exploring Operation: 76+49=125, Resulting Numbers: [68, 125] Generated Node #0,0,0: 41:[68, 125] Operation: 76+49=125 Exploring Operation: 76-49=27, Resulting Numbers: [68, 27] Generated Node #0,0,1: 41:[68, 27] Operation: 76-49=27 Exploring Operation: 68-49=19, Resulting Numbers: [76, 19] Generated Node #0,0,2: 41:[76, 19] Operation: 68-49=19 Exploring Operation: 76+68=144, Resulting Numbers: [49, 144] Generated Node #0,0,3: 41:[49, 144] Operation: 76+68=144 Exploring Operation: 76-68=8, Resulting Numbers: [49, 8] Generated Node #0,0,4: 41:[49, 8] Operation: 76-68=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[68, 27], Operations: ['62-13=49', '76-49=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[62, 76, 68, 13], Operations: [] Exploring Operation: 62-13=49, Resulting Numbers: [76, 68, 49] Generated Node #0,0: 41:[76, 68, 49] Operation: 62-13=49 Moving to Node #0,0 Current State: 41:[76, 68, 49], Operations: ['62-13=49'] Exploring Operation: 76-49=27, Resulting Numbers: [68, 27] Generated Node #0,0,1: 41:[68, 27] Operation: 76-49=27 Moving to Node #0,0,1 Current State: 41:[68, 27], Operations: ['62-13=49', '76-49=27'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 26, 18, 88, 60 ]
24
[ "26*60=1560", "18*88=1584", "1584-1560=24" ]
Current State: 24:[26, 18, 88, 60], Operations: [] Exploring Operation: 26*60=1560, Resulting Numbers: [18, 88, 1560] Generated Node #2: [18, 88, 1560] from Operation: 26*60=1560 Current State: 24:[18, 88, 1560], Operations: ['26*60=1560'] Exploring Operation: 18*88=1584, Resulting Numbers: [1560, 1584] Generated Node #3: [1560, 1584] from Operation: 18*88=1584 Current State: 24:[1560, 1584], Operations: ['26*60=1560', '18*88=1584'] Exploring Operation: 1584-1560=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[26, 18, 88, 60], Operations: [] Exploring Operation: 88-60=28, Resulting Numbers: [26, 18, 28] Generated Node #0,0: 24:[26, 18, 28] Operation: 88-60=28 Moving to Node #0,0 Current State: 24:[26, 18, 28], Operations: ['88-60=28'] Exploring Operation: 26-18=8, Resulting Numbers: [28, 8] Generated Node #0,0,0: 24:[28, 8] Operation: 26-18=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[28, 8], Operations: ['88-60=28', '26-18=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 81, 5, 74, 76 ]
51
[ "74+76=150", "150/5=30", "81-30=51" ]
Current State: 51:[81, 5, 74, 76], Operations: [] Exploring Operation: 74+76=150, Resulting Numbers: [81, 5, 150] Generated Node #2: [81, 5, 150] from Operation: 74+76=150 Current State: 51:[81, 5, 150], Operations: ['74+76=150'] Exploring Operation: 150/5=30, Resulting Numbers: [81, 30] Generated Node #3: [81, 30] from Operation: 150/5=30 Current State: 51:[81, 30], Operations: ['74+76=150', '150/5=30'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[81, 5, 74, 76], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [5, 76, 7] Generated Node #0,0: 51:[5, 76, 7] Operation: 81-74=7 Exploring Operation: 81-76=5, Resulting Numbers: [5, 74, 5] Generated Node #0,1: 51:[5, 74, 5] Operation: 81-76=5 Exploring Operation: 81-5=76, Resulting Numbers: [74, 76, 76] Generated Node #0,2: 51:[74, 76, 76] Operation: 81-5=76 Exploring Operation: 74-5=69, Resulting Numbers: [81, 76, 69] Generated Node #0,3: 51:[81, 76, 69] Operation: 74-5=69 Exploring Operation: 76-74=2, Resulting Numbers: [81, 5, 2] Generated Node #0,4: 51:[81, 5, 2] Operation: 76-74=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[5, 74, 5], Operations: ['81-76=5'] Exploring Operation: 5+74=79, Resulting Numbers: [5, 79] Generated Node #0,1,0: 51:[5, 79] Operation: 5+74=79 Exploring Operation: 5/5=1, Resulting Numbers: [74, 1] Generated Node #0,1,1: 51:[74, 1] Operation: 5/5=1 Exploring Operation: 74-5=69, Resulting Numbers: [5, 69] Generated Node #0,1,2: 51:[5, 69] Operation: 74-5=69 Exploring Operation: 5-5=0, Resulting Numbers: [74, 0] Generated Node #0,1,3: 51:[74, 0] Operation: 5-5=0 Exploring Operation: 74-5=69, Resulting Numbers: [5, 69] Generated Node #0,1,4: 51:[5, 69] Operation: 74-5=69 Moving to Node #0,1,2 Current State: 51:[5, 69], Operations: ['81-76=5', '74-5=69'] Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,51 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[5, 69], Operations: ['81-76=5', '74-5=69'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[74, 1], Operations: ['81-76=5', '5/5=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[74, 0], Operations: ['81-76=5', '5-5=0'] Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 74*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[5, 79], Operations: ['81-76=5', '5+74=79'] Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,51 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,51 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[5, 76, 7], Operations: ['81-74=7'] Exploring Operation: 5+76=81, Resulting Numbers: [7, 81] Generated Node #0,0,0: 51:[7, 81] Operation: 5+76=81 Exploring Operation: 76-5=71, Resulting Numbers: [7, 71] Generated Node #0,0,1: 51:[7, 71] Operation: 76-5=71 Exploring Operation: 7-5=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 51:[76, 2] Operation: 7-5=2 Exploring Operation: 76-7=69, Resulting Numbers: [5, 69] Generated Node #0,0,3: 51:[5, 69] Operation: 76-7=69 Exploring Operation: 5+7=12, Resulting Numbers: [76, 12] Generated Node #0,0,4: 51:[76, 12] Operation: 5+7=12 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[5, 69], Operations: ['81-74=7', '76-7=69'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,51 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[7, 71], Operations: ['81-74=7', '76-5=71'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 7*71=497, Resulting Numbers: [497] 497,51 unequal: No Solution Exploring Operation: 7+71=78, Resulting Numbers: [78] 78,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[76, 2], Operations: ['81-74=7', '7-5=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,51 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 51:[76, 12], Operations: ['81-74=7', '5+7=12'] Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,51 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[7, 81], Operations: ['81-74=7', '5+76=81'] Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,51 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[81, 5, 2], Operations: ['76-74=2'] Exploring Operation: 81-5=76, Resulting Numbers: [2, 76] Generated Node #0,4,0: 51:[2, 76] Operation: 81-5=76 Exploring Operation: 5+2=7, Resulting Numbers: [81, 7] Generated Node #0,4,1: 51:[81, 7] Operation: 5+2=7 Exploring Operation: 5-2=3, Resulting Numbers: [81, 3] Generated Node #0,4,2: 51:[81, 3] Operation: 5-2=3 Exploring Operation: 81+2=83, Resulting Numbers: [5, 83] Generated Node #0,4,3: 51:[5, 83] Operation: 81+2=83 Exploring Operation: 81-2=79, Resulting Numbers: [5, 79] Generated Node #0,4,4: 51:[5, 79] Operation: 81-2=79 Moving to Node #0,4,0 Current State: 51:[2, 76], Operations: ['76-74=2', '81-5=76'] Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,51 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[5, 79], Operations: ['76-74=2', '81-2=79'] Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,51 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,51 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[81, 3], Operations: ['76-74=2', '5-2=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,51 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,51 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 81*3=243, Resulting Numbers: [243] 243,51 unequal: No Solution Moving to Node #0,4,1 Current State: 51:[81, 7], Operations: ['76-74=2', '5+2=7'] Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,51 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[5, 83], Operations: ['76-74=2', '81+2=83'] Exploring Operation: 5*83=415, Resulting Numbers: [415] 415,51 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,51 unequal: No Solution Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[74, 76, 76], Operations: ['81-5=76'] Exploring Operation: 76-74=2, Resulting Numbers: [76, 2] Generated Node #0,2,0: 51:[76, 2] Operation: 76-74=2 Exploring Operation: 76-74=2, Resulting Numbers: [76, 2] Generated Node #0,2,1: 51:[76, 2] Operation: 76-74=2 Exploring Operation: 76-76=0, Resulting Numbers: [74, 0] Generated Node #0,2,2: 51:[74, 0] Operation: 76-76=0 Exploring Operation: 76/76=1, Resulting Numbers: [74, 1] Generated Node #0,2,3: 51:[74, 1] Operation: 76/76=1 Exploring Operation: 74+76=150, Resulting Numbers: [76, 150] Generated Node #0,2,4: 51:[76, 150] Operation: 74+76=150 Moving to Node #0,2,3 Current State: 51:[74, 1], Operations: ['81-5=76', '76/76=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[76, 2], Operations: ['81-5=76', '76-74=2'] Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,51 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[76, 2], Operations: ['81-5=76', '76-74=2'] Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,51 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,51 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[74, 0], Operations: ['81-5=76', '76-76=0'] Exploring Operation: 74*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[76, 150], Operations: ['81-5=76', '74+76=150'] Exploring Operation: 150-76=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 76*150=11400, Resulting Numbers: [11400] 11400,51 unequal: No Solution Exploring Operation: 76+150=226, Resulting Numbers: [226] 226,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[81, 76, 69], Operations: ['74-5=69'] Exploring Operation: 81+76=157, Resulting Numbers: [69, 157] Generated Node #0,3,0: 51:[69, 157] Operation: 81+76=157 Exploring Operation: 81+69=150, Resulting Numbers: [76, 150] Generated Node #0,3,1: 51:[76, 150] Operation: 81+69=150 Exploring Operation: 76-69=7, Resulting Numbers: [81, 7] Generated Node #0,3,2: 51:[81, 7] Operation: 76-69=7 Exploring Operation: 81-69=12, Resulting Numbers: [76, 12] Generated Node #0,3,3: 51:[76, 12] Operation: 81-69=12 Exploring Operation: 81-76=5, Resulting Numbers: [69, 5] Generated Node #0,3,4: 51:[69, 5] Operation: 81-76=5 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 51:[69, 5], Operations: ['74-5=69', '81-76=5'] Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,51 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[76, 12], Operations: ['74-5=69', '81-69=12'] Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,51 unequal: No Solution Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[81, 7], Operations: ['74-5=69', '76-69=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,51 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[69, 157], Operations: ['74-5=69', '81+76=157'] Exploring Operation: 69+157=226, Resulting Numbers: [226] 226,51 unequal: No Solution Exploring Operation: 157-69=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 69*157=10833, Resulting Numbers: [10833] 10833,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[76, 150], Operations: ['74-5=69', '81+69=150'] Exploring Operation: 150-76=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 76+150=226, Resulting Numbers: [226] 226,51 unequal: No Solution Exploring Operation: 76*150=11400, Resulting Numbers: [11400] 11400,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 78, 66, 84, 24 ]
42
[ "78-66=12", "84*12=1008", "1008/24=42" ]
Current State: 42:[78, 66, 84, 24], Operations: [] Exploring Operation: 78-66=12, Resulting Numbers: [84, 24, 12] Generated Node #2: [84, 24, 12] from Operation: 78-66=12 Current State: 42:[84, 24, 12], Operations: ['78-66=12'] Exploring Operation: 84*12=1008, Resulting Numbers: [24, 1008] Generated Node #3: [24, 1008] from Operation: 84*12=1008 Current State: 42:[24, 1008], Operations: ['78-66=12', '84*12=1008'] Exploring Operation: 1008/24=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[78, 66, 84, 24], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [66, 24, 6] Generated Node #0,0: 42:[66, 24, 6] Operation: 84-78=6 Exploring Operation: 84-66=18, Resulting Numbers: [78, 24, 18] Generated Node #0,1: 42:[78, 24, 18] Operation: 84-66=18 Exploring Operation: 78-66=12, Resulting Numbers: [84, 24, 12] Generated Node #0,2: 42:[84, 24, 12] Operation: 78-66=12 Moving to Node #0,0 Current State: 42:[66, 24, 6], Operations: ['84-78=6'] Exploring Operation: 66-24=42, Resulting Numbers: [6, 42] Generated Node #0,0,0: 42:[6, 42] Operation: 66-24=42 Exploring Operation: 66-6=60, Resulting Numbers: [24, 60] Generated Node #0,0,1: 42:[24, 60] Operation: 66-6=60 Exploring Operation: 66/6=11, Resulting Numbers: [24, 11] Generated Node #0,0,2: 42:[24, 11] Operation: 66/6=11 Moving to Node #0,1 Current State: 42:[78, 24, 18], Operations: ['84-66=18'] Exploring Operation: 24+18=42, Resulting Numbers: [78, 42] Generated Node #0,1,0: 42:[78, 42] Operation: 24+18=42 Exploring Operation: 78-18=60, Resulting Numbers: [24, 60] Generated Node #0,1,1: 42:[24, 60] Operation: 78-18=60 Exploring Operation: 78-24=54, Resulting Numbers: [18, 54] Generated Node #0,1,2: 42:[18, 54] Operation: 78-24=54 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[18, 54], Operations: ['84-66=18', '78-24=54'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[24, 60], Operations: ['84-66=18', '78-18=60'] Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,42 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,42 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[78, 42], Operations: ['84-66=18', '24+18=42'] Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 78*42=3276, Resulting Numbers: [3276] 3276,42 unequal: No Solution Exploring Operation: 78+42=120, Resulting Numbers: [120] 120,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:[84, 24, 12], Operations: ['78-66=12'] Exploring Operation: 84-24=60, Resulting Numbers: [12, 60] Generated Node #0,2,0: 42:[12, 60] Operation: 84-24=60 Exploring Operation: 84/12=7, Resulting Numbers: [24, 7] Generated Node #0,2,1: 42:[24, 7] Operation: 84/12=7 Exploring Operation: 84-12=72, Resulting Numbers: [24, 72] Generated Node #0,2,2: 42:[24, 72] Operation: 84-12=72 Moving to Node #0,0,0 Current State: 42:[6, 42], Operations: ['84-78=6', '66-24=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[24, 7], Operations: ['78-66=12', '84/12=7'] Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[24, 11], Operations: ['84-78=6', '66/6=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[12, 60], Operations: ['78-66=12', '84-24=60'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[24, 60], Operations: ['84-78=6', '66-6=60'] Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,42 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[24, 72], Operations: ['78-66=12', '84-12=72'] Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 24+72=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 98, 90, 45 ]
28
[ "35*90=3150", "3150/45=70", "98-70=28" ]
Current State: 28:[35, 98, 90, 45], Operations: [] Exploring Operation: 35*90=3150, Resulting Numbers: [98, 45, 3150] Generated Node #2: [98, 45, 3150] from Operation: 35*90=3150 Current State: 28:[98, 45, 3150], Operations: ['35*90=3150'] Exploring Operation: 3150/45=70, Resulting Numbers: [98, 70] Generated Node #3: [98, 70] from Operation: 3150/45=70 Current State: 28:[98, 70], Operations: ['35*90=3150', '3150/45=70'] Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[35, 98, 90, 45], Operations: [] Exploring Operation: 98-45=53, Resulting Numbers: [35, 90, 53] Generated Node #0,0: 28:[35, 90, 53] Operation: 98-45=53 Exploring Operation: 90-45=45, Resulting Numbers: [35, 98, 45] Generated Node #0,1: 28:[35, 98, 45] Operation: 90-45=45 Exploring Operation: 98-35=63, Resulting Numbers: [90, 45, 63] Generated Node #0,2: 28:[90, 45, 63] Operation: 98-35=63 Exploring Operation: 98-90=8, Resulting Numbers: [35, 45, 8] Generated Node #0,3: 28:[35, 45, 8] Operation: 98-90=8 Exploring Operation: 90/45=2, Resulting Numbers: [35, 98, 2] Generated Node #0,4: 28:[35, 98, 2] Operation: 90/45=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[35, 45, 8], Operations: ['98-90=8'] Exploring Operation: 45-35=10, Resulting Numbers: [8, 10] Generated Node #0,3,0: 28:[8, 10] Operation: 45-35=10 Exploring Operation: 45+8=53, Resulting Numbers: [35, 53] Generated Node #0,3,1: 28:[35, 53] Operation: 45+8=53 Exploring Operation: 35+8=43, Resulting Numbers: [45, 43] Generated Node #0,3,2: 28:[45, 43] Operation: 35+8=43 Exploring Operation: 45-8=37, Resulting Numbers: [35, 37] Generated Node #0,3,3: 28:[35, 37] Operation: 45-8=37 Exploring Operation: 35-8=27, Resulting Numbers: [45, 27] Generated Node #0,3,4: 28:[45, 27] Operation: 35-8=27 Moving to Node #0,3,0 Current State: 28:[8, 10], Operations: ['98-90=8', '45-35=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,28 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[35, 37], Operations: ['98-90=8', '45-8=37'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,28 unequal: No Solution Moving to Node #0,3,4 Current State: 28:[45, 27], Operations: ['98-90=8', '35-8=27'] Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,28 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[35, 53], Operations: ['98-90=8', '45+8=53'] Exploring Operation: 35*53=1855, Resulting Numbers: [1855] 1855,28 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[45, 43], Operations: ['98-90=8', '35+8=43'] Exploring Operation: 45*43=1935, Resulting Numbers: [1935] 1935,28 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[35, 98, 2], Operations: ['90/45=2'] Exploring Operation: 98/2=49, Resulting Numbers: [35, 49] Generated Node #0,4,0: 28:[35, 49] Operation: 98/2=49 Exploring Operation: 35+2=37, Resulting Numbers: [98, 37] Generated Node #0,4,1: 28:[98, 37] Operation: 35+2=37 Exploring Operation: 98-2=96, Resulting Numbers: [35, 96] Generated Node #0,4,2: 28:[35, 96] Operation: 98-2=96 Exploring Operation: 98-35=63, Resulting Numbers: [2, 63] Generated Node #0,4,3: 28:[2, 63] Operation: 98-35=63 Exploring Operation: 35-2=33, Resulting Numbers: [98, 33] Generated Node #0,4,4: 28:[98, 33] Operation: 35-2=33 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 28:[35, 49], Operations: ['90/45=2', '98/2=49'] Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,28 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,28 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,28 unequal: No Solution No 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: 28:[2, 63], Operations: ['90/45=2', '98-35=63'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,28 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,28 unequal: No Solution No 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: 28:[35, 96], Operations: ['90/45=2', '98-2=96'] Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 35+96=131, Resulting Numbers: [131] 131,28 unequal: No Solution Exploring Operation: 35*96=3360, Resulting Numbers: [3360] 3360,28 unequal: No Solution No 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: 28:[98, 33], Operations: ['90/45=2', '35-2=33'] Exploring Operation: 98-33=65, Resulting Numbers: [65] 65,28 unequal: No Solution Exploring Operation: 98*33=3234, Resulting Numbers: [3234] 3234,28 unequal: No Solution Exploring Operation: 98+33=131, Resulting Numbers: [131] 131,28 unequal: No Solution No 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: 28:[98, 37], Operations: ['90/45=2', '35+2=37'] Exploring Operation: 98+37=135, Resulting Numbers: [135] 135,28 unequal: No Solution Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 98*37=3626, Resulting Numbers: [3626] 3626,28 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: 28:[35, 90, 53], Operations: ['98-45=53'] Exploring Operation: 53-35=18, Resulting Numbers: [90, 18] Generated Node #0,0,0: 28:[90, 18] Operation: 53-35=18 Exploring Operation: 90-35=55, Resulting Numbers: [53, 55] Generated Node #0,0,1: 28:[53, 55] Operation: 90-35=55 Exploring Operation: 90-53=37, Resulting Numbers: [35, 37] Generated Node #0,0,2: 28:[35, 37] Operation: 90-53=37 Exploring Operation: 35+53=88, Resulting Numbers: [90, 88] Generated Node #0,0,3: 28:[90, 88] Operation: 35+53=88 Exploring Operation: 35+90=125, Resulting Numbers: [53, 125] Generated Node #0,0,4: 28:[53, 125] Operation: 35+90=125 Moving to Node #0,0,2 Current State: 28:[35, 37], Operations: ['98-45=53', '90-53=37'] Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[53, 55], Operations: ['98-45=53', '90-35=55'] Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 53+55=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 53*55=2915, Resulting Numbers: [2915] 2915,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[90, 18], Operations: ['98-45=53', '53-35=18'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,28 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,28 unequal: No Solution Moving to Node #0,0,3 Current State: 28:[90, 88], Operations: ['98-45=53', '35+53=88'] Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 90+88=178, Resulting Numbers: [178] 178,28 unequal: No Solution Exploring Operation: 90*88=7920, Resulting Numbers: [7920] 7920,28 unequal: No Solution Moving to Node #0,0,4 Current State: 28:[53, 125], Operations: ['98-45=53', '35+90=125'] Exploring Operation: 53*125=6625, Resulting Numbers: [6625] 6625,28 unequal: No Solution Exploring Operation: 125-53=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 53+125=178, Resulting Numbers: [178] 178,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[35, 98, 45], Operations: ['90-45=45'] Exploring Operation: 98-45=53, Resulting Numbers: [35, 53] Generated Node #0,1,0: 28:[35, 53] Operation: 98-45=53 Exploring Operation: 35+45=80, Resulting Numbers: [98, 80] Generated Node #0,1,1: 28:[98, 80] Operation: 35+45=80 Exploring Operation: 45-35=10, Resulting Numbers: [98, 10] Generated Node #0,1,2: 28:[98, 10] Operation: 45-35=10 Exploring Operation: 98-35=63, Resulting Numbers: [45, 63] Generated Node #0,1,3: 28:[45, 63] Operation: 98-35=63 Exploring Operation: 35+98=133, Resulting Numbers: [45, 133] Generated Node #0,1,4: 28:[45, 133] Operation: 35+98=133 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[35, 53], Operations: ['90-45=45', '98-45=53'] Exploring Operation: 35*53=1855, Resulting Numbers: [1855] 1855,28 unequal: No Solution Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,28 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,28 unequal: No Solution No 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: 28:[45, 63], Operations: ['90-45=45', '98-35=63'] Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,28 unequal: No Solution No 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: 28:[98, 10], Operations: ['90-45=45', '45-35=10'] Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,28 unequal: No Solution Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,28 unequal: No Solution Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,28 unequal: No Solution No 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: 28:[98, 80], Operations: ['90-45=45', '35+45=80'] Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 98*80=7840, Resulting Numbers: [7840] 7840,28 unequal: No Solution Exploring Operation: 98+80=178, Resulting Numbers: [178] 178,28 unequal: No Solution No 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: 28:[45, 133], Operations: ['90-45=45', '35+98=133'] Exploring Operation: 45+133=178, Resulting Numbers: [178] 178,28 unequal: No Solution Exploring Operation: 133-45=88, Resulting Numbers: [88] 88,28 unequal: No Solution Exploring Operation: 45*133=5985, Resulting Numbers: [5985] 5985,28 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: 28:[90, 45, 63], Operations: ['98-35=63'] Exploring Operation: 90-63=27, Resulting Numbers: [45, 27] Generated Node #0,2,0: 28:[45, 27] Operation: 90-63=27 Exploring Operation: 90-45=45, Resulting Numbers: [63, 45] Generated Node #0,2,1: 28:[63, 45] Operation: 90-45=45 Exploring Operation: 90+45=135, Resulting Numbers: [63, 135] Generated Node #0,2,2: 28:[63, 135] Operation: 90+45=135 Exploring Operation: 90/45=2, Resulting Numbers: [63, 2] Generated Node #0,2,3: 28:[63, 2] Operation: 90/45=2 Exploring Operation: 63-45=18, Resulting Numbers: [90, 18] Generated Node #0,2,4: 28:[90, 18] Operation: 63-45=18 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[45, 27], Operations: ['98-35=63', '90-63=27'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,28 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,28 unequal: No Solution No 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: 28:[63, 2], Operations: ['98-35=63', '90/45=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,28 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,28 unequal: No Solution No 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: 28:[63, 45], Operations: ['98-35=63', '90-45=45'] Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,28 unequal: No Solution Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,28 unequal: No Solution No 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: 28:[90, 18], Operations: ['98-35=63', '63-45=18'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,28 unequal: No Solution No 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: 28:[63, 135], Operations: ['98-35=63', '90+45=135'] Exploring Operation: 63*135=8505, Resulting Numbers: [8505] 8505,28 unequal: No Solution Exploring Operation: 135-63=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 63+135=198, Resulting Numbers: [198] 198,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 84, 55, 61, 83 ]
64
[ "83-55=28", "84/28=3", "61+3=64" ]
Current State: 64:[84, 55, 61, 83], Operations: [] Exploring Operation: 83-55=28, Resulting Numbers: [84, 61, 28] Generated Node #2: [84, 61, 28] from Operation: 83-55=28 Current State: 64:[84, 61, 28], Operations: ['83-55=28'] Exploring Operation: 84/28=3, Resulting Numbers: [61, 3] Generated Node #3: [61, 3] from Operation: 84/28=3 Current State: 64:[61, 3], Operations: ['83-55=28', '84/28=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[84, 55, 61, 83], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [61, 83, 29] Generated Node #0,0: 64:[61, 83, 29] Operation: 84-55=29 Exploring Operation: 84-83=1, Resulting Numbers: [55, 61, 1] Generated Node #0,1: 64:[55, 61, 1] Operation: 84-83=1 Moving to Node #0,1 Current State: 64:[55, 61, 1], Operations: ['84-83=1'] Exploring Operation: 61-55=6, Resulting Numbers: [1, 6] Generated Node #0,1,0: 64:[1, 6] Operation: 61-55=6 Exploring Operation: 55+1=56, Resulting Numbers: [61, 56] Generated Node #0,1,1: 64:[61, 56] Operation: 55+1=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[1, 6], Operations: ['84-83=1', '61-55=6'] Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[61, 56], Operations: ['84-83=1', '55+1=56'] Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 61+56=117, Resulting Numbers: [117] 117,64 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: 64:[61, 83, 29], Operations: ['84-55=29'] Exploring Operation: 83-61=22, Resulting Numbers: [29, 22] Generated Node #0,0,0: 64:[29, 22] Operation: 83-61=22 Exploring Operation: 83-29=54, Resulting Numbers: [61, 54] Generated Node #0,0,1: 64:[61, 54] Operation: 83-29=54 Moving to Node #0,0,0 Current State: 64:[29, 22], Operations: ['84-55=29', '83-61=22'] Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[61, 54], Operations: ['84-55=29', '83-29=54'] Exploring Operation: 61+54=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,64 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 89, 63, 9, 31 ]
65
[ "89-31=58", "63/9=7", "58+7=65" ]
Current State: 65:[89, 63, 9, 31], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [63, 9, 58] Generated Node #2: [63, 9, 58] from Operation: 89-31=58 Current State: 65:[63, 9, 58], Operations: ['89-31=58'] Exploring Operation: 63/9=7, Resulting Numbers: [58, 7] Generated Node #3: [58, 7] from Operation: 63/9=7 Current State: 65:[58, 7], Operations: ['89-31=58', '63/9=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[89, 63, 9, 31], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [63, 9, 58] Generated Node #0,0: 65:[63, 9, 58] Operation: 89-31=58 Exploring Operation: 89-63=26, Resulting Numbers: [9, 31, 26] Generated Node #0,1: 65:[9, 31, 26] Operation: 89-63=26 Exploring Operation: 89-9=80, Resulting Numbers: [63, 31, 80] Generated Node #0,2: 65:[63, 31, 80] Operation: 89-9=80 Exploring Operation: 31-9=22, Resulting Numbers: [89, 63, 22] Generated Node #0,3: 65:[89, 63, 22] Operation: 31-9=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[63, 9, 58], Operations: ['89-31=58'] Exploring Operation: 63/9=7, Resulting Numbers: [58, 7] Generated Node #0,0,0: 65:[58, 7] Operation: 63/9=7 Exploring Operation: 63-58=5, Resulting Numbers: [9, 5] Generated Node #0,0,1: 65:[9, 5] Operation: 63-58=5 Exploring Operation: 63+9=72, Resulting Numbers: [58, 72] Generated Node #0,0,2: 65:[58, 72] Operation: 63+9=72 Exploring Operation: 9+58=67, Resulting Numbers: [63, 67] Generated Node #0,0,3: 65:[63, 67] Operation: 9+58=67 Moving to Node #0,0,1 Current State: 65:[9, 5], Operations: ['89-31=58', '63-58=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,65 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[63, 67], Operations: ['89-31=58', '9+58=67'] Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,65 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,65 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[58, 7], Operations: ['89-31=58', '63/9=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,65 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[89, 63, 9, 31], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [63, 9, 58] Generated Node #0,0: 65:[63, 9, 58] Operation: 89-31=58 Moving to Node #0,0 Current State: 65:[63, 9, 58], Operations: ['89-31=58'] Exploring Operation: 63/9=7, Resulting Numbers: [58, 7] Generated Node #0,0,0: 65:[58, 7] Operation: 63/9=7 Moving to Node #0,0,0 Current State: 65:[58, 7], Operations: ['89-31=58', '63/9=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 1, 29, 2, 26 ]
12
[ "29-1=28", "28/2=14", "26-14=12" ]
Current State: 12:[1, 29, 2, 26], Operations: [] Exploring Operation: 29-1=28, Resulting Numbers: [2, 26, 28] Generated Node #2: [2, 26, 28] from Operation: 29-1=28 Current State: 12:[2, 26, 28], Operations: ['29-1=28'] Exploring Operation: 28/2=14, Resulting Numbers: [26, 14] Generated Node #3: [26, 14] from Operation: 28/2=14 Current State: 12:[26, 14], Operations: ['29-1=28', '28/2=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[1, 29, 2, 26], Operations: [] Exploring Operation: 29-26=3, Resulting Numbers: [1, 2, 3] Generated Node #0,0: 12:[1, 2, 3] Operation: 29-26=3 Exploring Operation: 26/2=13, Resulting Numbers: [1, 29, 13] Generated Node #0,1: 12:[1, 29, 13] Operation: 26/2=13 Exploring Operation: 29-1=28, Resulting Numbers: [2, 26, 28] Generated Node #0,2: 12:[2, 26, 28] Operation: 29-1=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[1, 2, 3], Operations: ['29-26=3'] Exploring Operation: 1+2=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 12:[3, 3] Operation: 1+2=3 Exploring Operation: 2/1=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 12:[3, 2] Operation: 2/1=2 Exploring Operation: 1*2=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 12:[3, 2] Operation: 1*2=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[3, 3], Operations: ['29-26=3', '1+2=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[3, 2], Operations: ['29-26=3', '2/1=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[3, 2], Operations: ['29-26=3', '1*2=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[1, 29, 13], Operations: ['26/2=13'] Exploring Operation: 29-1=28, Resulting Numbers: [13, 28] Generated Node #0,1,0: 12:[13, 28] Operation: 29-1=28 Exploring Operation: 29-13=16, Resulting Numbers: [1, 16] Generated Node #0,1,1: 12:[1, 16] Operation: 29-13=16 Exploring Operation: 13-1=12, Resulting Numbers: [29, 12] Generated Node #0,1,2: 12:[29, 12] Operation: 13-1=12 Moving to Node #0,1,1 Current State: 12:[1, 16], Operations: ['26/2=13', '29-13=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[13, 28], Operations: ['26/2=13', '29-1=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,12 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[29, 12], Operations: ['26/2=13', '13-1=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,12 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,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,2 Current State: 12:[2, 26, 28], Operations: ['29-1=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2, 2] Generated Node #0,2,0: 12:[2, 2] Operation: 28-26=2 Exploring Operation: 26/2=13, Resulting Numbers: [28, 13] Generated Node #0,2,1: 12:[28, 13] Operation: 26/2=13 Exploring Operation: 28/2=14, Resulting Numbers: [26, 14] Generated Node #0,2,2: 12:[26, 14] Operation: 28/2=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[2, 2], Operations: ['29-1=28', '28-26=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[26, 14], Operations: ['29-1=28', '28/2=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[1, 29, 2, 26], Operations: [] Exploring Operation: 29-1=28, Resulting Numbers: [2, 26, 28] Generated Node #0,2: 12:[2, 26, 28] Operation: 29-1=28 Moving to Node #0,2 Current State: 12:[2, 26, 28], Operations: ['29-1=28'] Exploring Operation: 28/2=14, Resulting Numbers: [26, 14] Generated Node #0,2,2: 12:[26, 14] Operation: 28/2=14 Moving to Node #0,2,2 Current State: 12:[26, 14], Operations: ['29-1=28', '28/2=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_3
mult_heuristic
[ 32, 43, 6, 12 ]
83
[ "43-32=11", "6*12=72", "11+72=83" ]
Current State: 83:[32, 43, 6, 12], Operations: [] Exploring Operation: 43-32=11, Resulting Numbers: [6, 12, 11] Generated Node #2: [6, 12, 11] from Operation: 43-32=11 Current State: 83:[6, 12, 11], Operations: ['43-32=11'] Exploring Operation: 6*12=72, Resulting Numbers: [11, 72] Generated Node #3: [11, 72] from Operation: 6*12=72 Current State: 83:[11, 72], Operations: ['43-32=11', '6*12=72'] Exploring Operation: 11+72=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[32, 43, 6, 12], Operations: [] Exploring Operation: 6*12=72, Resulting Numbers: [32, 43, 72] Generated Node #0,0: 83:[32, 43, 72] Operation: 6*12=72 Exploring Operation: 32+43=75, Resulting Numbers: [6, 12, 75] Generated Node #0,1: 83:[6, 12, 75] Operation: 32+43=75 Exploring Operation: 32+6=38, Resulting Numbers: [43, 12, 38] Generated Node #0,2: 83:[43, 12, 38] Operation: 32+6=38 Exploring Operation: 32+12=44, Resulting Numbers: [43, 6, 44] Generated Node #0,3: 83:[43, 6, 44] Operation: 32+12=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[32, 43, 72], Operations: ['6*12=72'] Exploring Operation: 72-32=40, Resulting Numbers: [43, 40] Generated Node #0,0,0: 83:[43, 40] Operation: 72-32=40 Exploring Operation: 32+43=75, Resulting Numbers: [72, 75] Generated Node #0,0,1: 83:[72, 75] Operation: 32+43=75 Exploring Operation: 32+72=104, Resulting Numbers: [43, 104] Generated Node #0,0,2: 83:[43, 104] Operation: 32+72=104 Exploring Operation: 43-32=11, Resulting Numbers: [72, 11] Generated Node #0,0,3: 83:[72, 11] Operation: 43-32=11 Moving to Node #0,0,1 Current State: 83:[72, 75], Operations: ['6*12=72', '32+43=75'] Exploring Operation: 72+75=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 72*75=5400, Resulting Numbers: [5400] 5400,83 unequal: No Solution Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[43, 104], Operations: ['6*12=72', '32+72=104'] Exploring Operation: 104-43=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 43*104=4472, Resulting Numbers: [4472] 4472,83 unequal: No Solution Exploring Operation: 43+104=147, Resulting Numbers: [147] 147,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[72, 11], Operations: ['6*12=72', '43-32=11'] Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[32, 43, 6, 12], Operations: [] Exploring Operation: 6*12=72, Resulting Numbers: [32, 43, 72] Generated Node #0,0: 83:[32, 43, 72] Operation: 6*12=72 Moving to Node #0,0 Current State: 83:[32, 43, 72], Operations: ['6*12=72'] Exploring Operation: 43-32=11, Resulting Numbers: [72, 11] Generated Node #0,0,3: 83:[72, 11] Operation: 43-32=11 Moving to Node #0,0,3 Current State: 83:[72, 11], Operations: ['6*12=72', '43-32=11'] Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 28, 11, 87, 50 ]
20
[ "28-11=17", "87-50=37", "37-17=20" ]
Current State: 20:[28, 11, 87, 50], Operations: [] Exploring Operation: 28-11=17, Resulting Numbers: [87, 50, 17] Generated Node #2: [87, 50, 17] from Operation: 28-11=17 Current State: 20:[87, 50, 17], Operations: ['28-11=17'] Exploring Operation: 87-50=37, Resulting Numbers: [17, 37] Generated Node #3: [17, 37] from Operation: 87-50=37 Current State: 20:[17, 37], Operations: ['28-11=17', '87-50=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[28, 11, 87, 50], Operations: [] Exploring Operation: 87-28=59, Resulting Numbers: [11, 50, 59] Generated Node #0,0: 20:[11, 50, 59] Operation: 87-28=59 Exploring Operation: 87-50=37, Resulting Numbers: [28, 11, 37] Generated Node #0,1: 20:[28, 11, 37] Operation: 87-50=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[28, 11, 37], Operations: ['87-50=37'] Exploring Operation: 37-11=26, Resulting Numbers: [28, 26] Generated Node #0,1,0: 20:[28, 26] Operation: 37-11=26 Exploring Operation: 37-28=9, Resulting Numbers: [11, 9] Generated Node #0,1,1: 20:[11, 9] Operation: 37-28=9 Moving to Node #0,1,1 Current State: 20:[11, 9], Operations: ['87-50=37', '37-28=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[28, 11, 87, 50], Operations: [] Exploring Operation: 87-50=37, Resulting Numbers: [28, 11, 37] Generated Node #0,1: 20:[28, 11, 37] Operation: 87-50=37 Moving to Node #0,1 Current State: 20:[28, 11, 37], Operations: ['87-50=37'] Exploring Operation: 37-28=9, Resulting Numbers: [11, 9] Generated Node #0,1,1: 20:[11, 9] Operation: 37-28=9 Moving to Node #0,1,1 Current State: 20:[11, 9], Operations: ['87-50=37', '37-28=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 29, 95, 11, 8 ]
19
[ "29+11=40", "95*8=760", "760/40=19" ]
Current State: 19:[29, 95, 11, 8], Operations: [] Exploring Operation: 29+11=40, Resulting Numbers: [95, 8, 40] Generated Node #2: [95, 8, 40] from Operation: 29+11=40 Current State: 19:[95, 8, 40], Operations: ['29+11=40'] Exploring Operation: 95*8=760, Resulting Numbers: [40, 760] Generated Node #3: [40, 760] from Operation: 95*8=760 Current State: 19:[40, 760], Operations: ['29+11=40', '95*8=760'] Exploring Operation: 760/40=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[29, 95, 11, 8], Operations: [] Exploring Operation: 29-8=21, Resulting Numbers: [95, 11, 21] Generated Node #0,0: 19:[95, 11, 21] Operation: 29-8=21 Exploring Operation: 95-29=66, Resulting Numbers: [11, 8, 66] Generated Node #0,1: 19:[11, 8, 66] Operation: 95-29=66 Exploring Operation: 95-11=84, Resulting Numbers: [29, 8, 84] Generated Node #0,2: 19:[29, 8, 84] Operation: 95-11=84 Exploring Operation: 11+8=19, Resulting Numbers: [29, 95, 19] Generated Node #0,3: 19:[29, 95, 19] Operation: 11+8=19 Exploring Operation: 95-8=87, Resulting Numbers: [29, 11, 87] Generated Node #0,4: 19:[29, 11, 87] Operation: 95-8=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[11, 8, 66], Operations: ['95-29=66'] Exploring Operation: 11-8=3, Resulting Numbers: [66, 3] Generated Node #0,1,0: 19:[66, 3] Operation: 11-8=3 Exploring Operation: 66-8=58, Resulting Numbers: [11, 58] Generated Node #0,1,1: 19:[11, 58] Operation: 66-8=58 Exploring Operation: 66/11=6, Resulting Numbers: [8, 6] Generated Node #0,1,2: 19:[8, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [8, 55] Generated Node #0,1,3: 19:[8, 55] Operation: 66-11=55 Exploring Operation: 11+8=19, Resulting Numbers: [66, 19] Generated Node #0,1,4: 19:[66, 19] Operation: 11+8=19 Moving to Node #0,1,2 Current State: 19:[8, 6], Operations: ['95-29=66', '66/11=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[8, 55], Operations: ['95-29=66', '66-11=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,19 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[11, 58], Operations: ['95-29=66', '66-8=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,19 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,19 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,1,4 Current State: 19:[66, 19], Operations: ['95-29=66', '11+8=19'] Exploring Operation: 66+19=85, Resulting Numbers: [85] 85,19 unequal: No Solution Exploring Operation: 66*19=1254, Resulting Numbers: [1254] 1254,19 unequal: No Solution Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[66, 3], Operations: ['95-29=66', '11-8=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,19 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[95, 11, 21], Operations: ['29-8=21'] Exploring Operation: 11+21=32, Resulting Numbers: [95, 32] Generated Node #0,0,0: 19:[95, 32] Operation: 11+21=32 Exploring Operation: 95-21=74, Resulting Numbers: [11, 74] Generated Node #0,0,1: 19:[11, 74] Operation: 95-21=74 Exploring Operation: 95+11=106, Resulting Numbers: [21, 106] Generated Node #0,0,2: 19:[21, 106] Operation: 95+11=106 Exploring Operation: 95-11=84, Resulting Numbers: [21, 84] Generated Node #0,0,3: 19:[21, 84] Operation: 95-11=84 Exploring Operation: 21-11=10, Resulting Numbers: [95, 10] Generated Node #0,0,4: 19:[95, 10] Operation: 21-11=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[11, 74], Operations: ['29-8=21', '95-21=74'] Exploring Operation: 11+74=85, Resulting Numbers: [85] 85,19 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 11*74=814, Resulting Numbers: [814] 814,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,3 Current State: 19:[21, 84], Operations: ['29-8=21', '95-11=84'] Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,19 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 21*84=1764, Resulting Numbers: [1764] 1764,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,4 Current State: 19:[95, 10], Operations: ['29-8=21', '21-11=10'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,19 unequal: No Solution Exploring Operation: 95+10=105, Resulting Numbers: [105] 105,19 unequal: No Solution Exploring Operation: 95*10=950, Resulting Numbers: [950] 950,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:[95, 32], Operations: ['29-8=21', '11+21=32'] Exploring Operation: 95*32=3040, Resulting Numbers: [3040] 3040,19 unequal: No Solution Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 95+32=127, Resulting Numbers: [127] 127,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[21, 106], Operations: ['29-8=21', '95+11=106'] Exploring Operation: 21*106=2226, Resulting Numbers: [2226] 2226,19 unequal: No Solution Exploring Operation: 106-21=85, Resulting Numbers: [85] 85,19 unequal: No Solution Exploring Operation: 21+106=127, Resulting Numbers: [127] 127,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,2 Current State: 19:[29, 8, 84], Operations: ['95-11=84'] Exploring Operation: 29-8=21, Resulting Numbers: [84, 21] Generated Node #0,2,0: 19:[84, 21] Operation: 29-8=21 Exploring Operation: 84-8=76, Resulting Numbers: [29, 76] Generated Node #0,2,1: 19:[29, 76] Operation: 84-8=76 Exploring Operation: 84-29=55, Resulting Numbers: [8, 55] Generated Node #0,2,2: 19:[8, 55] Operation: 84-29=55 Exploring Operation: 29+8=37, Resulting Numbers: [84, 37] Generated Node #0,2,3: 19:[84, 37] Operation: 29+8=37 Exploring Operation: 8+84=92, Resulting Numbers: [29, 92] Generated Node #0,2,4: 19:[29, 92] Operation: 8+84=92 Moving to Node #0,2,2 Current State: 19:[8, 55], Operations: ['95-11=84', '84-29=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,19 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[29, 76], Operations: ['95-11=84', '84-8=76'] Exploring Operation: 29+76=105, Resulting Numbers: [105] 105,19 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 29*76=2204, Resulting Numbers: [2204] 2204,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[84, 21], Operations: ['95-11=84', '29-8=21'] Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,19 unequal: No Solution Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[84, 37], Operations: ['95-11=84', '29+8=37'] Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,19 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,19 unequal: No Solution Moving to Node #0,2,4 Current State: 19:[29, 92], Operations: ['95-11=84', '8+84=92'] Exploring Operation: 29+92=121, Resulting Numbers: [121] 121,19 unequal: No Solution Exploring Operation: 29*92=2668, Resulting Numbers: [2668] 2668,19 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[29, 95, 19], Operations: ['11+8=19'] Exploring Operation: 29-19=10, Resulting Numbers: [95, 10] Generated Node #0,3,0: 19:[95, 10] Operation: 29-19=10 Exploring Operation: 29+95=124, Resulting Numbers: [19, 124] Generated Node #0,3,1: 19:[19, 124] Operation: 29+95=124 Exploring Operation: 95-19=76, Resulting Numbers: [29, 76] Generated Node #0,3,2: 19:[29, 76] Operation: 95-19=76 Exploring Operation: 95/19=5, Resulting Numbers: [29, 5] Generated Node #0,3,3: 19:[29, 5] Operation: 95/19=5 Exploring Operation: 95-29=66, Resulting Numbers: [19, 66] Generated Node #0,3,4: 19:[19, 66] Operation: 95-29=66 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 19:[29, 5], Operations: ['11+8=19', '95/19=5'] Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,19 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,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,3,4 Current State: 19:[19, 66], Operations: ['11+8=19', '95-29=66'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,19 unequal: No Solution Exploring Operation: 19*66=1254, Resulting Numbers: [1254] 1254,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,3,2 Current State: 19:[29, 76], Operations: ['11+8=19', '95-19=76'] Exploring Operation: 29+76=105, Resulting Numbers: [105] 105,19 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 29*76=2204, Resulting Numbers: [2204] 2204,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,3,0 Current State: 19:[95, 10], Operations: ['11+8=19', '29-19=10'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,19 unequal: No Solution Exploring Operation: 95+10=105, Resulting Numbers: [105] 105,19 unequal: No Solution Exploring Operation: 95*10=950, Resulting Numbers: [950] 950,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,3,1 Current State: 19:[19, 124], Operations: ['11+8=19', '29+95=124'] Exploring Operation: 19+124=143, Resulting Numbers: [143] 143,19 unequal: No Solution Exploring Operation: 19*124=2356, Resulting Numbers: [2356] 2356,19 unequal: No Solution Exploring Operation: 124-19=105, Resulting Numbers: [105] 105,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,4 Current State: 19:[29, 11, 87], Operations: ['95-8=87'] Exploring Operation: 87-29=58, Resulting Numbers: [11, 58] Generated Node #0,4,0: 19:[11, 58] Operation: 87-29=58 Exploring Operation: 87/29=3, Resulting Numbers: [11, 3] Generated Node #0,4,1: 19:[11, 3] Operation: 87/29=3 Exploring Operation: 29-11=18, Resulting Numbers: [87, 18] Generated Node #0,4,2: 19:[87, 18] Operation: 29-11=18 Exploring Operation: 87-11=76, Resulting Numbers: [29, 76] Generated Node #0,4,3: 19:[29, 76] Operation: 87-11=76 Exploring Operation: 29+11=40, Resulting Numbers: [87, 40] Generated Node #0,4,4: 19:[87, 40] Operation: 29+11=40 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 19:[11, 3], Operations: ['95-8=87', '87/29=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,4,0 Current State: 19:[11, 58], Operations: ['95-8=87', '87-29=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,19 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,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,4,3 Current State: 19:[29, 76], Operations: ['95-8=87', '87-11=76'] Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 29*76=2204, Resulting Numbers: [2204] 2204,19 unequal: No Solution Exploring Operation: 29+76=105, Resulting Numbers: [105] 105,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,4,2 Current State: 19:[87, 18], Operations: ['95-8=87', '29-11=18'] Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,19 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,19 unequal: No Solution Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,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,4,4 Current State: 19:[87, 40], Operations: ['95-8=87', '29+11=40'] Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,19 unequal: No Solution Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,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_5
mult_heuristic
[ 17, 24, 62, 98 ]
48
[ "24-17=7", "98/7=14", "62-14=48" ]
Current State: 48:[17, 24, 62, 98], Operations: [] Exploring Operation: 24-17=7, Resulting Numbers: [62, 98, 7] Generated Node #2: [62, 98, 7] from Operation: 24-17=7 Current State: 48:[62, 98, 7], Operations: ['24-17=7'] Exploring Operation: 98/7=14, Resulting Numbers: [62, 14] Generated Node #3: [62, 14] from Operation: 98/7=14 Current State: 48:[62, 14], Operations: ['24-17=7', '98/7=14'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[17, 24, 62, 98], Operations: [] Exploring Operation: 62-17=45, Resulting Numbers: [24, 98, 45] Generated Node #0,0: 48:[24, 98, 45] Operation: 62-17=45 Exploring Operation: 98-17=81, Resulting Numbers: [24, 62, 81] Generated Node #0,1: 48:[24, 62, 81] Operation: 98-17=81 Exploring Operation: 98-62=36, Resulting Numbers: [17, 24, 36] Generated Node #0,2: 48:[17, 24, 36] Operation: 98-62=36 Exploring Operation: 98-24=74, Resulting Numbers: [17, 62, 74] Generated Node #0,3: 48:[17, 62, 74] Operation: 98-24=74 Moving to Node #0,2 Current State: 48:[17, 24, 36], Operations: ['98-62=36'] Exploring Operation: 36-24=12, Resulting Numbers: [17, 12] Generated Node #0,2,0: 48:[17, 12] Operation: 36-24=12 Exploring Operation: 24-17=7, Resulting Numbers: [36, 7] Generated Node #0,2,1: 48:[36, 7] Operation: 24-17=7 Exploring Operation: 17+36=53, Resulting Numbers: [24, 53] Generated Node #0,2,2: 48:[24, 53] Operation: 17+36=53 Exploring Operation: 36-17=19, Resulting Numbers: [24, 19] Generated Node #0,2,3: 48:[24, 19] Operation: 36-17=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[17, 12], Operations: ['98-62=36', '36-24=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,48 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[24, 19], Operations: ['98-62=36', '36-17=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,48 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[24, 53], Operations: ['98-62=36', '17+36=53'] Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,48 unequal: No Solution Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,48 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[36, 7], Operations: ['98-62=36', '24-17=7'] Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 36*7=252, Resulting Numbers: [252] 252,48 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 48:[17, 62, 74], Operations: ['98-24=74'] Exploring Operation: 62-17=45, Resulting Numbers: [74, 45] Generated Node #0,3,0: 48:[74, 45] Operation: 62-17=45 Exploring Operation: 17+62=79, Resulting Numbers: [74, 79] Generated Node #0,3,1: 48:[74, 79] Operation: 17+62=79 Exploring Operation: 74-17=57, Resulting Numbers: [62, 57] Generated Node #0,3,2: 48:[62, 57] Operation: 74-17=57 Exploring Operation: 74-62=12, Resulting Numbers: [17, 12] Generated Node #0,3,3: 48:[17, 12] Operation: 74-62=12 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[17, 12], Operations: ['98-24=74', '74-62=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[62, 57], Operations: ['98-24=74', '74-17=57'] Exploring Operation: 62*57=3534, Resulting Numbers: [3534] 3534,48 unequal: No Solution Exploring Operation: 62+57=119, Resulting Numbers: [119] 119,48 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[74, 45], Operations: ['98-24=74', '62-17=45'] Exploring Operation: 74*45=3330, Resulting Numbers: [3330] 3330,48 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 74+45=119, Resulting Numbers: [119] 119,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[74, 79], Operations: ['98-24=74', '17+62=79'] Exploring Operation: 74*79=5846, Resulting Numbers: [5846] 5846,48 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 74+79=153, Resulting Numbers: [153] 153,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:[24, 62, 81], Operations: ['98-17=81'] Exploring Operation: 62-24=38, Resulting Numbers: [81, 38] Generated Node #0,1,0: 48:[81, 38] Operation: 62-24=38 Exploring Operation: 81-62=19, Resulting Numbers: [24, 19] Generated Node #0,1,1: 48:[24, 19] Operation: 81-62=19 Exploring Operation: 81-24=57, Resulting Numbers: [62, 57] Generated Node #0,1,2: 48:[62, 57] Operation: 81-24=57 Exploring Operation: 24+62=86, Resulting Numbers: [81, 86] Generated Node #0,1,3: 48:[81, 86] Operation: 24+62=86 Moving to Node #0,0 Current State: 48:[24, 98, 45], Operations: ['62-17=45'] Exploring Operation: 98-24=74, Resulting Numbers: [45, 74] Generated Node #0,0,0: 48:[45, 74] Operation: 98-24=74 Exploring Operation: 24+45=69, Resulting Numbers: [98, 69] Generated Node #0,0,1: 48:[98, 69] Operation: 24+45=69 Exploring Operation: 45-24=21, Resulting Numbers: [98, 21] Generated Node #0,0,2: 48:[98, 21] Operation: 45-24=21 Exploring Operation: 98-45=53, Resulting Numbers: [24, 53] Generated Node #0,0,3: 48:[24, 53] Operation: 98-45=53 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[24, 53], Operations: ['62-17=45', '98-45=53'] Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,48 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[45, 74], Operations: ['62-17=45', '98-24=74'] Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 45+74=119, Resulting Numbers: [119] 119,48 unequal: No Solution Exploring Operation: 45*74=3330, Resulting Numbers: [3330] 3330,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[98, 21], Operations: ['62-17=45', '45-24=21'] Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,48 unequal: No Solution Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,48 unequal: No Solution Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,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:[98, 69], Operations: ['62-17=45', '24+45=69'] Exploring Operation: 98-69=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 98+69=167, Resulting Numbers: [167] 167,48 unequal: No Solution Exploring Operation: 98*69=6762, Resulting Numbers: [6762] 6762,48 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: 48:[24, 19], Operations: ['98-17=81', '81-62=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,48 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[62, 57], Operations: ['98-17=81', '81-24=57'] Exploring Operation: 62+57=119, Resulting Numbers: [119] 119,48 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 62*57=3534, Resulting Numbers: [3534] 3534,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[81, 38], Operations: ['98-17=81', '62-24=38'] Exploring Operation: 81*38=3078, Resulting Numbers: [3078] 3078,48 unequal: No Solution Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 81+38=119, Resulting Numbers: [119] 119,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[81, 86], Operations: ['98-17=81', '24+62=86'] Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 81+86=167, Resulting Numbers: [167] 167,48 unequal: No Solution Exploring Operation: 81*86=6966, Resulting Numbers: [6966] 6966,48 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 51, 31, 7, 15 ]
60
[ "51+31=82", "7+15=22", "82-22=60" ]
Current State: 60:[51, 31, 7, 15], Operations: [] Exploring Operation: 51+31=82, Resulting Numbers: [7, 15, 82] Generated Node #2: [7, 15, 82] from Operation: 51+31=82 Current State: 60:[7, 15, 82], Operations: ['51+31=82'] Exploring Operation: 7+15=22, Resulting Numbers: [82, 22] Generated Node #3: [82, 22] from Operation: 7+15=22 Current State: 60:[82, 22], Operations: ['51+31=82', '7+15=22'] Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[51, 31, 7, 15], Operations: [] Exploring Operation: 51+7=58, Resulting Numbers: [31, 15, 58] Generated Node #0,0: 60:[31, 15, 58] Operation: 51+7=58 Exploring Operation: 31-15=16, Resulting Numbers: [51, 7, 16] Generated Node #0,1: 60:[51, 7, 16] Operation: 31-15=16 Exploring Operation: 51-15=36, Resulting Numbers: [31, 7, 36] Generated Node #0,2: 60:[31, 7, 36] Operation: 51-15=36 Exploring Operation: 51+15=66, Resulting Numbers: [31, 7, 66] Generated Node #0,3: 60:[31, 7, 66] Operation: 51+15=66 Exploring Operation: 51-31=20, Resulting Numbers: [7, 15, 20] Generated Node #0,4: 60:[7, 15, 20] Operation: 51-31=20 Moving to Node #0,4 Current State: 60:[7, 15, 20], Operations: ['51-31=20'] Exploring Operation: 20-15=5, Resulting Numbers: [7, 5] Generated Node #0,4,0: 60:[7, 5] Operation: 20-15=5 Exploring Operation: 15-7=8, Resulting Numbers: [20, 8] Generated Node #0,4,1: 60:[20, 8] Operation: 15-7=8 Exploring Operation: 7+20=27, Resulting Numbers: [15, 27] Generated Node #0,4,2: 60:[15, 27] Operation: 7+20=27 Exploring Operation: 20-7=13, Resulting Numbers: [15, 13] Generated Node #0,4,3: 60:[15, 13] Operation: 20-7=13 Exploring Operation: 7+15=22, Resulting Numbers: [20, 22] Generated Node #0,4,4: 60:[20, 22] Operation: 7+15=22 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 60:[7, 5], Operations: ['51-31=20', '20-15=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 60:[15, 13], Operations: ['51-31=20', '20-7=13'] Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,60 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 60:[20, 8], Operations: ['51-31=20', '15-7=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 60:[20, 22], Operations: ['51-31=20', '7+15=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,60 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 60:[15, 27], Operations: ['51-31=20', '7+20=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,60 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: 60:[31, 15, 58], Operations: ['51+7=58'] Exploring Operation: 15+58=73, Resulting Numbers: [31, 73] Generated Node #0,0,0: 60:[31, 73] Operation: 15+58=73 Exploring Operation: 58-15=43, Resulting Numbers: [31, 43] Generated Node #0,0,1: 60:[31, 43] Operation: 58-15=43 Exploring Operation: 31+15=46, Resulting Numbers: [58, 46] Generated Node #0,0,2: 60:[58, 46] Operation: 31+15=46 Exploring Operation: 31-15=16, Resulting Numbers: [58, 16] Generated Node #0,0,3: 60:[58, 16] Operation: 31-15=16 Exploring Operation: 58-31=27, Resulting Numbers: [15, 27] Generated Node #0,0,4: 60:[15, 27] Operation: 58-31=27 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 60:[58, 16], Operations: ['51+7=58', '31-15=16'] Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 58*16=928, Resulting Numbers: [928] 928,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 60:[15, 27], Operations: ['51+7=58', '58-31=27'] Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,60 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[31, 73], Operations: ['51+7=58', '15+58=73'] Exploring Operation: 31+73=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 31*73=2263, Resulting Numbers: [2263] 2263,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[31, 43], Operations: ['51+7=58', '58-15=43'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[58, 46], Operations: ['51+7=58', '31+15=46'] Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,60 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,60 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: 60:[31, 7, 36], Operations: ['51-15=36'] Exploring Operation: 36-31=5, Resulting Numbers: [7, 5] Generated Node #0,2,0: 60:[7, 5] Operation: 36-31=5 Exploring Operation: 31-7=24, Resulting Numbers: [36, 24] Generated Node #0,2,1: 60:[36, 24] Operation: 31-7=24 Exploring Operation: 31+36=67, Resulting Numbers: [7, 67] Generated Node #0,2,2: 60:[7, 67] Operation: 31+36=67 Exploring Operation: 36-7=29, Resulting Numbers: [31, 29] Generated Node #0,2,3: 60:[31, 29] Operation: 36-7=29 Exploring Operation: 31+7=38, Resulting Numbers: [36, 38] Generated Node #0,2,4: 60:[36, 38] Operation: 31+7=38 Moving to Node #0,3 Current State: 60:[31, 7, 66], Operations: ['51+15=66'] Exploring Operation: 7+66=73, Resulting Numbers: [31, 73] Generated Node #0,3,0: 60:[31, 73] Operation: 7+66=73 Exploring Operation: 31-7=24, Resulting Numbers: [66, 24] Generated Node #0,3,1: 60:[66, 24] Operation: 31-7=24 Exploring Operation: 31+7=38, Resulting Numbers: [66, 38] Generated Node #0,3,2: 60:[66, 38] Operation: 31+7=38 Exploring Operation: 66-31=35, Resulting Numbers: [7, 35] Generated Node #0,3,3: 60:[7, 35] Operation: 66-31=35 Exploring Operation: 66-7=59, Resulting Numbers: [31, 59] Generated Node #0,3,4: 60:[31, 59] Operation: 66-7=59 Moving to Node #0,1 Current State: 60:[51, 7, 16], Operations: ['31-15=16'] Exploring Operation: 7+16=23, Resulting Numbers: [51, 23] Generated Node #0,1,0: 60:[51, 23] Operation: 7+16=23 Exploring Operation: 51+16=67, Resulting Numbers: [7, 67] Generated Node #0,1,1: 60:[7, 67] Operation: 51+16=67 Exploring Operation: 51+7=58, Resulting Numbers: [16, 58] Generated Node #0,1,2: 60:[16, 58] Operation: 51+7=58 Exploring Operation: 16-7=9, Resulting Numbers: [51, 9] Generated Node #0,1,3: 60:[51, 9] Operation: 16-7=9 Exploring Operation: 51-16=35, Resulting Numbers: [7, 35] Generated Node #0,1,4: 60:[7, 35] Operation: 51-16=35 Moving to Node #0,2,0 Current State: 60:[7, 5], Operations: ['51-15=36', '36-31=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,60 unequal: No Solution Moving to Node #0,3,4 Current State: 60:[31, 59], Operations: ['51+15=66', '66-7=59'] Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,60 unequal: No Solution Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 31*59=1829, Resulting Numbers: [1829] 1829,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[31, 29], Operations: ['51-15=36', '36-7=29'] Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[51, 31, 7, 15], Operations: [] Exploring Operation: 51-15=36, Resulting Numbers: [31, 7, 36] Generated Node #0,2: 60:[31, 7, 36] Operation: 51-15=36 Moving to Node #0,2 Current State: 60:[31, 7, 36], Operations: ['51-15=36'] Exploring Operation: 36-7=29, Resulting Numbers: [31, 29] Generated Node #0,2,3: 60:[31, 29] Operation: 36-7=29 Moving to Node #0,2,3 Current State: 60:[31, 29], Operations: ['51-15=36', '36-7=29'] Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.938368
hs_5
mult_heuristic
[ 51, 59, 4, 69 ]
91
[ "69-59=10", "4*10=40", "51+40=91" ]
Current State: 91:[51, 59, 4, 69], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [51, 4, 10] Generated Node #2: [51, 4, 10] from Operation: 69-59=10 Current State: 91:[51, 4, 10], Operations: ['69-59=10'] Exploring Operation: 4*10=40, Resulting Numbers: [51, 40] Generated Node #3: [51, 40] from Operation: 4*10=40 Current State: 91:[51, 40], Operations: ['69-59=10', '4*10=40'] Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[51, 59, 4, 69], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [4, 69, 8] Generated Node #0,0: 91:[4, 69, 8] Operation: 59-51=8 Exploring Operation: 69-51=18, Resulting Numbers: [59, 4, 18] Generated Node #0,1: 91:[59, 4, 18] Operation: 69-51=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[4, 69, 8], Operations: ['59-51=8'] Exploring Operation: 69+8=77, Resulting Numbers: [4, 77] Generated Node #0,0,0: 91:[4, 77] Operation: 69+8=77 Exploring Operation: 4+69=73, Resulting Numbers: [8, 73] Generated Node #0,0,1: 91:[8, 73] Operation: 4+69=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[4, 77], Operations: ['59-51=8', '69+8=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,91 unequal: No Solution No 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: 91:[8, 73], Operations: ['59-51=8', '4+69=73'] Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,91 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: 91:[59, 4, 18], Operations: ['69-51=18'] Exploring Operation: 59+18=77, Resulting Numbers: [4, 77] Generated Node #0,1,0: 91:[4, 77] Operation: 59+18=77 Exploring Operation: 59-18=41, Resulting Numbers: [4, 41] Generated Node #0,1,1: 91:[4, 41] Operation: 59-18=41 Moving to Node #0,1,0 Current State: 91:[4, 77], Operations: ['69-51=18', '59+18=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,91 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[4, 41], Operations: ['69-51=18', '59-18=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,91 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
[ 94, 39, 20, 34 ]
36
[ "94-34=60", "60/20=3", "39-3=36" ]
Current State: 36:[94, 39, 20, 34], Operations: [] Exploring Operation: 94-34=60, Resulting Numbers: [39, 20, 60] Generated Node #2: [39, 20, 60] from Operation: 94-34=60 Current State: 36:[39, 20, 60], Operations: ['94-34=60'] Exploring Operation: 60/20=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 60/20=3 Current State: 36:[39, 3], Operations: ['94-34=60', '60/20=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[94, 39, 20, 34], Operations: [] Exploring Operation: 39-20=19, Resulting Numbers: [94, 34, 19] Generated Node #0,0: 36:[94, 34, 19] Operation: 39-20=19 Exploring Operation: 94-20=74, Resulting Numbers: [39, 34, 74] Generated Node #0,1: 36:[39, 34, 74] Operation: 94-20=74 Exploring Operation: 94-39=55, Resulting Numbers: [20, 34, 55] Generated Node #0,2: 36:[20, 34, 55] Operation: 94-39=55 Exploring Operation: 94-34=60, Resulting Numbers: [39, 20, 60] Generated Node #0,3: 36:[39, 20, 60] Operation: 94-34=60 Moving to Node #0,2 Current State: 36:[20, 34, 55], Operations: ['94-39=55'] Exploring Operation: 55-34=21, Resulting Numbers: [20, 21] Generated Node #0,2,0: 36:[20, 21] Operation: 55-34=21 Exploring Operation: 34-20=14, Resulting Numbers: [55, 14] Generated Node #0,2,1: 36:[55, 14] Operation: 34-20=14 Exploring Operation: 55-20=35, Resulting Numbers: [34, 35] Generated Node #0,2,2: 36:[34, 35] Operation: 55-20=35 Exploring Operation: 20+34=54, Resulting Numbers: [55, 54] Generated Node #0,2,3: 36:[55, 54] Operation: 20+34=54 Moving to Node #0,3 Current State: 36:[39, 20, 60], Operations: ['94-34=60'] Exploring Operation: 60-20=40, Resulting Numbers: [39, 40] Generated Node #0,3,0: 36:[39, 40] Operation: 60-20=40 Exploring Operation: 39-20=19, Resulting Numbers: [60, 19] Generated Node #0,3,1: 36:[60, 19] Operation: 39-20=19 Exploring Operation: 60-39=21, Resulting Numbers: [20, 21] Generated Node #0,3,2: 36:[20, 21] Operation: 60-39=21 Exploring Operation: 60/20=3, Resulting Numbers: [39, 3] Generated Node #0,3,3: 36:[39, 3] Operation: 60/20=3 Moving to Node #0,1 Current State: 36:[39, 34, 74], Operations: ['94-20=74'] Exploring Operation: 39-34=5, Resulting Numbers: [74, 5] Generated Node #0,1,0: 36:[74, 5] Operation: 39-34=5 Exploring Operation: 39+34=73, Resulting Numbers: [74, 73] Generated Node #0,1,1: 36:[74, 73] Operation: 39+34=73 Exploring Operation: 74-39=35, Resulting Numbers: [34, 35] Generated Node #0,1,2: 36:[34, 35] Operation: 74-39=35 Exploring Operation: 74-34=40, Resulting Numbers: [39, 40] Generated Node #0,1,3: 36:[39, 40] Operation: 74-34=40 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[34, 35], Operations: ['94-20=74', '74-39=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,36 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[39, 40], Operations: ['94-20=74', '74-34=40'] Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,36 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,36 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[74, 5], Operations: ['94-20=74', '39-34=5'] Exploring Operation: 74*5=370, Resulting Numbers: [370] 370,36 unequal: No Solution Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,36 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[74, 73], Operations: ['94-20=74', '39+34=73'] Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,36 unequal: No Solution Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,36 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: 36:[94, 34, 19], Operations: ['39-20=19'] Exploring Operation: 34-19=15, Resulting Numbers: [94, 15] Generated Node #0,0,0: 36:[94, 15] Operation: 34-19=15 Exploring Operation: 94-19=75, Resulting Numbers: [34, 75] Generated Node #0,0,1: 36:[34, 75] Operation: 94-19=75 Exploring Operation: 94-34=60, Resulting Numbers: [19, 60] Generated Node #0,0,2: 36:[19, 60] Operation: 94-34=60 Exploring Operation: 34+19=53, Resulting Numbers: [94, 53] Generated Node #0,0,3: 36:[94, 53] Operation: 34+19=53 Moving to Node #0,2,2 Current State: 36:[34, 35], Operations: ['94-39=55', '55-20=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[39, 3], Operations: ['94-34=60', '60/20=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[94, 39, 20, 34], Operations: [] Exploring Operation: 94-34=60, Resulting Numbers: [39, 20, 60] Generated Node #0,3: 36:[39, 20, 60] Operation: 94-34=60 Moving to Node #0,3 Current State: 36:[39, 20, 60], Operations: ['94-34=60'] Exploring Operation: 60/20=3, Resulting Numbers: [39, 3] Generated Node #0,3,3: 36:[39, 3] Operation: 60/20=3 Moving to Node #0,3,3 Current State: 36:[39, 3], Operations: ['94-34=60', '60/20=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.965278
hs_4
sum_heuristic
[ 8, 17, 99, 92 ]
32
[ "8+17=25", "99-92=7", "25+7=32" ]
Current State: 32:[8, 17, 99, 92], Operations: [] Exploring Operation: 8+17=25, Resulting Numbers: [99, 92, 25] Generated Node #2: [99, 92, 25] from Operation: 8+17=25 Current State: 32:[99, 92, 25], Operations: ['8+17=25'] Exploring Operation: 99-92=7, Resulting Numbers: [25, 7] Generated Node #3: [25, 7] from Operation: 99-92=7 Current State: 32:[25, 7], Operations: ['8+17=25', '99-92=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[8, 17, 99, 92], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [17, 92, 91] Generated Node #0,0: 32:[17, 92, 91] Operation: 99-8=91 Exploring Operation: 99-92=7, Resulting Numbers: [8, 17, 7] Generated Node #0,1: 32:[8, 17, 7] Operation: 99-92=7 Exploring Operation: 92-17=75, Resulting Numbers: [8, 99, 75] Generated Node #0,2: 32:[8, 99, 75] Operation: 92-17=75 Exploring Operation: 99-17=82, Resulting Numbers: [8, 92, 82] Generated Node #0,3: 32:[8, 92, 82] Operation: 99-17=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[8, 17, 7], Operations: ['99-92=7'] Exploring Operation: 8-7=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 32:[17, 1] Operation: 8-7=1 Exploring Operation: 8+7=15, Resulting Numbers: [17, 15] Generated Node #0,1,1: 32:[17, 15] Operation: 8+7=15 Exploring Operation: 17-8=9, Resulting Numbers: [7, 9] Generated Node #0,1,2: 32:[7, 9] Operation: 17-8=9 Exploring Operation: 17-7=10, Resulting Numbers: [8, 10] Generated Node #0,1,3: 32:[8, 10] Operation: 17-7=10 Moving to Node #0,1,0 Current State: 32:[17, 1], Operations: ['99-92=7', '8-7=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[7, 9], Operations: ['99-92=7', '17-8=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[17, 15], Operations: ['99-92=7', '8+7=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[8, 17, 99, 92], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [8, 17, 7] Generated Node #0,1: 32:[8, 17, 7] Operation: 99-92=7 Moving to Node #0,1 Current State: 32:[8, 17, 7], Operations: ['99-92=7'] Exploring Operation: 8+7=15, Resulting Numbers: [17, 15] Generated Node #0,1,1: 32:[17, 15] Operation: 8+7=15 Moving to Node #0,1,1 Current State: 32:[17, 15], Operations: ['99-92=7', '8+7=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 21, 97, 53, 19 ]
57
[ "97-21=76", "76/19=4", "53+4=57" ]
Current State: 57:[21, 97, 53, 19], Operations: [] Exploring Operation: 97-21=76, Resulting Numbers: [53, 19, 76] Generated Node #2: [53, 19, 76] from Operation: 97-21=76 Current State: 57:[53, 19, 76], Operations: ['97-21=76'] Exploring Operation: 76/19=4, Resulting Numbers: [53, 4] Generated Node #3: [53, 4] from Operation: 76/19=4 Current State: 57:[53, 4], Operations: ['97-21=76', '76/19=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[21, 97, 53, 19], Operations: [] Exploring Operation: 97-21=76, Resulting Numbers: [53, 19, 76] Generated Node #0,0: 57:[53, 19, 76] Operation: 97-21=76 Exploring Operation: 97-53=44, Resulting Numbers: [21, 19, 44] Generated Node #0,1: 57:[21, 19, 44] Operation: 97-53=44 Exploring Operation: 21-19=2, Resulting Numbers: [97, 53, 2] Generated Node #0,2: 57:[97, 53, 2] Operation: 21-19=2 Exploring Operation: 97-19=78, Resulting Numbers: [21, 53, 78] Generated Node #0,3: 57:[21, 53, 78] Operation: 97-19=78 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[21, 19, 44], Operations: ['97-53=44'] Exploring Operation: 21+44=65, Resulting Numbers: [19, 65] Generated Node #0,1,0: 57:[19, 65] Operation: 21+44=65 Exploring Operation: 19+44=63, Resulting Numbers: [21, 63] Generated Node #0,1,1: 57:[21, 63] Operation: 19+44=63 Exploring Operation: 44-21=23, Resulting Numbers: [19, 23] Generated Node #0,1,2: 57:[19, 23] Operation: 44-21=23 Exploring Operation: 44-19=25, Resulting Numbers: [21, 25] Generated Node #0,1,3: 57:[21, 25] Operation: 44-19=25 Moving to Node #0,1,2 Current State: 57:[19, 23], Operations: ['97-53=44', '44-21=23'] Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,57 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[21, 63], Operations: ['97-53=44', '19+44=63'] Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 21*63=1323, Resulting Numbers: [1323] 1323,57 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[19, 65], Operations: ['97-53=44', '21+44=65'] Exploring Operation: 19*65=1235, Resulting Numbers: [1235] 1235,57 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 19+65=84, Resulting Numbers: [84] 84,57 unequal: No Solution Moving to Node #0,1,3 Current State: 57:[21, 25], Operations: ['97-53=44', '44-19=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,57 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,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 Current State: 57:[53, 19, 76], Operations: ['97-21=76'] Exploring Operation: 76-53=23, Resulting Numbers: [19, 23] Generated Node #0,0,0: 57:[19, 23] Operation: 76-53=23 Exploring Operation: 76/19=4, Resulting Numbers: [53, 4] Generated Node #0,0,1: 57:[53, 4] Operation: 76/19=4 Exploring Operation: 53+19=72, Resulting Numbers: [76, 72] Generated Node #0,0,2: 57:[76, 72] Operation: 53+19=72 Exploring Operation: 76-19=57, Resulting Numbers: [53, 57] Generated Node #0,0,3: 57:[53, 57] Operation: 76-19=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[19, 23], Operations: ['97-21=76', '76-53=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,57 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 57:[53, 57], Operations: ['97-21=76', '76-19=57'] Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,57 unequal: No Solution Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,57 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[53, 4], Operations: ['97-21=76', '76/19=4'] Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,57 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,57 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[21, 97, 53, 19], Operations: [] Exploring Operation: 97-21=76, Resulting Numbers: [53, 19, 76] Generated Node #0,0: 57:[53, 19, 76] Operation: 97-21=76 Moving to Node #0,0 Current State: 57:[53, 19, 76], Operations: ['97-21=76'] Exploring Operation: 76/19=4, Resulting Numbers: [53, 4] Generated Node #0,0,1: 57:[53, 4] Operation: 76/19=4 Moving to Node #0,0,1 Current State: 57:[53, 4], Operations: ['97-21=76', '76/19=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_4
sum_heuristic
[ 17, 63, 75, 7 ]
35
[ "17+63=80", "80-75=5", "7*5=35" ]
Current State: 35:[17, 63, 75, 7], Operations: [] Exploring Operation: 17+63=80, Resulting Numbers: [75, 7, 80] Generated Node #2: [75, 7, 80] from Operation: 17+63=80 Current State: 35:[75, 7, 80], Operations: ['17+63=80'] Exploring Operation: 80-75=5, Resulting Numbers: [7, 5] Generated Node #3: [7, 5] from Operation: 80-75=5 Current State: 35:[7, 5], Operations: ['17+63=80', '80-75=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[17, 63, 75, 7], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [17, 7, 12] Generated Node #0,0: 35:[17, 7, 12] Operation: 75-63=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[17, 7, 12], Operations: ['75-63=12'] Exploring Operation: 17-12=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 35:[7, 5] Operation: 17-12=5 Moving to Node #0,0,0 Current State: 35:[7, 5], Operations: ['75-63=12', '17-12=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[17, 63, 75, 7], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [17, 7, 12] Generated Node #0,0: 35:[17, 7, 12] Operation: 75-63=12 Moving to Node #0,0 Current State: 35:[17, 7, 12], Operations: ['75-63=12'] Exploring Operation: 17-12=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 35:[7, 5] Operation: 17-12=5 Moving to Node #0,0,0 Current State: 35:[7, 5], Operations: ['75-63=12', '17-12=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 7, 91, 46, 13 ]
47
[ "91/7=13", "13/13=1", "46+1=47" ]
Current State: 47:[7, 91, 46, 13], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [46, 13, 13] Generated Node #2: [46, 13, 13] from Operation: 91/7=13 Current State: 47:[46, 13, 13], Operations: ['91/7=13'] Exploring Operation: 13/13=1, Resulting Numbers: [46, 1] Generated Node #3: [46, 1] from Operation: 13/13=1 Current State: 47:[46, 1], Operations: ['91/7=13', '13/13=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[7, 91, 46, 13], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [46, 13, 13] Generated Node #0,0: 47:[46, 13, 13] Operation: 91/7=13 Moving to Node #0,0 Current State: 47:[46, 13, 13], Operations: ['91/7=13'] Exploring Operation: 13+13=26, Resulting Numbers: [46, 26] Generated Node #0,0,0: 47:[46, 26] Operation: 13+13=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[46, 26], Operations: ['91/7=13', '13+13=26'] Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,47 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
[ 80, 63, 37, 80 ]
60
[ "80-63=17", "80-37=43", "17+43=60" ]
Current State: 60:[80, 63, 37, 80], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [37, 17] Generated Node #2: [37, 17] from Operation: 80-63=17 Current State: 60:[37, 17], Operations: ['80-63=17'] Exploring Operation: 80-37=43, Resulting Numbers: [17, 43] Generated Node #3: [17, 43] from Operation: 80-37=43 Current State: 60:[17, 43], Operations: ['80-63=17', '80-37=43'] Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[80, 63, 37, 80], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [80, 37, 17] Generated Node #0,0: 60:[80, 37, 17] Operation: 80-63=17 Exploring Operation: 80-80=0, Resulting Numbers: [63, 37, 0] Generated Node #0,1: 60:[63, 37, 0] Operation: 80-80=0 Exploring Operation: 80/80=1, Resulting Numbers: [63, 37, 1] Generated Node #0,2: 60:[63, 37, 1] Operation: 80/80=1 Exploring Operation: 80-63=17, Resulting Numbers: [37, 80, 17] Generated Node #0,3: 60:[37, 80, 17] Operation: 80-63=17 Moving to Node #0,2 Current State: 60:[63, 37, 1], Operations: ['80/80=1'] Exploring Operation: 37-1=36, Resulting Numbers: [63, 36] Generated Node #0,2,0: 60:[63, 36] Operation: 37-1=36 Exploring Operation: 63*1=63, Resulting Numbers: [37, 63] Generated Node #0,2,1: 60:[37, 63] Operation: 63*1=63 Exploring Operation: 63-1=62, Resulting Numbers: [37, 62] Generated Node #0,2,2: 60:[37, 62] Operation: 63-1=62 Exploring Operation: 63-37=26, Resulting Numbers: [1, 26] Generated Node #0,2,3: 60:[1, 26] Operation: 63-37=26 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 60:[1, 26], Operations: ['80/80=1', '63-37=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,60 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[63, 36], Operations: ['80/80=1', '37-1=36'] Exploring Operation: 63*36=2268, Resulting Numbers: [2268] 2268,60 unequal: No Solution Exploring Operation: 63+36=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[37, 62], Operations: ['80/80=1', '63-1=62'] Exploring Operation: 37+62=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 37*62=2294, Resulting Numbers: [2294] 2294,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[37, 63], Operations: ['80/80=1', '63*1=63'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,60 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,60 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: 60:[63, 37, 0], Operations: ['80-80=0'] Exploring Operation: 63-37=26, Resulting Numbers: [0, 26] Generated Node #0,1,0: 60:[0, 26] Operation: 63-37=26 Exploring Operation: 37*0=0, Resulting Numbers: [63, 0] Generated Node #0,1,1: 60:[63, 0] Operation: 37*0=0 Exploring Operation: 63*0=0, Resulting Numbers: [37, 0] Generated Node #0,1,2: 60:[37, 0] Operation: 63*0=0 Exploring Operation: 63+0=63, Resulting Numbers: [37, 63] Generated Node #0,1,3: 60:[37, 63] Operation: 63+0=63 Moving to Node #0,3 Current State: 60:[37, 80, 17], Operations: ['80-63=17'] Exploring Operation: 80-17=63, Resulting Numbers: [37, 63] Generated Node #0,3,0: 60:[37, 63] Operation: 80-17=63 Exploring Operation: 37+17=54, Resulting Numbers: [80, 54] Generated Node #0,3,1: 60:[80, 54] Operation: 37+17=54 Exploring Operation: 80-37=43, Resulting Numbers: [17, 43] Generated Node #0,3,2: 60:[17, 43] Operation: 80-37=43 Exploring Operation: 37-17=20, Resulting Numbers: [80, 20] Generated Node #0,3,3: 60:[80, 20] Operation: 37-17=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 60:[37, 63], Operations: ['80-63=17', '80-17=63'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,60 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 60:[17, 43], Operations: ['80-63=17', '80-37=43'] Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[80, 63, 37, 80], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [37, 80, 17] Generated Node #0,3: 60:[37, 80, 17] Operation: 80-63=17 Moving to Node #0,3 Current State: 60:[37, 80, 17], Operations: ['80-63=17'] Exploring Operation: 80-37=43, Resulting Numbers: [17, 43] Generated Node #0,3,2: 60:[17, 43] Operation: 80-37=43 Moving to Node #0,3,2 Current State: 60:[17, 43], Operations: ['80-63=17', '80-37=43'] Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 21, 89, 96, 67 ]
64
[ "96-89=7", "21/7=3", "67-3=64" ]
Current State: 64:[21, 89, 96, 67], Operations: [] Exploring Operation: 96-89=7, Resulting Numbers: [21, 67, 7] Generated Node #2: [21, 67, 7] from Operation: 96-89=7 Current State: 64:[21, 67, 7], Operations: ['96-89=7'] Exploring Operation: 21/7=3, Resulting Numbers: [67, 3] Generated Node #3: [67, 3] from Operation: 21/7=3 Current State: 64:[67, 3], Operations: ['96-89=7', '21/7=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[21, 89, 96, 67], Operations: [] Exploring Operation: 96-67=29, Resulting Numbers: [21, 89, 29] Generated Node #0,0: 64:[21, 89, 29] Operation: 96-67=29 Exploring Operation: 96-89=7, Resulting Numbers: [21, 67, 7] Generated Node #0,1: 64:[21, 67, 7] Operation: 96-89=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[21, 67, 7], Operations: ['96-89=7'] Exploring Operation: 21-7=14, Resulting Numbers: [67, 14] Generated Node #0,1,0: 64:[67, 14] Operation: 21-7=14 Exploring Operation: 21/7=3, Resulting Numbers: [67, 3] Generated Node #0,1,1: 64:[67, 3] Operation: 21/7=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[67, 3], Operations: ['96-89=7', '21/7=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[21, 89, 96, 67], Operations: [] Exploring Operation: 96-89=7, Resulting Numbers: [21, 67, 7] Generated Node #0,1: 64:[21, 67, 7] Operation: 96-89=7 Moving to Node #0,1 Current State: 64:[21, 67, 7], Operations: ['96-89=7'] Exploring Operation: 21/7=3, Resulting Numbers: [67, 3] Generated Node #0,1,1: 64:[67, 3] Operation: 21/7=3 Moving to Node #0,1,1 Current State: 64:[67, 3], Operations: ['96-89=7', '21/7=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 62, 5, 84, 73 ]
29
[ "73-62=11", "5*11=55", "84-55=29" ]
Current State: 29:[62, 5, 84, 73], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [5, 84, 11] Generated Node #2: [5, 84, 11] from Operation: 73-62=11 Current State: 29:[5, 84, 11], Operations: ['73-62=11'] Exploring Operation: 5*11=55, Resulting Numbers: [84, 55] Generated Node #3: [84, 55] from Operation: 5*11=55 Current State: 29:[84, 55], Operations: ['73-62=11', '5*11=55'] Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[62, 5, 84, 73], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [5, 73, 22] Generated Node #0,0: 29:[5, 73, 22] Operation: 84-62=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[5, 73, 22], Operations: ['84-62=22'] Exploring Operation: 73-5=68, Resulting Numbers: [22, 68] Generated Node #0,0,0: 29:[22, 68] Operation: 73-5=68 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[22, 68], Operations: ['84-62=22', '73-5=68'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,29 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
[ 49, 87, 19, 2 ]
87
[ "49+87=136", "136/2=68", "19+68=87" ]
Current State: 87:[49, 87, 19, 2], Operations: [] Exploring Operation: 49+87=136, Resulting Numbers: [19, 2, 136] Generated Node #2: [19, 2, 136] from Operation: 49+87=136 Current State: 87:[19, 2, 136], Operations: ['49+87=136'] Exploring Operation: 136/2=68, Resulting Numbers: [19, 68] Generated Node #3: [19, 68] from Operation: 136/2=68 Current State: 87:[19, 68], Operations: ['49+87=136', '136/2=68'] Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[49, 87, 19, 2], Operations: [] Exploring Operation: 49+19=68, Resulting Numbers: [87, 2, 68] Generated Node #0,0: 87:[87, 2, 68] Operation: 49+19=68 Exploring Operation: 49*2=98, Resulting Numbers: [87, 19, 98] Generated Node #0,1: 87:[87, 19, 98] Operation: 49*2=98 Exploring Operation: 87-49=38, Resulting Numbers: [19, 2, 38] Generated Node #0,2: 87:[19, 2, 38] Operation: 87-49=38 Exploring Operation: 49-19=30, Resulting Numbers: [87, 2, 30] Generated Node #0,3: 87:[87, 2, 30] Operation: 49-19=30 Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[87, 2, 30], Operations: ['49-19=30'] Exploring Operation: 30-2=28, Resulting Numbers: [87, 28] Generated Node #0,3,0: 87:[87, 28] Operation: 30-2=28 Exploring Operation: 87-2=85, Resulting Numbers: [30, 85] Generated Node #0,3,1: 87:[30, 85] Operation: 87-2=85 Exploring Operation: 2+30=32, Resulting Numbers: [87, 32] Generated Node #0,3,2: 87:[87, 32] Operation: 2+30=32 Exploring Operation: 87+2=89, Resulting Numbers: [30, 89] Generated Node #0,3,3: 87:[30, 89] Operation: 87+2=89 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 87:[87, 28], Operations: ['49-19=30', '30-2=28'] Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,87 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 87:[30, 85], Operations: ['49-19=30', '87-2=85'] Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 30*85=2550, Resulting Numbers: [2550] 2550,87 unequal: No Solution Exploring Operation: 30+85=115, Resulting Numbers: [115] 115,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 87:[87, 32], Operations: ['49-19=30', '2+30=32'] Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,87 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 87:[30, 89], Operations: ['49-19=30', '87+2=89'] Exploring Operation: 30+89=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 30*89=2670, Resulting Numbers: [2670] 2670,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[87, 2, 68], Operations: ['49+19=68'] Exploring Operation: 87+2=89, Resulting Numbers: [68, 89] Generated Node #0,0,0: 87:[68, 89] Operation: 87+2=89 Exploring Operation: 68/2=34, Resulting Numbers: [87, 34] Generated Node #0,0,1: 87:[87, 34] Operation: 68/2=34 Exploring Operation: 2+68=70, Resulting Numbers: [87, 70] Generated Node #0,0,2: 87:[87, 70] Operation: 2+68=70 Exploring Operation: 87-68=19, Resulting Numbers: [2, 19] Generated Node #0,0,3: 87:[2, 19] Operation: 87-68=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[87, 34], Operations: ['49+19=68', '68/2=34'] Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,87 unequal: No Solution Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[2, 19], Operations: ['49+19=68', '87-68=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,87 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[87, 70], Operations: ['49+19=68', '2+68=70'] Exploring Operation: 87+70=157, Resulting Numbers: [157] 157,87 unequal: No Solution Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 87*70=6090, Resulting Numbers: [6090] 6090,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[68, 89], Operations: ['49+19=68', '87+2=89'] Exploring Operation: 68*89=6052, Resulting Numbers: [6052] 6052,87 unequal: No Solution Exploring Operation: 68+89=157, Resulting Numbers: [157] 157,87 unequal: No Solution Exploring Operation: 89-68=21, Resulting Numbers: [21] 21,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[19, 2, 38], Operations: ['87-49=38'] Exploring Operation: 38-19=19, Resulting Numbers: [2, 19] Generated Node #0,2,0: 87:[2, 19] Operation: 38-19=19 Exploring Operation: 38-2=36, Resulting Numbers: [19, 36] Generated Node #0,2,1: 87:[19, 36] Operation: 38-2=36 Exploring Operation: 38/19=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 87:[2, 2] Operation: 38/19=2 Exploring Operation: 19+2=21, Resulting Numbers: [38, 21] Generated Node #0,2,3: 87:[38, 21] Operation: 19+2=21 Moving to Node #0,2,2 Current State: 87:[2, 2], Operations: ['87-49=38', '38/19=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[2, 19], Operations: ['87-49=38', '38-19=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,87 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[38, 21], Operations: ['87-49=38', '19+2=21'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[19, 36], Operations: ['87-49=38', '38-2=36'] Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[87, 19, 98], Operations: ['49*2=98'] Exploring Operation: 87-19=68, Resulting Numbers: [98, 68] Generated Node #0,1,0: 87:[98, 68] Operation: 87-19=68 Exploring Operation: 98-19=79, Resulting Numbers: [87, 79] Generated Node #0,1,1: 87:[87, 79] Operation: 98-19=79 Exploring Operation: 98-87=11, Resulting Numbers: [19, 11] Generated Node #0,1,2: 87:[19, 11] Operation: 98-87=11 Exploring Operation: 87+19=106, Resulting Numbers: [98, 106] Generated Node #0,1,3: 87:[98, 106] Operation: 87+19=106 Moving to Node #0,1,1 Current State: 87:[87, 79], Operations: ['49*2=98', '98-19=79'] Exploring Operation: 87*79=6873, Resulting Numbers: [6873] 6873,87 unequal: No Solution Exploring Operation: 87+79=166, Resulting Numbers: [166] 166,87 unequal: No Solution Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[19, 11], Operations: ['49*2=98', '98-87=11'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,87 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[98, 106], Operations: ['49*2=98', '87+19=106'] Exploring Operation: 106-98=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 98+106=204, Resulting Numbers: [204] 204,87 unequal: No Solution Exploring Operation: 98*106=10388, Resulting Numbers: [10388] 10388,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[98, 68], Operations: ['49*2=98', '87-19=68'] Exploring Operation: 98+68=166, Resulting Numbers: [166] 166,87 unequal: No Solution Exploring Operation: 98*68=6664, Resulting Numbers: [6664] 6664,87 unequal: No Solution Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 10, 2, 6, 89 ]
49
[ "6-2=4", "10*4=40", "89-40=49" ]
Current State: 49:[10, 2, 6, 89], Operations: [] Exploring Operation: 6-2=4, Resulting Numbers: [10, 89, 4] Generated Node #2: [10, 89, 4] from Operation: 6-2=4 Current State: 49:[10, 89, 4], Operations: ['6-2=4'] Exploring Operation: 10*4=40, Resulting Numbers: [89, 40] Generated Node #3: [89, 40] from Operation: 10*4=40 Current State: 49:[89, 40], Operations: ['6-2=4', '10*4=40'] Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[10, 2, 6, 89], Operations: [] Exploring Operation: 10-2=8, Resulting Numbers: [6, 89, 8] Generated Node #0,0: 49:[6, 89, 8] Operation: 10-2=8 Exploring Operation: 89-10=79, Resulting Numbers: [2, 6, 79] Generated Node #0,1: 49:[2, 6, 79] Operation: 89-10=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[2, 6, 79], Operations: ['89-10=79'] Exploring Operation: 79-2=77, Resulting Numbers: [6, 77] Generated Node #0,1,0: 49:[6, 77] Operation: 79-2=77 Exploring Operation: 79-6=73, Resulting Numbers: [2, 73] Generated Node #0,1,1: 49:[2, 73] Operation: 79-6=73 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[6, 77], Operations: ['89-10=79', '79-2=77'] Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[2, 73], Operations: ['89-10=79', '79-6=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[6, 89, 8], Operations: ['10-2=8'] Exploring Operation: 89-8=81, Resulting Numbers: [6, 81] Generated Node #0,0,0: 49:[6, 81] Operation: 89-8=81 Exploring Operation: 89-6=83, Resulting Numbers: [8, 83] Generated Node #0,0,1: 49:[8, 83] Operation: 89-6=83 Moving to Node #0,0,0 Current State: 49:[6, 81], Operations: ['10-2=8', '89-8=81'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[8, 83], Operations: ['10-2=8', '89-6=83'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,49 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
[ 99, 37, 15, 38 ]
34
[ "99+15=114", "114/38=3", "37-3=34" ]
Current State: 34:[99, 37, 15, 38], Operations: [] Exploring Operation: 99+15=114, Resulting Numbers: [37, 38, 114] Generated Node #2: [37, 38, 114] from Operation: 99+15=114 Current State: 34:[37, 38, 114], Operations: ['99+15=114'] Exploring Operation: 114/38=3, Resulting Numbers: [37, 3] Generated Node #3: [37, 3] from Operation: 114/38=3 Current State: 34:[37, 3], Operations: ['99+15=114', '114/38=3'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[99, 37, 15, 38], Operations: [] Exploring Operation: 99-37=62, Resulting Numbers: [15, 38, 62] Generated Node #0,0: 34:[15, 38, 62] Operation: 99-37=62 Exploring Operation: 99-38=61, Resulting Numbers: [37, 15, 61] Generated Node #0,1: 34:[37, 15, 61] Operation: 99-38=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[37, 15, 61], Operations: ['99-38=61'] Exploring Operation: 61-37=24, Resulting Numbers: [15, 24] Generated Node #0,1,0: 34:[15, 24] Operation: 61-37=24 Exploring Operation: 61-15=46, Resulting Numbers: [37, 46] Generated Node #0,1,1: 34:[37, 46] Operation: 61-15=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[15, 24], Operations: ['99-38=61', '61-37=24'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,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,1 Current State: 34:[37, 46], Operations: ['99-38=61', '61-15=46'] Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,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:[15, 38, 62], Operations: ['99-37=62'] Exploring Operation: 62-38=24, Resulting Numbers: [15, 24] Generated Node #0,0,0: 34:[15, 24] Operation: 62-38=24 Exploring Operation: 62-15=47, Resulting Numbers: [38, 47] Generated Node #0,0,1: 34:[38, 47] Operation: 62-15=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[15, 24], Operations: ['99-37=62', '62-38=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,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,0,1 Current State: 34:[38, 47], Operations: ['99-37=62', '62-15=47'] Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 38+47=85, Resulting Numbers: [85] 85,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 65, 38, 32, 25 ]
84
[ "65-38=27", "32+25=57", "27+57=84" ]
Current State: 84:[65, 38, 32, 25], Operations: [] Exploring Operation: 65-38=27, Resulting Numbers: [32, 25, 27] Generated Node #2: [32, 25, 27] from Operation: 65-38=27 Current State: 84:[32, 25, 27], Operations: ['65-38=27'] Exploring Operation: 32+25=57, Resulting Numbers: [27, 57] Generated Node #3: [27, 57] from Operation: 32+25=57 Current State: 84:[27, 57], Operations: ['65-38=27', '32+25=57'] Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[65, 38, 32, 25], Operations: [] Exploring Operation: 65-25=40, Resulting Numbers: [38, 32, 40] Generated Node #0,0: 84:[38, 32, 40] Operation: 65-25=40 Exploring Operation: 65-38=27, Resulting Numbers: [32, 25, 27] Generated Node #0,1: 84:[32, 25, 27] Operation: 65-38=27 Moving to Node #0,1 Current State: 84:[32, 25, 27], Operations: ['65-38=27'] Exploring Operation: 32-27=5, Resulting Numbers: [25, 5] Generated Node #0,1,0: 84:[25, 5] Operation: 32-27=5 Exploring Operation: 32-25=7, Resulting Numbers: [27, 7] Generated Node #0,1,1: 84:[27, 7] Operation: 32-25=7 Moving to Node #0,0 Current State: 84:[38, 32, 40], Operations: ['65-25=40'] Exploring Operation: 38-32=6, Resulting Numbers: [40, 6] Generated Node #0,0,0: 84:[40, 6] Operation: 38-32=6 Exploring Operation: 40-38=2, Resulting Numbers: [32, 2] Generated Node #0,0,1: 84:[32, 2] Operation: 40-38=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[40, 6], Operations: ['65-25=40', '38-32=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[32, 2], Operations: ['65-25=40', '40-38=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,84 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: 84:[27, 7], Operations: ['65-38=27', '32-25=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[25, 5], Operations: ['65-38=27', '32-27=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 86, 70, 4 ]
57
[ "86-34=52", "52/4=13", "70-13=57" ]
Current State: 57:[34, 86, 70, 4], Operations: [] Exploring Operation: 86-34=52, Resulting Numbers: [70, 4, 52] Generated Node #2: [70, 4, 52] from Operation: 86-34=52 Current State: 57:[70, 4, 52], Operations: ['86-34=52'] Exploring Operation: 52/4=13, Resulting Numbers: [70, 13] Generated Node #3: [70, 13] from Operation: 52/4=13 Current State: 57:[70, 13], Operations: ['86-34=52', '52/4=13'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[34, 86, 70, 4], Operations: [] Exploring Operation: 86-34=52, Resulting Numbers: [70, 4, 52] Generated Node #0,0: 57:[70, 4, 52] Operation: 86-34=52 Exploring Operation: 86-70=16, Resulting Numbers: [34, 4, 16] Generated Node #0,1: 57:[34, 4, 16] Operation: 86-70=16 Exploring Operation: 70-34=36, Resulting Numbers: [86, 4, 36] Generated Node #0,2: 57:[86, 4, 36] Operation: 70-34=36 Moving to Node #0,0 Current State: 57:[70, 4, 52], Operations: ['86-34=52'] Exploring Operation: 4+52=56, Resulting Numbers: [70, 56] Generated Node #0,0,0: 57:[70, 56] Operation: 4+52=56 Exploring Operation: 70-52=18, Resulting Numbers: [4, 18] Generated Node #0,0,1: 57:[4, 18] Operation: 70-52=18 Exploring Operation: 70-4=66, Resulting Numbers: [52, 66] Generated Node #0,0,2: 57:[52, 66] Operation: 70-4=66 Moving to Node #0,1 Current State: 57:[34, 4, 16], Operations: ['86-70=16'] Exploring Operation: 34+16=50, Resulting Numbers: [4, 50] Generated Node #0,1,0: 57:[4, 50] Operation: 34+16=50 Exploring Operation: 34-4=30, Resulting Numbers: [16, 30] Generated Node #0,1,1: 57:[16, 30] Operation: 34-4=30 Exploring Operation: 34-16=18, Resulting Numbers: [4, 18] Generated Node #0,1,2: 57:[4, 18] Operation: 34-16=18 Moving to Node #0,2 Current State: 57:[86, 4, 36], Operations: ['70-34=36'] Exploring Operation: 36/4=9, Resulting Numbers: [86, 9] Generated Node #0,2,0: 57:[86, 9] Operation: 36/4=9 Exploring Operation: 86-36=50, Resulting Numbers: [4, 50] Generated Node #0,2,1: 57:[4, 50] Operation: 86-36=50 Exploring Operation: 86-4=82, Resulting Numbers: [36, 82] Generated Node #0,2,2: 57:[36, 82] Operation: 86-4=82 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[4, 50], Operations: ['70-34=36', '86-36=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,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:[86, 9], Operations: ['70-34=36', '36/4=9'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,57 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,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,2 Current State: 57:[36, 82], Operations: ['70-34=36', '86-4=82'] Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,57 unequal: No Solution Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,57 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,57 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: 57:[4, 18], Operations: ['86-34=52', '70-52=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[4, 18], Operations: ['86-70=16', '34-16=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[4, 50], Operations: ['86-70=16', '34+16=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[52, 66], Operations: ['86-34=52', '70-4=66'] Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,57 unequal: No Solution Exploring Operation: 52*66=3432, Resulting Numbers: [3432] 3432,57 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[70, 56], Operations: ['86-34=52', '4+52=56'] Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,57 unequal: No Solution Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[16, 30], Operations: ['86-70=16', '34-4=30'] Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,57 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,57 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 25, 5, 61, 80 ]
30
[ "25+61=86", "86-80=6", "5*6=30" ]
Current State: 30:[25, 5, 61, 80], Operations: [] Exploring Operation: 25+61=86, Resulting Numbers: [5, 80, 86] Generated Node #2: [5, 80, 86] from Operation: 25+61=86 Current State: 30:[5, 80, 86], Operations: ['25+61=86'] Exploring Operation: 86-80=6, Resulting Numbers: [5, 6] Generated Node #3: [5, 6] from Operation: 86-80=6 Current State: 30:[5, 6], Operations: ['25+61=86', '86-80=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[25, 5, 61, 80], Operations: [] Exploring Operation: 80-25=55, Resulting Numbers: [5, 61, 55] Generated Node #0,0: 30:[5, 61, 55] Operation: 80-25=55 Exploring Operation: 80-61=19, Resulting Numbers: [25, 5, 19] Generated Node #0,1: 30:[25, 5, 19] Operation: 80-61=19 Exploring Operation: 25+5=30, Resulting Numbers: [61, 80, 30] Generated Node #0,2: 30:[61, 80, 30] Operation: 25+5=30 Exploring Operation: 61-25=36, Resulting Numbers: [5, 80, 36] Generated Node #0,3: 30:[5, 80, 36] Operation: 61-25=36 Exploring Operation: 80/5=16, Resulting Numbers: [25, 61, 16] Generated Node #0,4: 30:[25, 61, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[25, 5, 19], Operations: ['80-61=19'] Exploring Operation: 25-19=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 30:[5, 6] Operation: 25-19=6 Exploring Operation: 25+5=30, Resulting Numbers: [19, 30] Generated Node #0,1,1: 30:[19, 30] Operation: 25+5=30 Exploring Operation: 19-5=14, Resulting Numbers: [25, 14] Generated Node #0,1,2: 30:[25, 14] Operation: 19-5=14 Exploring Operation: 25-5=20, Resulting Numbers: [19, 20] Generated Node #0,1,3: 30:[19, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [19, 5] Generated Node #0,1,4: 30:[19, 5] Operation: 25/5=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[5, 6], Operations: ['80-61=19', '25-19=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[25, 5, 61, 80], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [25, 5, 19] Generated Node #0,1: 30:[25, 5, 19] Operation: 80-61=19 Moving to Node #0,1 Current State: 30:[25, 5, 19], Operations: ['80-61=19'] Exploring Operation: 25-19=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 30:[5, 6] Operation: 25-19=6 Moving to Node #0,1,0 Current State: 30:[5, 6], Operations: ['80-61=19', '25-19=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 29, 20, 32, 91 ]
74
[ "29+20=49", "32+91=123", "123-49=74" ]
Current State: 74:[29, 20, 32, 91], Operations: [] Exploring Operation: 29+20=49, Resulting Numbers: [32, 91, 49] Generated Node #2: [32, 91, 49] from Operation: 29+20=49 Current State: 74:[32, 91, 49], Operations: ['29+20=49'] Exploring Operation: 32+91=123, Resulting Numbers: [49, 123] Generated Node #3: [49, 123] from Operation: 32+91=123 Current State: 74:[49, 123], Operations: ['29+20=49', '32+91=123'] Exploring Operation: 123-49=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[29, 20, 32, 91], Operations: [] Exploring Operation: 91-20=71, Resulting Numbers: [29, 32, 71] Generated Node #0,0: 74:[29, 32, 71] Operation: 91-20=71 Exploring Operation: 29-20=9, Resulting Numbers: [32, 91, 9] Generated Node #0,1: 74:[32, 91, 9] Operation: 29-20=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[29, 32, 71], Operations: ['91-20=71'] Exploring Operation: 71-29=42, Resulting Numbers: [32, 42] Generated Node #0,0,0: 74:[32, 42] Operation: 71-29=42 Exploring Operation: 32-29=3, Resulting Numbers: [71, 3] Generated Node #0,0,1: 74:[71, 3] Operation: 32-29=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[71, 3], Operations: ['91-20=71', '32-29=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[29, 20, 32, 91], Operations: [] Exploring Operation: 91-20=71, Resulting Numbers: [29, 32, 71] Generated Node #0,0: 74:[29, 32, 71] Operation: 91-20=71 Moving to Node #0,0 Current State: 74:[29, 32, 71], Operations: ['91-20=71'] Exploring Operation: 32-29=3, Resulting Numbers: [71, 3] Generated Node #0,0,1: 74:[71, 3] Operation: 32-29=3 Moving to Node #0,0,1 Current State: 74:[71, 3], Operations: ['91-20=71', '32-29=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 7, 39, 5, 12 ]
39
[ "7+39=46", "12-5=7", "46-7=39" ]
Current State: 39:[7, 39, 5, 12], Operations: [] Exploring Operation: 7+39=46, Resulting Numbers: [5, 12, 46] Generated Node #2: [5, 12, 46] from Operation: 7+39=46 Current State: 39:[5, 12, 46], Operations: ['7+39=46'] Exploring Operation: 12-5=7, Resulting Numbers: [46, 7] Generated Node #3: [46, 7] from Operation: 12-5=7 Current State: 39:[46, 7], Operations: ['7+39=46', '12-5=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[7, 39, 5, 12], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [39, 5, 5] Generated Node #0,0: 39:[39, 5, 5] Operation: 12-7=5 Exploring Operation: 7-5=2, Resulting Numbers: [39, 12, 2] Generated Node #0,1: 39:[39, 12, 2] Operation: 7-5=2 Exploring Operation: 7+5=12, Resulting Numbers: [39, 12, 12] Generated Node #0,2: 39:[39, 12, 12] Operation: 7+5=12 Exploring Operation: 7*5=35, Resulting Numbers: [39, 12, 35] Generated Node #0,3: 39:[39, 12, 35] Operation: 7*5=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[39, 12, 2], Operations: ['7-5=2'] Exploring Operation: 39-2=37, Resulting Numbers: [12, 37] Generated Node #0,1,0: 39:[12, 37] Operation: 39-2=37 Exploring Operation: 12-2=10, Resulting Numbers: [39, 10] Generated Node #0,1,1: 39:[39, 10] Operation: 12-2=10 Exploring Operation: 39+2=41, Resulting Numbers: [12, 41] Generated Node #0,1,2: 39:[12, 41] Operation: 39+2=41 Exploring Operation: 12+2=14, Resulting Numbers: [39, 14] Generated Node #0,1,3: 39:[39, 14] Operation: 12+2=14 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 39:[39, 14], Operations: ['7-5=2', '12+2=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,39 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,39 unequal: No Solution No 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: 39:[12, 37], Operations: ['7-5=2', '39-2=37'] Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,39 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,39 unequal: No Solution No 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: 39:[39, 10], Operations: ['7-5=2', '12-2=10'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,39 unequal: No Solution No 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: 39:[12, 41], Operations: ['7-5=2', '39+2=41'] Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,39 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,39 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: 39:[39, 12, 12], Operations: ['7+5=12'] Exploring Operation: 12-12=0, Resulting Numbers: [39, 0] Generated Node #0,2,0: 39:[39, 0] Operation: 12-12=0 Exploring Operation: 39+12=51, Resulting Numbers: [12, 51] Generated Node #0,2,1: 39:[12, 51] Operation: 39+12=51 Exploring Operation: 12/12=1, Resulting Numbers: [39, 1] Generated Node #0,2,2: 39:[39, 1] Operation: 12/12=1 Exploring Operation: 12+12=24, Resulting Numbers: [39, 24] Generated Node #0,2,3: 39:[39, 24] Operation: 12+12=24 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[39, 1], Operations: ['7+5=12', '12/12=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[7, 39, 5, 12], Operations: [] Exploring Operation: 7+5=12, Resulting Numbers: [39, 12, 12] Generated Node #0,2: 39:[39, 12, 12] Operation: 7+5=12 Moving to Node #0,2 Current State: 39:[39, 12, 12], Operations: ['7+5=12'] Exploring Operation: 12/12=1, Resulting Numbers: [39, 1] Generated Node #0,2,2: 39:[39, 1] Operation: 12/12=1 Moving to Node #0,2,2 Current State: 39:[39, 1], Operations: ['7+5=12', '12/12=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 96, 33, 70, 4 ]
94
[ "70-4=66", "66/33=2", "96-2=94" ]
Current State: 94:[96, 33, 70, 4], Operations: [] Exploring Operation: 70-4=66, Resulting Numbers: [96, 33, 66] Generated Node #2: [96, 33, 66] from Operation: 70-4=66 Current State: 94:[96, 33, 66], Operations: ['70-4=66'] Exploring Operation: 66/33=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 66/33=2 Current State: 94:[96, 2], Operations: ['70-4=66', '66/33=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[96, 33, 70, 4], Operations: [] Exploring Operation: 70-4=66, Resulting Numbers: [96, 33, 66] Generated Node #0,0: 94:[96, 33, 66] Operation: 70-4=66 Exploring Operation: 33+70=103, Resulting Numbers: [96, 4, 103] Generated Node #0,1: 94:[96, 4, 103] Operation: 33+70=103 Exploring Operation: 33+4=37, Resulting Numbers: [96, 70, 37] Generated Node #0,2: 94:[96, 70, 37] Operation: 33+4=37 Exploring Operation: 70-33=37, Resulting Numbers: [96, 4, 37] Generated Node #0,3: 94:[96, 4, 37] Operation: 70-33=37 Moving to Node #0,1 Current State: 94:[96, 4, 103], Operations: ['33+70=103'] Exploring Operation: 103-4=99, Resulting Numbers: [96, 99] Generated Node #0,1,0: 94:[96, 99] Operation: 103-4=99 Exploring Operation: 96+4=100, Resulting Numbers: [103, 100] Generated Node #0,1,1: 94:[103, 100] Operation: 96+4=100 Exploring Operation: 103-96=7, Resulting Numbers: [4, 7] Generated Node #0,1,2: 94:[4, 7] Operation: 103-96=7 Exploring Operation: 96-4=92, Resulting Numbers: [103, 92] Generated Node #0,1,3: 94:[103, 92] Operation: 96-4=92 Moving to Node #0,3 Current State: 94:[96, 4, 37], Operations: ['70-33=37'] Exploring Operation: 4+37=41, Resulting Numbers: [96, 41] Generated Node #0,3,0: 94:[96, 41] Operation: 4+37=41 Exploring Operation: 96-4=92, Resulting Numbers: [37, 92] Generated Node #0,3,1: 94:[37, 92] Operation: 96-4=92 Exploring Operation: 96-37=59, Resulting Numbers: [4, 59] Generated Node #0,3,2: 94:[4, 59] Operation: 96-37=59 Exploring Operation: 96+4=100, Resulting Numbers: [37, 100] Generated Node #0,3,3: 94:[37, 100] Operation: 96+4=100 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[96, 41], Operations: ['70-33=37', '4+37=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,94 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[37, 92], Operations: ['70-33=37', '96-4=92'] Exploring Operation: 37+92=129, Resulting Numbers: [129] 129,94 unequal: No Solution Exploring Operation: 37*92=3404, Resulting Numbers: [3404] 3404,94 unequal: No Solution Exploring Operation: 92-37=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[4, 59], Operations: ['70-33=37', '96-37=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,94 unequal: No Solution Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,94 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[37, 100], Operations: ['70-33=37', '96+4=100'] Exploring Operation: 37*100=3700, Resulting Numbers: [3700] 3700,94 unequal: No Solution Exploring Operation: 100-37=63, Resulting Numbers: [63] 63,94 unequal: No Solution Exploring Operation: 37+100=137, Resulting Numbers: [137] 137,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 94:[96, 70, 37], Operations: ['33+4=37'] Exploring Operation: 70-37=33, Resulting Numbers: [96, 33] Generated Node #0,2,0: 94:[96, 33] Operation: 70-37=33 Exploring Operation: 70+37=107, Resulting Numbers: [96, 107] Generated Node #0,2,1: 94:[96, 107] Operation: 70+37=107 Exploring Operation: 96-37=59, Resulting Numbers: [70, 59] Generated Node #0,2,2: 94:[70, 59] Operation: 96-37=59 Exploring Operation: 96-70=26, Resulting Numbers: [37, 26] Generated Node #0,2,3: 94:[37, 26] Operation: 96-70=26 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[96, 107], Operations: ['33+4=37', '70+37=107'] Exploring Operation: 107-96=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 96*107=10272, Resulting Numbers: [10272] 10272,94 unequal: No Solution Exploring Operation: 96+107=203, Resulting Numbers: [203] 203,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[96, 33], Operations: ['33+4=37', '70-37=33'] Exploring Operation: 96+33=129, Resulting Numbers: [129] 129,94 unequal: No Solution Exploring Operation: 96-33=63, Resulting Numbers: [63] 63,94 unequal: No Solution Exploring Operation: 96*33=3168, Resulting Numbers: [3168] 3168,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[37, 26], Operations: ['33+4=37', '96-70=26'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,94 unequal: No Solution Exploring Operation: 37*26=962, Resulting Numbers: [962] 962,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[70, 59], Operations: ['33+4=37', '96-37=59'] Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 70+59=129, Resulting Numbers: [129] 129,94 unequal: No Solution Exploring Operation: 70*59=4130, Resulting Numbers: [4130] 4130,94 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: 94:[96, 33, 66], Operations: ['70-4=66'] Exploring Operation: 66/33=2, Resulting Numbers: [96, 2] Generated Node #0,0,0: 94:[96, 2] Operation: 66/33=2 Exploring Operation: 96-66=30, Resulting Numbers: [33, 30] Generated Node #0,0,1: 94:[33, 30] Operation: 96-66=30 Exploring Operation: 66-33=33, Resulting Numbers: [96, 33] Generated Node #0,0,2: 94:[96, 33] Operation: 66-33=33 Exploring Operation: 33+66=99, Resulting Numbers: [96, 99] Generated Node #0,0,3: 94:[96, 99] Operation: 33+66=99 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[96, 2], Operations: ['70-4=66', '66/33=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[96, 33, 70, 4], Operations: [] Exploring Operation: 70-4=66, Resulting Numbers: [96, 33, 66] Generated Node #0,0: 94:[96, 33, 66] Operation: 70-4=66 Moving to Node #0,0 Current State: 94:[96, 33, 66], Operations: ['70-4=66'] Exploring Operation: 66/33=2, Resulting Numbers: [96, 2] Generated Node #0,0,0: 94:[96, 2] Operation: 66/33=2 Moving to Node #0,0,0 Current State: 94:[96, 2], Operations: ['70-4=66', '66/33=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
mult_heuristic
[ 87, 57, 42, 45 ]
59
[ "57*45=2565", "2565-87=2478", "2478/42=59" ]
Current State: 59:[87, 57, 42, 45], Operations: [] Exploring Operation: 57*45=2565, Resulting Numbers: [87, 42, 2565] Generated Node #2: [87, 42, 2565] from Operation: 57*45=2565 Current State: 59:[87, 42, 2565], Operations: ['57*45=2565'] Exploring Operation: 2565-87=2478, Resulting Numbers: [42, 2478] Generated Node #3: [42, 2478] from Operation: 2565-87=2478 Current State: 59:[42, 2478], Operations: ['57*45=2565', '2565-87=2478'] Exploring Operation: 2478/42=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[87, 57, 42, 45], Operations: [] Exploring Operation: 42+45=87, Resulting Numbers: [87, 57, 87] Generated Node #0,0: 59:[87, 57, 87] Operation: 42+45=87 Exploring Operation: 87-45=42, Resulting Numbers: [57, 42, 42] Generated Node #0,1: 59:[57, 42, 42] Operation: 87-45=42 Exploring Operation: 87-42=45, Resulting Numbers: [57, 45, 45] Generated Node #0,2: 59:[57, 45, 45] Operation: 87-42=45 Exploring Operation: 87-57=30, Resulting Numbers: [42, 45, 30] Generated Node #0,3: 59:[42, 45, 30] Operation: 87-57=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[57, 45, 45], Operations: ['87-42=45'] Exploring Operation: 45+45=90, Resulting Numbers: [57, 90] Generated Node #0,2,0: 59:[57, 90] Operation: 45+45=90 Exploring Operation: 57+45=102, Resulting Numbers: [45, 102] Generated Node #0,2,1: 59:[45, 102] Operation: 57+45=102 Exploring Operation: 45/45=1, Resulting Numbers: [57, 1] Generated Node #0,2,2: 59:[57, 1] Operation: 45/45=1 Exploring Operation: 57+45=102, Resulting Numbers: [45, 102] Generated Node #0,2,3: 59:[45, 102] Operation: 57+45=102 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[57, 90], Operations: ['87-42=45', '45+45=90'] Exploring Operation: 57+90=147, Resulting Numbers: [147] 147,59 unequal: No Solution Exploring Operation: 57*90=5130, Resulting Numbers: [5130] 5130,59 unequal: No Solution Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[45, 102], Operations: ['87-42=45', '57+45=102'] Exploring Operation: 45*102=4590, Resulting Numbers: [4590] 4590,59 unequal: No Solution Exploring Operation: 45+102=147, Resulting Numbers: [147] 147,59 unequal: No Solution Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[45, 102], Operations: ['87-42=45', '57+45=102'] Exploring Operation: 45*102=4590, Resulting Numbers: [4590] 4590,59 unequal: No Solution Exploring Operation: 45+102=147, Resulting Numbers: [147] 147,59 unequal: No Solution Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[57, 1], Operations: ['87-42=45', '45/45=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[57, 42, 42], Operations: ['87-45=42'] Exploring Operation: 57+42=99, Resulting Numbers: [42, 99] Generated Node #0,1,0: 59:[42, 99] Operation: 57+42=99 Exploring Operation: 42/42=1, Resulting Numbers: [57, 1] Generated Node #0,1,1: 59:[57, 1] Operation: 42/42=1 Exploring Operation: 42+42=84, Resulting Numbers: [57, 84] Generated Node #0,1,2: 59:[57, 84] Operation: 42+42=84 Exploring Operation: 57+42=99, Resulting Numbers: [42, 99] Generated Node #0,1,3: 59:[42, 99] Operation: 57+42=99 Moving to Node #0,1,2 Current State: 59:[57, 84], Operations: ['87-45=42', '42+42=84'] Exploring Operation: 57*84=4788, Resulting Numbers: [4788] 4788,59 unequal: No Solution Exploring Operation: 57+84=141, Resulting Numbers: [141] 141,59 unequal: No Solution Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[42, 99], Operations: ['87-45=42', '57+42=99'] Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,59 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[42, 99], Operations: ['87-45=42', '57+42=99'] Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,59 unequal: No Solution Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[57, 1], Operations: ['87-45=42', '42/42=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[87, 57, 87], Operations: ['42+45=87'] Exploring Operation: 87-57=30, Resulting Numbers: [87, 30] Generated Node #0,0,0: 59:[87, 30] Operation: 87-57=30 Exploring Operation: 87-87=0, Resulting Numbers: [57, 0] Generated Node #0,0,1: 59:[57, 0] Operation: 87-87=0 Exploring Operation: 87/87=1, Resulting Numbers: [57, 1] Generated Node #0,0,2: 59:[57, 1] Operation: 87/87=1 Exploring Operation: 87-57=30, Resulting Numbers: [87, 30] Generated Node #0,0,3: 59:[87, 30] Operation: 87-57=30 Moving to Node #0,0,0 Current State: 59:[87, 30], Operations: ['42+45=87', '87-57=30'] Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 87+30=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 87*30=2610, Resulting Numbers: [2610] 2610,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[87, 30], Operations: ['42+45=87', '87-57=30'] Exploring Operation: 87+30=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 87*30=2610, Resulting Numbers: [2610] 2610,59 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[57, 1], Operations: ['42+45=87', '87/87=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[57, 0], Operations: ['42+45=87', '87-87=0'] Exploring Operation: 57*0=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 57-0=57, Resulting Numbers: [57] 57,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[42, 45, 30], Operations: ['87-57=30'] Exploring Operation: 45+30=75, Resulting Numbers: [42, 75] Generated Node #0,3,0: 59:[42, 75] Operation: 45+30=75 Exploring Operation: 42+30=72, Resulting Numbers: [45, 72] Generated Node #0,3,1: 59:[45, 72] Operation: 42+30=72 Exploring Operation: 42-30=12, Resulting Numbers: [45, 12] Generated Node #0,3,2: 59:[45, 12] Operation: 42-30=12 Exploring Operation: 42+45=87, Resulting Numbers: [30, 87] Generated Node #0,3,3: 59:[30, 87] Operation: 42+45=87 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[45, 72], Operations: ['87-57=30', '42+30=72'] Exploring Operation: 45*72=3240, Resulting Numbers: [3240] 3240,59 unequal: No Solution Exploring Operation: 45+72=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[42, 75], Operations: ['87-57=30', '45+30=75'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[30, 87], Operations: ['87-57=30', '42+45=87'] Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,59 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[45, 12], Operations: ['87-57=30', '42-30=12'] Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 14, 39, 32, 64 ]
62
[ "39-32=7", "14/7=2", "64-2=62" ]
Current State: 62:[14, 39, 32, 64], Operations: [] Exploring Operation: 39-32=7, Resulting Numbers: [14, 64, 7] Generated Node #2: [14, 64, 7] from Operation: 39-32=7 Current State: 62:[14, 64, 7], Operations: ['39-32=7'] Exploring Operation: 14/7=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 14/7=2 Current State: 62:[64, 2], Operations: ['39-32=7', '14/7=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[14, 39, 32, 64], Operations: [] Exploring Operation: 64-39=25, Resulting Numbers: [14, 32, 25] Generated Node #0,0: 62:[14, 32, 25] Operation: 64-39=25 Exploring Operation: 14+39=53, Resulting Numbers: [32, 64, 53] Generated Node #0,1: 62:[32, 64, 53] Operation: 14+39=53 Exploring Operation: 39-14=25, Resulting Numbers: [32, 64, 25] Generated Node #0,2: 62:[32, 64, 25] Operation: 39-14=25 Exploring Operation: 39-32=7, Resulting Numbers: [14, 64, 7] Generated Node #0,3: 62:[14, 64, 7] Operation: 39-32=7 Moving to Node #0,2 Current State: 62:[32, 64, 25], Operations: ['39-14=25'] Exploring Operation: 32-25=7, Resulting Numbers: [64, 7] Generated Node #0,2,0: 62:[64, 7] Operation: 32-25=7 Exploring Operation: 64/32=2, Resulting Numbers: [25, 2] Generated Node #0,2,1: 62:[25, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [25, 32] Generated Node #0,2,2: 62:[25, 32] Operation: 64-32=32 Exploring Operation: 32+25=57, Resulting Numbers: [64, 57] Generated Node #0,2,3: 62:[64, 57] Operation: 32+25=57 Moving to Node #0,1 Current State: 62:[32, 64, 53], Operations: ['14+39=53'] Exploring Operation: 53-32=21, Resulting Numbers: [64, 21] Generated Node #0,1,0: 62:[64, 21] Operation: 53-32=21 Exploring Operation: 64-32=32, Resulting Numbers: [53, 32] Generated Node #0,1,1: 62:[53, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [53, 2] Generated Node #0,1,2: 62:[53, 2] Operation: 64/32=2 Exploring Operation: 64-53=11, Resulting Numbers: [32, 11] Generated Node #0,1,3: 62:[32, 11] Operation: 64-53=11 Moving to Node #0,3 Current State: 62:[14, 64, 7], Operations: ['39-32=7'] Exploring Operation: 64-14=50, Resulting Numbers: [7, 50] Generated Node #0,3,0: 62:[7, 50] Operation: 64-14=50 Exploring Operation: 14/7=2, Resulting Numbers: [64, 2] Generated Node #0,3,1: 62:[64, 2] Operation: 14/7=2 Exploring Operation: 14+7=21, Resulting Numbers: [64, 21] Generated Node #0,3,2: 62:[64, 21] Operation: 14+7=21 Exploring Operation: 14-7=7, Resulting Numbers: [64, 7] Generated Node #0,3,3: 62:[64, 7] Operation: 14-7=7 Moving to Node #0,0 Current State: 62:[14, 32, 25], Operations: ['64-39=25'] Exploring Operation: 25-14=11, Resulting Numbers: [32, 11] Generated Node #0,0,0: 62:[32, 11] Operation: 25-14=11 Exploring Operation: 32-25=7, Resulting Numbers: [14, 7] Generated Node #0,0,1: 62:[14, 7] Operation: 32-25=7 Exploring Operation: 14+25=39, Resulting Numbers: [32, 39] Generated Node #0,0,2: 62:[32, 39] Operation: 14+25=39 Exploring Operation: 32+25=57, Resulting Numbers: [14, 57] Generated Node #0,0,3: 62:[14, 57] Operation: 32+25=57 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[32, 39], Operations: ['64-39=25', '14+25=39'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,62 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[32, 11], Operations: ['64-39=25', '25-14=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,62 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[14, 7], Operations: ['64-39=25', '32-25=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 62:[14, 57], Operations: ['64-39=25', '32+25=57'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 14*57=798, Resulting Numbers: [798] 798,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 62:[64, 2], Operations: ['39-32=7', '14/7=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[14, 39, 32, 64], Operations: [] Exploring Operation: 39-32=7, Resulting Numbers: [14, 64, 7] Generated Node #0,3: 62:[14, 64, 7] Operation: 39-32=7 Moving to Node #0,3 Current State: 62:[14, 64, 7], Operations: ['39-32=7'] Exploring Operation: 14/7=2, Resulting Numbers: [64, 2] Generated Node #0,3,1: 62:[64, 2] Operation: 14/7=2 Moving to Node #0,3,1 Current State: 62:[64, 2], Operations: ['39-32=7', '14/7=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 91, 44, 21, 50 ]
63
[ "91-44=47", "50-47=3", "21*3=63" ]
Current State: 63:[91, 44, 21, 50], Operations: [] Exploring Operation: 91-44=47, Resulting Numbers: [21, 50, 47] Generated Node #2: [21, 50, 47] from Operation: 91-44=47 Current State: 63:[21, 50, 47], Operations: ['91-44=47'] Exploring Operation: 50-47=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 50-47=3 Current State: 63:[21, 3], Operations: ['91-44=47', '50-47=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[91, 44, 21, 50], Operations: [] Exploring Operation: 91-44=47, Resulting Numbers: [21, 50, 47] Generated Node #0,0: 63:[21, 50, 47] Operation: 91-44=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[21, 50, 47], Operations: ['91-44=47'] Exploring Operation: 50-47=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 63:[21, 3] Operation: 50-47=3 Moving to Node #0,0,0 Current State: 63:[21, 3], Operations: ['91-44=47', '50-47=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[91, 44, 21, 50], Operations: [] Exploring Operation: 91-44=47, Resulting Numbers: [21, 50, 47] Generated Node #0,0: 63:[21, 50, 47] Operation: 91-44=47 Moving to Node #0,0 Current State: 63:[21, 50, 47], Operations: ['91-44=47'] Exploring Operation: 50-47=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 63:[21, 3] Operation: 50-47=3 Moving to Node #0,0,0 Current State: 63:[21, 3], Operations: ['91-44=47', '50-47=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 33, 5, 89, 80 ]
40
[ "89-33=56", "80/5=16", "56-16=40" ]
Current State: 40:[33, 5, 89, 80], Operations: [] Exploring Operation: 89-33=56, Resulting Numbers: [5, 80, 56] Generated Node #2: [5, 80, 56] from Operation: 89-33=56 Current State: 40:[5, 80, 56], Operations: ['89-33=56'] Exploring Operation: 80/5=16, Resulting Numbers: [56, 16] Generated Node #3: [56, 16] from Operation: 80/5=16 Current State: 40:[56, 16], Operations: ['89-33=56', '80/5=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[33, 5, 89, 80], Operations: [] Exploring Operation: 89-80=9, Resulting Numbers: [33, 5, 9] Generated Node #0,0: 40:[33, 5, 9] Operation: 89-80=9 Exploring Operation: 89-33=56, Resulting Numbers: [5, 80, 56] Generated Node #0,1: 40:[5, 80, 56] Operation: 89-33=56 Exploring Operation: 80/5=16, Resulting Numbers: [33, 89, 16] Generated Node #0,2: 40:[33, 89, 16] Operation: 80/5=16 Exploring Operation: 80-33=47, Resulting Numbers: [5, 89, 47] Generated Node #0,3: 40:[5, 89, 47] Operation: 80-33=47 Moving to Node #0,0 Current State: 40:[33, 5, 9], Operations: ['89-80=9'] Exploring Operation: 33+5=38, Resulting Numbers: [9, 38] Generated Node #0,0,0: 40:[9, 38] Operation: 33+5=38 Exploring Operation: 33-9=24, Resulting Numbers: [5, 24] Generated Node #0,0,1: 40:[5, 24] Operation: 33-9=24 Exploring Operation: 9-5=4, Resulting Numbers: [33, 4] Generated Node #0,0,2: 40:[33, 4] Operation: 9-5=4 Exploring Operation: 33+9=42, Resulting Numbers: [5, 42] Generated Node #0,0,3: 40:[5, 42] Operation: 33+9=42 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 40:[5, 42], Operations: ['89-80=9', '33+9=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,40 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[9, 38], Operations: ['89-80=9', '33+5=38'] Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,40 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[5, 24], Operations: ['89-80=9', '33-9=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,40 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[33, 4], Operations: ['89-80=9', '9-5=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,40 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: 40:[5, 89, 47], Operations: ['80-33=47'] Exploring Operation: 89-47=42, Resulting Numbers: [5, 42] Generated Node #0,3,0: 40:[5, 42] Operation: 89-47=42 Exploring Operation: 47-5=42, Resulting Numbers: [89, 42] Generated Node #0,3,1: 40:[89, 42] Operation: 47-5=42 Exploring Operation: 89-5=84, Resulting Numbers: [47, 84] Generated Node #0,3,2: 40:[47, 84] Operation: 89-5=84 Exploring Operation: 5+89=94, Resulting Numbers: [47, 94] Generated Node #0,3,3: 40:[47, 94] Operation: 5+89=94 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[5, 42], Operations: ['80-33=47', '89-47=42'] Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,40 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[89, 42], Operations: ['80-33=47', '47-5=42'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 89+42=131, Resulting Numbers: [131] 131,40 unequal: No Solution Exploring Operation: 89*42=3738, Resulting Numbers: [3738] 3738,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[47, 84], Operations: ['80-33=47', '89-5=84'] Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 47+84=131, Resulting Numbers: [131] 131,40 unequal: No Solution Exploring Operation: 47*84=3948, Resulting Numbers: [3948] 3948,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[47, 94], Operations: ['80-33=47', '5+89=94'] Exploring Operation: 47+94=141, Resulting Numbers: [141] 141,40 unequal: No Solution Exploring Operation: 47*94=4418, Resulting Numbers: [4418] 4418,40 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,40 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: 40:[5, 80, 56], Operations: ['89-33=56'] Exploring Operation: 80/5=16, Resulting Numbers: [56, 16] Generated Node #0,1,0: 40:[56, 16] Operation: 80/5=16 Exploring Operation: 80-56=24, Resulting Numbers: [5, 24] Generated Node #0,1,1: 40:[5, 24] Operation: 80-56=24 Exploring Operation: 80-5=75, Resulting Numbers: [56, 75] Generated Node #0,1,2: 40:[56, 75] Operation: 80-5=75 Exploring Operation: 56-5=51, Resulting Numbers: [80, 51] Generated Node #0,1,3: 40:[80, 51] Operation: 56-5=51 Moving to Node #0,2 Current State: 40:[33, 89, 16], Operations: ['80/5=16'] Exploring Operation: 89-33=56, Resulting Numbers: [16, 56] Generated Node #0,2,0: 40:[16, 56] Operation: 89-33=56 Exploring Operation: 33+16=49, Resulting Numbers: [89, 49] Generated Node #0,2,1: 40:[89, 49] Operation: 33+16=49 Exploring Operation: 33-16=17, Resulting Numbers: [89, 17] Generated Node #0,2,2: 40:[89, 17] Operation: 33-16=17 Exploring Operation: 89-16=73, Resulting Numbers: [33, 73] Generated Node #0,2,3: 40:[33, 73] Operation: 89-16=73 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[16, 56], Operations: ['80/5=16', '89-33=56'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[33, 5, 89, 80], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [33, 89, 16] Generated Node #0,2: 40:[33, 89, 16] Operation: 80/5=16 Moving to Node #0,2 Current State: 40:[33, 89, 16], Operations: ['80/5=16'] Exploring Operation: 89-33=56, Resulting Numbers: [16, 56] Generated Node #0,2,0: 40:[16, 56] Operation: 89-33=56 Moving to Node #0,2,0 Current State: 40:[16, 56], Operations: ['80/5=16', '89-33=56'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 21, 63, 60, 67 ]
60
[ "63-60=3", "21/3=7", "67-7=60" ]
Current State: 60:[21, 63, 60, 67], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [21, 67, 3] Generated Node #2: [21, 67, 3] from Operation: 63-60=3 Current State: 60:[21, 67, 3], Operations: ['63-60=3'] Exploring Operation: 21/3=7, Resulting Numbers: [67, 7] Generated Node #3: [67, 7] from Operation: 21/3=7 Current State: 60:[67, 7], Operations: ['63-60=3', '21/3=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[21, 63, 60, 67], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [21, 60, 4] Generated Node #0,0: 60:[21, 60, 4] Operation: 67-63=4 Exploring Operation: 67-60=7, Resulting Numbers: [21, 63, 7] Generated Node #0,1: 60:[21, 63, 7] Operation: 67-60=7 Moving to Node #0,0 Current State: 60:[21, 60, 4], Operations: ['67-63=4'] Exploring Operation: 21-4=17, Resulting Numbers: [60, 17] Generated Node #0,0,0: 60:[60, 17] Operation: 21-4=17 Exploring Operation: 60/4=15, Resulting Numbers: [21, 15] Generated Node #0,0,1: 60:[21, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[21, 15], Operations: ['67-63=4', '60/4=15'] Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[60, 17], Operations: ['67-63=4', '21-4=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,60 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,60 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: 60:[21, 63, 7], Operations: ['67-60=7'] Exploring Operation: 63/7=9, Resulting Numbers: [21, 9] Generated Node #0,1,0: 60:[21, 9] Operation: 63/7=9 Exploring Operation: 63/21=3, Resulting Numbers: [7, 3] Generated Node #0,1,1: 60:[7, 3] Operation: 63/21=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[7, 3], Operations: ['67-60=7', '63/21=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[21, 9], Operations: ['67-60=7', '63/7=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,60 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
[ 55, 10, 54, 2 ]
33
[ "54-10=44", "2*44=88", "88-55=33" ]
Current State: 33:[55, 10, 54, 2], Operations: [] Exploring Operation: 54-10=44, Resulting Numbers: [55, 2, 44] Generated Node #2: [55, 2, 44] from Operation: 54-10=44 Current State: 33:[55, 2, 44], Operations: ['54-10=44'] Exploring Operation: 2*44=88, Resulting Numbers: [55, 88] Generated Node #3: [55, 88] from Operation: 2*44=88 Current State: 33:[55, 88], Operations: ['54-10=44', '2*44=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[55, 10, 54, 2], Operations: [] Exploring Operation: 55-54=1, Resulting Numbers: [10, 2, 1] Generated Node #0,0: 33:[10, 2, 1] Operation: 55-54=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[10, 2, 1], Operations: ['55-54=1'] Exploring Operation: 10+1=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 33:[2, 11] Operation: 10+1=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[2, 11], Operations: ['55-54=1', '10+1=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 66, 35, 5, 82 ]
73
[ "66-35=31", "5*31=155", "155-82=73" ]
Current State: 73:[66, 35, 5, 82], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [5, 82, 31] Generated Node #2: [5, 82, 31] from Operation: 66-35=31 Current State: 73:[5, 82, 31], Operations: ['66-35=31'] Exploring Operation: 5*31=155, Resulting Numbers: [82, 155] Generated Node #3: [82, 155] from Operation: 5*31=155 Current State: 73:[82, 155], Operations: ['66-35=31', '5*31=155'] Exploring Operation: 155-82=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[66, 35, 5, 82], Operations: [] Exploring Operation: 66+5=71, Resulting Numbers: [35, 82, 71] Generated Node #0,0: 73:[35, 82, 71] Operation: 66+5=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[35, 82, 71], Operations: ['66+5=71'] Exploring Operation: 82-35=47, Resulting Numbers: [71, 47] Generated Node #0,0,0: 73:[71, 47] Operation: 82-35=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[71, 47], Operations: ['66+5=71', '82-35=47'] Exploring Operation: 71+47=118, Resulting Numbers: [118] 118,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 24, 48, 53 ]
46
[ "27+24=51", "53-48=5", "51-5=46" ]
Current State: 46:[27, 24, 48, 53], Operations: [] Exploring Operation: 27+24=51, Resulting Numbers: [48, 53, 51] Generated Node #2: [48, 53, 51] from Operation: 27+24=51 Current State: 46:[48, 53, 51], Operations: ['27+24=51'] Exploring Operation: 53-48=5, Resulting Numbers: [51, 5] Generated Node #3: [51, 5] from Operation: 53-48=5 Current State: 46:[51, 5], Operations: ['27+24=51', '53-48=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[27, 24, 48, 53], Operations: [] Exploring Operation: 53-27=26, Resulting Numbers: [24, 48, 26] Generated Node #0,0: 46:[24, 48, 26] Operation: 53-27=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[24, 48, 26], Operations: ['53-27=26'] Exploring Operation: 26-24=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 46:[48, 2] Operation: 26-24=2 Moving to Node #0,0,0 Current State: 46:[48, 2], Operations: ['53-27=26', '26-24=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[27, 24, 48, 53], Operations: [] Exploring Operation: 53-27=26, Resulting Numbers: [24, 48, 26] Generated Node #0,0: 46:[24, 48, 26] Operation: 53-27=26 Moving to Node #0,0 Current State: 46:[24, 48, 26], Operations: ['53-27=26'] Exploring Operation: 26-24=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 46:[48, 2] Operation: 26-24=2 Moving to Node #0,0,0 Current State: 46:[48, 2], Operations: ['53-27=26', '26-24=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 15, 73, 26, 97 ]
17
[ "15+73=88", "97-26=71", "88-71=17" ]
Current State: 17:[15, 73, 26, 97], Operations: [] Exploring Operation: 15+73=88, Resulting Numbers: [26, 97, 88] Generated Node #2: [26, 97, 88] from Operation: 15+73=88 Current State: 17:[26, 97, 88], Operations: ['15+73=88'] Exploring Operation: 97-26=71, Resulting Numbers: [88, 71] Generated Node #3: [88, 71] from Operation: 97-26=71 Current State: 17:[88, 71], Operations: ['15+73=88', '97-26=71'] Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[15, 73, 26, 97], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [15, 26, 24] Generated Node #0,0: 17:[15, 26, 24] Operation: 97-73=24 Exploring Operation: 73-26=47, Resulting Numbers: [15, 97, 47] Generated Node #0,1: 17:[15, 97, 47] Operation: 73-26=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[15, 26, 24], Operations: ['97-73=24'] Exploring Operation: 26-15=11, Resulting Numbers: [24, 11] Generated Node #0,0,0: 17:[24, 11] Operation: 26-15=11 Exploring Operation: 24-15=9, Resulting Numbers: [26, 9] Generated Node #0,0,1: 17:[26, 9] Operation: 24-15=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[24, 11], Operations: ['97-73=24', '26-15=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[26, 9], Operations: ['97-73=24', '24-15=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[15, 73, 26, 97], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [15, 26, 24] Generated Node #0,0: 17:[15, 26, 24] Operation: 97-73=24 Moving to Node #0,0 Current State: 17:[15, 26, 24], Operations: ['97-73=24'] Exploring Operation: 24-15=9, Resulting Numbers: [26, 9] Generated Node #0,0,1: 17:[26, 9] Operation: 24-15=9 Moving to Node #0,0,1 Current State: 17:[26, 9], Operations: ['97-73=24', '24-15=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 29, 47, 10, 87 ]
59
[ "47-29=18", "87-10=77", "77-18=59" ]
Current State: 59:[29, 47, 10, 87], Operations: [] Exploring Operation: 47-29=18, Resulting Numbers: [10, 87, 18] Generated Node #2: [10, 87, 18] from Operation: 47-29=18 Current State: 59:[10, 87, 18], Operations: ['47-29=18'] Exploring Operation: 87-10=77, Resulting Numbers: [18, 77] Generated Node #3: [18, 77] from Operation: 87-10=77 Current State: 59:[18, 77], Operations: ['47-29=18', '87-10=77'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[29, 47, 10, 87], Operations: [] Exploring Operation: 87-10=77, Resulting Numbers: [29, 47, 77] Generated Node #0,0: 59:[29, 47, 77] Operation: 87-10=77 Exploring Operation: 29-10=19, Resulting Numbers: [47, 87, 19] Generated Node #0,1: 59:[47, 87, 19] Operation: 29-10=19 Exploring Operation: 29+10=39, Resulting Numbers: [47, 87, 39] Generated Node #0,2: 59:[47, 87, 39] Operation: 29+10=39 Exploring Operation: 87-29=58, Resulting Numbers: [47, 10, 58] Generated Node #0,3: 59:[47, 10, 58] Operation: 87-29=58 Exploring Operation: 47+10=57, Resulting Numbers: [29, 87, 57] Generated Node #0,4: 59:[29, 87, 57] Operation: 47+10=57 Moving to Node #0,0 Current State: 59:[29, 47, 77], Operations: ['87-10=77'] Exploring Operation: 47-29=18, Resulting Numbers: [77, 18] Generated Node #0,0,0: 59:[77, 18] Operation: 47-29=18 Exploring Operation: 29+77=106, Resulting Numbers: [47, 106] Generated Node #0,0,1: 59:[47, 106] Operation: 29+77=106 Exploring Operation: 29+47=76, Resulting Numbers: [77, 76] Generated Node #0,0,2: 59:[77, 76] Operation: 29+47=76 Exploring Operation: 77-47=30, Resulting Numbers: [29, 30] Generated Node #0,0,3: 59:[29, 30] Operation: 77-47=30 Exploring Operation: 77-29=48, Resulting Numbers: [47, 48] Generated Node #0,0,4: 59:[47, 48] Operation: 77-29=48 Moving to Node #0,4 Current State: 59:[29, 87, 57], Operations: ['47+10=57'] Exploring Operation: 57-29=28, Resulting Numbers: [87, 28] Generated Node #0,4,0: 59:[87, 28] Operation: 57-29=28 Exploring Operation: 29+57=86, Resulting Numbers: [87, 86] Generated Node #0,4,1: 59:[87, 86] Operation: 29+57=86 Exploring Operation: 87/29=3, Resulting Numbers: [57, 3] Generated Node #0,4,2: 59:[57, 3] Operation: 87/29=3 Exploring Operation: 87-29=58, Resulting Numbers: [57, 58] Generated Node #0,4,3: 59:[57, 58] Operation: 87-29=58 Exploring Operation: 29+87=116, Resulting Numbers: [57, 116] Generated Node #0,4,4: 59:[57, 116] Operation: 29+87=116 Moving to Node #0,2 Current State: 59:[47, 87, 39], Operations: ['29+10=39'] Exploring Operation: 47-39=8, Resulting Numbers: [87, 8] Generated Node #0,2,0: 59:[87, 8] Operation: 47-39=8 Exploring Operation: 47+39=86, Resulting Numbers: [87, 86] Generated Node #0,2,1: 59:[87, 86] Operation: 47+39=86 Exploring Operation: 87-39=48, Resulting Numbers: [47, 48] Generated Node #0,2,2: 59:[47, 48] Operation: 87-39=48 Exploring Operation: 87-47=40, Resulting Numbers: [39, 40] Generated Node #0,2,3: 59:[39, 40] Operation: 87-47=40 Exploring Operation: 87+39=126, Resulting Numbers: [47, 126] Generated Node #0,2,4: 59:[47, 126] Operation: 87+39=126 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[47, 48], Operations: ['29+10=39', '87-39=48'] Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,59 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[39, 40], Operations: ['29+10=39', '87-47=40'] Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,59 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[87, 86], Operations: ['29+10=39', '47+39=86'] Exploring Operation: 87+86=173, Resulting Numbers: [173] 173,59 unequal: No Solution Exploring Operation: 87*86=7482, Resulting Numbers: [7482] 7482,59 unequal: No Solution Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[87, 8], Operations: ['29+10=39', '47-39=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 59:[47, 126], Operations: ['29+10=39', '87+39=126'] Exploring Operation: 47+126=173, Resulting Numbers: [173] 173,59 unequal: No Solution Exploring Operation: 126-47=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 47*126=5922, Resulting Numbers: [5922] 5922,59 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: 59:[47, 10, 58], Operations: ['87-29=58'] Exploring Operation: 10+58=68, Resulting Numbers: [47, 68] Generated Node #0,3,0: 59:[47, 68] Operation: 10+58=68 Exploring Operation: 58-10=48, Resulting Numbers: [47, 48] Generated Node #0,3,1: 59:[47, 48] Operation: 58-10=48 Exploring Operation: 47-10=37, Resulting Numbers: [58, 37] Generated Node #0,3,2: 59:[58, 37] Operation: 47-10=37 Exploring Operation: 47+10=57, Resulting Numbers: [58, 57] Generated Node #0,3,3: 59:[58, 57] Operation: 47+10=57 Exploring Operation: 47+58=105, Resulting Numbers: [10, 105] Generated Node #0,3,4: 59:[10, 105] Operation: 47+58=105 Moving to Node #0,1 Current State: 59:[47, 87, 19], Operations: ['29-10=19'] Exploring Operation: 87-19=68, Resulting Numbers: [47, 68] Generated Node #0,1,0: 59:[47, 68] Operation: 87-19=68 Exploring Operation: 47+19=66, Resulting Numbers: [87, 66] Generated Node #0,1,1: 59:[87, 66] Operation: 47+19=66 Exploring Operation: 87+19=106, Resulting Numbers: [47, 106] Generated Node #0,1,2: 59:[47, 106] Operation: 87+19=106 Exploring Operation: 87-47=40, Resulting Numbers: [19, 40] Generated Node #0,1,3: 59:[19, 40] Operation: 87-47=40 Exploring Operation: 47-19=28, Resulting Numbers: [87, 28] Generated Node #0,1,4: 59:[87, 28] Operation: 47-19=28 Moving to Node #0,4,3 Current State: 59:[57, 58], Operations: ['47+10=57', '87-29=58'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 57*58=3306, Resulting Numbers: [3306] 3306,59 unequal: No Solution Exploring Operation: 57+58=115, Resulting Numbers: [115] 115,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[58, 57], Operations: ['87-29=58', '47+10=57'] Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,59 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[47, 68], Operations: ['87-29=58', '10+58=68'] Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[47, 68], Operations: ['29-10=19', '87-19=68'] Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,59 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[58, 37], Operations: ['87-29=58', '47-10=37'] Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,59 unequal: No Solution Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[47, 48], Operations: ['87-10=77', '77-29=48'] Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,59 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[47, 48], Operations: ['87-29=58', '58-10=48'] Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,59 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[77, 76], Operations: ['87-10=77', '29+47=76'] Exploring Operation: 77-76=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 77*76=5852, Resulting Numbers: [5852] 5852,59 unequal: No Solution Exploring Operation: 77+76=153, Resulting Numbers: [153] 153,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[87, 66], Operations: ['29-10=19', '47+19=66'] Exploring Operation: 87*66=5742, Resulting Numbers: [5742] 5742,59 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 87+66=153, Resulting Numbers: [153] 153,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[87, 86], Operations: ['47+10=57', '29+57=86'] Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 87*86=7482, Resulting Numbers: [7482] 7482,59 unequal: No Solution Exploring Operation: 87+86=173, Resulting Numbers: [173] 173,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[57, 3], Operations: ['47+10=57', '87/29=3'] Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,59 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[19, 40], Operations: ['29-10=19', '87-47=40'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,59 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[29, 47, 10, 87], Operations: [] Exploring Operation: 29-10=19, Resulting Numbers: [47, 87, 19] Generated Node #0,1: 59:[47, 87, 19] Operation: 29-10=19 Moving to Node #0,1 Current State: 59:[47, 87, 19], Operations: ['29-10=19'] Exploring Operation: 87-47=40, Resulting Numbers: [19, 40] Generated Node #0,1,3: 59:[19, 40] Operation: 87-47=40 Moving to Node #0,1,3 Current State: 59:[19, 40], Operations: ['29-10=19', '87-47=40'] Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.925347
hs_5
mult_heuristic
[ 10, 74, 82, 62 ]
38
[ "74-62=12", "10*12=120", "120-82=38" ]
Current State: 38:[10, 74, 82, 62], Operations: [] Exploring Operation: 74-62=12, Resulting Numbers: [10, 82, 12] Generated Node #2: [10, 82, 12] from Operation: 74-62=12 Current State: 38:[10, 82, 12], Operations: ['74-62=12'] Exploring Operation: 10*12=120, Resulting Numbers: [82, 120] Generated Node #3: [82, 120] from Operation: 10*12=120 Current State: 38:[82, 120], Operations: ['74-62=12', '10*12=120'] Exploring Operation: 120-82=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[10, 74, 82, 62], Operations: [] Exploring Operation: 74-62=12, Resulting Numbers: [10, 82, 12] Generated Node #0,0: 38:[10, 82, 12] Operation: 74-62=12 Exploring Operation: 82-74=8, Resulting Numbers: [10, 62, 8] Generated Node #0,1: 38:[10, 62, 8] Operation: 82-74=8 Exploring Operation: 82-62=20, Resulting Numbers: [10, 74, 20] Generated Node #0,2: 38:[10, 74, 20] Operation: 82-62=20 Moving to Node #0,1 Current State: 38:[10, 62, 8], Operations: ['82-74=8'] Exploring Operation: 62-8=54, Resulting Numbers: [10, 54] Generated Node #0,1,0: 38:[10, 54] Operation: 62-8=54 Exploring Operation: 62-10=52, Resulting Numbers: [8, 52] Generated Node #0,1,1: 38:[8, 52] Operation: 62-10=52 Exploring Operation: 10-8=2, Resulting Numbers: [62, 2] Generated Node #0,1,2: 38:[62, 2] Operation: 10-8=2 Moving to Node #0,2 Current State: 38:[10, 74, 20], Operations: ['82-62=20'] Exploring Operation: 74-20=54, Resulting Numbers: [10, 54] Generated Node #0,2,0: 38:[10, 54] Operation: 74-20=54 Exploring Operation: 20/10=2, Resulting Numbers: [74, 2] Generated Node #0,2,1: 38:[74, 2] Operation: 20/10=2 Exploring Operation: 74-10=64, Resulting Numbers: [20, 64] Generated Node #0,2,2: 38:[20, 64] Operation: 74-10=64 Moving to Node #0,0 Current State: 38:[10, 82, 12], Operations: ['74-62=12'] Exploring Operation: 82-12=70, Resulting Numbers: [10, 70] Generated Node #0,0,0: 38:[10, 70] Operation: 82-12=70 Exploring Operation: 12-10=2, Resulting Numbers: [82, 2] Generated Node #0,0,1: 38:[82, 2] Operation: 12-10=2 Exploring Operation: 82-10=72, Resulting Numbers: [12, 72] Generated Node #0,0,2: 38:[12, 72] Operation: 82-10=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[10, 70], Operations: ['74-62=12', '82-12=70'] Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 10+70=80, Resulting Numbers: [80] 80,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[12, 72], Operations: ['74-62=12', '82-10=72'] Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[82, 2], Operations: ['74-62=12', '12-10=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,38 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: 38:[8, 52], Operations: ['82-74=8', '62-10=52'] Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,38 unequal: No Solution Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[62, 2], Operations: ['82-74=8', '10-8=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,38 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[10, 54], Operations: ['82-74=8', '62-8=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,38 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,38 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[10, 54], Operations: ['82-62=20', '74-20=54'] Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,38 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[20, 64], Operations: ['82-62=20', '74-10=64'] Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,38 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[74, 2], Operations: ['82-62=20', '20/10=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,38 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,38 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,38 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 13, 47, 13, 27 ]
47
[ "13+13=26", "27-26=1", "47*1=47" ]
Current State: 47:[13, 47, 13, 27], Operations: [] Exploring Operation: 13+13=26, Resulting Numbers: [47, 27, 26] Generated Node #2: [47, 27, 26] from Operation: 13+13=26 Current State: 47:[47, 27, 26], Operations: ['13+13=26'] Exploring Operation: 27-26=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 27-26=1 Current State: 47:[47, 1], Operations: ['13+13=26', '27-26=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[13, 47, 13, 27], Operations: [] Exploring Operation: 13+13=26, Resulting Numbers: [47, 27, 26] Generated Node #0,0: 47:[47, 27, 26] Operation: 13+13=26 Exploring Operation: 13+27=40, Resulting Numbers: [13, 47, 40] Generated Node #0,1: 47:[13, 47, 40] Operation: 13+27=40 Exploring Operation: 13+27=40, Resulting Numbers: [47, 13, 40] Generated Node #0,2: 47:[47, 13, 40] Operation: 13+27=40 Moving to Node #0,0 Current State: 47:[47, 27, 26], Operations: ['13+13=26'] Exploring Operation: 47-26=21, Resulting Numbers: [27, 21] Generated Node #0,0,0: 47:[27, 21] Operation: 47-26=21 Exploring Operation: 47+26=73, Resulting Numbers: [27, 73] Generated Node #0,0,1: 47:[27, 73] Operation: 47+26=73 Exploring Operation: 27+26=53, Resulting Numbers: [47, 53] Generated Node #0,0,2: 47:[47, 53] Operation: 27+26=53 Moving to Node #0,1 Current State: 47:[13, 47, 40], Operations: ['13+27=40'] Exploring Operation: 13+47=60, Resulting Numbers: [40, 60] Generated Node #0,1,0: 47:[40, 60] Operation: 13+47=60 Exploring Operation: 47-13=34, Resulting Numbers: [40, 34] Generated Node #0,1,1: 47:[40, 34] Operation: 47-13=34 Exploring Operation: 13+40=53, Resulting Numbers: [47, 53] Generated Node #0,1,2: 47:[47, 53] Operation: 13+40=53 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[47, 53], Operations: ['13+27=40', '13+40=53'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,47 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[40, 60], Operations: ['13+27=40', '13+47=60'] Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,47 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[40, 34], Operations: ['13+27=40', '47-13=34'] Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,47 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,47 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: 47:[47, 13, 40], Operations: ['13+27=40'] Exploring Operation: 13+40=53, Resulting Numbers: [47, 53] Generated Node #0,2,0: 47:[47, 53] Operation: 13+40=53 Exploring Operation: 47+13=60, Resulting Numbers: [40, 60] Generated Node #0,2,1: 47:[40, 60] Operation: 47+13=60 Exploring Operation: 47-13=34, Resulting Numbers: [40, 34] Generated Node #0,2,2: 47:[40, 34] Operation: 47-13=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[47, 53], Operations: ['13+27=40', '13+40=53'] Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,47 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[40, 60], Operations: ['13+27=40', '47+13=60'] Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[40, 34], Operations: ['13+27=40', '47-13=34'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,47 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 47:[47, 53], Operations: ['13+13=26', '27+26=53'] Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,47 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[27, 21], Operations: ['13+13=26', '47-26=21'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 27*21=567, Resulting Numbers: [567] 567,47 unequal: No Solution Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[27, 73], Operations: ['13+13=26', '47+26=73'] Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,47 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 22, 19, 87, 38 ]
29
[ "22+19=41", "41-38=3", "87/3=29" ]
Current State: 29:[22, 19, 87, 38], Operations: [] Exploring Operation: 22+19=41, Resulting Numbers: [87, 38, 41] Generated Node #2: [87, 38, 41] from Operation: 22+19=41 Current State: 29:[87, 38, 41], Operations: ['22+19=41'] Exploring Operation: 41-38=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 41-38=3 Current State: 29:[87, 3], Operations: ['22+19=41', '41-38=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[22, 19, 87, 38], Operations: [] Exploring Operation: 87-38=49, Resulting Numbers: [22, 19, 49] Generated Node #0,0: 29:[22, 19, 49] Operation: 87-38=49 Exploring Operation: 87-22=65, Resulting Numbers: [19, 38, 65] Generated Node #0,1: 29:[19, 38, 65] Operation: 87-22=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[22, 19, 49], Operations: ['87-38=49'] Exploring Operation: 49-19=30, Resulting Numbers: [22, 30] Generated Node #0,0,0: 29:[22, 30] Operation: 49-19=30 Exploring Operation: 49-22=27, Resulting Numbers: [19, 27] Generated Node #0,0,1: 29:[19, 27] Operation: 49-22=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[22, 30], Operations: ['87-38=49', '49-19=30'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,29 unequal: No Solution No 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: 29:[19, 27], Operations: ['87-38=49', '49-22=27'] Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,29 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: 29:[19, 38, 65], Operations: ['87-22=65'] Exploring Operation: 65-38=27, Resulting Numbers: [19, 27] Generated Node #0,1,0: 29:[19, 27] Operation: 65-38=27 Exploring Operation: 65-19=46, Resulting Numbers: [38, 46] Generated Node #0,1,1: 29:[38, 46] Operation: 65-19=46 Moving to Node #0,1,0 Current State: 29:[19, 27], Operations: ['87-22=65', '65-38=27'] Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[38, 46], Operations: ['87-22=65', '65-19=46'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,29 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
[ 73, 35, 27, 28 ]
53
[ "73+35=108", "27+28=55", "108-55=53" ]
Current State: 53:[73, 35, 27, 28], Operations: [] Exploring Operation: 73+35=108, Resulting Numbers: [27, 28, 108] Generated Node #2: [27, 28, 108] from Operation: 73+35=108 Current State: 53:[27, 28, 108], Operations: ['73+35=108'] Exploring Operation: 27+28=55, Resulting Numbers: [108, 55] Generated Node #3: [108, 55] from Operation: 27+28=55 Current State: 53:[108, 55], Operations: ['73+35=108', '27+28=55'] Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[73, 35, 27, 28], Operations: [] Exploring Operation: 73-28=45, Resulting Numbers: [35, 27, 45] Generated Node #0,0: 53:[35, 27, 45] Operation: 73-28=45 Exploring Operation: 27+28=55, Resulting Numbers: [73, 35, 55] Generated Node #0,1: 53:[73, 35, 55] Operation: 27+28=55 Exploring Operation: 73-27=46, Resulting Numbers: [35, 28, 46] Generated Node #0,2: 53:[35, 28, 46] Operation: 73-27=46 Moving to Node #0,1 Current State: 53:[73, 35, 55], Operations: ['27+28=55'] Exploring Operation: 73-55=18, Resulting Numbers: [35, 18] Generated Node #0,1,0: 53:[35, 18] Operation: 73-55=18 Exploring Operation: 73-35=38, Resulting Numbers: [55, 38] Generated Node #0,1,1: 53:[55, 38] Operation: 73-35=38 Exploring Operation: 55-35=20, Resulting Numbers: [73, 20] Generated Node #0,1,2: 53:[73, 20] Operation: 55-35=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[55, 38], Operations: ['27+28=55', '73-35=38'] Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[35, 18], Operations: ['27+28=55', '73-55=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,53 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[73, 35, 27, 28], Operations: [] Exploring Operation: 27+28=55, Resulting Numbers: [73, 35, 55] Generated Node #0,1: 53:[73, 35, 55] Operation: 27+28=55 Moving to Node #0,1 Current State: 53:[73, 35, 55], Operations: ['27+28=55'] Exploring Operation: 73-55=18, Resulting Numbers: [35, 18] Generated Node #0,1,0: 53:[35, 18] Operation: 73-55=18 Moving to Node #0,1,0 Current State: 53:[35, 18], Operations: ['27+28=55', '73-55=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 33, 5, 59, 2 ]
36
[ "59-33=26", "5*2=10", "26+10=36" ]
Current State: 36:[33, 5, 59, 2], Operations: [] Exploring Operation: 59-33=26, Resulting Numbers: [5, 2, 26] Generated Node #2: [5, 2, 26] from Operation: 59-33=26 Current State: 36:[5, 2, 26], Operations: ['59-33=26'] Exploring Operation: 5*2=10, Resulting Numbers: [26, 10] Generated Node #3: [26, 10] from Operation: 5*2=10 Current State: 36:[26, 10], Operations: ['59-33=26', '5*2=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[33, 5, 59, 2], Operations: [] Exploring Operation: 33+2=35, Resulting Numbers: [5, 59, 35] Generated Node #0,0: 36:[5, 59, 35] Operation: 33+2=35 Exploring Operation: 33+5=38, Resulting Numbers: [59, 2, 38] Generated Node #0,1: 36:[59, 2, 38] Operation: 33+5=38 Exploring Operation: 59-33=26, Resulting Numbers: [5, 2, 26] Generated Node #0,2: 36:[5, 2, 26] Operation: 59-33=26 Exploring Operation: 59-5=54, Resulting Numbers: [33, 2, 54] Generated Node #0,3: 36:[33, 2, 54] Operation: 59-5=54 Moving to Node #0,2 Current State: 36:[5, 2, 26], Operations: ['59-33=26'] Exploring Operation: 26-2=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 36:[5, 24] Operation: 26-2=24 Exploring Operation: 5+26=31, Resulting Numbers: [2, 31] Generated Node #0,2,1: 36:[2, 31] Operation: 5+26=31 Exploring Operation: 26-5=21, Resulting Numbers: [2, 21] Generated Node #0,2,2: 36:[2, 21] Operation: 26-5=21 Exploring Operation: 26/2=13, Resulting Numbers: [5, 13] Generated Node #0,2,3: 36:[5, 13] Operation: 26/2=13 Moving to Node #0,3 Current State: 36:[33, 2, 54], Operations: ['59-5=54'] Exploring Operation: 54-2=52, Resulting Numbers: [33, 52] Generated Node #0,3,0: 36:[33, 52] Operation: 54-2=52 Exploring Operation: 33+2=35, Resulting Numbers: [54, 35] Generated Node #0,3,1: 36:[54, 35] Operation: 33+2=35 Exploring Operation: 54/2=27, Resulting Numbers: [33, 27] Generated Node #0,3,2: 36:[33, 27] Operation: 54/2=27 Exploring Operation: 54-33=21, Resulting Numbers: [2, 21] Generated Node #0,3,3: 36:[2, 21] Operation: 54-33=21 Moving to Node #0,1 Current State: 36:[59, 2, 38], Operations: ['33+5=38'] Exploring Operation: 38-2=36, Resulting Numbers: [59, 36] Generated Node #0,1,0: 36:[59, 36] Operation: 38-2=36 Exploring Operation: 59-38=21, Resulting Numbers: [2, 21] Generated Node #0,1,1: 36:[2, 21] Operation: 59-38=21 Exploring Operation: 59-2=57, Resulting Numbers: [38, 57] Generated Node #0,1,2: 36:[38, 57] Operation: 59-2=57 Exploring Operation: 38/2=19, Resulting Numbers: [59, 19] Generated Node #0,1,3: 36:[59, 19] Operation: 38/2=19 Moving to Node #0,0 Current State: 36:[5, 59, 35], Operations: ['33+2=35'] Exploring Operation: 5+35=40, Resulting Numbers: [59, 40] Generated Node #0,0,0: 36:[59, 40] Operation: 5+35=40 Exploring Operation: 59-5=54, Resulting Numbers: [35, 54] Generated Node #0,0,1: 36:[35, 54] Operation: 59-5=54 Exploring Operation: 35/5=7, Resulting Numbers: [59, 7] Generated Node #0,0,2: 36:[59, 7] Operation: 35/5=7 Exploring Operation: 59-35=24, Resulting Numbers: [5, 24] Generated Node #0,0,3: 36:[5, 24] Operation: 59-35=24 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[5, 24], Operations: ['33+2=35', '59-35=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,36 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[35, 54], Operations: ['33+2=35', '59-5=54'] Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,36 unequal: No Solution Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,36 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[59, 7], Operations: ['33+2=35', '35/5=7'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,36 unequal: No Solution Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[59, 40], Operations: ['33+2=35', '5+35=40'] Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,36 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 36:[5, 13], Operations: ['59-33=26', '26/2=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,36 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[2, 21], Operations: ['59-33=26', '26-5=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[2, 21], Operations: ['59-5=54', '54-33=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[2, 21], Operations: ['33+5=38', '59-38=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[2, 31], Operations: ['59-33=26', '5+26=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,36 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[5, 24], Operations: ['59-33=26', '26-2=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,36 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[33, 27], Operations: ['59-5=54', '54/2=27'] Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,36 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[33, 52], Operations: ['59-5=54', '54-2=52'] Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,36 unequal: No Solution Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[54, 35], Operations: ['59-5=54', '33+2=35'] Exploring Operation: 54+35=89, Resulting Numbers: [89] 89,36 unequal: No Solution Exploring Operation: 54*35=1890, Resulting Numbers: [1890] 1890,36 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[59, 36], Operations: ['33+5=38', '38-2=36'] Exploring Operation: 59*36=2124, Resulting Numbers: [2124] 2124,36 unequal: No Solution Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[38, 57], Operations: ['33+5=38', '59-2=57'] Exploring Operation: 38*57=2166, Resulting Numbers: [2166] 2166,36 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[59, 19], Operations: ['33+5=38', '38/2=19'] Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 59*19=1121, Resulting Numbers: [1121] 1121,36 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 17, 27, 98, 60 ]
57
[ "98-17=81", "81/27=3", "60-3=57" ]
Current State: 57:[17, 27, 98, 60], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [27, 60, 81] Generated Node #2: [27, 60, 81] from Operation: 98-17=81 Current State: 57:[27, 60, 81], Operations: ['98-17=81'] Exploring Operation: 81/27=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 81/27=3 Current State: 57:[60, 3], Operations: ['98-17=81', '81/27=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[17, 27, 98, 60], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [27, 60, 81] Generated Node #0,0: 57:[27, 60, 81] Operation: 98-17=81 Exploring Operation: 98-27=71, Resulting Numbers: [17, 60, 71] Generated Node #0,1: 57:[17, 60, 71] Operation: 98-27=71 Exploring Operation: 98-60=38, Resulting Numbers: [17, 27, 38] Generated Node #0,2: 57:[17, 27, 38] Operation: 98-60=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[17, 60, 71], Operations: ['98-27=71'] Exploring Operation: 60-17=43, Resulting Numbers: [71, 43] Generated Node #0,1,0: 57:[71, 43] Operation: 60-17=43 Exploring Operation: 71-17=54, Resulting Numbers: [60, 54] Generated Node #0,1,1: 57:[60, 54] Operation: 71-17=54 Exploring Operation: 71-60=11, Resulting Numbers: [17, 11] Generated Node #0,1,2: 57:[17, 11] Operation: 71-60=11 Moving to Node #0,1,1 Current State: 57:[60, 54], Operations: ['98-27=71', '71-17=54'] Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,57 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[17, 11], Operations: ['98-27=71', '71-60=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,57 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[71, 43], Operations: ['98-27=71', '60-17=43'] Exploring Operation: 71-43=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 71*43=3053, Resulting Numbers: [3053] 3053,57 unequal: No Solution Exploring Operation: 71+43=114, Resulting Numbers: [114] 114,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 Current State: 57:[17, 27, 38], Operations: ['98-60=38'] Exploring Operation: 27+38=65, Resulting Numbers: [17, 65] Generated Node #0,2,0: 57:[17, 65] Operation: 27+38=65 Exploring Operation: 17+38=55, Resulting Numbers: [27, 55] Generated Node #0,2,1: 57:[27, 55] Operation: 17+38=55 Exploring Operation: 38-17=21, Resulting Numbers: [27, 21] Generated Node #0,2,2: 57:[27, 21] Operation: 38-17=21 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[17, 65], Operations: ['98-60=38', '27+38=65'] Exploring Operation: 17*65=1105, Resulting Numbers: [1105] 1105,57 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,57 unequal: No Solution Exploring Operation: 17+65=82, Resulting Numbers: [82] 82,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[27, 55], Operations: ['98-60=38', '17+38=55'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,57 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[27, 21], Operations: ['98-60=38', '38-17=21'] Exploring Operation: 27*21=567, Resulting Numbers: [567] 567,57 unequal: No Solution Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,57 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[27, 60, 81], Operations: ['98-17=81'] Exploring Operation: 81-27=54, Resulting Numbers: [60, 54] Generated Node #0,0,0: 57:[60, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [60, 3] Generated Node #0,0,1: 57:[60, 3] Operation: 81/27=3 Exploring Operation: 81-60=21, Resulting Numbers: [27, 21] Generated Node #0,0,2: 57:[27, 21] Operation: 81-60=21 Moving to Node #0,0,1 Current State: 57:[60, 3], Operations: ['98-17=81', '81/27=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[17, 27, 98, 60], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [27, 60, 81] Generated Node #0,0: 57:[27, 60, 81] Operation: 98-17=81 Moving to Node #0,0 Current State: 57:[27, 60, 81], Operations: ['98-17=81'] Exploring Operation: 81/27=3, Resulting Numbers: [60, 3] Generated Node #0,0,1: 57:[60, 3] Operation: 81/27=3 Moving to Node #0,0,1 Current State: 57:[60, 3], Operations: ['98-17=81', '81/27=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_3
mult_heuristic
[ 2, 48, 49, 53 ]
59
[ "53-48=5", "2*5=10", "49+10=59" ]
Current State: 59:[2, 48, 49, 53], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [2, 49, 5] Generated Node #2: [2, 49, 5] from Operation: 53-48=5 Current State: 59:[2, 49, 5], Operations: ['53-48=5'] Exploring Operation: 2*5=10, Resulting Numbers: [49, 10] Generated Node #3: [49, 10] from Operation: 2*5=10 Current State: 59:[49, 10], Operations: ['53-48=5', '2*5=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 48, 49, 53], Operations: [] Exploring Operation: 2+49=51, Resulting Numbers: [48, 53, 51] Generated Node #0,0: 59:[48, 53, 51] Operation: 2+49=51 Exploring Operation: 2+48=50, Resulting Numbers: [49, 53, 50] Generated Node #0,1: 59:[49, 53, 50] Operation: 2+48=50 Moving to Node #0,0 Current State: 59:[48, 53, 51], Operations: ['2+49=51'] Exploring Operation: 48+51=99, Resulting Numbers: [53, 99] Generated Node #0,0,0: 59:[53, 99] Operation: 48+51=99 Exploring Operation: 48+53=101, Resulting Numbers: [51, 101] Generated Node #0,0,1: 59:[51, 101] Operation: 48+53=101 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[53, 99], Operations: ['2+49=51', '48+51=99'] Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 53+99=152, Resulting Numbers: [152] 152,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[51, 101], Operations: ['2+49=51', '48+53=101'] Exploring Operation: 51+101=152, Resulting Numbers: [152] 152,59 unequal: No Solution Exploring Operation: 101-51=50, Resulting Numbers: [50] 50,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[49, 53, 50], Operations: ['2+48=50'] Exploring Operation: 49+50=99, Resulting Numbers: [53, 99] Generated Node #0,1,0: 59:[53, 99] Operation: 49+50=99 Exploring Operation: 49+53=102, Resulting Numbers: [50, 102] Generated Node #0,1,1: 59:[50, 102] Operation: 49+53=102 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[53, 99], Operations: ['2+48=50', '49+50=99'] Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 53+99=152, Resulting Numbers: [152] 152,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[50, 102], Operations: ['2+48=50', '49+53=102'] Exploring Operation: 102-50=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 50+102=152, Resulting Numbers: [152] 152,59 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, 70, 21, 60 ]
90
[ "70-61=9", "21+60=81", "9+81=90" ]
Current State: 90:[61, 70, 21, 60], Operations: [] Exploring Operation: 70-61=9, Resulting Numbers: [21, 60, 9] Generated Node #2: [21, 60, 9] from Operation: 70-61=9 Current State: 90:[21, 60, 9], Operations: ['70-61=9'] Exploring Operation: 21+60=81, Resulting Numbers: [9, 81] Generated Node #3: [9, 81] from Operation: 21+60=81 Current State: 90:[9, 81], Operations: ['70-61=9', '21+60=81'] Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[61, 70, 21, 60], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [61, 21, 10] Generated Node #0,0: 90:[61, 21, 10] Operation: 70-60=10 Exploring Operation: 61-60=1, Resulting Numbers: [70, 21, 1] Generated Node #0,1: 90:[70, 21, 1] Operation: 61-60=1 Exploring Operation: 70-61=9, Resulting Numbers: [21, 60, 9] Generated Node #0,2: 90:[21, 60, 9] Operation: 70-61=9 Moving to Node #0,2 Current State: 90:[21, 60, 9], Operations: ['70-61=9'] Exploring Operation: 21+60=81, Resulting Numbers: [9, 81] Generated Node #0,2,0: 90:[9, 81] Operation: 21+60=81 Exploring Operation: 60-9=51, Resulting Numbers: [21, 51] Generated Node #0,2,1: 90:[21, 51] Operation: 60-9=51 Exploring Operation: 60-21=39, Resulting Numbers: [9, 39] Generated Node #0,2,2: 90:[9, 39] Operation: 60-21=39 Moving to Node #0,0 Current State: 90:[61, 21, 10], Operations: ['70-60=10'] Exploring Operation: 61-10=51, Resulting Numbers: [21, 51] Generated Node #0,0,0: 90:[21, 51] Operation: 61-10=51 Exploring Operation: 61+21=82, Resulting Numbers: [10, 82] Generated Node #0,0,1: 90:[10, 82] Operation: 61+21=82 Exploring Operation: 61-21=40, Resulting Numbers: [10, 40] Generated Node #0,0,2: 90:[10, 40] Operation: 61-21=40 Moving to Node #0,1 Current State: 90:[70, 21, 1], Operations: ['61-60=1'] Exploring Operation: 70+21=91, Resulting Numbers: [1, 91] Generated Node #0,1,0: 90:[1, 91] Operation: 70+21=91 Exploring Operation: 70+1=71, Resulting Numbers: [21, 71] Generated Node #0,1,1: 90:[21, 71] Operation: 70+1=71 Exploring Operation: 70-21=49, Resulting Numbers: [1, 49] Generated Node #0,1,2: 90:[1, 49] Operation: 70-21=49 Moving to Node #0,1,0 Current State: 90:[1, 91], Operations: ['61-60=1', '70+21=91'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[61, 70, 21, 60], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [70, 21, 1] Generated Node #0,1: 90:[70, 21, 1] Operation: 61-60=1 Moving to Node #0,1 Current State: 90:[70, 21, 1], Operations: ['61-60=1'] Exploring Operation: 70+21=91, Resulting Numbers: [1, 91] Generated Node #0,1,0: 90:[1, 91] Operation: 70+21=91 Moving to Node #0,1,0 Current State: 90:[1, 91], Operations: ['61-60=1', '70+21=91'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 60, 94, 95, 93 ]
77
[ "60+94=154", "95-93=2", "154/2=77" ]
Current State: 77:[60, 94, 95, 93], Operations: [] Exploring Operation: 60+94=154, Resulting Numbers: [95, 93, 154] Generated Node #2: [95, 93, 154] from Operation: 60+94=154 Current State: 77:[95, 93, 154], Operations: ['60+94=154'] Exploring Operation: 95-93=2, Resulting Numbers: [154, 2] Generated Node #3: [154, 2] from Operation: 95-93=2 Current State: 77:[154, 2], Operations: ['60+94=154', '95-93=2'] Exploring Operation: 154/2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[60, 94, 95, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [60, 94, 2] Generated Node #0,0: 77:[60, 94, 2] Operation: 95-93=2 Exploring Operation: 94-60=34, Resulting Numbers: [95, 93, 34] Generated Node #0,1: 77:[95, 93, 34] Operation: 94-60=34 Exploring Operation: 95-94=1, Resulting Numbers: [60, 93, 1] Generated Node #0,2: 77:[60, 93, 1] Operation: 95-94=1 Exploring Operation: 94-93=1, Resulting Numbers: [60, 95, 1] Generated Node #0,3: 77:[60, 95, 1] Operation: 94-93=1 Moving to Node #0,0 Current State: 77:[60, 94, 2], Operations: ['95-93=2'] Exploring Operation: 94-60=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 77:[2, 34] Operation: 94-60=34 Exploring Operation: 94-2=92, Resulting Numbers: [60, 92] Generated Node #0,0,1: 77:[60, 92] Operation: 94-2=92 Exploring Operation: 60+2=62, Resulting Numbers: [94, 62] Generated Node #0,0,2: 77:[94, 62] Operation: 60+2=62 Exploring Operation: 60-2=58, Resulting Numbers: [94, 58] Generated Node #0,0,3: 77:[94, 58] Operation: 60-2=58 Moving to Node #0,2 Current State: 77:[60, 93, 1], Operations: ['95-94=1'] Exploring Operation: 93-1=92, Resulting Numbers: [60, 92] Generated Node #0,2,0: 77:[60, 92] Operation: 93-1=92 Exploring Operation: 60*1=60, Resulting Numbers: [93, 60] Generated Node #0,2,1: 77:[93, 60] Operation: 60*1=60 Exploring Operation: 93-60=33, Resulting Numbers: [1, 33] Generated Node #0,2,2: 77:[1, 33] Operation: 93-60=33 Exploring Operation: 60+1=61, Resulting Numbers: [93, 61] Generated Node #0,2,3: 77:[93, 61] Operation: 60+1=61 Moving to Node #0,3 Current State: 77:[60, 95, 1], Operations: ['94-93=1'] Exploring Operation: 60*1=60, Resulting Numbers: [95, 60] Generated Node #0,3,0: 77:[95, 60] Operation: 60*1=60 Exploring Operation: 95-60=35, Resulting Numbers: [1, 35] Generated Node #0,3,1: 77:[1, 35] Operation: 95-60=35 Exploring Operation: 60+1=61, Resulting Numbers: [95, 61] Generated Node #0,3,2: 77:[95, 61] Operation: 60+1=61 Exploring Operation: 95-1=94, Resulting Numbers: [60, 94] Generated Node #0,3,3: 77:[60, 94] Operation: 95-1=94 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[1, 35], Operations: ['94-93=1', '95-60=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[95, 61], Operations: ['94-93=1', '60+1=61'] Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 95+61=156, Resulting Numbers: [156] 156,77 unequal: No Solution Exploring Operation: 95*61=5795, Resulting Numbers: [5795] 5795,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[60, 94], Operations: ['94-93=1', '95-1=94'] Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 60*94=5640, Resulting Numbers: [5640] 5640,77 unequal: No Solution Exploring Operation: 60+94=154, Resulting Numbers: [154] 154,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[95, 60], Operations: ['94-93=1', '60*1=60'] Exploring Operation: 95*60=5700, Resulting Numbers: [5700] 5700,77 unequal: No Solution Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 95+60=155, Resulting Numbers: [155] 155,77 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: 77:[95, 93, 34], Operations: ['94-60=34'] Exploring Operation: 93-34=59, Resulting Numbers: [95, 59] Generated Node #0,1,0: 77:[95, 59] Operation: 93-34=59 Exploring Operation: 95-93=2, Resulting Numbers: [34, 2] Generated Node #0,1,1: 77:[34, 2] Operation: 95-93=2 Exploring Operation: 95-34=61, Resulting Numbers: [93, 61] Generated Node #0,1,2: 77:[93, 61] Operation: 95-34=61 Exploring Operation: 95+34=129, Resulting Numbers: [93, 129] Generated Node #0,1,3: 77:[93, 129] Operation: 95+34=129 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[34, 2], Operations: ['94-60=34', '95-93=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[93, 61], Operations: ['94-60=34', '95-34=61'] Exploring Operation: 93+61=154, Resulting Numbers: [154] 154,77 unequal: No Solution Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 93*61=5673, Resulting Numbers: [5673] 5673,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[95, 59], Operations: ['94-60=34', '93-34=59'] Exploring Operation: 95*59=5605, Resulting Numbers: [5605] 5605,77 unequal: No Solution Exploring Operation: 95+59=154, Resulting Numbers: [154] 154,77 unequal: No Solution Exploring Operation: 95-59=36, Resulting Numbers: [36] 36,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[93, 129], Operations: ['94-60=34', '95+34=129'] Exploring Operation: 93+129=222, Resulting Numbers: [222] 222,77 unequal: No Solution Exploring Operation: 129-93=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 93*129=11997, Resulting Numbers: [11997] 11997,77 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: 77:[2, 34], Operations: ['95-93=2', '94-60=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[1, 33], Operations: ['95-94=1', '93-60=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[94, 62], Operations: ['95-93=2', '60+2=62'] Exploring Operation: 94+62=156, Resulting Numbers: [156] 156,77 unequal: No Solution Exploring Operation: 94*62=5828, Resulting Numbers: [5828] 5828,77 unequal: No Solution Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[60, 92], Operations: ['95-94=1', '93-1=92'] Exploring Operation: 60*92=5520, Resulting Numbers: [5520] 5520,77 unequal: No Solution Exploring Operation: 60+92=152, Resulting Numbers: [152] 152,77 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[93, 61], Operations: ['95-94=1', '60+1=61'] Exploring Operation: 93+61=154, Resulting Numbers: [154] 154,77 unequal: No Solution Exploring Operation: 93*61=5673, Resulting Numbers: [5673] 5673,77 unequal: No Solution Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[60, 92], Operations: ['95-93=2', '94-2=92'] Exploring Operation: 60+92=152, Resulting Numbers: [152] 152,77 unequal: No Solution Exploring Operation: 60*92=5520, Resulting Numbers: [5520] 5520,77 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[93, 60], Operations: ['95-94=1', '60*1=60'] Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 93*60=5580, Resulting Numbers: [5580] 5580,77 unequal: No Solution Exploring Operation: 93+60=153, Resulting Numbers: [153] 153,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[94, 58], Operations: ['95-93=2', '60-2=58'] Exploring Operation: 94+58=152, Resulting Numbers: [152] 152,77 unequal: No Solution Exploring Operation: 94-58=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 94*58=5452, Resulting Numbers: [5452] 5452,77 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 77, 56, 26, 81 ]
40
[ "81-77=4", "56/4=14", "26+14=40" ]
Current State: 40:[77, 56, 26, 81], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [56, 26, 4] Generated Node #2: [56, 26, 4] from Operation: 81-77=4 Current State: 40:[56, 26, 4], Operations: ['81-77=4'] Exploring Operation: 56/4=14, Resulting Numbers: [26, 14] Generated Node #3: [26, 14] from Operation: 56/4=14 Current State: 40:[26, 14], Operations: ['81-77=4', '56/4=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[77, 56, 26, 81], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [26, 81, 21] Generated Node #0,0: 40:[26, 81, 21] Operation: 77-56=21 Exploring Operation: 81-77=4, Resulting Numbers: [56, 26, 4] Generated Node #0,1: 40:[56, 26, 4] Operation: 81-77=4 Exploring Operation: 81-56=25, Resulting Numbers: [77, 26, 25] Generated Node #0,2: 40:[77, 26, 25] Operation: 81-56=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[56, 26, 4], Operations: ['81-77=4'] Exploring Operation: 56-4=52, Resulting Numbers: [26, 52] Generated Node #0,1,0: 40:[26, 52] Operation: 56-4=52 Exploring Operation: 56/4=14, Resulting Numbers: [26, 14] Generated Node #0,1,1: 40:[26, 14] Operation: 56/4=14 Exploring Operation: 56-26=30, Resulting Numbers: [4, 30] Generated Node #0,1,2: 40:[4, 30] Operation: 56-26=30 Moving to Node #0,1,1 Current State: 40:[26, 14], Operations: ['81-77=4', '56/4=14'] Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,40 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[77, 56, 26, 81], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [56, 26, 4] Generated Node #0,1: 40:[56, 26, 4] Operation: 81-77=4 Moving to Node #0,1 Current State: 40:[56, 26, 4], Operations: ['81-77=4'] Exploring Operation: 56/4=14, Resulting Numbers: [26, 14] Generated Node #0,1,1: 40:[26, 14] Operation: 56/4=14 Moving to Node #0,1,1 Current State: 40:[26, 14], Operations: ['81-77=4', '56/4=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 20, 60, 63, 66 ]
40
[ "60+66=126", "20*126=2520", "2520/63=40" ]
Current State: 40:[20, 60, 63, 66], Operations: [] Exploring Operation: 60+66=126, Resulting Numbers: [20, 63, 126] Generated Node #2: [20, 63, 126] from Operation: 60+66=126 Current State: 40:[20, 63, 126], Operations: ['60+66=126'] Exploring Operation: 20*126=2520, Resulting Numbers: [63, 2520] Generated Node #3: [63, 2520] from Operation: 20*126=2520 Current State: 40:[63, 2520], Operations: ['60+66=126', '20*126=2520'] Exploring Operation: 2520/63=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[20, 60, 63, 66], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [20, 66, 3] Generated Node #0,0: 40:[20, 66, 3] Operation: 63-60=3 Exploring Operation: 66-60=6, Resulting Numbers: [20, 63, 6] Generated Node #0,1: 40:[20, 63, 6] Operation: 66-60=6 Exploring Operation: 60-20=40, Resulting Numbers: [63, 66, 40] Generated Node #0,2: 40:[63, 66, 40] Operation: 60-20=40 Exploring Operation: 66-63=3, Resulting Numbers: [20, 60, 3] Generated Node #0,3: 40:[20, 60, 3] Operation: 66-63=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[20, 60, 3], Operations: ['66-63=3'] Exploring Operation: 60-20=40, Resulting Numbers: [3, 40] Generated Node #0,3,0: 40:[3, 40] Operation: 60-20=40 Exploring Operation: 60/3=20, Resulting Numbers: [20, 20] Generated Node #0,3,1: 40:[20, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [20, 57] Generated Node #0,3,2: 40:[20, 57] Operation: 60-3=57 Exploring Operation: 60/20=3, Resulting Numbers: [3, 3] Generated Node #0,3,3: 40:[3, 3] Operation: 60/20=3 Moving to Node #0,3,1 Current State: 40:[20, 20], Operations: ['66-63=3', '60/3=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[20, 60, 63, 66], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [20, 60, 3] Generated Node #0,3: 40:[20, 60, 3] Operation: 66-63=3 Moving to Node #0,3 Current State: 40:[20, 60, 3], Operations: ['66-63=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20, 20] Generated Node #0,3,1: 40:[20, 20] Operation: 60/3=20 Moving to Node #0,3,1 Current State: 40:[20, 20], Operations: ['66-63=3', '60/3=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 3, 1, 20, 85 ]
62
[ "3*1=3", "85-20=65", "65-3=62" ]
Current State: 62:[3, 1, 20, 85], Operations: [] Exploring Operation: 3*1=3, Resulting Numbers: [20, 85, 3] Generated Node #2: [20, 85, 3] from Operation: 3*1=3 Current State: 62:[20, 85, 3], Operations: ['3*1=3'] Exploring Operation: 85-20=65, Resulting Numbers: [3, 65] Generated Node #3: [3, 65] from Operation: 85-20=65 Current State: 62:[3, 65], Operations: ['3*1=3', '85-20=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[3, 1, 20, 85], Operations: [] Exploring Operation: 85-20=65, Resulting Numbers: [3, 1, 65] Generated Node #0,0: 62:[3, 1, 65] Operation: 85-20=65 Exploring Operation: 3*20=60, Resulting Numbers: [1, 85, 60] Generated Node #0,1: 62:[1, 85, 60] Operation: 3*20=60 Exploring Operation: 3+20=23, Resulting Numbers: [1, 85, 23] Generated Node #0,2: 62:[1, 85, 23] Operation: 3+20=23 Exploring Operation: 85-3=82, Resulting Numbers: [1, 20, 82] Generated Node #0,3: 62:[1, 20, 82] Operation: 85-3=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[3, 1, 65], Operations: ['85-20=65'] Exploring Operation: 65-3=62, Resulting Numbers: [1, 62] Generated Node #0,0,0: 62:[1, 62] Operation: 65-3=62 Exploring Operation: 3-1=2, Resulting Numbers: [65, 2] Generated Node #0,0,1: 62:[65, 2] Operation: 3-1=2 Exploring Operation: 65-1=64, Resulting Numbers: [3, 64] Generated Node #0,0,2: 62:[3, 64] Operation: 65-1=64 Exploring Operation: 3*1=3, Resulting Numbers: [65, 3] Generated Node #0,0,3: 62:[65, 3] Operation: 3*1=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[1, 62], Operations: ['85-20=65', '65-3=62'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[3, 1, 20, 85], Operations: [] Exploring Operation: 85-20=65, Resulting Numbers: [3, 1, 65] Generated Node #0,0: 62:[3, 1, 65] Operation: 85-20=65 Moving to Node #0,0 Current State: 62:[3, 1, 65], Operations: ['85-20=65'] Exploring Operation: 65-3=62, Resulting Numbers: [1, 62] Generated Node #0,0,0: 62:[1, 62] Operation: 65-3=62 Moving to Node #0,0,0 Current State: 62:[1, 62], Operations: ['85-20=65', '65-3=62'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 83, 44, 3, 59 ]
65
[ "83+44=127", "3+59=62", "127-62=65" ]
Current State: 65:[83, 44, 3, 59], Operations: [] Exploring Operation: 83+44=127, Resulting Numbers: [3, 59, 127] Generated Node #2: [3, 59, 127] from Operation: 83+44=127 Current State: 65:[3, 59, 127], Operations: ['83+44=127'] Exploring Operation: 3+59=62, Resulting Numbers: [127, 62] Generated Node #3: [127, 62] from Operation: 3+59=62 Current State: 65:[127, 62], Operations: ['83+44=127', '3+59=62'] Exploring Operation: 127-62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[83, 44, 3, 59], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [83, 3, 15] Generated Node #0,0: 65:[83, 3, 15] Operation: 59-44=15 Exploring Operation: 83-3=80, Resulting Numbers: [44, 59, 80] Generated Node #0,1: 65:[44, 59, 80] Operation: 83-3=80 Exploring Operation: 83-59=24, Resulting Numbers: [44, 3, 24] Generated Node #0,2: 65:[44, 3, 24] Operation: 83-59=24 Exploring Operation: 83-44=39, Resulting Numbers: [3, 59, 39] Generated Node #0,3: 65:[3, 59, 39] Operation: 83-44=39 Moving to Node #0,0 Current State: 65:[83, 3, 15], Operations: ['59-44=15'] Exploring Operation: 15-3=12, Resulting Numbers: [83, 12] Generated Node #0,0,0: 65:[83, 12] Operation: 15-3=12 Exploring Operation: 83-3=80, Resulting Numbers: [15, 80] Generated Node #0,0,1: 65:[15, 80] Operation: 83-3=80 Exploring Operation: 15/3=5, Resulting Numbers: [83, 5] Generated Node #0,0,2: 65:[83, 5] Operation: 15/3=5 Exploring Operation: 83-15=68, Resulting Numbers: [3, 68] Generated Node #0,0,3: 65:[3, 68] Operation: 83-15=68 Moving to Node #0,3 Current State: 65:[3, 59, 39], Operations: ['83-44=39'] Exploring Operation: 3+39=42, Resulting Numbers: [59, 42] Generated Node #0,3,0: 65:[59, 42] Operation: 3+39=42 Exploring Operation: 3+59=62, Resulting Numbers: [39, 62] Generated Node #0,3,1: 65:[39, 62] Operation: 3+59=62 Exploring Operation: 39/3=13, Resulting Numbers: [59, 13] Generated Node #0,3,2: 65:[59, 13] Operation: 39/3=13 Exploring Operation: 59-39=20, Resulting Numbers: [3, 20] Generated Node #0,3,3: 65:[3, 20] Operation: 59-39=20 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[59, 13], Operations: ['83-44=39', '39/3=13'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,65 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[3, 20], Operations: ['83-44=39', '59-39=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[59, 42], Operations: ['83-44=39', '3+39=42'] Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,65 unequal: No Solution Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[39, 62], Operations: ['83-44=39', '3+59=62'] Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,65 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,65 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,65 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: 65:[44, 3, 24], Operations: ['83-59=24'] Exploring Operation: 3*24=72, Resulting Numbers: [44, 72] Generated Node #0,2,0: 65:[44, 72] Operation: 3*24=72 Exploring Operation: 44-24=20, Resulting Numbers: [3, 20] Generated Node #0,2,1: 65:[3, 20] Operation: 44-24=20 Exploring Operation: 24/3=8, Resulting Numbers: [44, 8] Generated Node #0,2,2: 65:[44, 8] Operation: 24/3=8 Exploring Operation: 44+24=68, Resulting Numbers: [3, 68] Generated Node #0,2,3: 65:[3, 68] Operation: 44+24=68 Moving to Node #0,1 Current State: 65:[44, 59, 80], Operations: ['83-3=80'] Exploring Operation: 44+59=103, Resulting Numbers: [80, 103] Generated Node #0,1,0: 65:[80, 103] Operation: 44+59=103 Exploring Operation: 80-59=21, Resulting Numbers: [44, 21] Generated Node #0,1,1: 65:[44, 21] Operation: 80-59=21 Exploring Operation: 59-44=15, Resulting Numbers: [80, 15] Generated Node #0,1,2: 65:[80, 15] Operation: 59-44=15 Exploring Operation: 80-44=36, Resulting Numbers: [59, 36] Generated Node #0,1,3: 65:[59, 36] Operation: 80-44=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[80, 15], Operations: ['83-3=80', '59-44=15'] Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[83, 44, 3, 59], Operations: [] Exploring Operation: 83-3=80, Resulting Numbers: [44, 59, 80] Generated Node #0,1: 65:[44, 59, 80] Operation: 83-3=80 Moving to Node #0,1 Current State: 65:[44, 59, 80], Operations: ['83-3=80'] Exploring Operation: 59-44=15, Resulting Numbers: [80, 15] Generated Node #0,1,2: 65:[80, 15] Operation: 59-44=15 Moving to Node #0,1,2 Current State: 65:[80, 15], Operations: ['83-3=80', '59-44=15'] Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
sum_heuristic
[ 52, 38, 5, 23 ]
23
[ "52+23=75", "75/5=15", "38-15=23" ]
Current State: 23:[52, 38, 5, 23], Operations: [] Exploring Operation: 52+23=75, Resulting Numbers: [38, 5, 75] Generated Node #2: [38, 5, 75] from Operation: 52+23=75 Current State: 23:[38, 5, 75], Operations: ['52+23=75'] Exploring Operation: 75/5=15, Resulting Numbers: [38, 15] Generated Node #3: [38, 15] from Operation: 75/5=15 Current State: 23:[38, 15], Operations: ['52+23=75', '75/5=15'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[52, 38, 5, 23], Operations: [] Exploring Operation: 52-23=29, Resulting Numbers: [38, 5, 29] Generated Node #0,0: 23:[38, 5, 29] Operation: 52-23=29 Exploring Operation: 52-38=14, Resulting Numbers: [5, 23, 14] Generated Node #0,1: 23:[5, 23, 14] Operation: 52-38=14 Exploring Operation: 52-5=47, Resulting Numbers: [38, 23, 47] Generated Node #0,2: 23:[38, 23, 47] Operation: 52-5=47 Moving to Node #0,1 Current State: 23:[5, 23, 14], Operations: ['52-38=14'] Exploring Operation: 5+14=19, Resulting Numbers: [23, 19] Generated Node #0,1,0: 23:[23, 19] Operation: 5+14=19 Exploring Operation: 23-5=18, Resulting Numbers: [14, 18] Generated Node #0,1,1: 23:[14, 18] Operation: 23-5=18 Exploring Operation: 5+23=28, Resulting Numbers: [14, 28] Generated Node #0,1,2: 23:[14, 28] Operation: 5+23=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[23, 19], Operations: ['52-38=14', '5+14=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,23 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,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,1,1 Current State: 23:[14, 18], Operations: ['52-38=14', '23-5=18'] Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,23 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,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,1,2 Current State: 23:[14, 28], Operations: ['52-38=14', '5+23=28'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,23 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: 23:[38, 5, 29], Operations: ['52-23=29'] Exploring Operation: 38-5=33, Resulting Numbers: [29, 33] Generated Node #0,0,0: 23:[29, 33] Operation: 38-5=33 Exploring Operation: 29-5=24, Resulting Numbers: [38, 24] Generated Node #0,0,1: 23:[38, 24] Operation: 29-5=24 Exploring Operation: 38+5=43, Resulting Numbers: [29, 43] Generated Node #0,0,2: 23:[29, 43] Operation: 38+5=43 Moving to Node #0,2 Current State: 23:[38, 23, 47], Operations: ['52-5=47'] Exploring Operation: 47-38=9, Resulting Numbers: [23, 9] Generated Node #0,2,0: 23:[23, 9] Operation: 47-38=9 Exploring Operation: 47-23=24, Resulting Numbers: [38, 24] Generated Node #0,2,1: 23:[38, 24] Operation: 47-23=24 Exploring Operation: 38-23=15, Resulting Numbers: [47, 15] Generated Node #0,2,2: 23:[47, 15] Operation: 38-23=15 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[23, 9], Operations: ['52-5=47', '47-38=9'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,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:[38, 24], Operations: ['52-5=47', '47-23=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,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:[47, 15], Operations: ['52-5=47', '38-23=15'] Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,23 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,23 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: 23:[29, 33], Operations: ['52-23=29', '38-5=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[38, 24], Operations: ['52-23=29', '29-5=24'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,23 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[29, 43], Operations: ['52-23=29', '38+5=43'] Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,23 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 73, 6, 58, 13 ]
48
[ "73-13=60", "60/6=10", "58-10=48" ]
Current State: 48:[73, 6, 58, 13], Operations: [] Exploring Operation: 73-13=60, Resulting Numbers: [6, 58, 60] Generated Node #2: [6, 58, 60] from Operation: 73-13=60 Current State: 48:[6, 58, 60], Operations: ['73-13=60'] Exploring Operation: 60/6=10, Resulting Numbers: [58, 10] Generated Node #3: [58, 10] from Operation: 60/6=10 Current State: 48:[58, 10], Operations: ['73-13=60', '60/6=10'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[73, 6, 58, 13], Operations: [] Exploring Operation: 73-13=60, Resulting Numbers: [6, 58, 60] Generated Node #0,0: 48:[6, 58, 60] Operation: 73-13=60 Exploring Operation: 73-58=15, Resulting Numbers: [6, 13, 15] Generated Node #0,1: 48:[6, 13, 15] Operation: 73-58=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[6, 13, 15], Operations: ['73-58=15'] Exploring Operation: 13-6=7, Resulting Numbers: [15, 7] Generated Node #0,1,0: 48:[15, 7] Operation: 13-6=7 Exploring Operation: 15-13=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 48:[6, 2] Operation: 15-13=2 Moving to Node #0,1,1 Current State: 48:[6, 2], Operations: ['73-58=15', '15-13=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[15, 7], Operations: ['73-58=15', '13-6=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,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 Current State: 48:[6, 58, 60], Operations: ['73-13=60'] Exploring Operation: 60-58=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 48:[6, 2] Operation: 60-58=2 Exploring Operation: 60/6=10, Resulting Numbers: [58, 10] Generated Node #0,0,1: 48:[58, 10] Operation: 60/6=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[6, 2], Operations: ['73-13=60', '60-58=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[58, 10], Operations: ['73-13=60', '60/6=10'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[73, 6, 58, 13], Operations: [] Exploring Operation: 73-13=60, Resulting Numbers: [6, 58, 60] Generated Node #0,0: 48:[6, 58, 60] Operation: 73-13=60 Moving to Node #0,0 Current State: 48:[6, 58, 60], Operations: ['73-13=60'] Exploring Operation: 60/6=10, Resulting Numbers: [58, 10] Generated Node #0,0,1: 48:[58, 10] Operation: 60/6=10 Moving to Node #0,0,1 Current State: 48:[58, 10], Operations: ['73-13=60', '60/6=10'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 10, 56, 3, 50 ]
17
[ "50/10=5", "56-5=51", "51/3=17" ]
Current State: 17:[10, 56, 3, 50], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [56, 3, 5] Generated Node #2: [56, 3, 5] from Operation: 50/10=5 Current State: 17:[56, 3, 5], Operations: ['50/10=5'] Exploring Operation: 56-5=51, Resulting Numbers: [3, 51] Generated Node #3: [3, 51] from Operation: 56-5=51 Current State: 17:[3, 51], Operations: ['50/10=5', '56-5=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[10, 56, 3, 50], Operations: [] Exploring Operation: 10+3=13, Resulting Numbers: [56, 50, 13] Generated Node #0,0: 17:[56, 50, 13] Operation: 10+3=13 Exploring Operation: 56-10=46, Resulting Numbers: [3, 50, 46] Generated Node #0,1: 17:[3, 50, 46] Operation: 56-10=46 Exploring Operation: 50/10=5, Resulting Numbers: [56, 3, 5] Generated Node #0,2: 17:[56, 3, 5] Operation: 50/10=5 Exploring Operation: 56-50=6, Resulting Numbers: [10, 3, 6] Generated Node #0,3: 17:[10, 3, 6] Operation: 56-50=6 Moving to Node #0,3 Current State: 17:[10, 3, 6], Operations: ['56-50=6'] Exploring Operation: 3*6=18, Resulting Numbers: [10, 18] Generated Node #0,3,0: 17:[10, 18] Operation: 3*6=18 Exploring Operation: 10+6=16, Resulting Numbers: [3, 16] Generated Node #0,3,1: 17:[3, 16] Operation: 10+6=16 Exploring Operation: 3+6=9, Resulting Numbers: [10, 9] Generated Node #0,3,2: 17:[10, 9] Operation: 3+6=9 Exploring Operation: 10+3=13, Resulting Numbers: [6, 13] Generated Node #0,3,3: 17:[6, 13] Operation: 10+3=13 Moving to Node #0,2 Current State: 17:[56, 3, 5], Operations: ['50/10=5'] Exploring Operation: 56-5=51, Resulting Numbers: [3, 51] Generated Node #0,2,0: 17:[3, 51] Operation: 56-5=51 Exploring Operation: 3+5=8, Resulting Numbers: [56, 8] Generated Node #0,2,1: 17:[56, 8] Operation: 3+5=8 Exploring Operation: 56-3=53, Resulting Numbers: [5, 53] Generated Node #0,2,2: 17:[5, 53] Operation: 56-3=53 Exploring Operation: 3*5=15, Resulting Numbers: [56, 15] Generated Node #0,2,3: 17:[56, 15] Operation: 3*5=15 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[56, 15], Operations: ['50/10=5', '3*5=15'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,17 unequal: No Solution Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[3, 51], Operations: ['50/10=5', '56-5=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[10, 56, 3, 50], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [56, 3, 5] Generated Node #0,2: 17:[56, 3, 5] Operation: 50/10=5 Moving to Node #0,2 Current State: 17:[56, 3, 5], Operations: ['50/10=5'] Exploring Operation: 56-5=51, Resulting Numbers: [3, 51] Generated Node #0,2,0: 17:[3, 51] Operation: 56-5=51 Moving to Node #0,2,0 Current State: 17:[3, 51], Operations: ['50/10=5', '56-5=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 80, 30, 52, 69 ]
93
[ "80+30=110", "69-52=17", "110-17=93" ]
Current State: 93:[80, 30, 52, 69], Operations: [] Exploring Operation: 80+30=110, Resulting Numbers: [52, 69, 110] Generated Node #2: [52, 69, 110] from Operation: 80+30=110 Current State: 93:[52, 69, 110], Operations: ['80+30=110'] Exploring Operation: 69-52=17, Resulting Numbers: [110, 17] Generated Node #3: [110, 17] from Operation: 69-52=17 Current State: 93:[110, 17], Operations: ['80+30=110', '69-52=17'] Exploring Operation: 110-17=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[80, 30, 52, 69], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [80, 30, 17] Generated Node #0,0: 93:[80, 30, 17] Operation: 69-52=17 Exploring Operation: 80-52=28, Resulting Numbers: [30, 69, 28] Generated Node #0,1: 93:[30, 69, 28] Operation: 80-52=28 Moving to Node #0,0 Current State: 93:[80, 30, 17], Operations: ['69-52=17'] Exploring Operation: 30-17=13, Resulting Numbers: [80, 13] Generated Node #0,0,0: 93:[80, 13] Operation: 30-17=13 Exploring Operation: 80+17=97, Resulting Numbers: [30, 97] Generated Node #0,0,1: 93:[30, 97] Operation: 80+17=97 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[30, 97], Operations: ['69-52=17', '80+17=97'] Exploring Operation: 30+97=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[80, 13], Operations: ['69-52=17', '30-17=13'] Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[80, 30, 52, 69], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [80, 30, 17] Generated Node #0,0: 93:[80, 30, 17] Operation: 69-52=17 Moving to Node #0,0 Current State: 93:[80, 30, 17], Operations: ['69-52=17'] Exploring Operation: 30-17=13, Resulting Numbers: [80, 13] Generated Node #0,0,0: 93:[80, 13] Operation: 30-17=13 Moving to Node #0,0,0 Current State: 93:[80, 13], Operations: ['69-52=17', '30-17=13'] Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 77, 31, 69, 81 ]
55
[ "81-77=4", "31*4=124", "124-69=55" ]
Current State: 55:[77, 31, 69, 81], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [31, 69, 4] Generated Node #2: [31, 69, 4] from Operation: 81-77=4 Current State: 55:[31, 69, 4], Operations: ['81-77=4'] Exploring Operation: 31*4=124, Resulting Numbers: [69, 124] Generated Node #3: [69, 124] from Operation: 31*4=124 Current State: 55:[69, 124], Operations: ['81-77=4', '31*4=124'] Exploring Operation: 124-69=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[77, 31, 69, 81], Operations: [] Exploring Operation: 81-31=50, Resulting Numbers: [77, 69, 50] Generated Node #0,0: 55:[77, 69, 50] Operation: 81-31=50 Exploring Operation: 77-69=8, Resulting Numbers: [31, 81, 8] Generated Node #0,1: 55:[31, 81, 8] Operation: 77-69=8 Exploring Operation: 77-31=46, Resulting Numbers: [69, 81, 46] Generated Node #0,2: 55:[69, 81, 46] Operation: 77-31=46 Exploring Operation: 81-69=12, Resulting Numbers: [77, 31, 12] Generated Node #0,3: 55:[77, 31, 12] Operation: 81-69=12 Exploring Operation: 81-77=4, Resulting Numbers: [31, 69, 4] Generated Node #0,4: 55:[31, 69, 4] Operation: 81-77=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[31, 69, 4], Operations: ['81-77=4'] Exploring Operation: 31-4=27, Resulting Numbers: [69, 27] Generated Node #0,4,0: 55:[69, 27] Operation: 31-4=27 Exploring Operation: 69-31=38, Resulting Numbers: [4, 38] Generated Node #0,4,1: 55:[4, 38] Operation: 69-31=38 Exploring Operation: 69-4=65, Resulting Numbers: [31, 65] Generated Node #0,4,2: 55:[31, 65] Operation: 69-4=65 Exploring Operation: 31+4=35, Resulting Numbers: [69, 35] Generated Node #0,4,3: 55:[69, 35] Operation: 31+4=35 Exploring Operation: 69+4=73, Resulting Numbers: [31, 73] Generated Node #0,4,4: 55:[31, 73] Operation: 69+4=73 Moving to Node #0,4,1 Current State: 55:[4, 38], Operations: ['81-77=4', '69-31=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,55 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[31, 65], Operations: ['81-77=4', '69-4=65'] Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,55 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[69, 27], Operations: ['81-77=4', '31-4=27'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,55 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[69, 35], Operations: ['81-77=4', '31+4=35'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[31, 73], Operations: ['81-77=4', '69+4=73'] Exploring Operation: 31+73=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 31*73=2263, Resulting Numbers: [2263] 2263,55 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[77, 69, 50], Operations: ['81-31=50'] Exploring Operation: 77-69=8, Resulting Numbers: [50, 8] Generated Node #0,0,0: 55:[50, 8] Operation: 77-69=8 Exploring Operation: 69-50=19, Resulting Numbers: [77, 19] Generated Node #0,0,1: 55:[77, 19] Operation: 69-50=19 Exploring Operation: 77-50=27, Resulting Numbers: [69, 27] Generated Node #0,0,2: 55:[69, 27] Operation: 77-50=27 Exploring Operation: 77+50=127, Resulting Numbers: [69, 127] Generated Node #0,0,3: 55:[69, 127] Operation: 77+50=127 Exploring Operation: 69+50=119, Resulting Numbers: [77, 119] Generated Node #0,0,4: 55:[77, 119] Operation: 69+50=119 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[50, 8], Operations: ['81-31=50', '77-69=8'] Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,55 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,55 unequal: No Solution No 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: 55:[77, 19], Operations: ['81-31=50', '69-50=19'] Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,55 unequal: No Solution No 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: 55:[69, 27], Operations: ['81-31=50', '77-50=27'] Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,55 unequal: No Solution No 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: 55:[69, 127], Operations: ['81-31=50', '77+50=127'] Exploring Operation: 69*127=8763, Resulting Numbers: [8763] 8763,55 unequal: No Solution Exploring Operation: 69+127=196, Resulting Numbers: [196] 196,55 unequal: No Solution Exploring Operation: 127-69=58, Resulting Numbers: [58] 58,55 unequal: No Solution No 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: 55:[77, 119], Operations: ['81-31=50', '69+50=119'] Exploring Operation: 77+119=196, Resulting Numbers: [196] 196,55 unequal: No Solution Exploring Operation: 119-77=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 77*119=9163, Resulting Numbers: [9163] 9163,55 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: 55:[77, 31, 12], Operations: ['81-69=12'] Exploring Operation: 31+12=43, Resulting Numbers: [77, 43] Generated Node #0,3,0: 55:[77, 43] Operation: 31+12=43 Exploring Operation: 77+31=108, Resulting Numbers: [12, 108] Generated Node #0,3,1: 55:[12, 108] Operation: 77+31=108 Exploring Operation: 77-12=65, Resulting Numbers: [31, 65] Generated Node #0,3,2: 55:[31, 65] Operation: 77-12=65 Exploring Operation: 31-12=19, Resulting Numbers: [77, 19] Generated Node #0,3,3: 55:[77, 19] Operation: 31-12=19 Exploring Operation: 77-31=46, Resulting Numbers: [12, 46] Generated Node #0,3,4: 55:[12, 46] Operation: 77-31=46 Moving to Node #0,3,4 Current State: 55:[12, 46], Operations: ['81-69=12', '77-31=46'] Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[77, 19], Operations: ['81-69=12', '31-12=19'] Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,55 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[31, 65], Operations: ['81-69=12', '77-12=65'] Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,55 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[77, 43], Operations: ['81-69=12', '31+12=43'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,55 unequal: No Solution Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[12, 108], Operations: ['81-69=12', '77+31=108'] Exploring Operation: 12*108=1296, Resulting Numbers: [1296] 1296,55 unequal: No Solution Exploring Operation: 12+108=120, Resulting Numbers: [120] 120,55 unequal: No Solution Exploring Operation: 108/12=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 108-12=96, Resulting Numbers: [96] 96,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[31, 81, 8], Operations: ['77-69=8'] Exploring Operation: 81-8=73, Resulting Numbers: [31, 73] Generated Node #0,1,0: 55:[31, 73] Operation: 81-8=73 Exploring Operation: 31-8=23, Resulting Numbers: [81, 23] Generated Node #0,1,1: 55:[81, 23] Operation: 31-8=23 Exploring Operation: 81+8=89, Resulting Numbers: [31, 89] Generated Node #0,1,2: 55:[31, 89] Operation: 81+8=89 Exploring Operation: 31+8=39, Resulting Numbers: [81, 39] Generated Node #0,1,3: 55:[81, 39] Operation: 31+8=39 Exploring Operation: 81-31=50, Resulting Numbers: [8, 50] Generated Node #0,1,4: 55:[8, 50] Operation: 81-31=50 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 55:[8, 50], Operations: ['77-69=8', '81-31=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,55 unequal: No Solution No 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: 55:[31, 73], Operations: ['77-69=8', '81-8=73'] Exploring Operation: 31+73=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 31*73=2263, Resulting Numbers: [2263] 2263,55 unequal: No Solution No 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: 55:[81, 23], Operations: ['77-69=8', '31-8=23'] Exploring Operation: 81*23=1863, Resulting Numbers: [1863] 1863,55 unequal: No Solution Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,55 unequal: No Solution No 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: 55:[81, 39], Operations: ['77-69=8', '31+8=39'] Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,55 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,55 unequal: No Solution No 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: 55:[31, 89], Operations: ['77-69=8', '81+8=89'] Exploring Operation: 31*89=2759, Resulting Numbers: [2759] 2759,55 unequal: No Solution Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 31+89=120, Resulting Numbers: [120] 120,55 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: 55:[69, 81, 46], Operations: ['77-31=46'] Exploring Operation: 81-69=12, Resulting Numbers: [46, 12] Generated Node #0,2,0: 55:[46, 12] Operation: 81-69=12 Exploring Operation: 81+46=127, Resulting Numbers: [69, 127] Generated Node #0,2,1: 55:[69, 127] Operation: 81+46=127 Exploring Operation: 81-46=35, Resulting Numbers: [69, 35] Generated Node #0,2,2: 55:[69, 35] Operation: 81-46=35 Exploring Operation: 69-46=23, Resulting Numbers: [81, 23] Generated Node #0,2,3: 55:[81, 23] Operation: 69-46=23 Exploring Operation: 69+46=115, Resulting Numbers: [81, 115] Generated Node #0,2,4: 55:[81, 115] Operation: 69+46=115 Moving to Node #0,2,0 Current State: 55:[46, 12], Operations: ['77-31=46', '81-69=12'] Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,55 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[69, 35], Operations: ['77-31=46', '81-46=35'] Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[81, 23], Operations: ['77-31=46', '69-46=23'] Exploring Operation: 81*23=1863, Resulting Numbers: [1863] 1863,55 unequal: No Solution Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[69, 127], Operations: ['77-31=46', '81+46=127'] Exploring Operation: 69*127=8763, Resulting Numbers: [8763] 8763,55 unequal: No Solution Exploring Operation: 69+127=196, Resulting Numbers: [196] 196,55 unequal: No Solution Exploring Operation: 127-69=58, Resulting Numbers: [58] 58,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[81, 115], Operations: ['77-31=46', '69+46=115'] Exploring Operation: 81*115=9315, Resulting Numbers: [9315] 9315,55 unequal: No Solution Exploring Operation: 115-81=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 81+115=196, Resulting Numbers: [196] 196,55 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
[ 20, 94, 23, 20 ]
94
[ "20-20=0", "23*0=0", "94+0=94" ]
Current State: 94:[20, 94, 23, 20], Operations: [] Exploring Operation: 20-20=0, Resulting Numbers: [94, 23, 0] Generated Node #2: [94, 23, 0] from Operation: 20-20=0 Current State: 94:[94, 23, 0], Operations: ['20-20=0'] Exploring Operation: 23*0=0, Resulting Numbers: [94, 0] Generated Node #3: [94, 0] from Operation: 23*0=0 Current State: 94:[94, 0], Operations: ['20-20=0', '23*0=0'] Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[20, 94, 23, 20], Operations: [] Exploring Operation: 20+23=43, Resulting Numbers: [94, 20, 43] Generated Node #0,0: 94:[94, 20, 43] Operation: 20+23=43 Exploring Operation: 23-20=3, Resulting Numbers: [94, 20, 3] Generated Node #0,1: 94:[94, 20, 3] Operation: 23-20=3 Exploring Operation: 23-20=3, Resulting Numbers: [20, 94, 3] Generated Node #0,2: 94:[20, 94, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[94, 20, 3], Operations: ['23-20=3'] Exploring Operation: 20*3=60, Resulting Numbers: [94, 60] Generated Node #0,1,0: 94:[94, 60] Operation: 20*3=60 Exploring Operation: 20-3=17, Resulting Numbers: [94, 17] Generated Node #0,1,1: 94:[94, 17] Operation: 20-3=17 Exploring Operation: 94+20=114, Resulting Numbers: [3, 114] Generated Node #0,1,2: 94:[3, 114] Operation: 94+20=114 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[94, 60], Operations: ['23-20=3', '20*3=60'] Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,94 unequal: No Solution Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[94, 17], Operations: ['23-20=3', '20-3=17'] Exploring Operation: 94*17=1598, Resulting Numbers: [1598] 1598,94 unequal: No Solution Exploring Operation: 94+17=111, Resulting Numbers: [111] 111,94 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[3, 114], Operations: ['23-20=3', '94+20=114'] Exploring Operation: 114-3=111, Resulting Numbers: [111] 111,94 unequal: No Solution Exploring Operation: 3+114=117, Resulting Numbers: [117] 117,94 unequal: No Solution Exploring Operation: 114/3=38, Resulting Numbers: [38] 38,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[20, 94, 3], Operations: ['23-20=3'] Exploring Operation: 20-3=17, Resulting Numbers: [94, 17] Generated Node #0,2,0: 94:[94, 17] Operation: 20-3=17 Exploring Operation: 20+94=114, Resulting Numbers: [3, 114] Generated Node #0,2,1: 94:[3, 114] Operation: 20+94=114 Exploring Operation: 20*3=60, Resulting Numbers: [94, 60] Generated Node #0,2,2: 94:[94, 60] Operation: 20*3=60 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 94:[94, 60], Operations: ['23-20=3', '20*3=60'] Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[94, 17], Operations: ['23-20=3', '20-3=17'] Exploring Operation: 94+17=111, Resulting Numbers: [111] 111,94 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,94 unequal: No Solution Exploring Operation: 94*17=1598, Resulting Numbers: [1598] 1598,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[3, 114], Operations: ['23-20=3', '20+94=114'] Exploring Operation: 114/3=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 3+114=117, Resulting Numbers: [117] 117,94 unequal: No Solution Exploring Operation: 114-3=111, Resulting Numbers: [111] 111,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[94, 20, 43], Operations: ['20+23=43'] Exploring Operation: 43-20=23, Resulting Numbers: [94, 23] Generated Node #0,0,0: 94:[94, 23] Operation: 43-20=23 Exploring Operation: 20+43=63, Resulting Numbers: [94, 63] Generated Node #0,0,1: 94:[94, 63] Operation: 20+43=63 Exploring Operation: 94-43=51, Resulting Numbers: [20, 51] Generated Node #0,0,2: 94:[20, 51] Operation: 94-43=51 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[94, 63], Operations: ['20+23=43', '20+43=63'] Exploring Operation: 94*63=5922, Resulting Numbers: [5922] 5922,94 unequal: No Solution Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 94+63=157, Resulting Numbers: [157] 157,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[94, 23], Operations: ['20+23=43', '43-20=23'] Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,94 unequal: No Solution Exploring Operation: 94*23=2162, Resulting Numbers: [2162] 2162,94 unequal: No Solution Exploring Operation: 94+23=117, Resulting Numbers: [117] 117,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[20, 51], Operations: ['20+23=43', '94-43=51'] Exploring Operation: 20*51=1020, Resulting Numbers: [1020] 1020,94 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 4, 88, 43, 41 ]
16
[ "88-43=45", "45-41=4", "4*4=16" ]
Current State: 16:[4, 88, 43, 41], Operations: [] Exploring Operation: 88-43=45, Resulting Numbers: [4, 41, 45] Generated Node #2: [4, 41, 45] from Operation: 88-43=45 Current State: 16:[4, 41, 45], Operations: ['88-43=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4, 4] Generated Node #3: [4, 4] from Operation: 45-41=4 Current State: 16:[4, 4], Operations: ['88-43=45', '45-41=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[4, 88, 43, 41], Operations: [] Exploring Operation: 88-43=45, Resulting Numbers: [4, 41, 45] Generated Node #0,0: 16:[4, 41, 45] Operation: 88-43=45 Exploring Operation: 88-41=47, Resulting Numbers: [4, 43, 47] Generated Node #0,1: 16:[4, 43, 47] Operation: 88-41=47 Exploring Operation: 88/4=22, Resulting Numbers: [43, 41, 22] Generated Node #0,2: 16:[43, 41, 22] Operation: 88/4=22 Moving to Node #0,0 Current State: 16:[4, 41, 45], Operations: ['88-43=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41, 41] Generated Node #0,0,0: 16:[41, 41] Operation: 45-4=41 Exploring Operation: 41-4=37, Resulting Numbers: [45, 37] Generated Node #0,0,1: 16:[45, 37] Operation: 41-4=37 Exploring Operation: 45-41=4, Resulting Numbers: [4, 4] Generated Node #0,0,2: 16:[4, 4] Operation: 45-41=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[4, 4], Operations: ['88-43=45', '45-41=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[4, 88, 43, 41], Operations: [] Exploring Operation: 88-43=45, Resulting Numbers: [4, 41, 45] Generated Node #0,0: 16:[4, 41, 45] Operation: 88-43=45 Moving to Node #0,0 Current State: 16:[4, 41, 45], Operations: ['88-43=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4, 4] Generated Node #0,0,2: 16:[4, 4] Operation: 45-41=4 Moving to Node #0,0,2 Current State: 16:[4, 4], Operations: ['88-43=45', '45-41=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 10, 40, 64, 39 ]
16
[ "10*40=400", "64-39=25", "400/25=16" ]
Current State: 16:[10, 40, 64, 39], Operations: [] Exploring Operation: 10*40=400, Resulting Numbers: [64, 39, 400] Generated Node #2: [64, 39, 400] from Operation: 10*40=400 Current State: 16:[64, 39, 400], Operations: ['10*40=400'] Exploring Operation: 64-39=25, Resulting Numbers: [400, 25] Generated Node #3: [400, 25] from Operation: 64-39=25 Current State: 16:[400, 25], Operations: ['10*40=400', '64-39=25'] Exploring Operation: 400/25=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[10, 40, 64, 39], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [10, 39, 24] Generated Node #0,0: 16:[10, 39, 24] Operation: 64-40=24 Moving to Node #0,0 Current State: 16:[10, 39, 24], Operations: ['64-40=24'] Exploring Operation: 39-24=15, Resulting Numbers: [10, 15] Generated Node #0,0,0: 16:[10, 15] Operation: 39-24=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[10, 15], Operations: ['64-40=24', '39-24=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 42, 24, 26 ]
50
[ "42-42=0", "24+26=50", "0+50=50" ]
Current State: 50:[42, 42, 24, 26], Operations: [] Exploring Operation: 42-42=0, Resulting Numbers: [24, 26, 0] Generated Node #2: [24, 26, 0] from Operation: 42-42=0 Current State: 50:[24, 26, 0], Operations: ['42-42=0'] Exploring Operation: 24+26=50, Resulting Numbers: [0, 50] Generated Node #3: [0, 50] from Operation: 24+26=50 Current State: 50:[0, 50], Operations: ['42-42=0', '24+26=50'] Exploring Operation: 0+50=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[42, 42, 24, 26], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [24, 26, 1] Generated Node #0,0: 50:[24, 26, 1] Operation: 42/42=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[24, 26, 1], Operations: ['42/42=1'] Exploring Operation: 24+26=50, Resulting Numbers: [1, 50] Generated Node #0,0,0: 50:[1, 50] Operation: 24+26=50 Moving to Node #0,0,0 Current State: 50:[1, 50], Operations: ['42/42=1', '24+26=50'] Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[42, 42, 24, 26], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [24, 26, 1] Generated Node #0,0: 50:[24, 26, 1] Operation: 42/42=1 Moving to Node #0,0 Current State: 50:[24, 26, 1], Operations: ['42/42=1'] Exploring Operation: 24+26=50, Resulting Numbers: [1, 50] Generated Node #0,0,0: 50:[1, 50] Operation: 24+26=50 Moving to Node #0,0,0 Current State: 50:[1, 50], Operations: ['42/42=1', '24+26=50'] Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 49, 12, 5, 17 ]
25
[ "49-12=37", "17-5=12", "37-12=25" ]
Current State: 25:[49, 12, 5, 17], Operations: [] Exploring Operation: 49-12=37, Resulting Numbers: [5, 17, 37] Generated Node #2: [5, 17, 37] from Operation: 49-12=37 Current State: 25:[5, 17, 37], Operations: ['49-12=37'] Exploring Operation: 17-5=12, Resulting Numbers: [37, 12] Generated Node #3: [37, 12] from Operation: 17-5=12 Current State: 25:[37, 12], Operations: ['49-12=37', '17-5=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[49, 12, 5, 17], Operations: [] Exploring Operation: 49-12=37, Resulting Numbers: [5, 17, 37] Generated Node #0,0: 25:[5, 17, 37] Operation: 49-12=37 Exploring Operation: 12+17=29, Resulting Numbers: [49, 5, 29] Generated Node #0,1: 25:[49, 5, 29] Operation: 12+17=29 Exploring Operation: 17-12=5, Resulting Numbers: [49, 5, 5] Generated Node #0,2: 25:[49, 5, 5] Operation: 17-12=5 Exploring Operation: 49-17=32, Resulting Numbers: [12, 5, 32] Generated Node #0,3: 25:[12, 5, 32] Operation: 49-17=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[12, 5, 32], Operations: ['49-17=32'] Exploring Operation: 32-5=27, Resulting Numbers: [12, 27] Generated Node #0,3,0: 25:[12, 27] Operation: 32-5=27 Exploring Operation: 12-5=7, Resulting Numbers: [32, 7] Generated Node #0,3,1: 25:[32, 7] Operation: 12-5=7 Exploring Operation: 32-12=20, Resulting Numbers: [5, 20] Generated Node #0,3,2: 25:[5, 20] Operation: 32-12=20 Exploring Operation: 12+5=17, Resulting Numbers: [32, 17] Generated Node #0,3,3: 25:[32, 17] Operation: 12+5=17 Moving to Node #0,3,2 Current State: 25:[5, 20], Operations: ['49-17=32', '32-12=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[49, 12, 5, 17], Operations: [] Exploring Operation: 49-17=32, Resulting Numbers: [12, 5, 32] Generated Node #0,3: 25:[12, 5, 32] Operation: 49-17=32 Moving to Node #0,3 Current State: 25:[12, 5, 32], Operations: ['49-17=32'] Exploring Operation: 32-12=20, Resulting Numbers: [5, 20] Generated Node #0,3,2: 25:[5, 20] Operation: 32-12=20 Moving to Node #0,3,2 Current State: 25:[5, 20], Operations: ['49-17=32', '32-12=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 98, 76, 66, 28 ]
31
[ "98-76=22", "66/22=3", "28+3=31" ]
Current State: 31:[98, 76, 66, 28], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [66, 28, 22] Generated Node #2: [66, 28, 22] from Operation: 98-76=22 Current State: 31:[66, 28, 22], Operations: ['98-76=22'] Exploring Operation: 66/22=3, Resulting Numbers: [28, 3] Generated Node #3: [28, 3] from Operation: 66/22=3 Current State: 31:[28, 3], Operations: ['98-76=22', '66/22=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[98, 76, 66, 28], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [76, 28, 32] Generated Node #0,0: 31:[76, 28, 32] Operation: 98-66=32 Exploring Operation: 98-76=22, Resulting Numbers: [66, 28, 22] Generated Node #0,1: 31:[66, 28, 22] Operation: 98-76=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[66, 28, 22], Operations: ['98-76=22'] Exploring Operation: 66-28=38, Resulting Numbers: [22, 38] Generated Node #0,1,0: 31:[22, 38] Operation: 66-28=38 Exploring Operation: 66-22=44, Resulting Numbers: [28, 44] Generated Node #0,1,1: 31:[28, 44] Operation: 66-22=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[22, 38], Operations: ['98-76=22', '66-28=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[28, 44], Operations: ['98-76=22', '66-22=44'] Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,31 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,31 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: 31:[76, 28, 32], Operations: ['98-66=32'] Exploring Operation: 76-32=44, Resulting Numbers: [28, 44] Generated Node #0,0,0: 31:[28, 44] Operation: 76-32=44 Exploring Operation: 76-28=48, Resulting Numbers: [32, 48] Generated Node #0,0,1: 31:[32, 48] Operation: 76-28=48 Moving to Node #0,0,0 Current State: 31:[28, 44], Operations: ['98-66=32', '76-32=44'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[32, 48], Operations: ['98-66=32', '76-28=48'] Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,31 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
[ 4, 23, 18, 23 ]
76
[ "23/23=1", "18+1=19", "4*19=76" ]
Current State: 76:[4, 23, 18, 23], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [4, 18, 1] Generated Node #2: [4, 18, 1] from Operation: 23/23=1 Current State: 76:[4, 18, 1], Operations: ['23/23=1'] Exploring Operation: 18+1=19, Resulting Numbers: [4, 19] Generated Node #3: [4, 19] from Operation: 18+1=19 Current State: 76:[4, 19], Operations: ['23/23=1', '18+1=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[4, 23, 18, 23], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [4, 18, 1] Generated Node #0,0: 76:[4, 18, 1] Operation: 23/23=1 Exploring Operation: 23-23=0, Resulting Numbers: [4, 18, 0] Generated Node #0,1: 76:[4, 18, 0] Operation: 23-23=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[4, 18, 1], Operations: ['23/23=1'] Exploring Operation: 4*1=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 76:[18, 4] Operation: 4*1=4 Exploring Operation: 18+1=19, Resulting Numbers: [4, 19] Generated Node #0,0,1: 76:[4, 19] Operation: 18+1=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[4, 19], Operations: ['23/23=1', '18+1=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[4, 23, 18, 23], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [4, 18, 1] Generated Node #0,0: 76:[4, 18, 1] Operation: 23/23=1 Moving to Node #0,0 Current State: 76:[4, 18, 1], Operations: ['23/23=1'] Exploring Operation: 18+1=19, Resulting Numbers: [4, 19] Generated Node #0,0,1: 76:[4, 19] Operation: 18+1=19 Moving to Node #0,0,1 Current State: 76:[4, 19], Operations: ['23/23=1', '18+1=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 33, 94, 1, 3 ]
65
[ "94-33=61", "1+3=4", "61+4=65" ]
Current State: 65:[33, 94, 1, 3], Operations: [] Exploring Operation: 94-33=61, Resulting Numbers: [1, 3, 61] Generated Node #2: [1, 3, 61] from Operation: 94-33=61 Current State: 65:[1, 3, 61], Operations: ['94-33=61'] Exploring Operation: 1+3=4, Resulting Numbers: [61, 4] Generated Node #3: [61, 4] from Operation: 1+3=4 Current State: 65:[61, 4], Operations: ['94-33=61', '1+3=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[33, 94, 1, 3], Operations: [] Exploring Operation: 33-3=30, Resulting Numbers: [94, 1, 30] Generated Node #0,0: 65:[94, 1, 30] Operation: 33-3=30 Exploring Operation: 33/3=11, Resulting Numbers: [94, 1, 11] Generated Node #0,1: 65:[94, 1, 11] Operation: 33/3=11 Exploring Operation: 94-33=61, Resulting Numbers: [1, 3, 61] Generated Node #0,2: 65:[1, 3, 61] Operation: 94-33=61 Exploring Operation: 33-1=32, Resulting Numbers: [94, 3, 32] Generated Node #0,3: 65:[94, 3, 32] Operation: 33-1=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[1, 3, 61], Operations: ['94-33=61'] Exploring Operation: 3+61=64, Resulting Numbers: [1, 64] Generated Node #0,2,0: 65:[1, 64] Operation: 3+61=64 Exploring Operation: 1*3=3, Resulting Numbers: [61, 3] Generated Node #0,2,1: 65:[61, 3] Operation: 1*3=3 Exploring Operation: 1+3=4, Resulting Numbers: [61, 4] Generated Node #0,2,2: 65:[61, 4] Operation: 1+3=4 Exploring Operation: 1+61=62, Resulting Numbers: [3, 62] Generated Node #0,2,3: 65:[3, 62] Operation: 1+61=62 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[1, 64], Operations: ['94-33=61', '3+61=64'] Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[33, 94, 1, 3], Operations: [] Exploring Operation: 94-33=61, Resulting Numbers: [1, 3, 61] Generated Node #0,2: 65:[1, 3, 61] Operation: 94-33=61 Moving to Node #0,2 Current State: 65:[1, 3, 61], Operations: ['94-33=61'] Exploring Operation: 3+61=64, Resulting Numbers: [1, 64] Generated Node #0,2,0: 65:[1, 64] Operation: 3+61=64 Moving to Node #0,2,0 Current State: 65:[1, 64], Operations: ['94-33=61', '3+61=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 24, 77, 84, 54 ]
85
[ "77-24=53", "84+54=138", "138-53=85" ]
Current State: 85:[24, 77, 84, 54], Operations: [] Exploring Operation: 77-24=53, Resulting Numbers: [84, 54, 53] Generated Node #2: [84, 54, 53] from Operation: 77-24=53 Current State: 85:[84, 54, 53], Operations: ['77-24=53'] Exploring Operation: 84+54=138, Resulting Numbers: [53, 138] Generated Node #3: [53, 138] from Operation: 84+54=138 Current State: 85:[53, 138], Operations: ['77-24=53', '84+54=138'] Exploring Operation: 138-53=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[24, 77, 84, 54], Operations: [] Exploring Operation: 84-54=30, Resulting Numbers: [24, 77, 30] Generated Node #0,0: 85:[24, 77, 30] Operation: 84-54=30 Exploring Operation: 24+54=78, Resulting Numbers: [77, 84, 78] Generated Node #0,1: 85:[77, 84, 78] Operation: 24+54=78 Exploring Operation: 77-54=23, Resulting Numbers: [24, 84, 23] Generated Node #0,2: 85:[24, 84, 23] Operation: 77-54=23 Exploring Operation: 84-77=7, Resulting Numbers: [24, 54, 7] Generated Node #0,3: 85:[24, 54, 7] Operation: 84-77=7 Exploring Operation: 54-24=30, Resulting Numbers: [77, 84, 30] Generated Node #0,4: 85:[77, 84, 30] Operation: 54-24=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[24, 84, 23], Operations: ['77-54=23'] Exploring Operation: 24-23=1, Resulting Numbers: [84, 1] Generated Node #0,2,0: 85:[84, 1] Operation: 24-23=1 Exploring Operation: 24+84=108, Resulting Numbers: [23, 108] Generated Node #0,2,1: 85:[23, 108] Operation: 24+84=108 Exploring Operation: 84-24=60, Resulting Numbers: [23, 60] Generated Node #0,2,2: 85:[23, 60] Operation: 84-24=60 Exploring Operation: 24+23=47, Resulting Numbers: [84, 47] Generated Node #0,2,3: 85:[84, 47] Operation: 24+23=47 Exploring Operation: 84+23=107, Resulting Numbers: [24, 107] Generated Node #0,2,4: 85:[24, 107] Operation: 84+23=107 Moving to Node #0,2,0 Current State: 85:[84, 1], Operations: ['77-54=23', '24-23=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[24, 77, 84, 54], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [24, 84, 23] Generated Node #0,2: 85:[24, 84, 23] Operation: 77-54=23 Moving to Node #0,2 Current State: 85:[24, 84, 23], Operations: ['77-54=23'] Exploring Operation: 24-23=1, Resulting Numbers: [84, 1] Generated Node #0,2,0: 85:[84, 1] Operation: 24-23=1 Moving to Node #0,2,0 Current State: 85:[84, 1], Operations: ['77-54=23', '24-23=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 11, 63, 46, 41 ]
48
[ "63-41=22", "22/11=2", "46+2=48" ]
Current State: 48:[11, 63, 46, 41], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [11, 46, 22] Generated Node #2: [11, 46, 22] from Operation: 63-41=22 Current State: 48:[11, 46, 22], Operations: ['63-41=22'] Exploring Operation: 22/11=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 22/11=2 Current State: 48:[46, 2], Operations: ['63-41=22', '22/11=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[11, 63, 46, 41], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [11, 46, 22] Generated Node #0,0: 48:[11, 46, 22] Operation: 63-41=22 Exploring Operation: 63-11=52, Resulting Numbers: [46, 41, 52] Generated Node #0,1: 48:[46, 41, 52] Operation: 63-11=52 Exploring Operation: 11+41=52, Resulting Numbers: [63, 46, 52] Generated Node #0,2: 48:[63, 46, 52] Operation: 11+41=52 Exploring Operation: 63-46=17, Resulting Numbers: [11, 41, 17] Generated Node #0,3: 48:[11, 41, 17] Operation: 63-46=17 Exploring Operation: 46-41=5, Resulting Numbers: [11, 63, 5] Generated Node #0,4: 48:[11, 63, 5] Operation: 46-41=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[11, 46, 22], Operations: ['63-41=22'] Exploring Operation: 46-22=24, Resulting Numbers: [11, 24] Generated Node #0,0,0: 48:[11, 24] Operation: 46-22=24 Exploring Operation: 11+46=57, Resulting Numbers: [22, 57] Generated Node #0,0,1: 48:[22, 57] Operation: 11+46=57 Exploring Operation: 22/11=2, Resulting Numbers: [46, 2] Generated Node #0,0,2: 48:[46, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [46, 11] Generated Node #0,0,3: 48:[46, 11] Operation: 22-11=11 Exploring Operation: 11+22=33, Resulting Numbers: [46, 33] Generated Node #0,0,4: 48:[46, 33] Operation: 11+22=33 Moving to Node #0,0,0 Current State: 48:[11, 24], Operations: ['63-41=22', '46-22=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,48 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[46, 2], Operations: ['63-41=22', '22/11=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,48 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[11, 63, 46, 41], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [11, 46, 22] Generated Node #0,0: 48:[11, 46, 22] Operation: 63-41=22 Moving to Node #0,0 Current State: 48:[11, 46, 22], Operations: ['63-41=22'] Exploring Operation: 22/11=2, Resulting Numbers: [46, 2] Generated Node #0,0,2: 48:[46, 2] Operation: 22/11=2 Moving to Node #0,0,2 Current State: 48:[46, 2], Operations: ['63-41=22', '22/11=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 71, 71, 65, 68 ]
65
[ "71-71=0", "68*0=0", "65+0=65" ]
Current State: 65:[71, 71, 65, 68], Operations: [] Exploring Operation: 71-71=0, Resulting Numbers: [65, 68, 0] Generated Node #2: [65, 68, 0] from Operation: 71-71=0 Current State: 65:[65, 68, 0], Operations: ['71-71=0'] Exploring Operation: 68*0=0, Resulting Numbers: [65, 0] Generated Node #3: [65, 0] from Operation: 68*0=0 Current State: 65:[65, 0], Operations: ['71-71=0', '68*0=0'] Exploring Operation: 65+0=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[71, 71, 65, 68], Operations: [] Exploring Operation: 71/71=1, Resulting Numbers: [65, 68, 1] Generated Node #0,0: 65:[65, 68, 1] Operation: 71/71=1 Exploring Operation: 71-71=0, Resulting Numbers: [65, 68, 0] Generated Node #0,1: 65:[65, 68, 0] Operation: 71-71=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[65, 68, 1], Operations: ['71/71=1'] Exploring Operation: 68-1=67, Resulting Numbers: [65, 67] Generated Node #0,0,0: 65:[65, 67] Operation: 68-1=67 Exploring Operation: 65*1=65, Resulting Numbers: [68, 65] Generated Node #0,0,1: 65:[68, 65] Operation: 65*1=65 Moving to Node #0,0,0 Current State: 65:[65, 67], Operations: ['71/71=1', '68-1=67'] Exploring Operation: 65+67=132, Resulting Numbers: [132] 132,65 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[68, 65], Operations: ['71/71=1', '65*1=65'] Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[65, 68, 0], Operations: ['71-71=0'] Exploring Operation: 65+0=65, Resulting Numbers: [68, 65] Generated Node #0,1,0: 65:[68, 65] Operation: 65+0=65 Exploring Operation: 65-0=65, Resulting Numbers: [68, 65] Generated Node #0,1,1: 65:[68, 65] Operation: 65-0=65 Moving to Node #0,1,0 Current State: 65:[68, 65], Operations: ['71-71=0', '65+0=65'] Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[68, 65], Operations: ['71-71=0', '65-0=65'] Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,65 unequal: No Solution Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,65 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
[ 4, 78, 12, 56 ]
83
[ "4+56=60", "60/12=5", "78+5=83" ]
Current State: 83:[4, 78, 12, 56], Operations: [] Exploring Operation: 4+56=60, Resulting Numbers: [78, 12, 60] Generated Node #2: [78, 12, 60] from Operation: 4+56=60 Current State: 83:[78, 12, 60], Operations: ['4+56=60'] Exploring Operation: 60/12=5, Resulting Numbers: [78, 5] Generated Node #3: [78, 5] from Operation: 60/12=5 Current State: 83:[78, 5], Operations: ['4+56=60', '60/12=5'] Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[4, 78, 12, 56], Operations: [] Exploring Operation: 4*12=48, Resulting Numbers: [78, 56, 48] Generated Node #0,0: 83:[78, 56, 48] Operation: 4*12=48 Exploring Operation: 4+56=60, Resulting Numbers: [78, 12, 60] Generated Node #0,1: 83:[78, 12, 60] Operation: 4+56=60 Exploring Operation: 4+12=16, Resulting Numbers: [78, 56, 16] Generated Node #0,2: 83:[78, 56, 16] Operation: 4+12=16 Exploring Operation: 4+78=82, Resulting Numbers: [12, 56, 82] Generated Node #0,3: 83:[12, 56, 82] Operation: 4+78=82 Moving to Node #0,0 Current State: 83:[78, 56, 48], Operations: ['4*12=48'] Exploring Operation: 78-48=30, Resulting Numbers: [56, 30] Generated Node #0,0,0: 83:[56, 30] Operation: 78-48=30 Exploring Operation: 56-48=8, Resulting Numbers: [78, 8] Generated Node #0,0,1: 83:[78, 8] Operation: 56-48=8 Exploring Operation: 78+48=126, Resulting Numbers: [56, 126] Generated Node #0,0,2: 83:[56, 126] Operation: 78+48=126 Exploring Operation: 56+48=104, Resulting Numbers: [78, 104] Generated Node #0,0,3: 83:[78, 104] Operation: 56+48=104 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[78, 104], Operations: ['4*12=48', '56+48=104'] Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 78+104=182, Resulting Numbers: [182] 182,83 unequal: No Solution Exploring Operation: 78*104=8112, Resulting Numbers: [8112] 8112,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,0,2 Current State: 83:[56, 126], Operations: ['4*12=48', '78+48=126'] Exploring Operation: 56+126=182, Resulting Numbers: [182] 182,83 unequal: No Solution Exploring Operation: 56*126=7056, Resulting Numbers: [7056] 7056,83 unequal: No Solution Exploring Operation: 126-56=70, Resulting Numbers: [70] 70,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,0,0 Current State: 83:[56, 30], Operations: ['4*12=48', '78-48=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,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,0,1 Current State: 83:[78, 8], Operations: ['4*12=48', '56-48=8'] Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,83 unequal: No Solution Exploring Operation: 78*8=624, Resulting Numbers: [624] 624,83 unequal: No Solution Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,83 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: 83:[78, 56, 16], Operations: ['4+12=16'] Exploring Operation: 56-16=40, Resulting Numbers: [78, 40] Generated Node #0,2,0: 83:[78, 40] Operation: 56-16=40 Exploring Operation: 78+16=94, Resulting Numbers: [56, 94] Generated Node #0,2,1: 83:[56, 94] Operation: 78+16=94 Exploring Operation: 56+16=72, Resulting Numbers: [78, 72] Generated Node #0,2,2: 83:[78, 72] Operation: 56+16=72 Exploring Operation: 78-16=62, Resulting Numbers: [56, 62] Generated Node #0,2,3: 83:[56, 62] Operation: 78-16=62 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[78, 72], Operations: ['4+12=16', '56+16=72'] Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,83 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,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,2,1 Current State: 83:[56, 94], Operations: ['4+12=16', '78+16=94'] Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 56+94=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 56*94=5264, Resulting Numbers: [5264] 5264,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,2,0 Current State: 83:[78, 40], Operations: ['4+12=16', '56-16=40'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 78+40=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 78*40=3120, Resulting Numbers: [3120] 3120,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,2,3 Current State: 83:[56, 62], Operations: ['4+12=16', '78-16=62'] Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,83 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: 83:[78, 12, 60], Operations: ['4+56=60'] Exploring Operation: 78-12=66, Resulting Numbers: [60, 66] Generated Node #0,1,0: 83:[60, 66] Operation: 78-12=66 Exploring Operation: 60-12=48, Resulting Numbers: [78, 48] Generated Node #0,1,1: 83:[78, 48] Operation: 60-12=48 Exploring Operation: 12+60=72, Resulting Numbers: [78, 72] Generated Node #0,1,2: 83:[78, 72] Operation: 12+60=72 Exploring Operation: 78+12=90, Resulting Numbers: [60, 90] Generated Node #0,1,3: 83:[60, 90] Operation: 78+12=90 Moving to Node #0,3 Current State: 83:[12, 56, 82], Operations: ['4+78=82'] Exploring Operation: 12+82=94, Resulting Numbers: [56, 94] Generated Node #0,3,0: 83:[56, 94] Operation: 12+82=94 Exploring Operation: 56-12=44, Resulting Numbers: [82, 44] Generated Node #0,3,1: 83:[82, 44] Operation: 56-12=44 Exploring Operation: 12+56=68, Resulting Numbers: [82, 68] Generated Node #0,3,2: 83:[82, 68] Operation: 12+56=68 Exploring Operation: 82-12=70, Resulting Numbers: [56, 70] Generated Node #0,3,3: 83:[56, 70] Operation: 82-12=70 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[82, 68], Operations: ['4+78=82', '12+56=68'] Exploring Operation: 82+68=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 82*68=5576, Resulting Numbers: [5576] 5576,83 unequal: No Solution Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,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,3,0 Current State: 83:[56, 94], Operations: ['4+78=82', '12+82=94'] Exploring Operation: 56*94=5264, Resulting Numbers: [5264] 5264,83 unequal: No Solution Exploring Operation: 56+94=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,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,3,1 Current State: 83:[82, 44], Operations: ['4+78=82', '56-12=44'] Exploring Operation: 82+44=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 82*44=3608, Resulting Numbers: [3608] 3608,83 unequal: No Solution Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,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,3,3 Current State: 83:[56, 70], Operations: ['4+78=82', '82-12=70'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 56+70=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 56*70=3920, Resulting Numbers: [3920] 3920,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 83:[78, 72], Operations: ['4+56=60', '12+60=72'] Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[60, 90], Operations: ['4+56=60', '78+12=90'] Exploring Operation: 60*90=5400, Resulting Numbers: [5400] 5400,83 unequal: No Solution Exploring Operation: 60+90=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[78, 48], Operations: ['4+56=60', '60-12=48'] Exploring Operation: 78+48=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 78*48=3744, Resulting Numbers: [3744] 3744,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[60, 66], Operations: ['4+56=60', '78-12=66'] Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,83 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 84, 60, 17, 14 ]
83
[ "84/14=6", "60+17=77", "6+77=83" ]
Current State: 83:[84, 60, 17, 14], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [60, 17, 6] Generated Node #2: [60, 17, 6] from Operation: 84/14=6 Current State: 83:[60, 17, 6], Operations: ['84/14=6'] Exploring Operation: 60+17=77, Resulting Numbers: [6, 77] Generated Node #3: [6, 77] from Operation: 60+17=77 Current State: 83:[6, 77], Operations: ['84/14=6', '60+17=77'] Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[84, 60, 17, 14], Operations: [] Exploring Operation: 60+17=77, Resulting Numbers: [84, 14, 77] Generated Node #0,0: 83:[84, 14, 77] Operation: 60+17=77 Exploring Operation: 60+14=74, Resulting Numbers: [84, 17, 74] Generated Node #0,1: 83:[84, 17, 74] Operation: 60+14=74 Moving to Node #0,0 Current State: 83:[84, 14, 77], Operations: ['60+17=77'] Exploring Operation: 84-14=70, Resulting Numbers: [77, 70] Generated Node #0,0,0: 83:[77, 70] Operation: 84-14=70 Exploring Operation: 14+77=91, Resulting Numbers: [84, 91] Generated Node #0,0,1: 83:[84, 91] Operation: 14+77=91 Moving to Node #0,1 Current State: 83:[84, 17, 74], Operations: ['60+14=74'] Exploring Operation: 84-17=67, Resulting Numbers: [74, 67] Generated Node #0,1,0: 83:[74, 67] Operation: 84-17=67 Exploring Operation: 17+74=91, Resulting Numbers: [84, 91] Generated Node #0,1,1: 83:[84, 91] Operation: 17+74=91 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[84, 91], Operations: ['60+14=74', '17+74=91'] Exploring Operation: 91-84=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 84+91=175, Resulting Numbers: [175] 175,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:[74, 67], Operations: ['60+14=74', '84-17=67'] Exploring Operation: 74+67=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,83 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: 83:[84, 91], Operations: ['60+17=77', '14+77=91'] Exploring Operation: 84+91=175, Resulting Numbers: [175] 175,83 unequal: No Solution Exploring Operation: 91-84=7, Resulting Numbers: [7] 7,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[77, 70], Operations: ['60+17=77', '84-14=70'] Exploring Operation: 77+70=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 77-70=7, Resulting Numbers: [7] 7,83 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 92, 88, 21, 39 ]
64
[ "92-88=4", "21+39=60", "4+60=64" ]
Current State: 64:[92, 88, 21, 39], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [21, 39, 4] Generated Node #2: [21, 39, 4] from Operation: 92-88=4 Current State: 64:[21, 39, 4], Operations: ['92-88=4'] Exploring Operation: 21+39=60, Resulting Numbers: [4, 60] Generated Node #3: [4, 60] from Operation: 21+39=60 Current State: 64:[4, 60], Operations: ['92-88=4', '21+39=60'] Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[92, 88, 21, 39], Operations: [] Exploring Operation: 92-21=71, Resulting Numbers: [88, 39, 71] Generated Node #0,0: 64:[88, 39, 71] Operation: 92-21=71 Exploring Operation: 92-39=53, Resulting Numbers: [88, 21, 53] Generated Node #0,1: 64:[88, 21, 53] Operation: 92-39=53 Exploring Operation: 92-88=4, Resulting Numbers: [21, 39, 4] Generated Node #0,2: 64:[21, 39, 4] Operation: 92-88=4 Exploring Operation: 88-21=67, Resulting Numbers: [92, 39, 67] Generated Node #0,3: 64:[92, 39, 67] Operation: 88-21=67 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[21, 39, 4], Operations: ['92-88=4'] Exploring Operation: 39-4=35, Resulting Numbers: [21, 35] Generated Node #0,2,0: 64:[21, 35] Operation: 39-4=35 Exploring Operation: 21+39=60, Resulting Numbers: [4, 60] Generated Node #0,2,1: 64:[4, 60] Operation: 21+39=60 Exploring Operation: 21-4=17, Resulting Numbers: [39, 17] Generated Node #0,2,2: 64:[39, 17] Operation: 21-4=17 Exploring Operation: 39-21=18, Resulting Numbers: [4, 18] Generated Node #0,2,3: 64:[4, 18] Operation: 39-21=18 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 64:[4, 18], Operations: ['92-88=4', '39-21=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[4, 60], Operations: ['92-88=4', '21+39=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,64 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[92, 88, 21, 39], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [21, 39, 4] Generated Node #0,2: 64:[21, 39, 4] Operation: 92-88=4 Moving to Node #0,2 Current State: 64:[21, 39, 4], Operations: ['92-88=4'] Exploring Operation: 21+39=60, Resulting Numbers: [4, 60] Generated Node #0,2,1: 64:[4, 60] Operation: 21+39=60 Moving to Node #0,2,1 Current State: 64:[4, 60], Operations: ['92-88=4', '21+39=60'] Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 21, 1, 48, 5 ]
74
[ "21*1=21", "48+5=53", "21+53=74" ]
Current State: 74:[21, 1, 48, 5], Operations: [] Exploring Operation: 21*1=21, Resulting Numbers: [48, 5, 21] Generated Node #2: [48, 5, 21] from Operation: 21*1=21 Current State: 74:[48, 5, 21], Operations: ['21*1=21'] Exploring Operation: 48+5=53, Resulting Numbers: [21, 53] Generated Node #3: [21, 53] from Operation: 48+5=53 Current State: 74:[21, 53], Operations: ['21*1=21', '48+5=53'] Exploring Operation: 21+53=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[21, 1, 48, 5], Operations: [] Exploring Operation: 21+48=69, Resulting Numbers: [1, 5, 69] Generated Node #0,0: 74:[1, 5, 69] Operation: 21+48=69 Exploring Operation: 21+5=26, Resulting Numbers: [1, 48, 26] Generated Node #0,1: 74:[1, 48, 26] Operation: 21+5=26 Exploring Operation: 48-21=27, Resulting Numbers: [1, 5, 27] Generated Node #0,2: 74:[1, 5, 27] Operation: 48-21=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[1, 5, 69], Operations: ['21+48=69'] Exploring Operation: 5-1=4, Resulting Numbers: [69, 4] Generated Node #0,0,0: 74:[69, 4] Operation: 5-1=4 Exploring Operation: 5+69=74, Resulting Numbers: [1, 74] Generated Node #0,0,1: 74:[1, 74] Operation: 5+69=74 Exploring Operation: 1+69=70, Resulting Numbers: [5, 70] Generated Node #0,0,2: 74:[5, 70] Operation: 1+69=70 Moving to Node #0,0,1 Current State: 74:[1, 74], Operations: ['21+48=69', '5+69=74'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[21, 1, 48, 5], Operations: [] Exploring Operation: 21+48=69, Resulting Numbers: [1, 5, 69] Generated Node #0,0: 74:[1, 5, 69] Operation: 21+48=69 Moving to Node #0,0 Current State: 74:[1, 5, 69], Operations: ['21+48=69'] Exploring Operation: 5+69=74, Resulting Numbers: [1, 74] Generated Node #0,0,1: 74:[1, 74] Operation: 5+69=74 Moving to Node #0,0,1 Current State: 74:[1, 74], Operations: ['21+48=69', '5+69=74'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 64, 30, 80, 31 ]
88
[ "64-31=33", "80*33=2640", "2640/30=88" ]
Current State: 88:[64, 30, 80, 31], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [30, 80, 33] Generated Node #2: [30, 80, 33] from Operation: 64-31=33 Current State: 88:[30, 80, 33], Operations: ['64-31=33'] Exploring Operation: 80*33=2640, Resulting Numbers: [30, 2640] Generated Node #3: [30, 2640] from Operation: 80*33=2640 Current State: 88:[30, 2640], Operations: ['64-31=33', '80*33=2640'] Exploring Operation: 2640/30=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[64, 30, 80, 31], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [30, 31, 16] Generated Node #0,0: 88:[30, 31, 16] Operation: 80-64=16 Exploring Operation: 64-30=34, Resulting Numbers: [80, 31, 34] Generated Node #0,1: 88:[80, 31, 34] Operation: 64-30=34 Exploring Operation: 64+30=94, Resulting Numbers: [80, 31, 94] Generated Node #0,2: 88:[80, 31, 94] Operation: 64+30=94 Exploring Operation: 64+31=95, Resulting Numbers: [30, 80, 95] Generated Node #0,3: 88:[30, 80, 95] Operation: 64+31=95 Moving to Node #0,0 Current State: 88:[30, 31, 16], Operations: ['80-64=16'] Exploring Operation: 30+16=46, Resulting Numbers: [31, 46] Generated Node #0,0,0: 88:[31, 46] Operation: 30+16=46 Exploring Operation: 31+16=47, Resulting Numbers: [30, 47] Generated Node #0,0,1: 88:[30, 47] Operation: 31+16=47 Exploring Operation: 31-30=1, Resulting Numbers: [16, 1] Generated Node #0,0,2: 88:[16, 1] Operation: 31-30=1 Exploring Operation: 30-16=14, Resulting Numbers: [31, 14] Generated Node #0,0,3: 88:[31, 14] Operation: 30-16=14 Moving to Node #0,3 Current State: 88:[30, 80, 95], Operations: ['64+31=95'] Exploring Operation: 30+80=110, Resulting Numbers: [95, 110] Generated Node #0,3,0: 88:[95, 110] Operation: 30+80=110 Exploring Operation: 95-80=15, Resulting Numbers: [30, 15] Generated Node #0,3,1: 88:[30, 15] Operation: 95-80=15 Exploring Operation: 95-30=65, Resulting Numbers: [80, 65] Generated Node #0,3,2: 88:[80, 65] Operation: 95-30=65 Exploring Operation: 80-30=50, Resulting Numbers: [95, 50] Generated Node #0,3,3: 88:[95, 50] Operation: 80-30=50 Moving to Node #0,2 Current State: 88:[80, 31, 94], Operations: ['64+30=94'] Exploring Operation: 80-31=49, Resulting Numbers: [94, 49] Generated Node #0,2,0: 88:[94, 49] Operation: 80-31=49 Exploring Operation: 94-31=63, Resulting Numbers: [80, 63] Generated Node #0,2,1: 88:[80, 63] Operation: 94-31=63 Exploring Operation: 94-80=14, Resulting Numbers: [31, 14] Generated Node #0,2,2: 88:[31, 14] Operation: 94-80=14 Exploring Operation: 80+31=111, Resulting Numbers: [94, 111] Generated Node #0,2,3: 88:[94, 111] Operation: 80+31=111 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[94, 49], Operations: ['64+30=94', '80-31=49'] Exploring Operation: 94+49=143, Resulting Numbers: [143] 143,88 unequal: No Solution Exploring Operation: 94-49=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 94*49=4606, Resulting Numbers: [4606] 4606,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[31, 14], Operations: ['64+30=94', '94-80=14'] Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,88 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[80, 63], Operations: ['64+30=94', '94-31=63'] Exploring Operation: 80*63=5040, Resulting Numbers: [5040] 5040,88 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 80+63=143, Resulting Numbers: [143] 143,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[94, 111], Operations: ['64+30=94', '80+31=111'] Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 94+111=205, Resulting Numbers: [205] 205,88 unequal: No Solution Exploring Operation: 94*111=10434, Resulting Numbers: [10434] 10434,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:[80, 31, 34], Operations: ['64-30=34'] Exploring Operation: 31+34=65, Resulting Numbers: [80, 65] Generated Node #0,1,0: 88:[80, 65] Operation: 31+34=65 Exploring Operation: 80-34=46, Resulting Numbers: [31, 46] Generated Node #0,1,1: 88:[31, 46] Operation: 80-34=46 Exploring Operation: 34-31=3, Resulting Numbers: [80, 3] Generated Node #0,1,2: 88:[80, 3] Operation: 34-31=3 Exploring Operation: 80-31=49, Resulting Numbers: [34, 49] Generated Node #0,1,3: 88:[34, 49] Operation: 80-31=49 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[80, 3], Operations: ['64-30=34', '34-31=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,88 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,88 unequal: No Solution Exploring Operation: 80+3=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,1 Current State: 88:[31, 46], Operations: ['64-30=34', '80-34=46'] Exploring Operation: 31*46=1426, Resulting Numbers: [1426] 1426,88 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,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:[34, 49], Operations: ['64-30=34', '80-31=49'] Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,88 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,88 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,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:[80, 65], Operations: ['64-30=34', '31+34=65'] Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,88 unequal: No Solution Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 88:[16, 1], Operations: ['80-64=16', '31-30=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[30, 47], Operations: ['80-64=16', '31+16=47'] Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,88 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[31, 46], Operations: ['80-64=16', '30+16=46'] Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 31*46=1426, Resulting Numbers: [1426] 1426,88 unequal: No Solution Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[30, 15], Operations: ['64+31=95', '95-80=15'] Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,88 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[31, 14], Operations: ['80-64=16', '30-16=14'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[95, 50], Operations: ['64+31=95', '80-30=50'] Exploring Operation: 95*50=4750, Resulting Numbers: [4750] 4750,88 unequal: No Solution Exploring Operation: 95-50=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 95+50=145, Resulting Numbers: [145] 145,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[80, 65], Operations: ['64+31=95', '95-30=65'] Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,88 unequal: No Solution Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,88 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[95, 110], Operations: ['64+31=95', '30+80=110'] Exploring Operation: 95+110=205, Resulting Numbers: [205] 205,88 unequal: No Solution Exploring Operation: 110-95=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 95*110=10450, Resulting Numbers: [10450] 10450,88 unequal: No Solution No solution found.
0
hs_4
sum_heuristic