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
[ 68, 2, 60, 5 ]
50
[ "68+2=70", "70-60=10", "5*10=50" ]
Current State: 50:[68, 2, 60, 5], Operations: [] Exploring Operation: 68+2=70, Resulting Numbers: [60, 5, 70] Generated Node #2: [60, 5, 70] from Operation: 68+2=70 Current State: 50:[60, 5, 70], Operations: ['68+2=70'] Exploring Operation: 70-60=10, Resulting Numbers: [5, 10] Generated Node #3: [5, 10] from Operation: 70-60=10 Current State: 50:[5, 10], Operations: ['68+2=70', '70-60=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[68, 2, 60, 5], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [68, 5, 30] Generated Node #0,0: 50:[68, 5, 30] Operation: 60/2=30 Exploring Operation: 68-60=8, Resulting Numbers: [2, 5, 8] Generated Node #0,1: 50:[2, 5, 8] Operation: 68-60=8 Exploring Operation: 60/5=12, Resulting Numbers: [68, 2, 12] Generated Node #0,2: 50:[68, 2, 12] Operation: 60/5=12 Exploring Operation: 68-5=63, Resulting Numbers: [2, 60, 63] Generated Node #0,3: 50:[2, 60, 63] Operation: 68-5=63 Exploring Operation: 68/2=34, Resulting Numbers: [60, 5, 34] Generated Node #0,4: 50:[60, 5, 34] Operation: 68/2=34 Moving to Node #0,1 Current State: 50:[2, 5, 8], Operations: ['68-60=8'] Exploring Operation: 8-5=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 50:[2, 3] Operation: 8-5=3 Exploring Operation: 2+8=10, Resulting Numbers: [5, 10] Generated Node #0,1,1: 50:[5, 10] Operation: 2+8=10 Exploring Operation: 2*5=10, Resulting Numbers: [8, 10] Generated Node #0,1,2: 50:[8, 10] Operation: 2*5=10 Exploring Operation: 8-2=6, Resulting Numbers: [5, 6] Generated Node #0,1,3: 50:[5, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [5, 4] Generated Node #0,1,4: 50:[5, 4] Operation: 8/2=4 Moving to Node #0,4 Current State: 50:[60, 5, 34], Operations: ['68/2=34'] Exploring Operation: 5+34=39, Resulting Numbers: [60, 39] Generated Node #0,4,0: 50:[60, 39] Operation: 5+34=39 Exploring Operation: 60-34=26, Resulting Numbers: [5, 26] Generated Node #0,4,1: 50:[5, 26] Operation: 60-34=26 Exploring Operation: 34-5=29, Resulting Numbers: [60, 29] Generated Node #0,4,2: 50:[60, 29] Operation: 34-5=29 Exploring Operation: 60/5=12, Resulting Numbers: [34, 12] Generated Node #0,4,3: 50:[34, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [34, 55] Generated Node #0,4,4: 50:[34, 55] Operation: 60-5=55 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 50:[5, 26], Operations: ['68/2=34', '60-34=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 50:[34, 12], Operations: ['68/2=34', '60/5=12'] Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,50 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 50:[60, 29], Operations: ['68/2=34', '34-5=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,50 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,50 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 50:[34, 55], Operations: ['68/2=34', '60-5=55'] Exploring Operation: 34*55=1870, Resulting Numbers: [1870] 1870,50 unequal: No Solution Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 34+55=89, Resulting Numbers: [89] 89,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 50:[60, 39], Operations: ['68/2=34', '5+34=39'] Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 60*39=2340, Resulting Numbers: [2340] 2340,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 50:[68, 2, 12], Operations: ['60/5=12'] Exploring Operation: 2*12=24, Resulting Numbers: [68, 24] Generated Node #0,2,0: 50:[68, 24] Operation: 2*12=24 Exploring Operation: 12-2=10, Resulting Numbers: [68, 10] Generated Node #0,2,1: 50:[68, 10] Operation: 12-2=10 Exploring Operation: 68-2=66, Resulting Numbers: [12, 66] Generated Node #0,2,2: 50:[12, 66] Operation: 68-2=66 Exploring Operation: 68-12=56, Resulting Numbers: [2, 56] Generated Node #0,2,3: 50:[2, 56] Operation: 68-12=56 Exploring Operation: 68/2=34, Resulting Numbers: [12, 34] Generated Node #0,2,4: 50:[12, 34] Operation: 68/2=34 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[2, 56], Operations: ['60/5=12', '68-12=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,50 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 50:[12, 34], Operations: ['60/5=12', '68/2=34'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,50 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[68, 10], Operations: ['60/5=12', '12-2=10'] Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,50 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[12, 66], Operations: ['60/5=12', '68-2=66'] Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 12+66=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 12*66=792, Resulting Numbers: [792] 792,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[68, 24], Operations: ['60/5=12', '2*12=24'] Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,50 unequal: No Solution Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,50 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: 50:[68, 5, 30], Operations: ['60/2=30'] Exploring Operation: 68-30=38, Resulting Numbers: [5, 38] Generated Node #0,0,0: 50:[5, 38] Operation: 68-30=38 Exploring Operation: 68-5=63, Resulting Numbers: [30, 63] Generated Node #0,0,1: 50:[30, 63] Operation: 68-5=63 Exploring Operation: 30-5=25, Resulting Numbers: [68, 25] Generated Node #0,0,2: 50:[68, 25] Operation: 30-5=25 Exploring Operation: 68+5=73, Resulting Numbers: [30, 73] Generated Node #0,0,3: 50:[30, 73] Operation: 68+5=73 Exploring Operation: 30/5=6, Resulting Numbers: [68, 6] Generated Node #0,0,4: 50:[68, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[5, 38], Operations: ['60/2=30', '68-30=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[30, 63], Operations: ['60/2=30', '68-5=63'] Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,50 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[68, 25], Operations: ['60/2=30', '30-5=25'] Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,50 unequal: No Solution Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 50:[68, 6], Operations: ['60/2=30', '30/5=6'] Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,50 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[30, 73], Operations: ['60/2=30', '68+5=73'] Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 30*73=2190, Resulting Numbers: [2190] 2190,50 unequal: No Solution Exploring Operation: 30+73=103, Resulting Numbers: [103] 103,50 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: 50:[2, 60, 63], Operations: ['68-5=63'] Exploring Operation: 60/2=30, Resulting Numbers: [63, 30] Generated Node #0,3,0: 50:[63, 30] Operation: 60/2=30 Exploring Operation: 63-60=3, Resulting Numbers: [2, 3] Generated Node #0,3,1: 50:[2, 3] Operation: 63-60=3 Exploring Operation: 60-2=58, Resulting Numbers: [63, 58] Generated Node #0,3,2: 50:[63, 58] Operation: 60-2=58 Exploring Operation: 63-2=61, Resulting Numbers: [60, 61] Generated Node #0,3,3: 50:[60, 61] Operation: 63-2=61 Exploring Operation: 2+60=62, Resulting Numbers: [63, 62] Generated Node #0,3,4: 50:[63, 62] Operation: 2+60=62 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[2, 3], Operations: ['68-5=63', '63-60=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[63, 30], Operations: ['68-5=63', '60/2=30'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,50 unequal: No Solution Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 50:[63, 58], Operations: ['68-5=63', '60-2=58'] Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 63+58=121, Resulting Numbers: [121] 121,50 unequal: No Solution Exploring Operation: 63*58=3654, Resulting Numbers: [3654] 3654,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 50:[60, 61], Operations: ['68-5=63', '63-2=61'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,50 unequal: No Solution Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 50:[63, 62], Operations: ['68-5=63', '2+60=62'] Exploring Operation: 63+62=125, Resulting Numbers: [125] 125,50 unequal: No Solution Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 63*62=3906, Resulting Numbers: [3906] 3906,50 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: 50:[5, 10], Operations: ['68-60=8', '2+8=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[68, 2, 60, 5], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [2, 5, 8] Generated Node #0,1: 50:[2, 5, 8] Operation: 68-60=8 Moving to Node #0,1 Current State: 50:[2, 5, 8], Operations: ['68-60=8'] Exploring Operation: 2+8=10, Resulting Numbers: [5, 10] Generated Node #0,1,1: 50:[5, 10] Operation: 2+8=10 Moving to Node #0,1,1 Current State: 50:[5, 10], Operations: ['68-60=8', '2+8=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.916667
hs_5
sum_heuristic
[ 5, 18, 46, 49 ]
30
[ "5*18=90", "49-46=3", "90/3=30" ]
Current State: 30:[5, 18, 46, 49], Operations: [] Exploring Operation: 5*18=90, Resulting Numbers: [46, 49, 90] Generated Node #2: [46, 49, 90] from Operation: 5*18=90 Current State: 30:[46, 49, 90], Operations: ['5*18=90'] Exploring Operation: 49-46=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 49-46=3 Current State: 30:[90, 3], Operations: ['5*18=90', '49-46=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[5, 18, 46, 49], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [5, 18, 3] Generated Node #0,0: 30:[5, 18, 3] Operation: 49-46=3 Moving to Node #0,0 Current State: 30:[5, 18, 3], Operations: ['49-46=3'] Exploring Operation: 18-3=15, Resulting Numbers: [5, 15] Generated Node #0,0,0: 30:[5, 15] Operation: 18-3=15 Moving to Node #0,0,0 Current State: 30:[5, 15], Operations: ['49-46=3', '18-3=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,30 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 9, 56, 48, 86 ]
87
[ "56-9=47", "48+86=134", "134-47=87" ]
Current State: 87:[9, 56, 48, 86], Operations: [] Exploring Operation: 56-9=47, Resulting Numbers: [48, 86, 47] Generated Node #2: [48, 86, 47] from Operation: 56-9=47 Current State: 87:[48, 86, 47], Operations: ['56-9=47'] Exploring Operation: 48+86=134, Resulting Numbers: [47, 134] Generated Node #3: [47, 134] from Operation: 48+86=134 Current State: 87:[47, 134], Operations: ['56-9=47', '48+86=134'] Exploring Operation: 134-47=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[9, 56, 48, 86], Operations: [] Exploring Operation: 56+48=104, Resulting Numbers: [9, 86, 104] Generated Node #0,0: 87:[9, 86, 104] Operation: 56+48=104 Exploring Operation: 86-56=30, Resulting Numbers: [9, 48, 30] Generated Node #0,1: 87:[9, 48, 30] Operation: 86-56=30 Exploring Operation: 56-48=8, Resulting Numbers: [9, 86, 8] Generated Node #0,2: 87:[9, 86, 8] Operation: 56-48=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[9, 86, 8], Operations: ['56-48=8'] Exploring Operation: 9-8=1, Resulting Numbers: [86, 1] Generated Node #0,2,0: 87:[86, 1] Operation: 9-8=1 Exploring Operation: 9+8=17, Resulting Numbers: [86, 17] Generated Node #0,2,1: 87:[86, 17] Operation: 9+8=17 Exploring Operation: 9+86=95, Resulting Numbers: [8, 95] Generated Node #0,2,2: 87:[8, 95] Operation: 9+86=95 Moving to Node #0,2,0 Current State: 87:[86, 1], Operations: ['56-48=8', '9-8=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,87 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[9, 56, 48, 86], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [9, 86, 8] Generated Node #0,2: 87:[9, 86, 8] Operation: 56-48=8 Moving to Node #0,2 Current State: 87:[9, 86, 8], Operations: ['56-48=8'] Exploring Operation: 9-8=1, Resulting Numbers: [86, 1] Generated Node #0,2,0: 87:[86, 1] Operation: 9-8=1 Moving to Node #0,2,0 Current State: 87:[86, 1], Operations: ['56-48=8', '9-8=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 67, 28, 81, 46 ]
74
[ "67-28=39", "81-46=35", "39+35=74" ]
Current State: 74:[67, 28, 81, 46], Operations: [] Exploring Operation: 67-28=39, Resulting Numbers: [81, 46, 39] Generated Node #2: [81, 46, 39] from Operation: 67-28=39 Current State: 74:[81, 46, 39], Operations: ['67-28=39'] Exploring Operation: 81-46=35, Resulting Numbers: [39, 35] Generated Node #3: [39, 35] from Operation: 81-46=35 Current State: 74:[39, 35], Operations: ['67-28=39', '81-46=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[67, 28, 81, 46], Operations: [] Exploring Operation: 46-28=18, Resulting Numbers: [67, 81, 18] Generated Node #0,0: 74:[67, 81, 18] Operation: 46-28=18 Exploring Operation: 81-67=14, Resulting Numbers: [28, 46, 14] Generated Node #0,1: 74:[28, 46, 14] Operation: 81-67=14 Exploring Operation: 81-46=35, Resulting Numbers: [67, 28, 35] Generated Node #0,2: 74:[67, 28, 35] Operation: 81-46=35 Exploring Operation: 28+46=74, Resulting Numbers: [67, 81, 74] Generated Node #0,3: 74:[67, 81, 74] Operation: 28+46=74 Exploring Operation: 67-28=39, Resulting Numbers: [81, 46, 39] Generated Node #0,4: 74:[81, 46, 39] Operation: 67-28=39 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[67, 81, 74], Operations: ['28+46=74'] Exploring Operation: 81-67=14, Resulting Numbers: [74, 14] Generated Node #0,3,0: 74:[74, 14] Operation: 81-67=14 Exploring Operation: 81-74=7, Resulting Numbers: [67, 7] Generated Node #0,3,1: 74:[67, 7] Operation: 81-74=7 Exploring Operation: 67+74=141, Resulting Numbers: [81, 141] Generated Node #0,3,2: 74:[81, 141] Operation: 67+74=141 Exploring Operation: 74-67=7, Resulting Numbers: [81, 7] Generated Node #0,3,3: 74:[81, 7] Operation: 74-67=7 Exploring Operation: 67+81=148, Resulting Numbers: [74, 148] Generated Node #0,3,4: 74:[74, 148] Operation: 67+81=148 Moving to Node #0,3,0 Current State: 74:[74, 14], Operations: ['28+46=74', '81-67=14'] Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,74 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[81, 7], Operations: ['28+46=74', '74-67=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[67, 28, 81, 46], Operations: [] Exploring Operation: 28+46=74, Resulting Numbers: [67, 81, 74] Generated Node #0,3: 74:[67, 81, 74] Operation: 28+46=74 Moving to Node #0,3 Current State: 74:[67, 81, 74], Operations: ['28+46=74'] Exploring Operation: 74-67=7, Resulting Numbers: [81, 7] Generated Node #0,3,3: 74:[81, 7] Operation: 74-67=7 Moving to Node #0,3,3 Current State: 74:[81, 7], Operations: ['28+46=74', '74-67=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 83, 7, 98, 93 ]
24
[ "93-83=10", "98/7=14", "10+14=24" ]
Current State: 24:[83, 7, 98, 93], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [7, 98, 10] Generated Node #2: [7, 98, 10] from Operation: 93-83=10 Current State: 24:[7, 98, 10], Operations: ['93-83=10'] Exploring Operation: 98/7=14, Resulting Numbers: [10, 14] Generated Node #3: [10, 14] from Operation: 98/7=14 Current State: 24:[10, 14], Operations: ['93-83=10', '98/7=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[83, 7, 98, 93], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [7, 93, 15] Generated Node #0,0: 24:[7, 93, 15] Operation: 98-83=15 Exploring Operation: 98-93=5, Resulting Numbers: [83, 7, 5] Generated Node #0,1: 24:[83, 7, 5] Operation: 98-93=5 Moving to Node #0,1 Current State: 24:[83, 7, 5], Operations: ['98-93=5'] Exploring Operation: 83-5=78, Resulting Numbers: [7, 78] Generated Node #0,1,0: 24:[7, 78] Operation: 83-5=78 Exploring Operation: 83-7=76, Resulting Numbers: [5, 76] Generated Node #0,1,1: 24:[5, 76] Operation: 83-7=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[5, 76], Operations: ['98-93=5', '83-7=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[7, 78], Operations: ['98-93=5', '83-5=78'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 7+78=85, Resulting Numbers: [85] 85,24 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: 24:[7, 93, 15], Operations: ['98-83=15'] Exploring Operation: 93-7=86, Resulting Numbers: [15, 86] Generated Node #0,0,0: 24:[15, 86] Operation: 93-7=86 Exploring Operation: 93-15=78, Resulting Numbers: [7, 78] Generated Node #0,0,1: 24:[7, 78] Operation: 93-15=78 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[7, 78], Operations: ['98-83=15', '93-15=78'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 7+78=85, Resulting Numbers: [85] 85,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[15, 86], Operations: ['98-83=15', '93-7=86'] Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 15+86=101, Resulting Numbers: [101] 101,24 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
[ 46, 77, 1, 62 ]
30
[ "77-46=31", "62-1=61", "61-31=30" ]
Current State: 30:[46, 77, 1, 62], Operations: [] Exploring Operation: 77-46=31, Resulting Numbers: [1, 62, 31] Generated Node #2: [1, 62, 31] from Operation: 77-46=31 Current State: 30:[1, 62, 31], Operations: ['77-46=31'] Exploring Operation: 62-1=61, Resulting Numbers: [31, 61] Generated Node #3: [31, 61] from Operation: 62-1=61 Current State: 30:[31, 61], Operations: ['77-46=31', '62-1=61'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[46, 77, 1, 62], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [46, 1, 15] Generated Node #0,0: 30:[46, 1, 15] Operation: 77-62=15 Moving to Node #0,0 Current State: 30:[46, 1, 15], Operations: ['77-62=15'] Exploring Operation: 46-15=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 30:[1, 31] Operation: 46-15=31 Moving to Node #0,0,0 Current State: 30:[1, 31], Operations: ['77-62=15', '46-15=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[46, 77, 1, 62], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [46, 1, 15] Generated Node #0,0: 30:[46, 1, 15] Operation: 77-62=15 Moving to Node #0,0 Current State: 30:[46, 1, 15], Operations: ['77-62=15'] Exploring Operation: 46-15=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 30:[1, 31] Operation: 46-15=31 Moving to Node #0,0,0 Current State: 30:[1, 31], Operations: ['77-62=15', '46-15=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 34, 69, 33, 35 ]
34
[ "69-34=35", "35/35=1", "33+1=34" ]
Current State: 34:[34, 69, 33, 35], Operations: [] Exploring Operation: 69-34=35, Resulting Numbers: [33, 35, 35] Generated Node #2: [33, 35, 35] from Operation: 69-34=35 Current State: 34:[33, 35, 35], Operations: ['69-34=35'] Exploring Operation: 35/35=1, Resulting Numbers: [33, 1] Generated Node #3: [33, 1] from Operation: 35/35=1 Current State: 34:[33, 1], Operations: ['69-34=35', '35/35=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[34, 69, 33, 35], Operations: [] Exploring Operation: 69-34=35, Resulting Numbers: [33, 35, 35] Generated Node #0,0: 34:[33, 35, 35] Operation: 69-34=35 Exploring Operation: 69-35=34, Resulting Numbers: [34, 33, 34] Generated Node #0,1: 34:[34, 33, 34] Operation: 69-35=34 Moving to Node #0,1 Current State: 34:[34, 33, 34], Operations: ['69-35=34'] Exploring Operation: 34-33=1, Resulting Numbers: [34, 1] Generated Node #0,1,0: 34:[34, 1] Operation: 34-33=1 Exploring Operation: 34-33=1, Resulting Numbers: [34, 1] Generated Node #0,1,1: 34:[34, 1] Operation: 34-33=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[34, 1], Operations: ['69-35=34', '34-33=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[34, 69, 33, 35], Operations: [] Exploring Operation: 69-35=34, Resulting Numbers: [34, 33, 34] Generated Node #0,1: 34:[34, 33, 34] Operation: 69-35=34 Moving to Node #0,1 Current State: 34:[34, 33, 34], Operations: ['69-35=34'] Exploring Operation: 34-33=1, Resulting Numbers: [34, 1] Generated Node #0,1,0: 34:[34, 1] Operation: 34-33=1 Moving to Node #0,1,0 Current State: 34:[34, 1], Operations: ['69-35=34', '34-33=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 67, 43, 78, 49 ]
53
[ "67-43=24", "78-49=29", "24+29=53" ]
Current State: 53:[67, 43, 78, 49], Operations: [] Exploring Operation: 67-43=24, Resulting Numbers: [78, 49, 24] Generated Node #2: [78, 49, 24] from Operation: 67-43=24 Current State: 53:[78, 49, 24], Operations: ['67-43=24'] Exploring Operation: 78-49=29, Resulting Numbers: [24, 29] Generated Node #3: [24, 29] from Operation: 78-49=29 Current State: 53:[24, 29], Operations: ['67-43=24', '78-49=29'] Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[67, 43, 78, 49], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [67, 49, 35] Generated Node #0,0: 53:[67, 49, 35] Operation: 78-43=35 Exploring Operation: 78-49=29, Resulting Numbers: [67, 43, 29] Generated Node #0,1: 53:[67, 43, 29] Operation: 78-49=29 Exploring Operation: 78-67=11, Resulting Numbers: [43, 49, 11] Generated Node #0,2: 53:[43, 49, 11] Operation: 78-67=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[67, 49, 35], Operations: ['78-43=35'] Exploring Operation: 67-35=32, Resulting Numbers: [49, 32] Generated Node #0,0,0: 53:[49, 32] Operation: 67-35=32 Exploring Operation: 49+35=84, Resulting Numbers: [67, 84] Generated Node #0,0,1: 53:[67, 84] Operation: 49+35=84 Exploring Operation: 67-49=18, Resulting Numbers: [35, 18] Generated Node #0,0,2: 53:[35, 18] Operation: 67-49=18 Moving to Node #0,0,0 Current State: 53:[49, 32], Operations: ['78-43=35', '67-35=32'] Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,53 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[67, 84], Operations: ['78-43=35', '49+35=84'] Exploring Operation: 67*84=5628, Resulting Numbers: [5628] 5628,53 unequal: No Solution Exploring Operation: 67+84=151, Resulting Numbers: [151] 151,53 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[35, 18], Operations: ['78-43=35', '67-49=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[67, 43, 78, 49], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [67, 49, 35] Generated Node #0,0: 53:[67, 49, 35] Operation: 78-43=35 Moving to Node #0,0 Current State: 53:[67, 49, 35], Operations: ['78-43=35'] Exploring Operation: 67-49=18, Resulting Numbers: [35, 18] Generated Node #0,0,2: 53:[35, 18] Operation: 67-49=18 Moving to Node #0,0,2 Current State: 53:[35, 18], Operations: ['78-43=35', '67-49=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 84, 83, 2, 6 ]
95
[ "84/6=14", "83-2=81", "14+81=95" ]
Current State: 95:[84, 83, 2, 6], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [83, 2, 14] Generated Node #2: [83, 2, 14] from Operation: 84/6=14 Current State: 95:[83, 2, 14], Operations: ['84/6=14'] Exploring Operation: 83-2=81, Resulting Numbers: [14, 81] Generated Node #3: [14, 81] from Operation: 83-2=81 Current State: 95:[14, 81], Operations: ['84/6=14', '83-2=81'] Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[84, 83, 2, 6], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [2, 6, 1] Generated Node #0,0: 95:[2, 6, 1] Operation: 84-83=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[2, 6, 1], Operations: ['84-83=1'] Exploring Operation: 2+1=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 95:[6, 3] Operation: 2+1=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[6, 3], Operations: ['84-83=1', '2+1=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,95 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
[ 33, 70, 67, 30 ]
41
[ "70-67=3", "33/3=11", "30+11=41" ]
Current State: 41:[33, 70, 67, 30], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [33, 30, 3] Generated Node #2: [33, 30, 3] from Operation: 70-67=3 Current State: 41:[33, 30, 3], Operations: ['70-67=3'] Exploring Operation: 33/3=11, Resulting Numbers: [30, 11] Generated Node #3: [30, 11] from Operation: 33/3=11 Current State: 41:[30, 11], Operations: ['70-67=3', '33/3=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[33, 70, 67, 30], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [33, 67, 40] Generated Node #0,0: 41:[33, 67, 40] Operation: 70-30=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[33, 67, 40], Operations: ['70-30=40'] Exploring Operation: 67-33=34, Resulting Numbers: [40, 34] Generated Node #0,0,0: 41:[40, 34] Operation: 67-33=34 Moving to Node #0,0,0 Current State: 41:[40, 34], Operations: ['70-30=40', '67-33=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,41 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
[ 11, 26, 22, 7 ]
39
[ "26-22=4", "7*4=28", "11+28=39" ]
Current State: 39:[11, 26, 22, 7], Operations: [] Exploring Operation: 26-22=4, Resulting Numbers: [11, 7, 4] Generated Node #2: [11, 7, 4] from Operation: 26-22=4 Current State: 39:[11, 7, 4], Operations: ['26-22=4'] Exploring Operation: 7*4=28, Resulting Numbers: [11, 28] Generated Node #3: [11, 28] from Operation: 7*4=28 Current State: 39:[11, 28], Operations: ['26-22=4', '7*4=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[11, 26, 22, 7], Operations: [] Exploring Operation: 26-22=4, Resulting Numbers: [11, 7, 4] Generated Node #0,0: 39:[11, 7, 4] Operation: 26-22=4 Moving to Node #0,0 Current State: 39:[11, 7, 4], Operations: ['26-22=4'] Exploring Operation: 11-7=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 39:[4, 4] Operation: 11-7=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[4, 4], Operations: ['26-22=4', '11-7=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 6, 62, 20, 12 ]
11
[ "6*62=372", "372/12=31", "31-20=11" ]
Current State: 11:[6, 62, 20, 12], Operations: [] Exploring Operation: 6*62=372, Resulting Numbers: [20, 12, 372] Generated Node #2: [20, 12, 372] from Operation: 6*62=372 Current State: 11:[20, 12, 372], Operations: ['6*62=372'] Exploring Operation: 372/12=31, Resulting Numbers: [20, 31] Generated Node #3: [20, 31] from Operation: 372/12=31 Current State: 11:[20, 31], Operations: ['6*62=372', '372/12=31'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[6, 62, 20, 12], Operations: [] Exploring Operation: 62-20=42, Resulting Numbers: [6, 12, 42] Generated Node #0,0: 11:[6, 12, 42] Operation: 62-20=42 Moving to Node #0,0 Current State: 11:[6, 12, 42], Operations: ['62-20=42'] Exploring Operation: 42/6=7, Resulting Numbers: [12, 7] Generated Node #0,0,0: 11:[12, 7] Operation: 42/6=7 Moving to Node #0,0,0 Current State: 11:[12, 7], Operations: ['62-20=42', '42/6=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,11 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 62, 33, 6, 78 ]
16
[ "62-33=29", "78/6=13", "29-13=16" ]
Current State: 16:[62, 33, 6, 78], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [6, 78, 29] Generated Node #2: [6, 78, 29] from Operation: 62-33=29 Current State: 16:[6, 78, 29], Operations: ['62-33=29'] Exploring Operation: 78/6=13, Resulting Numbers: [29, 13] Generated Node #3: [29, 13] from Operation: 78/6=13 Current State: 16:[29, 13], Operations: ['62-33=29', '78/6=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[62, 33, 6, 78], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [6, 78, 29] Generated Node #0,0: 16:[6, 78, 29] Operation: 62-33=29 Exploring Operation: 78-62=16, Resulting Numbers: [33, 6, 16] Generated Node #0,1: 16:[33, 6, 16] Operation: 78-62=16 Exploring Operation: 78/6=13, Resulting Numbers: [62, 33, 13] Generated Node #0,2: 16:[62, 33, 13] Operation: 78/6=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[33, 6, 16], Operations: ['78-62=16'] Exploring Operation: 33-6=27, Resulting Numbers: [16, 27] Generated Node #0,1,0: 16:[16, 27] Operation: 33-6=27 Exploring Operation: 16-6=10, Resulting Numbers: [33, 10] Generated Node #0,1,1: 16:[33, 10] Operation: 16-6=10 Exploring Operation: 33-16=17, Resulting Numbers: [6, 17] Generated Node #0,1,2: 16:[6, 17] Operation: 33-16=17 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[6, 17], Operations: ['78-62=16', '33-16=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,16 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,16 unequal: No Solution No 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: 16:[16, 27], Operations: ['78-62=16', '33-6=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,16 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,16 unequal: No Solution No 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: 16:[33, 10], Operations: ['78-62=16', '16-6=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,16 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,16 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: 16:[62, 33, 13], Operations: ['78/6=13'] Exploring Operation: 33-13=20, Resulting Numbers: [62, 20] Generated Node #0,2,0: 16:[62, 20] Operation: 33-13=20 Exploring Operation: 62-33=29, Resulting Numbers: [13, 29] Generated Node #0,2,1: 16:[13, 29] Operation: 62-33=29 Exploring Operation: 62-13=49, Resulting Numbers: [33, 49] Generated Node #0,2,2: 16:[33, 49] Operation: 62-13=49 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[13, 29], Operations: ['78/6=13', '62-33=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[62, 33, 6, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [62, 33, 13] Generated Node #0,2: 16:[62, 33, 13] Operation: 78/6=13 Moving to Node #0,2 Current State: 16:[62, 33, 13], Operations: ['78/6=13'] Exploring Operation: 62-33=29, Resulting Numbers: [13, 29] Generated Node #0,2,1: 16:[13, 29] Operation: 62-33=29 Moving to Node #0,2,1 Current State: 16:[13, 29], Operations: ['78/6=13', '62-33=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 48, 43, 20, 16 ]
92
[ "48*16=768", "43*20=860", "860-768=92" ]
Current State: 92:[48, 43, 20, 16], Operations: [] Exploring Operation: 48*16=768, Resulting Numbers: [43, 20, 768] Generated Node #2: [43, 20, 768] from Operation: 48*16=768 Current State: 92:[43, 20, 768], Operations: ['48*16=768'] Exploring Operation: 43*20=860, Resulting Numbers: [768, 860] Generated Node #3: [768, 860] from Operation: 43*20=860 Current State: 92:[768, 860], Operations: ['48*16=768', '43*20=860'] Exploring Operation: 860-768=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[48, 43, 20, 16], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [43, 20, 3] Generated Node #0,0: 92:[43, 20, 3] Operation: 48/16=3 Exploring Operation: 20-16=4, Resulting Numbers: [48, 43, 4] Generated Node #0,1: 92:[48, 43, 4] Operation: 20-16=4 Exploring Operation: 43-20=23, Resulting Numbers: [48, 16, 23] Generated Node #0,2: 92:[48, 16, 23] Operation: 43-20=23 Moving to Node #0,1 Current State: 92:[48, 43, 4], Operations: ['20-16=4'] Exploring Operation: 43+4=47, Resulting Numbers: [48, 47] Generated Node #0,1,0: 92:[48, 47] Operation: 43+4=47 Exploring Operation: 48-43=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 92:[4, 5] Operation: 48-43=5 Exploring Operation: 48+43=91, Resulting Numbers: [4, 91] Generated Node #0,1,2: 92:[4, 91] Operation: 48+43=91 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[4, 5], Operations: ['20-16=4', '48-43=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[4, 91], Operations: ['20-16=4', '48+43=91'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,92 unequal: No Solution Exploring Operation: 4*91=364, Resulting Numbers: [364] 364,92 unequal: No Solution Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[48, 47], Operations: ['20-16=4', '43+4=47'] Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,92 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 92:[43, 20, 3], Operations: ['48/16=3'] Exploring Operation: 43+3=46, Resulting Numbers: [20, 46] Generated Node #0,0,0: 92:[20, 46] Operation: 43+3=46 Exploring Operation: 20+3=23, Resulting Numbers: [43, 23] Generated Node #0,0,1: 92:[43, 23] Operation: 20+3=23 Exploring Operation: 43-20=23, Resulting Numbers: [3, 23] Generated Node #0,0,2: 92:[3, 23] Operation: 43-20=23 Moving to Node #0,2 Current State: 92:[48, 16, 23], Operations: ['43-20=23'] Exploring Operation: 23-16=7, Resulting Numbers: [48, 7] Generated Node #0,2,0: 92:[48, 7] Operation: 23-16=7 Exploring Operation: 48-16=32, Resulting Numbers: [23, 32] Generated Node #0,2,1: 92:[23, 32] Operation: 48-16=32 Exploring Operation: 48/16=3, Resulting Numbers: [23, 3] Generated Node #0,2,2: 92:[23, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[23, 3], Operations: ['43-20=23', '48/16=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,92 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[48, 7], Operations: ['43-20=23', '23-16=7'] Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,92 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[23, 32], Operations: ['43-20=23', '48-16=32'] Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,92 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,92 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,92 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: 92:[3, 23], Operations: ['48/16=3', '43-20=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,92 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[20, 46], Operations: ['48/16=3', '43+3=46'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 20*46=920, Resulting Numbers: [920] 920,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[43, 23], Operations: ['48/16=3', '20+3=23'] Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,92 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,92 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 5, 76, 26, 92 ]
50
[ "76+26=102", "102-92=10", "5*10=50" ]
Current State: 50:[5, 76, 26, 92], Operations: [] Exploring Operation: 76+26=102, Resulting Numbers: [5, 92, 102] Generated Node #2: [5, 92, 102] from Operation: 76+26=102 Current State: 50:[5, 92, 102], Operations: ['76+26=102'] Exploring Operation: 102-92=10, Resulting Numbers: [5, 10] Generated Node #3: [5, 10] from Operation: 102-92=10 Current State: 50:[5, 10], Operations: ['76+26=102', '102-92=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[5, 76, 26, 92], Operations: [] Exploring Operation: 92-26=66, Resulting Numbers: [5, 76, 66] Generated Node #0,0: 50:[5, 76, 66] Operation: 92-26=66 Exploring Operation: 92-76=16, Resulting Numbers: [5, 26, 16] Generated Node #0,1: 50:[5, 26, 16] Operation: 92-76=16 Exploring Operation: 76-26=50, Resulting Numbers: [5, 92, 50] Generated Node #0,2: 50:[5, 92, 50] Operation: 76-26=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[5, 26, 16], Operations: ['92-76=16'] Exploring Operation: 5+16=21, Resulting Numbers: [26, 21] Generated Node #0,1,0: 50:[26, 21] Operation: 5+16=21 Exploring Operation: 26-16=10, Resulting Numbers: [5, 10] Generated Node #0,1,1: 50:[5, 10] Operation: 26-16=10 Exploring Operation: 16-5=11, Resulting Numbers: [26, 11] Generated Node #0,1,2: 50:[26, 11] Operation: 16-5=11 Moving to Node #0,1,1 Current State: 50:[5, 10], Operations: ['92-76=16', '26-16=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[5, 76, 26, 92], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [5, 26, 16] Generated Node #0,1: 50:[5, 26, 16] Operation: 92-76=16 Moving to Node #0,1 Current State: 50:[5, 26, 16], Operations: ['92-76=16'] Exploring Operation: 26-16=10, Resulting Numbers: [5, 10] Generated Node #0,1,1: 50:[5, 10] Operation: 26-16=10 Moving to Node #0,1,1 Current State: 50:[5, 10], Operations: ['92-76=16', '26-16=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 37, 10, 84, 72 ]
83
[ "84-72=12", "10*12=120", "120-37=83" ]
Current State: 83:[37, 10, 84, 72], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [37, 10, 12] Generated Node #2: [37, 10, 12] from Operation: 84-72=12 Current State: 83:[37, 10, 12], Operations: ['84-72=12'] Exploring Operation: 10*12=120, Resulting Numbers: [37, 120] Generated Node #3: [37, 120] from Operation: 10*12=120 Current State: 83:[37, 120], Operations: ['84-72=12', '10*12=120'] Exploring Operation: 120-37=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[37, 10, 84, 72], Operations: [] Exploring Operation: 10+72=82, Resulting Numbers: [37, 84, 82] Generated Node #0,0: 83:[37, 84, 82] Operation: 10+72=82 Exploring Operation: 37+10=47, Resulting Numbers: [84, 72, 47] Generated Node #0,1: 83:[84, 72, 47] Operation: 37+10=47 Moving to Node #0,0 Current State: 83:[37, 84, 82], Operations: ['10+72=82'] Exploring Operation: 37+82=119, Resulting Numbers: [84, 119] Generated Node #0,0,0: 83:[84, 119] Operation: 37+82=119 Exploring Operation: 84-37=47, Resulting Numbers: [82, 47] Generated Node #0,0,1: 83:[82, 47] Operation: 84-37=47 Moving to Node #0,1 Current State: 83:[84, 72, 47], Operations: ['37+10=47'] Exploring Operation: 84-47=37, Resulting Numbers: [72, 37] Generated Node #0,1,0: 83:[72, 37] Operation: 84-47=37 Exploring Operation: 72+47=119, Resulting Numbers: [84, 119] Generated Node #0,1,1: 83:[84, 119] Operation: 72+47=119 Moving to Node #0,0,0 Current State: 83:[84, 119], Operations: ['10+72=82', '37+82=119'] Exploring Operation: 84+119=203, Resulting Numbers: [203] 203,83 unequal: No Solution Exploring Operation: 119-84=35, Resulting Numbers: [35] 35,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[84, 119], Operations: ['37+10=47', '72+47=119'] Exploring Operation: 119-84=35, Resulting Numbers: [35] 35,83 unequal: No Solution Exploring Operation: 84+119=203, Resulting Numbers: [203] 203,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[82, 47], Operations: ['10+72=82', '84-37=47'] Exploring Operation: 82+47=129, Resulting Numbers: [129] 129,83 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[72, 37], Operations: ['37+10=47', '84-47=37'] Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,83 unequal: No Solution Exploring Operation: 72+37=109, Resulting Numbers: [109] 109,83 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 53, 64, 35, 95 ]
71
[ "64-53=11", "95-35=60", "11+60=71" ]
Current State: 71:[53, 64, 35, 95], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [35, 95, 11] Generated Node #2: [35, 95, 11] from Operation: 64-53=11 Current State: 71:[35, 95, 11], Operations: ['64-53=11'] Exploring Operation: 95-35=60, Resulting Numbers: [11, 60] Generated Node #3: [11, 60] from Operation: 95-35=60 Current State: 71:[11, 60], Operations: ['64-53=11', '95-35=60'] Exploring Operation: 11+60=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[53, 64, 35, 95], Operations: [] Exploring Operation: 53+35=88, Resulting Numbers: [64, 95, 88] Generated Node #0,0: 71:[64, 95, 88] Operation: 53+35=88 Exploring Operation: 95-35=60, Resulting Numbers: [53, 64, 60] Generated Node #0,1: 71:[53, 64, 60] Operation: 95-35=60 Exploring Operation: 64+35=99, Resulting Numbers: [53, 95, 99] Generated Node #0,2: 71:[53, 95, 99] Operation: 64+35=99 Moving to Node #0,1 Current State: 71:[53, 64, 60], Operations: ['95-35=60'] Exploring Operation: 53+60=113, Resulting Numbers: [64, 113] Generated Node #0,1,0: 71:[64, 113] Operation: 53+60=113 Exploring Operation: 64-53=11, Resulting Numbers: [60, 11] Generated Node #0,1,1: 71:[60, 11] Operation: 64-53=11 Exploring Operation: 53+64=117, Resulting Numbers: [60, 117] Generated Node #0,1,2: 71:[60, 117] Operation: 53+64=117 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[64, 113], Operations: ['95-35=60', '53+60=113'] Exploring Operation: 113-64=49, Resulting Numbers: [49] 49,71 unequal: No Solution Exploring Operation: 64+113=177, Resulting Numbers: [177] 177,71 unequal: No Solution Exploring Operation: 64*113=7232, Resulting Numbers: [7232] 7232,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[60, 117], Operations: ['95-35=60', '53+64=117'] Exploring Operation: 60+117=177, Resulting Numbers: [177] 177,71 unequal: No Solution Exploring Operation: 117-60=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 60*117=7020, Resulting Numbers: [7020] 7020,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[60, 11], Operations: ['95-35=60', '64-53=11'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,71 unequal: No Solution Exploring Operation: 60*11=660, Resulting Numbers: [660] 660,71 unequal: No Solution Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[53, 64, 35, 95], Operations: [] Exploring Operation: 95-35=60, Resulting Numbers: [53, 64, 60] Generated Node #0,1: 71:[53, 64, 60] Operation: 95-35=60 Moving to Node #0,1 Current State: 71:[53, 64, 60], Operations: ['95-35=60'] Exploring Operation: 64-53=11, Resulting Numbers: [60, 11] Generated Node #0,1,1: 71:[60, 11] Operation: 64-53=11 Moving to Node #0,1,1 Current State: 71:[60, 11], Operations: ['95-35=60', '64-53=11'] Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 59, 52, 52, 89 ]
89
[ "52-52=0", "59*0=0", "89+0=89" ]
Current State: 89:[59, 52, 52, 89], Operations: [] Exploring Operation: 52-52=0, Resulting Numbers: [59, 89, 0] Generated Node #2: [59, 89, 0] from Operation: 52-52=0 Current State: 89:[59, 89, 0], Operations: ['52-52=0'] Exploring Operation: 59*0=0, Resulting Numbers: [89, 0] Generated Node #3: [89, 0] from Operation: 59*0=0 Current State: 89:[89, 0], Operations: ['52-52=0', '59*0=0'] Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[59, 52, 52, 89], Operations: [] Exploring Operation: 52+52=104, Resulting Numbers: [59, 89, 104] Generated Node #0,0: 89:[59, 89, 104] Operation: 52+52=104 Moving to Node #0,0 Current State: 89:[59, 89, 104], Operations: ['52+52=104'] Exploring Operation: 104-59=45, Resulting Numbers: [89, 45] Generated Node #0,0,0: 89:[89, 45] Operation: 104-59=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[89, 45], Operations: ['52+52=104', '104-59=45'] Exploring Operation: 89+45=134, Resulting Numbers: [134] 134,89 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
[ 98, 85, 86, 57 ]
42
[ "98-85=13", "86-57=29", "13+29=42" ]
Current State: 42:[98, 85, 86, 57], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [86, 57, 13] Generated Node #2: [86, 57, 13] from Operation: 98-85=13 Current State: 42:[86, 57, 13], Operations: ['98-85=13'] Exploring Operation: 86-57=29, Resulting Numbers: [13, 29] Generated Node #3: [13, 29] from Operation: 86-57=29 Current State: 42:[13, 29], Operations: ['98-85=13', '86-57=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[98, 85, 86, 57], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [86, 57, 13] Generated Node #0,0: 42:[86, 57, 13] Operation: 98-85=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[86, 57, 13], Operations: ['98-85=13'] Exploring Operation: 86-57=29, Resulting Numbers: [13, 29] Generated Node #0,0,0: 42:[13, 29] Operation: 86-57=29 Moving to Node #0,0,0 Current State: 42:[13, 29], Operations: ['98-85=13', '86-57=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[98, 85, 86, 57], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [86, 57, 13] Generated Node #0,0: 42:[86, 57, 13] Operation: 98-85=13 Moving to Node #0,0 Current State: 42:[86, 57, 13], Operations: ['98-85=13'] Exploring Operation: 86-57=29, Resulting Numbers: [13, 29] Generated Node #0,0,0: 42:[13, 29] Operation: 86-57=29 Moving to Node #0,0,0 Current State: 42:[13, 29], Operations: ['98-85=13', '86-57=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 64, 48, 71, 16 ]
83
[ "64/16=4", "48/4=12", "71+12=83" ]
Current State: 83:[64, 48, 71, 16], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [48, 71, 4] Generated Node #2: [48, 71, 4] from Operation: 64/16=4 Current State: 83:[48, 71, 4], Operations: ['64/16=4'] Exploring Operation: 48/4=12, Resulting Numbers: [71, 12] Generated Node #3: [71, 12] from Operation: 48/4=12 Current State: 83:[71, 12], Operations: ['64/16=4', '48/4=12'] Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[64, 48, 71, 16], Operations: [] Exploring Operation: 64-16=48, Resulting Numbers: [48, 71, 48] Generated Node #0,0: 83:[48, 71, 48] Operation: 64-16=48 Exploring Operation: 71+16=87, Resulting Numbers: [64, 48, 87] Generated Node #0,1: 83:[64, 48, 87] Operation: 71+16=87 Exploring Operation: 64+16=80, Resulting Numbers: [48, 71, 80] Generated Node #0,2: 83:[48, 71, 80] Operation: 64+16=80 Exploring Operation: 48+16=64, Resulting Numbers: [64, 71, 64] Generated Node #0,3: 83:[64, 71, 64] Operation: 48+16=64 Moving to Node #0,2 Current State: 83:[48, 71, 80], Operations: ['64+16=80'] Exploring Operation: 48+80=128, Resulting Numbers: [71, 128] Generated Node #0,2,0: 83:[71, 128] Operation: 48+80=128 Exploring Operation: 48+71=119, Resulting Numbers: [80, 119] Generated Node #0,2,1: 83:[80, 119] Operation: 48+71=119 Exploring Operation: 71-48=23, Resulting Numbers: [80, 23] Generated Node #0,2,2: 83:[80, 23] Operation: 71-48=23 Exploring Operation: 80-48=32, Resulting Numbers: [71, 32] Generated Node #0,2,3: 83:[71, 32] Operation: 80-48=32 Moving to Node #0,3 Current State: 83:[64, 71, 64], Operations: ['48+16=64'] Exploring Operation: 64+64=128, Resulting Numbers: [71, 128] Generated Node #0,3,0: 83:[71, 128] Operation: 64+64=128 Exploring Operation: 71+64=135, Resulting Numbers: [64, 135] Generated Node #0,3,1: 83:[64, 135] Operation: 71+64=135 Exploring Operation: 64/64=1, Resulting Numbers: [71, 1] Generated Node #0,3,2: 83:[71, 1] Operation: 64/64=1 Exploring Operation: 64+71=135, Resulting Numbers: [64, 135] Generated Node #0,3,3: 83:[64, 135] Operation: 64+71=135 Moving to Node #0,1 Current State: 83:[64, 48, 87], Operations: ['71+16=87'] Exploring Operation: 48+87=135, Resulting Numbers: [64, 135] Generated Node #0,1,0: 83:[64, 135] Operation: 48+87=135 Exploring Operation: 87-48=39, Resulting Numbers: [64, 39] Generated Node #0,1,1: 83:[64, 39] Operation: 87-48=39 Exploring Operation: 64+48=112, Resulting Numbers: [87, 112] Generated Node #0,1,2: 83:[87, 112] Operation: 64+48=112 Exploring Operation: 64-48=16, Resulting Numbers: [87, 16] Generated Node #0,1,3: 83:[87, 16] Operation: 64-48=16 Moving to Node #0,0 Current State: 83:[48, 71, 48], Operations: ['64-16=48'] Exploring Operation: 48+71=119, Resulting Numbers: [48, 119] Generated Node #0,0,0: 83:[48, 119] Operation: 48+71=119 Exploring Operation: 48+48=96, Resulting Numbers: [71, 96] Generated Node #0,0,1: 83:[71, 96] Operation: 48+48=96 Exploring Operation: 48/48=1, Resulting Numbers: [71, 1] Generated Node #0,0,2: 83:[71, 1] Operation: 48/48=1 Exploring Operation: 71+48=119, Resulting Numbers: [48, 119] Generated Node #0,0,3: 83:[48, 119] Operation: 71+48=119 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[71, 96], Operations: ['64-16=48', '48+48=96'] Exploring Operation: 71+96=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 71*96=6816, Resulting Numbers: [6816] 6816,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:[48, 119], Operations: ['64-16=48', '48+71=119'] Exploring Operation: 48*119=5712, Resulting Numbers: [5712] 5712,83 unequal: No Solution Exploring Operation: 119-48=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 48+119=167, Resulting Numbers: [167] 167,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,3 Current State: 83:[48, 119], Operations: ['64-16=48', '71+48=119'] Exploring Operation: 48*119=5712, Resulting Numbers: [5712] 5712,83 unequal: No Solution Exploring Operation: 119-48=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 48+119=167, Resulting Numbers: [167] 167,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:[71, 1], Operations: ['64-16=48', '48/48=1'] Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,83 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,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:[87, 112], Operations: ['71+16=87', '64+48=112'] Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,83 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[80, 119], Operations: ['64+16=80', '48+71=119'] Exploring Operation: 80*119=9520, Resulting Numbers: [9520] 9520,83 unequal: No Solution Exploring Operation: 119-80=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 80+119=199, Resulting Numbers: [199] 199,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[71, 128], Operations: ['48+16=64', '64+64=128'] Exploring Operation: 71+128=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 71*128=9088, Resulting Numbers: [9088] 9088,83 unequal: No Solution Exploring Operation: 128-71=57, Resulting Numbers: [57] 57,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[71, 128], Operations: ['64+16=80', '48+80=128'] Exploring Operation: 71+128=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 128-71=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 71*128=9088, Resulting Numbers: [9088] 9088,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[80, 23], Operations: ['64+16=80', '71-48=23'] Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,83 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[64, 39], Operations: ['71+16=87', '87-48=39'] Exploring Operation: 64*39=2496, Resulting Numbers: [2496] 2496,83 unequal: No Solution Exploring Operation: 64+39=103, Resulting Numbers: [103] 103,83 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[71, 32], Operations: ['64+16=80', '80-48=32'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,83 unequal: No Solution Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[64, 135], Operations: ['48+16=64', '64+71=135'] Exploring Operation: 64+135=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 135-64=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 64*135=8640, Resulting Numbers: [8640] 8640,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[64, 135], Operations: ['48+16=64', '71+64=135'] Exploring Operation: 64*135=8640, Resulting Numbers: [8640] 8640,83 unequal: No Solution Exploring Operation: 135-64=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 64+135=199, Resulting Numbers: [199] 199,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[64, 135], Operations: ['71+16=87', '48+87=135'] Exploring Operation: 64+135=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 64*135=8640, Resulting Numbers: [8640] 8640,83 unequal: No Solution Exploring Operation: 135-64=71, Resulting Numbers: [71] 71,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[87, 16], Operations: ['71+16=87', '64-48=16'] Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,83 unequal: No Solution Exploring Operation: 87*16=1392, Resulting Numbers: [1392] 1392,83 unequal: No Solution Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[71, 1], Operations: ['48+16=64', '64/64=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,83 unequal: No Solution Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 34, 27, 15, 28 ]
19
[ "34-27=7", "28/7=4", "15+4=19" ]
Current State: 19:[34, 27, 15, 28], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [15, 28, 7] Generated Node #2: [15, 28, 7] from Operation: 34-27=7 Current State: 19:[15, 28, 7], Operations: ['34-27=7'] Exploring Operation: 28/7=4, Resulting Numbers: [15, 4] Generated Node #3: [15, 4] from Operation: 28/7=4 Current State: 19:[15, 4], Operations: ['34-27=7', '28/7=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[34, 27, 15, 28], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [15, 28, 7] Generated Node #0,0: 19:[15, 28, 7] Operation: 34-27=7 Exploring Operation: 34-15=19, Resulting Numbers: [27, 28, 19] Generated Node #0,1: 19:[27, 28, 19] Operation: 34-15=19 Exploring Operation: 34-28=6, Resulting Numbers: [27, 15, 6] Generated Node #0,2: 19:[27, 15, 6] Operation: 34-28=6 Exploring Operation: 28-15=13, Resulting Numbers: [34, 27, 13] Generated Node #0,3: 19:[34, 27, 13] Operation: 28-15=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[27, 28, 19], Operations: ['34-15=19'] Exploring Operation: 28-27=1, Resulting Numbers: [19, 1] Generated Node #0,1,0: 19:[19, 1] Operation: 28-27=1 Exploring Operation: 27+28=55, Resulting Numbers: [19, 55] Generated Node #0,1,1: 19:[19, 55] Operation: 27+28=55 Exploring Operation: 27-19=8, Resulting Numbers: [28, 8] Generated Node #0,1,2: 19:[28, 8] Operation: 27-19=8 Exploring Operation: 28-19=9, Resulting Numbers: [27, 9] Generated Node #0,1,3: 19:[27, 9] Operation: 28-19=9 Moving to Node #0,1,0 Current State: 19:[19, 1], Operations: ['34-15=19', '28-27=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[34, 27, 15, 28], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [27, 28, 19] Generated Node #0,1: 19:[27, 28, 19] Operation: 34-15=19 Moving to Node #0,1 Current State: 19:[27, 28, 19], Operations: ['34-15=19'] Exploring Operation: 28-27=1, Resulting Numbers: [19, 1] Generated Node #0,1,0: 19:[19, 1] Operation: 28-27=1 Moving to Node #0,1,0 Current State: 19:[19, 1], Operations: ['34-15=19', '28-27=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 83, 52, 81, 68 ]
60
[ "83-81=2", "52+68=120", "120/2=60" ]
Current State: 60:[83, 52, 81, 68], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [52, 68, 2] Generated Node #2: [52, 68, 2] from Operation: 83-81=2 Current State: 60:[52, 68, 2], Operations: ['83-81=2'] Exploring Operation: 52+68=120, Resulting Numbers: [2, 120] Generated Node #3: [2, 120] from Operation: 52+68=120 Current State: 60:[2, 120], Operations: ['83-81=2', '52+68=120'] Exploring Operation: 120/2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[83, 52, 81, 68], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [52, 81, 15] Generated Node #0,0: 60:[52, 81, 15] Operation: 83-68=15 Exploring Operation: 83-81=2, Resulting Numbers: [52, 68, 2] Generated Node #0,1: 60:[52, 68, 2] Operation: 83-81=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[52, 68, 2], Operations: ['83-81=2'] Exploring Operation: 52/2=26, Resulting Numbers: [68, 26] Generated Node #0,1,0: 60:[68, 26] Operation: 52/2=26 Exploring Operation: 68-52=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 60:[2, 16] Operation: 68-52=16 Moving to Node #0,1,1 Current State: 60:[2, 16], Operations: ['83-81=2', '68-52=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[68, 26], Operations: ['83-81=2', '52/2=26'] Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 68-26=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 Current State: 60:[52, 81, 15], Operations: ['83-68=15'] Exploring Operation: 81-15=66, Resulting Numbers: [52, 66] Generated Node #0,0,0: 60:[52, 66] Operation: 81-15=66 Exploring Operation: 81-52=29, Resulting Numbers: [15, 29] Generated Node #0,0,1: 60:[15, 29] Operation: 81-52=29 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[15, 29], Operations: ['83-68=15', '81-52=29'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,60 unequal: No Solution No 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: 60:[52, 66], Operations: ['83-68=15', '81-15=66'] Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,60 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
[ 3, 52, 2, 98 ]
98
[ "52-3=49", "98/2=49", "49+49=98" ]
Current State: 98:[3, 52, 2, 98], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [2, 98, 49] Generated Node #2: [2, 98, 49] from Operation: 52-3=49 Current State: 98:[2, 98, 49], Operations: ['52-3=49'] Exploring Operation: 98/2=49, Resulting Numbers: [49, 49] Generated Node #3: [49, 49] from Operation: 98/2=49 Current State: 98:[49, 49], Operations: ['52-3=49', '98/2=49'] Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[3, 52, 2, 98], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [2, 98, 49] Generated Node #0,0: 98:[2, 98, 49] Operation: 52-3=49 Exploring Operation: 98-52=46, Resulting Numbers: [3, 2, 46] Generated Node #0,1: 98:[3, 2, 46] Operation: 98-52=46 Exploring Operation: 3*2=6, Resulting Numbers: [52, 98, 6] Generated Node #0,2: 98:[52, 98, 6] Operation: 3*2=6 Exploring Operation: 52-2=50, Resulting Numbers: [3, 98, 50] Generated Node #0,3: 98:[3, 98, 50] Operation: 52-2=50 Exploring Operation: 3-2=1, Resulting Numbers: [52, 98, 1] Generated Node #0,4: 98:[52, 98, 1] Operation: 3-2=1 Moving to Node #0,0 Current State: 98:[2, 98, 49], Operations: ['52-3=49'] Exploring Operation: 2+98=100, Resulting Numbers: [49, 100] Generated Node #0,0,0: 98:[49, 100] Operation: 2+98=100 Exploring Operation: 98-49=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 98:[2, 49] Operation: 98-49=49 Exploring Operation: 2*49=98, Resulting Numbers: [98, 98] Generated Node #0,0,2: 98:[98, 98] Operation: 2*49=98 Exploring Operation: 98/2=49, Resulting Numbers: [49, 49] Generated Node #0,0,3: 98:[49, 49] Operation: 98/2=49 Exploring Operation: 98/49=2, Resulting Numbers: [2, 2] Generated Node #0,0,4: 98:[2, 2] Operation: 98/49=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[2, 49], Operations: ['52-3=49', '98-49=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[3, 52, 2, 98], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [2, 98, 49] Generated Node #0,0: 98:[2, 98, 49] Operation: 52-3=49 Moving to Node #0,0 Current State: 98:[2, 98, 49], Operations: ['52-3=49'] Exploring Operation: 98-49=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 98:[2, 49] Operation: 98-49=49 Moving to Node #0,0,1 Current State: 98:[2, 49], Operations: ['52-3=49', '98-49=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 63, 48, 41, 95 ]
39
[ "63-48=15", "95-41=54", "54-15=39" ]
Current State: 39:[63, 48, 41, 95], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [41, 95, 15] Generated Node #2: [41, 95, 15] from Operation: 63-48=15 Current State: 39:[41, 95, 15], Operations: ['63-48=15'] Exploring Operation: 95-41=54, Resulting Numbers: [15, 54] Generated Node #3: [15, 54] from Operation: 95-41=54 Current State: 39:[15, 54], Operations: ['63-48=15', '95-41=54'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[63, 48, 41, 95], Operations: [] Exploring Operation: 95-41=54, Resulting Numbers: [63, 48, 54] Generated Node #0,0: 39:[63, 48, 54] Operation: 95-41=54 Exploring Operation: 95-48=47, Resulting Numbers: [63, 41, 47] Generated Node #0,1: 39:[63, 41, 47] Operation: 95-48=47 Exploring Operation: 95-63=32, Resulting Numbers: [48, 41, 32] Generated Node #0,2: 39:[48, 41, 32] Operation: 95-63=32 Moving to Node #0,2 Current State: 39:[48, 41, 32], Operations: ['95-63=32'] Exploring Operation: 48-32=16, Resulting Numbers: [41, 16] Generated Node #0,2,0: 39:[41, 16] Operation: 48-32=16 Exploring Operation: 41-32=9, Resulting Numbers: [48, 9] Generated Node #0,2,1: 39:[48, 9] Operation: 41-32=9 Exploring Operation: 48-41=7, Resulting Numbers: [32, 7] Generated Node #0,2,2: 39:[32, 7] Operation: 48-41=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[41, 16], Operations: ['95-63=32', '48-32=16'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,39 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[32, 7], Operations: ['95-63=32', '48-41=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[63, 48, 41, 95], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [48, 41, 32] Generated Node #0,2: 39:[48, 41, 32] Operation: 95-63=32 Moving to Node #0,2 Current State: 39:[48, 41, 32], Operations: ['95-63=32'] Exploring Operation: 48-41=7, Resulting Numbers: [32, 7] Generated Node #0,2,2: 39:[32, 7] Operation: 48-41=7 Moving to Node #0,2,2 Current State: 39:[32, 7], Operations: ['95-63=32', '48-41=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 97, 53, 99, 27 ]
78
[ "97+53=150", "99-27=72", "150-72=78" ]
Current State: 78:[97, 53, 99, 27], Operations: [] Exploring Operation: 97+53=150, Resulting Numbers: [99, 27, 150] Generated Node #2: [99, 27, 150] from Operation: 97+53=150 Current State: 78:[99, 27, 150], Operations: ['97+53=150'] Exploring Operation: 99-27=72, Resulting Numbers: [150, 72] Generated Node #3: [150, 72] from Operation: 99-27=72 Current State: 78:[150, 72], Operations: ['97+53=150', '99-27=72'] Exploring Operation: 150-72=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[97, 53, 99, 27], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [53, 27, 2] Generated Node #0,0: 78:[53, 27, 2] Operation: 99-97=2 Moving to Node #0,0 Current State: 78:[53, 27, 2], Operations: ['99-97=2'] Exploring Operation: 53-27=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 78:[2, 26] Operation: 53-27=26 Moving to Node #0,0,0 Current State: 78:[2, 26], Operations: ['99-97=2', '53-27=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,78 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 97, 61, 2, 47 ]
72
[ "97-47=50", "61*2=122", "122-50=72" ]
Current State: 72:[97, 61, 2, 47], Operations: [] Exploring Operation: 97-47=50, Resulting Numbers: [61, 2, 50] Generated Node #2: [61, 2, 50] from Operation: 97-47=50 Current State: 72:[61, 2, 50], Operations: ['97-47=50'] Exploring Operation: 61*2=122, Resulting Numbers: [50, 122] Generated Node #3: [50, 122] from Operation: 61*2=122 Current State: 72:[50, 122], Operations: ['97-47=50', '61*2=122'] Exploring Operation: 122-50=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[97, 61, 2, 47], Operations: [] Exploring Operation: 61-47=14, Resulting Numbers: [97, 2, 14] Generated Node #0,0: 72:[97, 2, 14] Operation: 61-47=14 Exploring Operation: 97-2=95, Resulting Numbers: [61, 47, 95] Generated Node #0,1: 72:[61, 47, 95] Operation: 97-2=95 Exploring Operation: 97-61=36, Resulting Numbers: [2, 47, 36] Generated Node #0,2: 72:[2, 47, 36] Operation: 97-61=36 Exploring Operation: 61+2=63, Resulting Numbers: [97, 47, 63] Generated Node #0,3: 72:[97, 47, 63] Operation: 61+2=63 Exploring Operation: 97-47=50, Resulting Numbers: [61, 2, 50] Generated Node #0,4: 72:[61, 2, 50] Operation: 97-47=50 Moving to Node #0,2 Current State: 72:[2, 47, 36], Operations: ['97-61=36'] Exploring Operation: 47-2=45, Resulting Numbers: [36, 45] Generated Node #0,2,0: 72:[36, 45] Operation: 47-2=45 Exploring Operation: 47-36=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 72:[2, 11] Operation: 47-36=11 Exploring Operation: 36/2=18, Resulting Numbers: [47, 18] Generated Node #0,2,2: 72:[47, 18] Operation: 36/2=18 Exploring Operation: 2*36=72, Resulting Numbers: [47, 72] Generated Node #0,2,3: 72:[47, 72] Operation: 2*36=72 Exploring Operation: 47+36=83, Resulting Numbers: [2, 83] Generated Node #0,2,4: 72:[2, 83] Operation: 47+36=83 Moving to Node #0,4 Current State: 72:[61, 2, 50], Operations: ['97-47=50'] Exploring Operation: 50/2=25, Resulting Numbers: [61, 25] Generated Node #0,4,0: 72:[61, 25] Operation: 50/2=25 Exploring Operation: 61+2=63, Resulting Numbers: [50, 63] Generated Node #0,4,1: 72:[50, 63] Operation: 61+2=63 Exploring Operation: 50-2=48, Resulting Numbers: [61, 48] Generated Node #0,4,2: 72:[61, 48] Operation: 50-2=48 Exploring Operation: 61-50=11, Resulting Numbers: [2, 11] Generated Node #0,4,3: 72:[2, 11] Operation: 61-50=11 Exploring Operation: 61-2=59, Resulting Numbers: [50, 59] Generated Node #0,4,4: 72:[50, 59] Operation: 61-2=59 Moving to Node #0,0 Current State: 72:[97, 2, 14], Operations: ['61-47=14'] Exploring Operation: 14/2=7, Resulting Numbers: [97, 7] Generated Node #0,0,0: 72:[97, 7] Operation: 14/2=7 Exploring Operation: 2+14=16, Resulting Numbers: [97, 16] Generated Node #0,0,1: 72:[97, 16] Operation: 2+14=16 Exploring Operation: 14-2=12, Resulting Numbers: [97, 12] Generated Node #0,0,2: 72:[97, 12] Operation: 14-2=12 Exploring Operation: 97-2=95, Resulting Numbers: [14, 95] Generated Node #0,0,3: 72:[14, 95] Operation: 97-2=95 Exploring Operation: 97-14=83, Resulting Numbers: [2, 83] Generated Node #0,0,4: 72:[2, 83] Operation: 97-14=83 Moving to Node #0,1 Current State: 72:[61, 47, 95], Operations: ['97-2=95'] Exploring Operation: 47+95=142, Resulting Numbers: [61, 142] Generated Node #0,1,0: 72:[61, 142] Operation: 47+95=142 Exploring Operation: 95-61=34, Resulting Numbers: [47, 34] Generated Node #0,1,1: 72:[47, 34] Operation: 95-61=34 Exploring Operation: 61+47=108, Resulting Numbers: [95, 108] Generated Node #0,1,2: 72:[95, 108] Operation: 61+47=108 Exploring Operation: 61-47=14, Resulting Numbers: [95, 14] Generated Node #0,1,3: 72:[95, 14] Operation: 61-47=14 Exploring Operation: 95-47=48, Resulting Numbers: [61, 48] Generated Node #0,1,4: 72:[61, 48] Operation: 95-47=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[47, 34], Operations: ['97-2=95', '95-61=34'] Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,72 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,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,1,4 Current State: 72:[61, 48], Operations: ['97-2=95', '95-47=48'] Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,72 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,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,1,3 Current State: 72:[95, 14], Operations: ['97-2=95', '61-47=14'] Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,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,1,2 Current State: 72:[95, 108], Operations: ['97-2=95', '61+47=108'] Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 95*108=10260, Resulting Numbers: [10260] 10260,72 unequal: No Solution Exploring Operation: 95+108=203, Resulting Numbers: [203] 203,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,1,0 Current State: 72:[61, 142], Operations: ['97-2=95', '47+95=142'] Exploring Operation: 61*142=8662, Resulting Numbers: [8662] 8662,72 unequal: No Solution Exploring Operation: 61+142=203, Resulting Numbers: [203] 203,72 unequal: No Solution Exploring Operation: 142-61=81, Resulting Numbers: [81] 81,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:[97, 47, 63], Operations: ['61+2=63'] Exploring Operation: 97-63=34, Resulting Numbers: [47, 34] Generated Node #0,3,0: 72:[47, 34] Operation: 97-63=34 Exploring Operation: 47+63=110, Resulting Numbers: [97, 110] Generated Node #0,3,1: 72:[97, 110] Operation: 47+63=110 Exploring Operation: 63-47=16, Resulting Numbers: [97, 16] Generated Node #0,3,2: 72:[97, 16] Operation: 63-47=16 Exploring Operation: 97+47=144, Resulting Numbers: [63, 144] Generated Node #0,3,3: 72:[63, 144] Operation: 97+47=144 Exploring Operation: 97-47=50, Resulting Numbers: [63, 50] Generated Node #0,3,4: 72:[63, 50] Operation: 97-47=50 Moving to Node #0,2,1 Current State: 72:[2, 11], Operations: ['97-61=36', '47-36=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,72 unequal: No Solution Moving to Node #0,4,3 Current State: 72:[2, 11], Operations: ['97-47=50', '61-50=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[36, 45], Operations: ['97-61=36', '47-2=45'] Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,72 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[47, 18], Operations: ['97-61=36', '36/2=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,72 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,72 unequal: No Solution Moving to Node #0,2,4 Current State: 72:[2, 83], Operations: ['97-61=36', '47+36=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,72 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[2, 83], Operations: ['61-47=14', '97-14=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,72 unequal: No Solution Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[47, 72], Operations: ['97-61=36', '2*36=72'] Exploring Operation: 47*72=3384, Resulting Numbers: [3384] 3384,72 unequal: No Solution Exploring Operation: 47+72=119, Resulting Numbers: [119] 119,72 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[61, 25], Operations: ['97-47=50', '50/2=25'] Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,72 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[47, 34], Operations: ['61+2=63', '97-63=34'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,72 unequal: No Solution Moving to Node #0,3,4 Current State: 72:[63, 50], Operations: ['61+2=63', '97-47=50'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,72 unequal: No Solution Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,72 unequal: No Solution Moving to Node #0,4,2 Current State: 72:[61, 48], Operations: ['97-47=50', '50-2=48'] Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,72 unequal: No Solution Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,4,1 Current State: 72:[50, 63], Operations: ['97-47=50', '61+2=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,72 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[14, 95], Operations: ['61-47=14', '97-2=95'] Exploring Operation: 14*95=1330, Resulting Numbers: [1330] 1330,72 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 14+95=109, Resulting Numbers: [109] 109,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[97, 12], Operations: ['61-47=14', '14-2=12'] Exploring Operation: 97*12=1164, Resulting Numbers: [1164] 1164,72 unequal: No Solution Exploring Operation: 97+12=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[97, 7], Operations: ['61-47=14', '14/2=7'] Exploring Operation: 97+7=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 97*7=679, Resulting Numbers: [679] 679,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[97, 16], Operations: ['61+2=63', '63-47=16'] Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,72 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,72 unequal: No Solution Moving to Node #0,4,4 Current State: 72:[50, 59], Operations: ['97-47=50', '61-2=59'] Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[97, 16], Operations: ['61-47=14', '2+14=16'] Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,72 unequal: No Solution Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,72 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[97, 110], Operations: ['61+2=63', '47+63=110'] Exploring Operation: 97*110=10670, Resulting Numbers: [10670] 10670,72 unequal: No Solution Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,72 unequal: No Solution Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[63, 144], Operations: ['61+2=63', '97+47=144'] Exploring Operation: 63*144=9072, Resulting Numbers: [9072] 9072,72 unequal: No Solution Exploring Operation: 144-63=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 63+144=207, Resulting Numbers: [207] 207,72 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 42, 30, 18, 60 ]
47
[ "30-18=12", "60/12=5", "42+5=47" ]
Current State: 47:[42, 30, 18, 60], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [42, 60, 12] Generated Node #2: [42, 60, 12] from Operation: 30-18=12 Current State: 47:[42, 60, 12], Operations: ['30-18=12'] Exploring Operation: 60/12=5, Resulting Numbers: [42, 5] Generated Node #3: [42, 5] from Operation: 60/12=5 Current State: 47:[42, 5], Operations: ['30-18=12', '60/12=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[42, 30, 18, 60], Operations: [] Exploring Operation: 60-18=42, Resulting Numbers: [42, 30, 42] Generated Node #0,0: 47:[42, 30, 42] Operation: 60-18=42 Exploring Operation: 30+18=48, Resulting Numbers: [42, 60, 48] Generated Node #0,1: 47:[42, 60, 48] Operation: 30+18=48 Moving to Node #0,1 Current State: 47:[42, 60, 48], Operations: ['30+18=48'] Exploring Operation: 60-48=12, Resulting Numbers: [42, 12] Generated Node #0,1,0: 47:[42, 12] Operation: 60-48=12 Exploring Operation: 60-42=18, Resulting Numbers: [48, 18] Generated Node #0,1,1: 47:[48, 18] Operation: 60-42=18 Moving to Node #0,0 Current State: 47:[42, 30, 42], Operations: ['60-18=42'] Exploring Operation: 42+30=72, Resulting Numbers: [42, 72] Generated Node #0,0,0: 47:[42, 72] Operation: 42+30=72 Exploring Operation: 30+42=72, Resulting Numbers: [42, 72] Generated Node #0,0,1: 47:[42, 72] Operation: 30+42=72 Moving to Node #0,1,1 Current State: 47:[48, 18], Operations: ['30+18=48', '60-42=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[42, 72], Operations: ['60-18=42', '42+30=72'] Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[42, 72], Operations: ['60-18=42', '30+42=72'] Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[42, 12], Operations: ['30+18=48', '60-48=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,47 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 65, 22, 67 ]
23
[ "65+67=132", "132/22=6", "29-6=23" ]
Current State: 23:[29, 65, 22, 67], Operations: [] Exploring Operation: 65+67=132, Resulting Numbers: [29, 22, 132] Generated Node #2: [29, 22, 132] from Operation: 65+67=132 Current State: 23:[29, 22, 132], Operations: ['65+67=132'] Exploring Operation: 132/22=6, Resulting Numbers: [29, 6] Generated Node #3: [29, 6] from Operation: 132/22=6 Current State: 23:[29, 6], Operations: ['65+67=132', '132/22=6'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[29, 65, 22, 67], Operations: [] Exploring Operation: 65-29=36, Resulting Numbers: [22, 67, 36] Generated Node #0,0: 23:[22, 67, 36] Operation: 65-29=36 Exploring Operation: 65-22=43, Resulting Numbers: [29, 67, 43] Generated Node #0,1: 23:[29, 67, 43] Operation: 65-22=43 Exploring Operation: 67-29=38, Resulting Numbers: [65, 22, 38] Generated Node #0,2: 23:[65, 22, 38] Operation: 67-29=38 Exploring Operation: 67-65=2, Resulting Numbers: [29, 22, 2] Generated Node #0,3: 23:[29, 22, 2] Operation: 67-65=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[29, 22, 2], Operations: ['67-65=2'] Exploring Operation: 29-2=27, Resulting Numbers: [22, 27] Generated Node #0,3,0: 23:[22, 27] Operation: 29-2=27 Exploring Operation: 29+2=31, Resulting Numbers: [22, 31] Generated Node #0,3,1: 23:[22, 31] Operation: 29+2=31 Exploring Operation: 22-2=20, Resulting Numbers: [29, 20] Generated Node #0,3,2: 23:[29, 20] Operation: 22-2=20 Exploring Operation: 22+2=24, Resulting Numbers: [29, 24] Generated Node #0,3,3: 23:[29, 24] Operation: 22+2=24 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 23:[22, 27], Operations: ['67-65=2', '29-2=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,23 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,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,3,3 Current State: 23:[29, 24], Operations: ['67-65=2', '22+2=24'] Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,23 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,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,3,1 Current State: 23:[22, 31], Operations: ['67-65=2', '29+2=31'] Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,23 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,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,3,2 Current State: 23:[29, 20], Operations: ['67-65=2', '22-2=20'] Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,23 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,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:[22, 67, 36], Operations: ['65-29=36'] Exploring Operation: 67-22=45, Resulting Numbers: [36, 45] Generated Node #0,0,0: 23:[36, 45] Operation: 67-22=45 Exploring Operation: 22+67=89, Resulting Numbers: [36, 89] Generated Node #0,0,1: 23:[36, 89] Operation: 22+67=89 Exploring Operation: 67-36=31, Resulting Numbers: [22, 31] Generated Node #0,0,2: 23:[22, 31] Operation: 67-36=31 Exploring Operation: 36-22=14, Resulting Numbers: [67, 14] Generated Node #0,0,3: 23:[67, 14] Operation: 36-22=14 Moving to Node #0,0,2 Current State: 23:[22, 31], Operations: ['65-29=36', '67-36=31'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,23 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[36, 45], Operations: ['65-29=36', '67-22=45'] Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,23 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[67, 14], Operations: ['65-29=36', '36-22=14'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,23 unequal: No Solution Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[36, 89], Operations: ['65-29=36', '22+67=89'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,23 unequal: No Solution Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,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:[65, 22, 38], Operations: ['67-29=38'] Exploring Operation: 65-38=27, Resulting Numbers: [22, 27] Generated Node #0,2,0: 23:[22, 27] Operation: 65-38=27 Exploring Operation: 65+22=87, Resulting Numbers: [38, 87] Generated Node #0,2,1: 23:[38, 87] Operation: 65+22=87 Exploring Operation: 38-22=16, Resulting Numbers: [65, 16] Generated Node #0,2,2: 23:[65, 16] Operation: 38-22=16 Exploring Operation: 65-22=43, Resulting Numbers: [38, 43] Generated Node #0,2,3: 23:[38, 43] Operation: 65-22=43 Moving to Node #0,2,0 Current State: 23:[22, 27], Operations: ['67-29=38', '65-38=27'] Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,23 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[38, 43], Operations: ['67-29=38', '65-22=43'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,23 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[65, 16], Operations: ['67-29=38', '38-22=16'] Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,23 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[38, 87], Operations: ['67-29=38', '65+22=87'] Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,23 unequal: No Solution Exploring Operation: 38*87=3306, Resulting Numbers: [3306] 3306,23 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,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 Current State: 23:[29, 67, 43], Operations: ['65-22=43'] Exploring Operation: 43-29=14, Resulting Numbers: [67, 14] Generated Node #0,1,0: 23:[67, 14] Operation: 43-29=14 Exploring Operation: 67-29=38, Resulting Numbers: [43, 38] Generated Node #0,1,1: 23:[43, 38] Operation: 67-29=38 Exploring Operation: 67-43=24, Resulting Numbers: [29, 24] Generated Node #0,1,2: 23:[29, 24] Operation: 67-43=24 Exploring Operation: 29+67=96, Resulting Numbers: [43, 96] Generated Node #0,1,3: 23:[43, 96] Operation: 29+67=96 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[29, 24], Operations: ['65-22=43', '67-43=24'] Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,23 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[43, 38], Operations: ['65-22=43', '67-29=38'] Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,23 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,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:[67, 14], Operations: ['65-22=43', '43-29=14'] Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,23 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,23 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,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:[43, 96], Operations: ['65-22=43', '29+67=96'] Exploring Operation: 43*96=4128, Resulting Numbers: [4128] 4128,23 unequal: No Solution Exploring Operation: 43+96=139, Resulting Numbers: [139] 139,23 unequal: No Solution Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,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_4
mult_heuristic
[ 89, 27, 8, 51 ]
19
[ "89-27=62", "51-8=43", "62-43=19" ]
Current State: 19:[89, 27, 8, 51], Operations: [] Exploring Operation: 89-27=62, Resulting Numbers: [8, 51, 62] Generated Node #2: [8, 51, 62] from Operation: 89-27=62 Current State: 19:[8, 51, 62], Operations: ['89-27=62'] Exploring Operation: 51-8=43, Resulting Numbers: [62, 43] Generated Node #3: [62, 43] from Operation: 51-8=43 Current State: 19:[62, 43], Operations: ['89-27=62', '51-8=43'] Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[89, 27, 8, 51], Operations: [] Exploring Operation: 89-51=38, Resulting Numbers: [27, 8, 38] Generated Node #0,0: 19:[27, 8, 38] Operation: 89-51=38 Moving to Node #0,0 Current State: 19:[27, 8, 38], Operations: ['89-51=38'] Exploring Operation: 27-8=19, Resulting Numbers: [38, 19] Generated Node #0,0,0: 19:[38, 19] Operation: 27-8=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[38, 19], Operations: ['89-51=38', '27-8=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[89, 27, 8, 51], Operations: [] Exploring Operation: 89-51=38, Resulting Numbers: [27, 8, 38] Generated Node #0,0: 19:[27, 8, 38] Operation: 89-51=38 Moving to Node #0,0 Current State: 19:[27, 8, 38], Operations: ['89-51=38'] Exploring Operation: 27-8=19, Resulting Numbers: [38, 19] Generated Node #0,0,0: 19:[38, 19] Operation: 27-8=19 Moving to Node #0,0,0 Current State: 19:[38, 19], Operations: ['89-51=38', '27-8=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 41, 76, 70, 45 ]
10
[ "76-41=35", "70-45=25", "35-25=10" ]
Current State: 10:[41, 76, 70, 45], Operations: [] Exploring Operation: 76-41=35, Resulting Numbers: [70, 45, 35] Generated Node #2: [70, 45, 35] from Operation: 76-41=35 Current State: 10:[70, 45, 35], Operations: ['76-41=35'] Exploring Operation: 70-45=25, Resulting Numbers: [35, 25] Generated Node #3: [35, 25] from Operation: 70-45=25 Current State: 10:[35, 25], Operations: ['76-41=35', '70-45=25'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[41, 76, 70, 45], Operations: [] Exploring Operation: 76-45=31, Resulting Numbers: [41, 70, 31] Generated Node #0,0: 10:[41, 70, 31] Operation: 76-45=31 Exploring Operation: 70-45=25, Resulting Numbers: [41, 76, 25] Generated Node #0,1: 10:[41, 76, 25] Operation: 70-45=25 Exploring Operation: 76-70=6, Resulting Numbers: [41, 45, 6] Generated Node #0,2: 10:[41, 45, 6] Operation: 76-70=6 Moving to Node #0,2 Current State: 10:[41, 45, 6], Operations: ['76-70=6'] Exploring Operation: 45-41=4, Resulting Numbers: [6, 4] Generated Node #0,2,0: 10:[6, 4] Operation: 45-41=4 Exploring Operation: 45-6=39, Resulting Numbers: [41, 39] Generated Node #0,2,1: 10:[41, 39] Operation: 45-6=39 Exploring Operation: 41-6=35, Resulting Numbers: [45, 35] Generated Node #0,2,2: 10:[45, 35] Operation: 41-6=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[6, 4], Operations: ['76-70=6', '45-41=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[41, 76, 70, 45], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [41, 45, 6] Generated Node #0,2: 10:[41, 45, 6] Operation: 76-70=6 Moving to Node #0,2 Current State: 10:[41, 45, 6], Operations: ['76-70=6'] Exploring Operation: 45-41=4, Resulting Numbers: [6, 4] Generated Node #0,2,0: 10:[6, 4] Operation: 45-41=4 Moving to Node #0,2,0 Current State: 10:[6, 4], Operations: ['76-70=6', '45-41=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 77, 84, 6, 65 ]
42
[ "77-65=12", "84*6=504", "504/12=42" ]
Current State: 42:[77, 84, 6, 65], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [84, 6, 12] Generated Node #2: [84, 6, 12] from Operation: 77-65=12 Current State: 42:[84, 6, 12], Operations: ['77-65=12'] Exploring Operation: 84*6=504, Resulting Numbers: [12, 504] Generated Node #3: [12, 504] from Operation: 84*6=504 Current State: 42:[12, 504], Operations: ['77-65=12', '84*6=504'] Exploring Operation: 504/12=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[77, 84, 6, 65], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [77, 6, 19] Generated Node #0,0: 42:[77, 6, 19] Operation: 84-65=19 Exploring Operation: 84-77=7, Resulting Numbers: [6, 65, 7] Generated Node #0,1: 42:[6, 65, 7] Operation: 84-77=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[6, 65, 7], Operations: ['84-77=7'] Exploring Operation: 65-7=58, Resulting Numbers: [6, 58] Generated Node #0,1,0: 42:[6, 58] Operation: 65-7=58 Exploring Operation: 65-6=59, Resulting Numbers: [7, 59] Generated Node #0,1,1: 42:[7, 59] Operation: 65-6=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[6, 58], Operations: ['84-77=7', '65-7=58'] Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[7, 59], Operations: ['84-77=7', '65-6=59'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[77, 6, 19], Operations: ['84-65=19'] Exploring Operation: 77-6=71, Resulting Numbers: [19, 71] Generated Node #0,0,0: 42:[19, 71] Operation: 77-6=71 Exploring Operation: 77-19=58, Resulting Numbers: [6, 58] Generated Node #0,0,1: 42:[6, 58] Operation: 77-19=58 Moving to Node #0,0,1 Current State: 42:[6, 58], Operations: ['84-65=19', '77-19=58'] Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[19, 71], Operations: ['84-65=19', '77-6=71'] Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 18, 25, 34, 4 ]
89
[ "34-18=16", "4*16=64", "25+64=89" ]
Current State: 89:[18, 25, 34, 4], Operations: [] Exploring Operation: 34-18=16, Resulting Numbers: [25, 4, 16] Generated Node #2: [25, 4, 16] from Operation: 34-18=16 Current State: 89:[25, 4, 16], Operations: ['34-18=16'] Exploring Operation: 4*16=64, Resulting Numbers: [25, 64] Generated Node #3: [25, 64] from Operation: 4*16=64 Current State: 89:[25, 64], Operations: ['34-18=16', '4*16=64'] Exploring Operation: 25+64=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[18, 25, 34, 4], Operations: [] Exploring Operation: 18*4=72, Resulting Numbers: [25, 34, 72] Generated Node #0,0: 89:[25, 34, 72] Operation: 18*4=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[25, 34, 72], Operations: ['18*4=72'] Exploring Operation: 25+34=59, Resulting Numbers: [72, 59] Generated Node #0,0,0: 89:[72, 59] Operation: 25+34=59 Moving to Node #0,0,0 Current State: 89:[72, 59], Operations: ['18*4=72', '25+34=59'] Exploring Operation: 72+59=131, Resulting Numbers: [131] 131,89 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
[ 90, 66, 43, 18 ]
85
[ "90-66=24", "43+18=61", "24+61=85" ]
Current State: 85:[90, 66, 43, 18], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [43, 18, 24] Generated Node #2: [43, 18, 24] from Operation: 90-66=24 Current State: 85:[43, 18, 24], Operations: ['90-66=24'] Exploring Operation: 43+18=61, Resulting Numbers: [24, 61] Generated Node #3: [24, 61] from Operation: 43+18=61 Current State: 85:[24, 61], Operations: ['90-66=24', '43+18=61'] Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[90, 66, 43, 18], Operations: [] Exploring Operation: 66-43=23, Resulting Numbers: [90, 18, 23] Generated Node #0,0: 85:[90, 18, 23] Operation: 66-43=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[90, 18, 23], Operations: ['66-43=23'] Exploring Operation: 23-18=5, Resulting Numbers: [90, 5] Generated Node #0,0,0: 85:[90, 5] Operation: 23-18=5 Moving to Node #0,0,0 Current State: 85:[90, 5], Operations: ['66-43=23', '23-18=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[90, 66, 43, 18], Operations: [] Exploring Operation: 66-43=23, Resulting Numbers: [90, 18, 23] Generated Node #0,0: 85:[90, 18, 23] Operation: 66-43=23 Moving to Node #0,0 Current State: 85:[90, 18, 23], Operations: ['66-43=23'] Exploring Operation: 23-18=5, Resulting Numbers: [90, 5] Generated Node #0,0,0: 85:[90, 5] Operation: 23-18=5 Moving to Node #0,0,0 Current State: 85:[90, 5], Operations: ['66-43=23', '23-18=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 13, 17, 50, 28 ]
23
[ "50+28=78", "78/13=6", "17+6=23" ]
Current State: 23:[13, 17, 50, 28], Operations: [] Exploring Operation: 50+28=78, Resulting Numbers: [13, 17, 78] Generated Node #2: [13, 17, 78] from Operation: 50+28=78 Current State: 23:[13, 17, 78], Operations: ['50+28=78'] Exploring Operation: 78/13=6, Resulting Numbers: [17, 6] Generated Node #3: [17, 6] from Operation: 78/13=6 Current State: 23:[17, 6], Operations: ['50+28=78', '78/13=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[13, 17, 50, 28], Operations: [] Exploring Operation: 28-13=15, Resulting Numbers: [17, 50, 15] Generated Node #0,0: 23:[17, 50, 15] Operation: 28-13=15 Exploring Operation: 50-13=37, Resulting Numbers: [17, 28, 37] Generated Node #0,1: 23:[17, 28, 37] Operation: 50-13=37 Exploring Operation: 50-17=33, Resulting Numbers: [13, 28, 33] Generated Node #0,2: 23:[13, 28, 33] Operation: 50-17=33 Exploring Operation: 13+17=30, Resulting Numbers: [50, 28, 30] Generated Node #0,3: 23:[50, 28, 30] Operation: 13+17=30 Exploring Operation: 50-28=22, Resulting Numbers: [13, 17, 22] Generated Node #0,4: 23:[13, 17, 22] Operation: 50-28=22 Moving to Node #0,4 Current State: 23:[13, 17, 22], Operations: ['50-28=22'] Exploring Operation: 13+22=35, Resulting Numbers: [17, 35] Generated Node #0,4,0: 23:[17, 35] Operation: 13+22=35 Exploring Operation: 17-13=4, Resulting Numbers: [22, 4] Generated Node #0,4,1: 23:[22, 4] Operation: 17-13=4 Exploring Operation: 17+22=39, Resulting Numbers: [13, 39] Generated Node #0,4,2: 23:[13, 39] Operation: 17+22=39 Exploring Operation: 22-13=9, Resulting Numbers: [17, 9] Generated Node #0,4,3: 23:[17, 9] Operation: 22-13=9 Exploring Operation: 13+17=30, Resulting Numbers: [22, 30] Generated Node #0,4,4: 23:[22, 30] Operation: 13+17=30 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 23:[22, 30], Operations: ['50-28=22', '13+17=30'] Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,23 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,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,0 Current State: 23:[17, 35], Operations: ['50-28=22', '13+22=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,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,1 Current State: 23:[22, 4], Operations: ['50-28=22', '17-13=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,23 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,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,3 Current State: 23:[17, 9], Operations: ['50-28=22', '22-13=9'] Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,23 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,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,2 Current State: 23:[13, 39], Operations: ['50-28=22', '17+22=39'] Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,23 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,23 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: 23:[13, 28, 33], Operations: ['50-17=33'] Exploring Operation: 13+33=46, Resulting Numbers: [28, 46] Generated Node #0,2,0: 23:[28, 46] Operation: 13+33=46 Exploring Operation: 28-13=15, Resulting Numbers: [33, 15] Generated Node #0,2,1: 23:[33, 15] Operation: 28-13=15 Exploring Operation: 33-28=5, Resulting Numbers: [13, 5] Generated Node #0,2,2: 23:[13, 5] Operation: 33-28=5 Exploring Operation: 33-13=20, Resulting Numbers: [28, 20] Generated Node #0,2,3: 23:[28, 20] Operation: 33-13=20 Exploring Operation: 13+28=41, Resulting Numbers: [33, 41] Generated Node #0,2,4: 23:[33, 41] Operation: 13+28=41 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[28, 20], Operations: ['50-17=33', '33-13=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,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:[33, 15], Operations: ['50-17=33', '28-13=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[28, 46], Operations: ['50-17=33', '13+33=46'] Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,23 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,23 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,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:[13, 5], Operations: ['50-17=33', '33-28=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 23:[33, 41], Operations: ['50-17=33', '13+28=41'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,23 unequal: No Solution Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,23 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: 23:[17, 28, 37], Operations: ['50-13=37'] Exploring Operation: 17+37=54, Resulting Numbers: [28, 54] Generated Node #0,1,0: 23:[28, 54] Operation: 17+37=54 Exploring Operation: 17+28=45, Resulting Numbers: [37, 45] Generated Node #0,1,1: 23:[37, 45] Operation: 17+28=45 Exploring Operation: 37-17=20, Resulting Numbers: [28, 20] Generated Node #0,1,2: 23:[28, 20] Operation: 37-17=20 Exploring Operation: 28-17=11, Resulting Numbers: [37, 11] Generated Node #0,1,3: 23:[37, 11] Operation: 28-17=11 Exploring Operation: 37-28=9, Resulting Numbers: [17, 9] Generated Node #0,1,4: 23:[17, 9] Operation: 37-28=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[28, 20], Operations: ['50-13=37', '37-17=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,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,4 Current State: 23:[17, 9], Operations: ['50-13=37', '37-28=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,23 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,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,3 Current State: 23:[37, 11], Operations: ['50-13=37', '28-17=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,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,0 Current State: 23:[28, 54], Operations: ['50-13=37', '17+37=54'] Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,23 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,23 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,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:[37, 45], Operations: ['50-13=37', '17+28=45'] Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,23 unequal: No Solution Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,23 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,23 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: 23:[50, 28, 30], Operations: ['13+17=30'] Exploring Operation: 30-28=2, Resulting Numbers: [50, 2] Generated Node #0,3,0: 23:[50, 2] Operation: 30-28=2 Exploring Operation: 50+28=78, Resulting Numbers: [30, 78] Generated Node #0,3,1: 23:[30, 78] Operation: 50+28=78 Exploring Operation: 50+30=80, Resulting Numbers: [28, 80] Generated Node #0,3,2: 23:[28, 80] Operation: 50+30=80 Exploring Operation: 50-30=20, Resulting Numbers: [28, 20] Generated Node #0,3,3: 23:[28, 20] Operation: 50-30=20 Exploring Operation: 50-28=22, Resulting Numbers: [30, 22] Generated Node #0,3,4: 23:[30, 22] Operation: 50-28=22 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 23:[28, 20], Operations: ['13+17=30', '50-30=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,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,3,4 Current State: 23:[30, 22], Operations: ['13+17=30', '50-28=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 30*22=660, Resulting Numbers: [660] 660,23 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,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,3,0 Current State: 23:[50, 2], Operations: ['13+17=30', '30-28=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,23 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,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,3,1 Current State: 23:[30, 78], Operations: ['13+17=30', '50+28=78'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,23 unequal: No Solution Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,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,3,2 Current State: 23:[28, 80], Operations: ['13+17=30', '50+30=80'] Exploring Operation: 28*80=2240, Resulting Numbers: [2240] 2240,23 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 28+80=108, Resulting Numbers: [108] 108,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:[17, 50, 15], Operations: ['28-13=15'] Exploring Operation: 50-17=33, Resulting Numbers: [15, 33] Generated Node #0,0,0: 23:[15, 33] Operation: 50-17=33 Exploring Operation: 17+15=32, Resulting Numbers: [50, 32] Generated Node #0,0,1: 23:[50, 32] Operation: 17+15=32 Exploring Operation: 17-15=2, Resulting Numbers: [50, 2] Generated Node #0,0,2: 23:[50, 2] Operation: 17-15=2 Exploring Operation: 50+15=65, Resulting Numbers: [17, 65] Generated Node #0,0,3: 23:[17, 65] Operation: 50+15=65 Exploring Operation: 50-15=35, Resulting Numbers: [17, 35] Generated Node #0,0,4: 23:[17, 35] Operation: 50-15=35 Moving to Node #0,0,0 Current State: 23:[15, 33], Operations: ['28-13=15', '50-17=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,23 unequal: No Solution Moving to Node #0,0,4 Current State: 23:[17, 35], Operations: ['28-13=15', '50-15=35'] Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,23 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[50, 32], Operations: ['28-13=15', '17+15=32'] Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,23 unequal: No Solution Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,23 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[50, 2], Operations: ['28-13=15', '17-15=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,23 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[17, 65], Operations: ['28-13=15', '50+15=65'] Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 17+65=82, Resulting Numbers: [82] 82,23 unequal: No Solution Exploring Operation: 17*65=1105, Resulting Numbers: [1105] 1105,23 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 9, 4, 38, 47 ]
85
[ "47-38=9", "9*9=81", "4+81=85" ]
Current State: 85:[9, 4, 38, 47], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [9, 4, 9] Generated Node #2: [9, 4, 9] from Operation: 47-38=9 Current State: 85:[9, 4, 9], Operations: ['47-38=9'] Exploring Operation: 9*9=81, Resulting Numbers: [4, 81] Generated Node #3: [4, 81] from Operation: 9*9=81 Current State: 85:[4, 81], Operations: ['47-38=9', '9*9=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[9, 4, 38, 47], Operations: [] Exploring Operation: 38-9=29, Resulting Numbers: [4, 47, 29] Generated Node #0,0: 85:[4, 47, 29] Operation: 38-9=29 Exploring Operation: 38+47=85, Resulting Numbers: [9, 4, 85] Generated Node #0,1: 85:[9, 4, 85] Operation: 38+47=85 Exploring Operation: 47-38=9, Resulting Numbers: [9, 4, 9] Generated Node #0,2: 85:[9, 4, 9] Operation: 47-38=9 Exploring Operation: 47-9=38, Resulting Numbers: [4, 38, 38] Generated Node #0,3: 85:[4, 38, 38] Operation: 47-9=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[9, 4, 85], Operations: ['38+47=85'] Exploring Operation: 85-4=81, Resulting Numbers: [9, 81] Generated Node #0,1,0: 85:[9, 81] Operation: 85-4=81 Exploring Operation: 9+4=13, Resulting Numbers: [85, 13] Generated Node #0,1,1: 85:[85, 13] Operation: 9+4=13 Exploring Operation: 9-4=5, Resulting Numbers: [85, 5] Generated Node #0,1,2: 85:[85, 5] Operation: 9-4=5 Exploring Operation: 4+85=89, Resulting Numbers: [9, 89] Generated Node #0,1,3: 85:[9, 89] Operation: 4+85=89 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[85, 5], Operations: ['38+47=85', '9-4=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,85 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,85 unequal: No Solution No 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: 85:[85, 13], Operations: ['38+47=85', '9+4=13'] Exploring Operation: 85*13=1105, Resulting Numbers: [1105] 1105,85 unequal: No Solution Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,85 unequal: No Solution No 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: 85:[9, 81], Operations: ['38+47=85', '85-4=81'] Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,85 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,85 unequal: No Solution No 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: 85:[9, 89], Operations: ['38+47=85', '4+85=89'] Exploring Operation: 9*89=801, Resulting Numbers: [801] 801,85 unequal: No Solution Exploring Operation: 9+89=98, Resulting Numbers: [98] 98,85 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,85 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: 85:[9, 4, 9], Operations: ['47-38=9'] Exploring Operation: 9-4=5, Resulting Numbers: [9, 5] Generated Node #0,2,0: 85:[9, 5] Operation: 9-4=5 Exploring Operation: 9*9=81, Resulting Numbers: [4, 81] Generated Node #0,2,1: 85:[4, 81] Operation: 9*9=81 Exploring Operation: 9-4=5, Resulting Numbers: [9, 5] Generated Node #0,2,2: 85:[9, 5] Operation: 9-4=5 Exploring Operation: 9+9=18, Resulting Numbers: [4, 18] Generated Node #0,2,3: 85:[4, 18] Operation: 9+9=18 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[4, 18], Operations: ['47-38=9', '9+9=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,85 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,85 unequal: No Solution No 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: 85:[9, 5], Operations: ['47-38=9', '9-4=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,85 unequal: No Solution No 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: 85:[9, 5], Operations: ['47-38=9', '9-4=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,85 unequal: No Solution No 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: 85:[4, 81], Operations: ['47-38=9', '9*9=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[9, 4, 38, 47], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [9, 4, 9] Generated Node #0,2: 85:[9, 4, 9] Operation: 47-38=9 Moving to Node #0,2 Current State: 85:[9, 4, 9], Operations: ['47-38=9'] Exploring Operation: 9*9=81, Resulting Numbers: [4, 81] Generated Node #0,2,1: 85:[4, 81] Operation: 9*9=81 Moving to Node #0,2,1 Current State: 85:[4, 81], Operations: ['47-38=9', '9*9=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 7, 85, 74, 61 ]
91
[ "85-7=78", "74-61=13", "78+13=91" ]
Current State: 91:[7, 85, 74, 61], Operations: [] Exploring Operation: 85-7=78, Resulting Numbers: [74, 61, 78] Generated Node #2: [74, 61, 78] from Operation: 85-7=78 Current State: 91:[74, 61, 78], Operations: ['85-7=78'] Exploring Operation: 74-61=13, Resulting Numbers: [78, 13] Generated Node #3: [78, 13] from Operation: 74-61=13 Current State: 91:[78, 13], Operations: ['85-7=78', '74-61=13'] Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[7, 85, 74, 61], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [7, 85, 13] Generated Node #0,0: 91:[7, 85, 13] Operation: 74-61=13 Exploring Operation: 85-61=24, Resulting Numbers: [7, 74, 24] Generated Node #0,1: 91:[7, 74, 24] Operation: 85-61=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[7, 85, 13], Operations: ['74-61=13'] Exploring Operation: 7*13=91, Resulting Numbers: [85, 91] Generated Node #0,0,0: 91:[85, 91] Operation: 7*13=91 Exploring Operation: 7+85=92, Resulting Numbers: [13, 92] Generated Node #0,0,1: 91:[13, 92] Operation: 7+85=92 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[13, 92], Operations: ['74-61=13', '7+85=92'] Exploring Operation: 13+92=105, Resulting Numbers: [105] 105,91 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,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,0 Current State: 91:[85, 91], Operations: ['74-61=13', '7*13=91'] Exploring Operation: 91-85=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 85+91=176, Resulting Numbers: [176] 176,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:[7, 74, 24], Operations: ['85-61=24'] Exploring Operation: 74+24=98, Resulting Numbers: [7, 98] Generated Node #0,1,0: 91:[7, 98] Operation: 74+24=98 Exploring Operation: 7+74=81, Resulting Numbers: [24, 81] Generated Node #0,1,1: 91:[24, 81] Operation: 7+74=81 Moving to Node #0,1,0 Current State: 91:[7, 98], Operations: ['85-61=24', '74+24=98'] Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[7, 85, 74, 61], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [7, 74, 24] Generated Node #0,1: 91:[7, 74, 24] Operation: 85-61=24 Moving to Node #0,1 Current State: 91:[7, 74, 24], Operations: ['85-61=24'] Exploring Operation: 74+24=98, Resulting Numbers: [7, 98] Generated Node #0,1,0: 91:[7, 98] Operation: 74+24=98 Moving to Node #0,1,0 Current State: 91:[7, 98], Operations: ['85-61=24', '74+24=98'] Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 56, 1, 27, 46 ]
92
[ "56*46=2576", "1+27=28", "2576/28=92" ]
Current State: 92:[56, 1, 27, 46], Operations: [] Exploring Operation: 56*46=2576, Resulting Numbers: [1, 27, 2576] Generated Node #2: [1, 27, 2576] from Operation: 56*46=2576 Current State: 92:[1, 27, 2576], Operations: ['56*46=2576'] Exploring Operation: 1+27=28, Resulting Numbers: [2576, 28] Generated Node #3: [2576, 28] from Operation: 1+27=28 Current State: 92:[2576, 28], Operations: ['56*46=2576', '1+27=28'] Exploring Operation: 2576/28=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[56, 1, 27, 46], Operations: [] Exploring Operation: 27-1=26, Resulting Numbers: [56, 46, 26] Generated Node #0,0: 92:[56, 46, 26] Operation: 27-1=26 Exploring Operation: 56-1=55, Resulting Numbers: [27, 46, 55] Generated Node #0,1: 92:[27, 46, 55] Operation: 56-1=55 Exploring Operation: 56+27=83, Resulting Numbers: [1, 46, 83] Generated Node #0,2: 92:[1, 46, 83] Operation: 56+27=83 Exploring Operation: 56-46=10, Resulting Numbers: [1, 27, 10] Generated Node #0,3: 92:[1, 27, 10] Operation: 56-46=10 Exploring Operation: 56-27=29, Resulting Numbers: [1, 46, 29] Generated Node #0,4: 92:[1, 46, 29] Operation: 56-27=29 Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[1, 46, 29], Operations: ['56-27=29'] Exploring Operation: 29-1=28, Resulting Numbers: [46, 28] Generated Node #0,4,0: 92:[46, 28] Operation: 29-1=28 Exploring Operation: 1*29=29, Resulting Numbers: [46, 29] Generated Node #0,4,1: 92:[46, 29] Operation: 1*29=29 Exploring Operation: 29/1=29, Resulting Numbers: [46, 29] Generated Node #0,4,2: 92:[46, 29] Operation: 29/1=29 Exploring Operation: 46/1=46, Resulting Numbers: [29, 46] Generated Node #0,4,3: 92:[29, 46] Operation: 46/1=46 Exploring Operation: 1*46=46, Resulting Numbers: [29, 46] Generated Node #0,4,4: 92:[29, 46] Operation: 1*46=46 Moving to Node #0,4,0 Current State: 92:[46, 28], Operations: ['56-27=29', '29-1=28'] Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,92 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[46, 29], Operations: ['56-27=29', '29/1=29'] Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,92 unequal: No Solution Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,92 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[29, 46], Operations: ['56-27=29', '1*46=46'] Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,92 unequal: No Solution Exploring Operation: 29*46=1334, Resulting Numbers: [1334] 1334,92 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[46, 29], Operations: ['56-27=29', '1*29=29'] Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,92 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[29, 46], Operations: ['56-27=29', '46/1=46'] Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 29*46=1334, Resulting Numbers: [1334] 1334,92 unequal: No Solution Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[1, 46, 83], Operations: ['56+27=83'] Exploring Operation: 1+83=84, Resulting Numbers: [46, 84] Generated Node #0,2,0: 92:[46, 84] Operation: 1+83=84 Exploring Operation: 46/1=46, Resulting Numbers: [83, 46] Generated Node #0,2,1: 92:[83, 46] Operation: 46/1=46 Exploring Operation: 1*46=46, Resulting Numbers: [83, 46] Generated Node #0,2,2: 92:[83, 46] Operation: 1*46=46 Exploring Operation: 83/1=83, Resulting Numbers: [46, 83] Generated Node #0,2,3: 92:[46, 83] Operation: 83/1=83 Exploring Operation: 1*83=83, Resulting Numbers: [46, 83] Generated Node #0,2,4: 92:[46, 83] Operation: 1*83=83 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[46, 84], Operations: ['56+27=83', '1+83=84'] Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,92 unequal: No Solution Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[83, 46], Operations: ['56+27=83', '46/1=46'] Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 83*46=3818, Resulting Numbers: [3818] 3818,92 unequal: No Solution Exploring Operation: 83+46=129, Resulting Numbers: [129] 129,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[83, 46], Operations: ['56+27=83', '1*46=46'] Exploring Operation: 83+46=129, Resulting Numbers: [129] 129,92 unequal: No Solution Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 83*46=3818, Resulting Numbers: [3818] 3818,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[46, 83], Operations: ['56+27=83', '83/1=83'] Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 46+83=129, Resulting Numbers: [129] 129,92 unequal: No Solution Exploring Operation: 46*83=3818, Resulting Numbers: [3818] 3818,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 92:[46, 83], Operations: ['56+27=83', '1*83=83'] Exploring Operation: 46*83=3818, Resulting Numbers: [3818] 3818,92 unequal: No Solution Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 46+83=129, Resulting Numbers: [129] 129,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[1, 27, 10], Operations: ['56-46=10'] Exploring Operation: 10-1=9, Resulting Numbers: [27, 9] Generated Node #0,3,0: 92:[27, 9] Operation: 10-1=9 Exploring Operation: 27-10=17, Resulting Numbers: [1, 17] Generated Node #0,3,1: 92:[1, 17] Operation: 27-10=17 Exploring Operation: 27-1=26, Resulting Numbers: [10, 26] Generated Node #0,3,2: 92:[10, 26] Operation: 27-1=26 Exploring Operation: 27/1=27, Resulting Numbers: [10, 27] Generated Node #0,3,3: 92:[10, 27] Operation: 27/1=27 Exploring Operation: 1*27=27, Resulting Numbers: [10, 27] Generated Node #0,3,4: 92:[10, 27] Operation: 1*27=27 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 92:[1, 17], Operations: ['56-46=10', '27-10=17'] Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 92:[27, 9], Operations: ['56-46=10', '10-1=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 92:[10, 26], Operations: ['56-46=10', '27-1=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 92:[10, 27], Operations: ['56-46=10', '27/1=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 92:[10, 27], Operations: ['56-46=10', '1*27=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[56, 46, 26], Operations: ['27-1=26'] Exploring Operation: 56-46=10, Resulting Numbers: [26, 10] Generated Node #0,0,0: 92:[26, 10] Operation: 56-46=10 Exploring Operation: 56-26=30, Resulting Numbers: [46, 30] Generated Node #0,0,1: 92:[46, 30] Operation: 56-26=30 Exploring Operation: 56+46=102, Resulting Numbers: [26, 102] Generated Node #0,0,2: 92:[26, 102] Operation: 56+46=102 Exploring Operation: 46-26=20, Resulting Numbers: [56, 20] Generated Node #0,0,3: 92:[56, 20] Operation: 46-26=20 Exploring Operation: 56+26=82, Resulting Numbers: [46, 82] Generated Node #0,0,4: 92:[46, 82] Operation: 56+26=82 Moving to Node #0,0,1 Current State: 92:[46, 30], Operations: ['27-1=26', '56-26=30'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,92 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[26, 10], Operations: ['27-1=26', '56-46=10'] Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,92 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[46, 82], Operations: ['27-1=26', '56+26=82'] Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 46*82=3772, Resulting Numbers: [3772] 3772,92 unequal: No Solution Exploring Operation: 46+82=128, Resulting Numbers: [128] 128,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[26, 102], Operations: ['27-1=26', '56+46=102'] Exploring Operation: 26+102=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 26*102=2652, Resulting Numbers: [2652] 2652,92 unequal: No Solution Exploring Operation: 102-26=76, Resulting Numbers: [76] 76,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[56, 20], Operations: ['27-1=26', '46-26=20'] Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,92 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[27, 46, 55], Operations: ['56-1=55'] Exploring Operation: 55-46=9, Resulting Numbers: [27, 9] Generated Node #0,1,0: 92:[27, 9] Operation: 55-46=9 Exploring Operation: 55-27=28, Resulting Numbers: [46, 28] Generated Node #0,1,1: 92:[46, 28] Operation: 55-27=28 Exploring Operation: 27+55=82, Resulting Numbers: [46, 82] Generated Node #0,1,2: 92:[46, 82] Operation: 27+55=82 Exploring Operation: 46+55=101, Resulting Numbers: [27, 101] Generated Node #0,1,3: 92:[27, 101] Operation: 46+55=101 Exploring Operation: 46-27=19, Resulting Numbers: [55, 19] Generated Node #0,1,4: 92:[55, 19] Operation: 46-27=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[46, 28], Operations: ['56-1=55', '55-27=28'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,92 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[27, 9], Operations: ['56-1=55', '55-46=9'] Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,92 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[46, 82], Operations: ['56-1=55', '27+55=82'] Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 46+82=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 46*82=3772, Resulting Numbers: [3772] 3772,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 92:[27, 101], Operations: ['56-1=55', '46+55=101'] Exploring Operation: 101-27=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 27+101=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 27*101=2727, Resulting Numbers: [2727] 2727,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 92:[55, 19], Operations: ['56-1=55', '46-27=19'] Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,92 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 67, 85, 45, 19 ]
46
[ "85-67=18", "45+19=64", "64-18=46" ]
Current State: 46:[67, 85, 45, 19], Operations: [] Exploring Operation: 85-67=18, Resulting Numbers: [45, 19, 18] Generated Node #2: [45, 19, 18] from Operation: 85-67=18 Current State: 46:[45, 19, 18], Operations: ['85-67=18'] Exploring Operation: 45+19=64, Resulting Numbers: [18, 64] Generated Node #3: [18, 64] from Operation: 45+19=64 Current State: 46:[18, 64], Operations: ['85-67=18', '45+19=64'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[67, 85, 45, 19], Operations: [] Exploring Operation: 85-19=66, Resulting Numbers: [67, 45, 66] Generated Node #0,0: 46:[67, 45, 66] Operation: 85-19=66 Exploring Operation: 67-19=48, Resulting Numbers: [85, 45, 48] Generated Node #0,1: 46:[85, 45, 48] Operation: 67-19=48 Exploring Operation: 85-67=18, Resulting Numbers: [45, 19, 18] Generated Node #0,2: 46:[45, 19, 18] Operation: 85-67=18 Exploring Operation: 85-45=40, Resulting Numbers: [67, 19, 40] Generated Node #0,3: 46:[67, 19, 40] Operation: 85-45=40 Moving to Node #0,2 Current State: 46:[45, 19, 18], Operations: ['85-67=18'] Exploring Operation: 19-18=1, Resulting Numbers: [45, 1] Generated Node #0,2,0: 46:[45, 1] Operation: 19-18=1 Exploring Operation: 45-18=27, Resulting Numbers: [19, 27] Generated Node #0,2,1: 46:[19, 27] Operation: 45-18=27 Exploring Operation: 45-19=26, Resulting Numbers: [18, 26] Generated Node #0,2,2: 46:[18, 26] Operation: 45-19=26 Exploring Operation: 19+18=37, Resulting Numbers: [45, 37] Generated Node #0,2,3: 46:[45, 37] Operation: 19+18=37 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[45, 1], Operations: ['85-67=18', '19-18=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[67, 85, 45, 19], Operations: [] Exploring Operation: 85-67=18, Resulting Numbers: [45, 19, 18] Generated Node #0,2: 46:[45, 19, 18] Operation: 85-67=18 Moving to Node #0,2 Current State: 46:[45, 19, 18], Operations: ['85-67=18'] Exploring Operation: 19-18=1, Resulting Numbers: [45, 1] Generated Node #0,2,0: 46:[45, 1] Operation: 19-18=1 Moving to Node #0,2,0 Current State: 46:[45, 1], Operations: ['85-67=18', '19-18=1'] Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 27, 96, 90, 16 ]
57
[ "90-27=63", "96/16=6", "63-6=57" ]
Current State: 57:[27, 96, 90, 16], Operations: [] Exploring Operation: 90-27=63, Resulting Numbers: [96, 16, 63] Generated Node #2: [96, 16, 63] from Operation: 90-27=63 Current State: 57:[96, 16, 63], Operations: ['90-27=63'] Exploring Operation: 96/16=6, Resulting Numbers: [63, 6] Generated Node #3: [63, 6] from Operation: 96/16=6 Current State: 57:[63, 6], Operations: ['90-27=63', '96/16=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[27, 96, 90, 16], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [27, 90, 6] Generated Node #0,0: 57:[27, 90, 6] Operation: 96/16=6 Exploring Operation: 96-90=6, Resulting Numbers: [27, 16, 6] Generated Node #0,1: 57:[27, 16, 6] Operation: 96-90=6 Exploring Operation: 96-27=69, Resulting Numbers: [90, 16, 69] Generated Node #0,2: 57:[90, 16, 69] Operation: 96-27=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[27, 16, 6], Operations: ['96-90=6'] Exploring Operation: 27-6=21, Resulting Numbers: [16, 21] Generated Node #0,1,0: 57:[16, 21] Operation: 27-6=21 Exploring Operation: 27-16=11, Resulting Numbers: [6, 11] Generated Node #0,1,1: 57:[6, 11] Operation: 27-16=11 Exploring Operation: 16+6=22, Resulting Numbers: [27, 22] Generated Node #0,1,2: 57:[27, 22] Operation: 16+6=22 Moving to Node #0,1,0 Current State: 57:[16, 21], Operations: ['96-90=6', '27-6=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,57 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[6, 11], Operations: ['96-90=6', '27-16=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[27, 22], Operations: ['96-90=6', '16+6=22'] Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,57 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,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:[27, 90, 6], Operations: ['96/16=6'] Exploring Operation: 90/6=15, Resulting Numbers: [27, 15] Generated Node #0,0,0: 57:[27, 15] Operation: 90/6=15 Exploring Operation: 27-6=21, Resulting Numbers: [90, 21] Generated Node #0,0,1: 57:[90, 21] Operation: 27-6=21 Exploring Operation: 90-27=63, Resulting Numbers: [6, 63] Generated Node #0,0,2: 57:[6, 63] Operation: 90-27=63 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 57:[6, 63], Operations: ['96/16=6', '90-27=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[27, 96, 90, 16], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [27, 90, 6] Generated Node #0,0: 57:[27, 90, 6] Operation: 96/16=6 Moving to Node #0,0 Current State: 57:[27, 90, 6], Operations: ['96/16=6'] Exploring Operation: 90-27=63, Resulting Numbers: [6, 63] Generated Node #0,0,2: 57:[6, 63] Operation: 90-27=63 Moving to Node #0,0,2 Current State: 57:[6, 63], Operations: ['96/16=6', '90-27=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 45, 13, 76, 45 ]
89
[ "45+13=58", "76-45=31", "58+31=89" ]
Current State: 89:[45, 13, 76, 45], Operations: [] Exploring Operation: 45+13=58, Resulting Numbers: [76, 58] Generated Node #2: [76, 58] from Operation: 45+13=58 Current State: 89:[76, 58], Operations: ['45+13=58'] Exploring Operation: 76-45=31, Resulting Numbers: [58, 31] Generated Node #3: [58, 31] from Operation: 76-45=31 Current State: 89:[58, 31], Operations: ['45+13=58', '76-45=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[45, 13, 76, 45], Operations: [] Exploring Operation: 13+45=58, Resulting Numbers: [45, 76, 58] Generated Node #0,0: 89:[45, 76, 58] Operation: 13+45=58 Exploring Operation: 45+13=58, Resulting Numbers: [76, 45, 58] Generated Node #0,1: 89:[76, 45, 58] Operation: 45+13=58 Exploring Operation: 45+45=90, Resulting Numbers: [13, 76, 90] Generated Node #0,2: 89:[13, 76, 90] Operation: 45+45=90 Exploring Operation: 13+76=89, Resulting Numbers: [45, 45, 89] Generated Node #0,3: 89:[45, 45, 89] Operation: 13+76=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[45, 76, 58], Operations: ['13+45=58'] Exploring Operation: 58-45=13, Resulting Numbers: [76, 13] Generated Node #0,0,0: 89:[76, 13] Operation: 58-45=13 Exploring Operation: 45+58=103, Resulting Numbers: [76, 103] Generated Node #0,0,1: 89:[76, 103] Operation: 45+58=103 Exploring Operation: 76-45=31, Resulting Numbers: [58, 31] Generated Node #0,0,2: 89:[58, 31] Operation: 76-45=31 Exploring Operation: 45+76=121, Resulting Numbers: [58, 121] Generated Node #0,0,3: 89:[58, 121] Operation: 45+76=121 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[76, 103], Operations: ['13+45=58', '45+58=103'] Exploring Operation: 103-76=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 76*103=7828, Resulting Numbers: [7828] 7828,89 unequal: No Solution Exploring Operation: 76+103=179, Resulting Numbers: [179] 179,89 unequal: No Solution No 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: 89:[58, 121], Operations: ['13+45=58', '45+76=121'] Exploring Operation: 121-58=63, Resulting Numbers: [63] 63,89 unequal: No Solution Exploring Operation: 58*121=7018, Resulting Numbers: [7018] 7018,89 unequal: No Solution Exploring Operation: 58+121=179, Resulting Numbers: [179] 179,89 unequal: No Solution No 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: 89:[76, 13], Operations: ['13+45=58', '58-45=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[45, 13, 76, 45], Operations: [] Exploring Operation: 13+45=58, Resulting Numbers: [45, 76, 58] Generated Node #0,0: 89:[45, 76, 58] Operation: 13+45=58 Moving to Node #0,0 Current State: 89:[45, 76, 58], Operations: ['13+45=58'] Exploring Operation: 58-45=13, Resulting Numbers: [76, 13] Generated Node #0,0,0: 89:[76, 13] Operation: 58-45=13 Moving to Node #0,0,0 Current State: 89:[76, 13], Operations: ['13+45=58', '58-45=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 95, 5, 80, 62 ]
52
[ "95-5=90", "80+62=142", "142-90=52" ]
Current State: 52:[95, 5, 80, 62], Operations: [] Exploring Operation: 95-5=90, Resulting Numbers: [80, 62, 90] Generated Node #2: [80, 62, 90] from Operation: 95-5=90 Current State: 52:[80, 62, 90], Operations: ['95-5=90'] Exploring Operation: 80+62=142, Resulting Numbers: [90, 142] Generated Node #3: [90, 142] from Operation: 80+62=142 Current State: 52:[90, 142], Operations: ['95-5=90', '80+62=142'] Exploring Operation: 142-90=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[95, 5, 80, 62], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [95, 62, 16] Generated Node #0,0: 52:[95, 62, 16] Operation: 80/5=16 Exploring Operation: 95-80=15, Resulting Numbers: [5, 62, 15] Generated Node #0,1: 52:[5, 62, 15] Operation: 95-80=15 Exploring Operation: 95-62=33, Resulting Numbers: [5, 80, 33] Generated Node #0,2: 52:[5, 80, 33] Operation: 95-62=33 Exploring Operation: 95/5=19, Resulting Numbers: [80, 62, 19] Generated Node #0,3: 52:[80, 62, 19] Operation: 95/5=19 Exploring Operation: 80-62=18, Resulting Numbers: [95, 5, 18] Generated Node #0,4: 52:[95, 5, 18] Operation: 80-62=18 Moving to Node #0,1 Current State: 52:[5, 62, 15], Operations: ['95-80=15'] Exploring Operation: 62-5=57, Resulting Numbers: [15, 57] Generated Node #0,1,0: 52:[15, 57] Operation: 62-5=57 Exploring Operation: 62-15=47, Resulting Numbers: [5, 47] Generated Node #0,1,1: 52:[5, 47] Operation: 62-15=47 Exploring Operation: 5+15=20, Resulting Numbers: [62, 20] Generated Node #0,1,2: 52:[62, 20] Operation: 5+15=20 Exploring Operation: 15/5=3, Resulting Numbers: [62, 3] Generated Node #0,1,3: 52:[62, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [62, 10] Generated Node #0,1,4: 52:[62, 10] Operation: 15-5=10 Moving to Node #0,2 Current State: 52:[5, 80, 33], Operations: ['95-62=33'] Exploring Operation: 33-5=28, Resulting Numbers: [80, 28] Generated Node #0,2,0: 52:[80, 28] Operation: 33-5=28 Exploring Operation: 80-33=47, Resulting Numbers: [5, 47] Generated Node #0,2,1: 52:[5, 47] Operation: 80-33=47 Exploring Operation: 80-5=75, Resulting Numbers: [33, 75] Generated Node #0,2,2: 52:[33, 75] Operation: 80-5=75 Exploring Operation: 80/5=16, Resulting Numbers: [33, 16] Generated Node #0,2,3: 52:[33, 16] Operation: 80/5=16 Exploring Operation: 5+80=85, Resulting Numbers: [33, 85] Generated Node #0,2,4: 52:[33, 85] Operation: 5+80=85 Moving to Node #0,3 Current State: 52:[80, 62, 19], Operations: ['95/5=19'] Exploring Operation: 80-19=61, Resulting Numbers: [62, 61] Generated Node #0,3,0: 52:[62, 61] Operation: 80-19=61 Exploring Operation: 80+19=99, Resulting Numbers: [62, 99] Generated Node #0,3,1: 52:[62, 99] Operation: 80+19=99 Exploring Operation: 62+19=81, Resulting Numbers: [80, 81] Generated Node #0,3,2: 52:[80, 81] Operation: 62+19=81 Exploring Operation: 80-62=18, Resulting Numbers: [19, 18] Generated Node #0,3,3: 52:[19, 18] Operation: 80-62=18 Exploring Operation: 62-19=43, Resulting Numbers: [80, 43] Generated Node #0,3,4: 52:[80, 43] Operation: 62-19=43 Moving to Node #0,4 Current State: 52:[95, 5, 18], Operations: ['80-62=18'] Exploring Operation: 5+18=23, Resulting Numbers: [95, 23] Generated Node #0,4,0: 52:[95, 23] Operation: 5+18=23 Exploring Operation: 18-5=13, Resulting Numbers: [95, 13] Generated Node #0,4,1: 52:[95, 13] Operation: 18-5=13 Exploring Operation: 95/5=19, Resulting Numbers: [18, 19] Generated Node #0,4,2: 52:[18, 19] Operation: 95/5=19 Exploring Operation: 95-5=90, Resulting Numbers: [18, 90] Generated Node #0,4,3: 52:[18, 90] Operation: 95-5=90 Exploring Operation: 95-18=77, Resulting Numbers: [5, 77] Generated Node #0,4,4: 52:[5, 77] Operation: 95-18=77 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 52:[18, 19], Operations: ['80-62=18', '95/5=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,52 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 52:[5, 77], Operations: ['80-62=18', '95-18=77'] Exploring Operation: 5*77=385, Resulting Numbers: [385] 385,52 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 52:[95, 13], Operations: ['80-62=18', '18-5=13'] Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,52 unequal: No Solution Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 52:[18, 90], Operations: ['80-62=18', '95-5=90'] Exploring Operation: 18*90=1620, Resulting Numbers: [1620] 1620,52 unequal: No Solution Exploring Operation: 18+90=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 52:[95, 23], Operations: ['80-62=18', '5+18=23'] Exploring Operation: 95*23=2185, Resulting Numbers: [2185] 2185,52 unequal: No Solution Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 95+23=118, Resulting Numbers: [118] 118,52 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: 52:[95, 62, 16], Operations: ['80/5=16'] Exploring Operation: 62+16=78, Resulting Numbers: [95, 78] Generated Node #0,0,0: 52:[95, 78] Operation: 62+16=78 Exploring Operation: 95-62=33, Resulting Numbers: [16, 33] Generated Node #0,0,1: 52:[16, 33] Operation: 95-62=33 Exploring Operation: 62-16=46, Resulting Numbers: [95, 46] Generated Node #0,0,2: 52:[95, 46] Operation: 62-16=46 Exploring Operation: 95-16=79, Resulting Numbers: [62, 79] Generated Node #0,0,3: 52:[62, 79] Operation: 95-16=79 Exploring Operation: 95+16=111, Resulting Numbers: [62, 111] Generated Node #0,0,4: 52:[62, 111] Operation: 95+16=111 Moving to Node #0,1,1 Current State: 52:[5, 47], Operations: ['95-80=15', '62-15=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,52 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[95, 5, 80, 62], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [5, 62, 15] Generated Node #0,1: 52:[5, 62, 15] Operation: 95-80=15 Moving to Node #0,1 Current State: 52:[5, 62, 15], Operations: ['95-80=15'] Exploring Operation: 62-15=47, Resulting Numbers: [5, 47] Generated Node #0,1,1: 52:[5, 47] Operation: 62-15=47 Moving to Node #0,1,1 Current State: 52:[5, 47], Operations: ['95-80=15', '62-15=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.954861
hs_5
sum_heuristic
[ 64, 42, 99, 25 ]
52
[ "64-42=22", "99-25=74", "74-22=52" ]
Current State: 52:[64, 42, 99, 25], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [99, 25, 22] Generated Node #2: [99, 25, 22] from Operation: 64-42=22 Current State: 52:[99, 25, 22], Operations: ['64-42=22'] Exploring Operation: 99-25=74, Resulting Numbers: [22, 74] Generated Node #3: [22, 74] from Operation: 99-25=74 Current State: 52:[22, 74], Operations: ['64-42=22', '99-25=74'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[64, 42, 99, 25], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [64, 25, 57] Generated Node #0,0: 52:[64, 25, 57] Operation: 99-42=57 Exploring Operation: 99-64=35, Resulting Numbers: [42, 25, 35] Generated Node #0,1: 52:[42, 25, 35] Operation: 99-64=35 Moving to Node #0,0 Current State: 52:[64, 25, 57], Operations: ['99-42=57'] Exploring Operation: 64-25=39, Resulting Numbers: [57, 39] Generated Node #0,0,0: 52:[57, 39] Operation: 64-25=39 Exploring Operation: 64-57=7, Resulting Numbers: [25, 7] Generated Node #0,0,1: 52:[25, 7] Operation: 64-57=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[25, 7], Operations: ['99-42=57', '64-57=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[57, 39], Operations: ['99-42=57', '64-25=39'] Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,52 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,52 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: 52:[42, 25, 35], Operations: ['99-64=35'] Exploring Operation: 42-25=17, Resulting Numbers: [35, 17] Generated Node #0,1,0: 52:[35, 17] Operation: 42-25=17 Exploring Operation: 42-35=7, Resulting Numbers: [25, 7] Generated Node #0,1,1: 52:[25, 7] Operation: 42-35=7 Moving to Node #0,1,1 Current State: 52:[25, 7], Operations: ['99-64=35', '42-35=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[35, 17], Operations: ['99-64=35', '42-25=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[64, 42, 99, 25], Operations: [] Exploring Operation: 99-64=35, Resulting Numbers: [42, 25, 35] Generated Node #0,1: 52:[42, 25, 35] Operation: 99-64=35 Moving to Node #0,1 Current State: 52:[42, 25, 35], Operations: ['99-64=35'] Exploring Operation: 42-25=17, Resulting Numbers: [35, 17] Generated Node #0,1,0: 52:[35, 17] Operation: 42-25=17 Moving to Node #0,1,0 Current State: 52:[35, 17], Operations: ['99-64=35', '42-25=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 29, 56, 8, 42 ]
23
[ "56-29=27", "8+42=50", "50-27=23" ]
Current State: 23:[29, 56, 8, 42], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [8, 42, 27] Generated Node #2: [8, 42, 27] from Operation: 56-29=27 Current State: 23:[8, 42, 27], Operations: ['56-29=27'] Exploring Operation: 8+42=50, Resulting Numbers: [27, 50] Generated Node #3: [27, 50] from Operation: 8+42=50 Current State: 23:[27, 50], Operations: ['56-29=27', '8+42=50'] Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[29, 56, 8, 42], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [29, 8, 14] Generated Node #0,0: 23:[29, 8, 14] Operation: 56-42=14 Moving to Node #0,0 Current State: 23:[29, 8, 14], Operations: ['56-42=14'] Exploring Operation: 8+14=22, Resulting Numbers: [29, 22] Generated Node #0,0,0: 23:[29, 22] Operation: 8+14=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[29, 22], Operations: ['56-42=14', '8+14=22'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,23 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
[ 8, 85, 92, 18 ]
33
[ "85-8=77", "92+18=110", "110-77=33" ]
Current State: 33:[8, 85, 92, 18], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [92, 18, 77] Generated Node #2: [92, 18, 77] from Operation: 85-8=77 Current State: 33:[92, 18, 77], Operations: ['85-8=77'] Exploring Operation: 92+18=110, Resulting Numbers: [77, 110] Generated Node #3: [77, 110] from Operation: 92+18=110 Current State: 33:[77, 110], Operations: ['85-8=77', '92+18=110'] Exploring Operation: 110-77=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[8, 85, 92, 18], Operations: [] Exploring Operation: 92-8=84, Resulting Numbers: [85, 18, 84] Generated Node #0,0: 33:[85, 18, 84] Operation: 92-8=84 Exploring Operation: 85-18=67, Resulting Numbers: [8, 92, 67] Generated Node #0,1: 33:[8, 92, 67] Operation: 85-18=67 Exploring Operation: 92-18=74, Resulting Numbers: [8, 85, 74] Generated Node #0,2: 33:[8, 85, 74] Operation: 92-18=74 Exploring Operation: 85-8=77, Resulting Numbers: [92, 18, 77] Generated Node #0,3: 33:[92, 18, 77] Operation: 85-8=77 Exploring Operation: 92-85=7, Resulting Numbers: [8, 18, 7] Generated Node #0,4: 33:[8, 18, 7] Operation: 92-85=7 Moving to Node #0,4 Current State: 33:[8, 18, 7], Operations: ['92-85=7'] Exploring Operation: 18-7=11, Resulting Numbers: [8, 11] Generated Node #0,4,0: 33:[8, 11] Operation: 18-7=11 Exploring Operation: 8-7=1, Resulting Numbers: [18, 1] Generated Node #0,4,1: 33:[18, 1] Operation: 8-7=1 Exploring Operation: 8+7=15, Resulting Numbers: [18, 15] Generated Node #0,4,2: 33:[18, 15] Operation: 8+7=15 Exploring Operation: 18-8=10, Resulting Numbers: [7, 10] Generated Node #0,4,3: 33:[7, 10] Operation: 18-8=10 Exploring Operation: 8+18=26, Resulting Numbers: [7, 26] Generated Node #0,4,4: 33:[7, 26] Operation: 8+18=26 Moving to Node #0,2 Current State: 33:[8, 85, 74], Operations: ['92-18=74'] Exploring Operation: 8+74=82, Resulting Numbers: [85, 82] Generated Node #0,2,0: 33:[85, 82] Operation: 8+74=82 Exploring Operation: 85-8=77, Resulting Numbers: [74, 77] Generated Node #0,2,1: 33:[74, 77] Operation: 85-8=77 Exploring Operation: 74-8=66, Resulting Numbers: [85, 66] Generated Node #0,2,2: 33:[85, 66] Operation: 74-8=66 Exploring Operation: 85-74=11, Resulting Numbers: [8, 11] Generated Node #0,2,3: 33:[8, 11] Operation: 85-74=11 Exploring Operation: 8+85=93, Resulting Numbers: [74, 93] Generated Node #0,2,4: 33:[74, 93] Operation: 8+85=93 Moving to Node #0,1 Current State: 33:[8, 92, 67], Operations: ['85-18=67'] Exploring Operation: 92-8=84, Resulting Numbers: [67, 84] Generated Node #0,1,0: 33:[67, 84] Operation: 92-8=84 Exploring Operation: 8+92=100, Resulting Numbers: [67, 100] Generated Node #0,1,1: 33:[67, 100] Operation: 8+92=100 Exploring Operation: 92-67=25, Resulting Numbers: [8, 25] Generated Node #0,1,2: 33:[8, 25] Operation: 92-67=25 Exploring Operation: 67-8=59, Resulting Numbers: [92, 59] Generated Node #0,1,3: 33:[92, 59] Operation: 67-8=59 Exploring Operation: 8+67=75, Resulting Numbers: [92, 75] Generated Node #0,1,4: 33:[92, 75] Operation: 8+67=75 Moving to Node #0,0 Current State: 33:[85, 18, 84], Operations: ['92-8=84'] Exploring Operation: 85-84=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 33:[18, 1] Operation: 85-84=1 Exploring Operation: 85-18=67, Resulting Numbers: [84, 67] Generated Node #0,0,1: 33:[84, 67] Operation: 85-18=67 Exploring Operation: 18+84=102, Resulting Numbers: [85, 102] Generated Node #0,0,2: 33:[85, 102] Operation: 18+84=102 Exploring Operation: 84-18=66, Resulting Numbers: [85, 66] Generated Node #0,0,3: 33:[85, 66] Operation: 84-18=66 Exploring Operation: 85+18=103, Resulting Numbers: [84, 103] Generated Node #0,0,4: 33:[84, 103] Operation: 85+18=103 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[18, 1], Operations: ['92-8=84', '85-84=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[84, 67], Operations: ['92-8=84', '85-18=67'] Exploring Operation: 84*67=5628, Resulting Numbers: [5628] 5628,33 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 84+67=151, Resulting Numbers: [151] 151,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 33:[85, 66], Operations: ['92-8=84', '84-18=66'] Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 85+66=151, Resulting Numbers: [151] 151,33 unequal: No Solution Exploring Operation: 85*66=5610, Resulting Numbers: [5610] 5610,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[85, 102], Operations: ['92-8=84', '18+84=102'] Exploring Operation: 102-85=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 85+102=187, Resulting Numbers: [187] 187,33 unequal: No Solution Exploring Operation: 85*102=8670, Resulting Numbers: [8670] 8670,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 33:[84, 103], Operations: ['92-8=84', '85+18=103'] Exploring Operation: 103-84=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 84*103=8652, Resulting Numbers: [8652] 8652,33 unequal: No Solution Exploring Operation: 84+103=187, Resulting Numbers: [187] 187,33 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: 33:[92, 18, 77], Operations: ['85-8=77'] Exploring Operation: 77-18=59, Resulting Numbers: [92, 59] Generated Node #0,3,0: 33:[92, 59] Operation: 77-18=59 Exploring Operation: 18+77=95, Resulting Numbers: [92, 95] Generated Node #0,3,1: 33:[92, 95] Operation: 18+77=95 Exploring Operation: 92+18=110, Resulting Numbers: [77, 110] Generated Node #0,3,2: 33:[77, 110] Operation: 92+18=110 Exploring Operation: 92-77=15, Resulting Numbers: [18, 15] Generated Node #0,3,3: 33:[18, 15] Operation: 92-77=15 Exploring Operation: 92-18=74, Resulting Numbers: [77, 74] Generated Node #0,3,4: 33:[77, 74] Operation: 92-18=74 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[18, 15], Operations: ['85-8=77', '92-77=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[8, 85, 92, 18], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [92, 18, 77] Generated Node #0,3: 33:[92, 18, 77] Operation: 85-8=77 Moving to Node #0,3 Current State: 33:[92, 18, 77], Operations: ['85-8=77'] Exploring Operation: 92-77=15, Resulting Numbers: [18, 15] Generated Node #0,3,3: 33:[18, 15] Operation: 92-77=15 Moving to Node #0,3,3 Current State: 33:[18, 15], Operations: ['85-8=77', '92-77=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
sum_heuristic
[ 18, 52, 71, 92 ]
55
[ "52-18=34", "92-71=21", "34+21=55" ]
Current State: 55:[18, 52, 71, 92], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [71, 92, 34] Generated Node #2: [71, 92, 34] from Operation: 52-18=34 Current State: 55:[71, 92, 34], Operations: ['52-18=34'] Exploring Operation: 92-71=21, Resulting Numbers: [34, 21] Generated Node #3: [34, 21] from Operation: 92-71=21 Current State: 55:[34, 21], Operations: ['52-18=34', '92-71=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[18, 52, 71, 92], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [18, 71, 40] Generated Node #0,0: 55:[18, 71, 40] Operation: 92-52=40 Exploring Operation: 71-18=53, Resulting Numbers: [52, 92, 53] Generated Node #0,1: 55:[52, 92, 53] Operation: 71-18=53 Exploring Operation: 92-18=74, Resulting Numbers: [52, 71, 74] Generated Node #0,2: 55:[52, 71, 74] Operation: 92-18=74 Exploring Operation: 92-71=21, Resulting Numbers: [18, 52, 21] Generated Node #0,3: 55:[18, 52, 21] Operation: 92-71=21 Moving to Node #0,3 Current State: 55:[18, 52, 21], Operations: ['92-71=21'] Exploring Operation: 18+52=70, Resulting Numbers: [21, 70] Generated Node #0,3,0: 55:[21, 70] Operation: 18+52=70 Exploring Operation: 21-18=3, Resulting Numbers: [52, 3] Generated Node #0,3,1: 55:[52, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [52, 39] Generated Node #0,3,2: 55:[52, 39] Operation: 18+21=39 Exploring Operation: 52+21=73, Resulting Numbers: [18, 73] Generated Node #0,3,3: 55:[18, 73] Operation: 52+21=73 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[52, 3], Operations: ['92-71=21', '21-18=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[18, 52, 71, 92], Operations: [] Exploring Operation: 92-71=21, Resulting Numbers: [18, 52, 21] Generated Node #0,3: 55:[18, 52, 21] Operation: 92-71=21 Moving to Node #0,3 Current State: 55:[18, 52, 21], Operations: ['92-71=21'] Exploring Operation: 21-18=3, Resulting Numbers: [52, 3] Generated Node #0,3,1: 55:[52, 3] Operation: 21-18=3 Moving to Node #0,3,1 Current State: 55:[52, 3], Operations: ['92-71=21', '21-18=3'] Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 67, 92, 62, 64 ]
33
[ "67+92=159", "62+64=126", "159-126=33" ]
Current State: 33:[67, 92, 62, 64], Operations: [] Exploring Operation: 67+92=159, Resulting Numbers: [62, 64, 159] Generated Node #2: [62, 64, 159] from Operation: 67+92=159 Current State: 33:[62, 64, 159], Operations: ['67+92=159'] Exploring Operation: 62+64=126, Resulting Numbers: [159, 126] Generated Node #3: [159, 126] from Operation: 62+64=126 Current State: 33:[159, 126], Operations: ['67+92=159', '62+64=126'] Exploring Operation: 159-126=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[67, 92, 62, 64], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [67, 64, 30] Generated Node #0,0: 33:[67, 64, 30] Operation: 92-62=30 Exploring Operation: 92-67=25, Resulting Numbers: [62, 64, 25] Generated Node #0,1: 33:[62, 64, 25] Operation: 92-67=25 Moving to Node #0,0 Current State: 33:[67, 64, 30], Operations: ['92-62=30'] Exploring Operation: 67-64=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 33:[30, 3] Operation: 67-64=3 Exploring Operation: 67-30=37, Resulting Numbers: [64, 37] Generated Node #0,0,1: 33:[64, 37] Operation: 67-30=37 Moving to Node #0,1 Current State: 33:[62, 64, 25], Operations: ['92-67=25'] Exploring Operation: 62-25=37, Resulting Numbers: [64, 37] Generated Node #0,1,0: 33:[64, 37] Operation: 62-25=37 Exploring Operation: 64-62=2, Resulting Numbers: [25, 2] Generated Node #0,1,1: 33:[25, 2] Operation: 64-62=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[25, 2], Operations: ['92-67=25', '64-62=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[64, 37], Operations: ['92-67=25', '62-25=37'] Exploring Operation: 64+37=101, Resulting Numbers: [101] 101,33 unequal: No Solution Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,33 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: 33:[30, 3], Operations: ['92-62=30', '67-64=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[67, 92, 62, 64], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [67, 64, 30] Generated Node #0,0: 33:[67, 64, 30] Operation: 92-62=30 Moving to Node #0,0 Current State: 33:[67, 64, 30], Operations: ['92-62=30'] Exploring Operation: 67-64=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 33:[30, 3] Operation: 67-64=3 Moving to Node #0,0,0 Current State: 33:[30, 3], Operations: ['92-62=30', '67-64=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 82, 52, 19, 98 ]
55
[ "82+52=134", "98-19=79", "134-79=55" ]
Current State: 55:[82, 52, 19, 98], Operations: [] Exploring Operation: 82+52=134, Resulting Numbers: [19, 98, 134] Generated Node #2: [19, 98, 134] from Operation: 82+52=134 Current State: 55:[19, 98, 134], Operations: ['82+52=134'] Exploring Operation: 98-19=79, Resulting Numbers: [134, 79] Generated Node #3: [134, 79] from Operation: 98-19=79 Current State: 55:[134, 79], Operations: ['82+52=134', '98-19=79'] Exploring Operation: 134-79=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[82, 52, 19, 98], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [82, 19, 46] Generated Node #0,0: 55:[82, 19, 46] Operation: 98-52=46 Exploring Operation: 82-19=63, Resulting Numbers: [52, 98, 63] Generated Node #0,1: 55:[52, 98, 63] Operation: 82-19=63 Exploring Operation: 98-82=16, Resulting Numbers: [52, 19, 16] Generated Node #0,2: 55:[52, 19, 16] Operation: 98-82=16 Moving to Node #0,2 Current State: 55:[52, 19, 16], Operations: ['98-82=16'] Exploring Operation: 52+19=71, Resulting Numbers: [16, 71] Generated Node #0,2,0: 55:[16, 71] Operation: 52+19=71 Exploring Operation: 52+16=68, Resulting Numbers: [19, 68] Generated Node #0,2,1: 55:[19, 68] Operation: 52+16=68 Exploring Operation: 19-16=3, Resulting Numbers: [52, 3] Generated Node #0,2,2: 55:[52, 3] Operation: 19-16=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[52, 3], Operations: ['98-82=16', '19-16=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[82, 52, 19, 98], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [52, 19, 16] Generated Node #0,2: 55:[52, 19, 16] Operation: 98-82=16 Moving to Node #0,2 Current State: 55:[52, 19, 16], Operations: ['98-82=16'] Exploring Operation: 19-16=3, Resulting Numbers: [52, 3] Generated Node #0,2,2: 55:[52, 3] Operation: 19-16=3 Moving to Node #0,2,2 Current State: 55:[52, 3], Operations: ['98-82=16', '19-16=3'] Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 48, 32, 12, 69 ]
77
[ "48/12=4", "32/4=8", "69+8=77" ]
Current State: 77:[48, 32, 12, 69], Operations: [] Exploring Operation: 48/12=4, Resulting Numbers: [32, 69, 4] Generated Node #2: [32, 69, 4] from Operation: 48/12=4 Current State: 77:[32, 69, 4], Operations: ['48/12=4'] Exploring Operation: 32/4=8, Resulting Numbers: [69, 8] Generated Node #3: [69, 8] from Operation: 32/4=8 Current State: 77:[69, 8], Operations: ['48/12=4', '32/4=8'] Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[48, 32, 12, 69], Operations: [] Exploring Operation: 48/12=4, Resulting Numbers: [32, 69, 4] Generated Node #0,0: 77:[32, 69, 4] Operation: 48/12=4 Exploring Operation: 48-32=16, Resulting Numbers: [12, 69, 16] Generated Node #0,1: 77:[12, 69, 16] Operation: 48-32=16 Exploring Operation: 48+32=80, Resulting Numbers: [12, 69, 80] Generated Node #0,2: 77:[12, 69, 80] Operation: 48+32=80 Moving to Node #0,2 Current State: 77:[12, 69, 80], Operations: ['48+32=80'] Exploring Operation: 80-12=68, Resulting Numbers: [69, 68] Generated Node #0,2,0: 77:[69, 68] Operation: 80-12=68 Exploring Operation: 12+69=81, Resulting Numbers: [80, 81] Generated Node #0,2,1: 77:[80, 81] Operation: 12+69=81 Exploring Operation: 80-69=11, Resulting Numbers: [12, 11] Generated Node #0,2,2: 77:[12, 11] Operation: 80-69=11 Moving to Node #0,1 Current State: 77:[12, 69, 16], Operations: ['48-32=16'] Exploring Operation: 12+69=81, Resulting Numbers: [16, 81] Generated Node #0,1,0: 77:[16, 81] Operation: 12+69=81 Exploring Operation: 69+16=85, Resulting Numbers: [12, 85] Generated Node #0,1,1: 77:[12, 85] Operation: 69+16=85 Exploring Operation: 16-12=4, Resulting Numbers: [69, 4] Generated Node #0,1,2: 77:[69, 4] Operation: 16-12=4 Moving to Node #0,0 Current State: 77:[32, 69, 4], Operations: ['48/12=4'] Exploring Operation: 32-4=28, Resulting Numbers: [69, 28] Generated Node #0,0,0: 77:[69, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [69, 8] Generated Node #0,0,1: 77:[69, 8] Operation: 32/4=8 Exploring Operation: 69+4=73, Resulting Numbers: [32, 73] Generated Node #0,0,2: 77:[32, 73] Operation: 69+4=73 Moving to Node #0,2,2 Current State: 77:[12, 11], Operations: ['48+32=80', '80-69=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,77 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[80, 81], Operations: ['48+32=80', '12+69=81'] Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,77 unequal: No Solution Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,77 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[69, 8], Operations: ['48/12=4', '32/4=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,77 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[48, 32, 12, 69], Operations: [] Exploring Operation: 48/12=4, Resulting Numbers: [32, 69, 4] Generated Node #0,0: 77:[32, 69, 4] Operation: 48/12=4 Moving to Node #0,0 Current State: 77:[32, 69, 4], Operations: ['48/12=4'] Exploring Operation: 32/4=8, Resulting Numbers: [69, 8] Generated Node #0,0,1: 77:[69, 8] Operation: 32/4=8 Moving to Node #0,0,1 Current State: 77:[69, 8], Operations: ['48/12=4', '32/4=8'] Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.979167
hs_3
sum_heuristic
[ 84, 92, 11, 57 ]
41
[ "84+92=176", "176/11=16", "57-16=41" ]
Current State: 41:[84, 92, 11, 57], Operations: [] Exploring Operation: 84+92=176, Resulting Numbers: [11, 57, 176] Generated Node #2: [11, 57, 176] from Operation: 84+92=176 Current State: 41:[11, 57, 176], Operations: ['84+92=176'] Exploring Operation: 176/11=16, Resulting Numbers: [57, 16] Generated Node #3: [57, 16] from Operation: 176/11=16 Current State: 41:[57, 16], Operations: ['84+92=176', '176/11=16'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[84, 92, 11, 57], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [11, 57, 8] Generated Node #0,0: 41:[11, 57, 8] Operation: 92-84=8 Exploring Operation: 84-11=73, Resulting Numbers: [92, 57, 73] Generated Node #0,1: 41:[92, 57, 73] Operation: 84-11=73 Exploring Operation: 84-57=27, Resulting Numbers: [92, 11, 27] Generated Node #0,2: 41:[92, 11, 27] Operation: 84-57=27 Exploring Operation: 92-57=35, Resulting Numbers: [84, 11, 35] Generated Node #0,3: 41:[84, 11, 35] Operation: 92-57=35 Exploring Operation: 92-11=81, Resulting Numbers: [84, 57, 81] Generated Node #0,4: 41:[84, 57, 81] Operation: 92-11=81 Moving to Node #0,0 Current State: 41:[11, 57, 8], Operations: ['92-84=8'] Exploring Operation: 11+8=19, Resulting Numbers: [57, 19] Generated Node #0,0,0: 41:[57, 19] Operation: 11+8=19 Exploring Operation: 57+8=65, Resulting Numbers: [11, 65] Generated Node #0,0,1: 41:[11, 65] Operation: 57+8=65 Exploring Operation: 57-11=46, Resulting Numbers: [8, 46] Generated Node #0,0,2: 41:[8, 46] Operation: 57-11=46 Exploring Operation: 11-8=3, Resulting Numbers: [57, 3] Generated Node #0,0,3: 41:[57, 3] Operation: 11-8=3 Exploring Operation: 57-8=49, Resulting Numbers: [11, 49] Generated Node #0,0,4: 41:[11, 49] Operation: 57-8=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[57, 19], Operations: ['92-84=8', '11+8=19'] Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 57*19=1083, Resulting Numbers: [1083] 1083,41 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[8, 46], Operations: ['92-84=8', '57-11=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,41 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 41:[11, 49], Operations: ['92-84=8', '57-8=49'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,41 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[11, 65], Operations: ['92-84=8', '57+8=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,41 unequal: No Solution Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[57, 3], Operations: ['92-84=8', '11-8=3'] Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,41 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 41:[84, 11, 35], Operations: ['92-57=35'] Exploring Operation: 35-11=24, Resulting Numbers: [84, 24] Generated Node #0,3,0: 41:[84, 24] Operation: 35-11=24 Exploring Operation: 84-35=49, Resulting Numbers: [11, 49] Generated Node #0,3,1: 41:[11, 49] Operation: 84-35=49 Exploring Operation: 11+35=46, Resulting Numbers: [84, 46] Generated Node #0,3,2: 41:[84, 46] Operation: 11+35=46 Exploring Operation: 84-11=73, Resulting Numbers: [35, 73] Generated Node #0,3,3: 41:[35, 73] Operation: 84-11=73 Exploring Operation: 84+11=95, Resulting Numbers: [35, 95] Generated Node #0,3,4: 41:[35, 95] Operation: 84+11=95 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[11, 49], Operations: ['92-57=35', '84-35=49'] Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,41 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[35, 73], Operations: ['92-57=35', '84-11=73'] Exploring Operation: 35+73=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 35*73=2555, Resulting Numbers: [2555] 2555,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[84, 46], Operations: ['92-57=35', '11+35=46'] Exploring Operation: 84+46=130, Resulting Numbers: [130] 130,41 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 84*46=3864, Resulting Numbers: [3864] 3864,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[84, 24], Operations: ['92-57=35', '35-11=24'] Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,41 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 41:[35, 95], Operations: ['92-57=35', '84+11=95'] Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 35*95=3325, Resulting Numbers: [3325] 3325,41 unequal: No Solution Exploring Operation: 35+95=130, Resulting Numbers: [130] 130,41 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: 41:[92, 11, 27], Operations: ['84-57=27'] Exploring Operation: 92-27=65, Resulting Numbers: [11, 65] Generated Node #0,2,0: 41:[11, 65] Operation: 92-27=65 Exploring Operation: 11+27=38, Resulting Numbers: [92, 38] Generated Node #0,2,1: 41:[92, 38] Operation: 11+27=38 Exploring Operation: 92+11=103, Resulting Numbers: [27, 103] Generated Node #0,2,2: 41:[27, 103] Operation: 92+11=103 Exploring Operation: 92-11=81, Resulting Numbers: [27, 81] Generated Node #0,2,3: 41:[27, 81] Operation: 92-11=81 Exploring Operation: 27-11=16, Resulting Numbers: [92, 16] Generated Node #0,2,4: 41:[92, 16] Operation: 27-11=16 Moving to Node #0,1 Current State: 41:[92, 57, 73], Operations: ['84-11=73'] Exploring Operation: 92-57=35, Resulting Numbers: [73, 35] Generated Node #0,1,0: 41:[73, 35] Operation: 92-57=35 Exploring Operation: 92+57=149, Resulting Numbers: [73, 149] Generated Node #0,1,1: 41:[73, 149] Operation: 92+57=149 Exploring Operation: 92-73=19, Resulting Numbers: [57, 19] Generated Node #0,1,2: 41:[57, 19] Operation: 92-73=19 Exploring Operation: 92+73=165, Resulting Numbers: [57, 165] Generated Node #0,1,3: 41:[57, 165] Operation: 92+73=165 Exploring Operation: 73-57=16, Resulting Numbers: [92, 16] Generated Node #0,1,4: 41:[92, 16] Operation: 73-57=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[73, 35], Operations: ['84-11=73', '92-57=35'] Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[57, 19], Operations: ['84-11=73', '92-73=19'] Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 57*19=1083, Resulting Numbers: [1083] 1083,41 unequal: No Solution Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 41:[92, 16], Operations: ['84-11=73', '73-57=16'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 92*16=1472, Resulting Numbers: [1472] 1472,41 unequal: No Solution Exploring Operation: 92+16=108, Resulting Numbers: [108] 108,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[73, 149], Operations: ['84-11=73', '92+57=149'] Exploring Operation: 73*149=10877, Resulting Numbers: [10877] 10877,41 unequal: No Solution Exploring Operation: 149-73=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 73+149=222, Resulting Numbers: [222] 222,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[57, 165], Operations: ['84-11=73', '92+73=165'] Exploring Operation: 165-57=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 57+165=222, Resulting Numbers: [222] 222,41 unequal: No Solution Exploring Operation: 57*165=9405, Resulting Numbers: [9405] 9405,41 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: 41:[84, 57, 81], Operations: ['92-11=81'] Exploring Operation: 81-57=24, Resulting Numbers: [84, 24] Generated Node #0,4,0: 41:[84, 24] Operation: 81-57=24 Exploring Operation: 84-81=3, Resulting Numbers: [57, 3] Generated Node #0,4,1: 41:[57, 3] Operation: 84-81=3 Exploring Operation: 84+81=165, Resulting Numbers: [57, 165] Generated Node #0,4,2: 41:[57, 165] Operation: 84+81=165 Exploring Operation: 84-57=27, Resulting Numbers: [81, 27] Generated Node #0,4,3: 41:[81, 27] Operation: 84-57=27 Exploring Operation: 84+57=141, Resulting Numbers: [81, 141] Generated Node #0,4,4: 41:[81, 141] Operation: 84+57=141 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 41:[57, 3], Operations: ['92-11=81', '84-81=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 41:[81, 27], Operations: ['92-11=81', '84-57=27'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 81*27=2187, Resulting Numbers: [2187] 2187,41 unequal: No Solution Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 41:[84, 24], Operations: ['92-11=81', '81-57=24'] Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,41 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 41:[57, 165], Operations: ['92-11=81', '84+81=165'] Exploring Operation: 165-57=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 57*165=9405, Resulting Numbers: [9405] 9405,41 unequal: No Solution Exploring Operation: 57+165=222, Resulting Numbers: [222] 222,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 41:[81, 141], Operations: ['92-11=81', '84+57=141'] Exploring Operation: 141-81=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 81+141=222, Resulting Numbers: [222] 222,41 unequal: No Solution Exploring Operation: 81*141=11421, Resulting Numbers: [11421] 11421,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 41:[11, 65], Operations: ['84-57=27', '92-27=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,41 unequal: No Solution Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[27, 81], Operations: ['84-57=27', '92-11=81'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 27*81=2187, Resulting Numbers: [2187] 2187,41 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 27+81=108, Resulting Numbers: [108] 108,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[92, 38], Operations: ['84-57=27', '11+27=38'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 92+38=130, Resulting Numbers: [130] 130,41 unequal: No Solution Exploring Operation: 92*38=3496, Resulting Numbers: [3496] 3496,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[27, 103], Operations: ['84-57=27', '92+11=103'] Exploring Operation: 27+103=130, Resulting Numbers: [130] 130,41 unequal: No Solution Exploring Operation: 27*103=2781, Resulting Numbers: [2781] 2781,41 unequal: No Solution Exploring Operation: 103-27=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[92, 16], Operations: ['84-57=27', '27-11=16'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 92+16=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 92*16=1472, Resulting Numbers: [1472] 1472,41 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 1, 64, 1, 12 ]
77
[ "1+64=65", "1*12=12", "65+12=77" ]
Current State: 77:[1, 64, 1, 12], Operations: [] Exploring Operation: 1+64=65, Resulting Numbers: [12, 65] Generated Node #2: [12, 65] from Operation: 1+64=65 Current State: 77:[12, 65], Operations: ['1+64=65'] Exploring Operation: 1*12=12, Resulting Numbers: [65, 12] Generated Node #3: [65, 12] from Operation: 1*12=12 Current State: 77:[65, 12], Operations: ['1+64=65', '1*12=12'] Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[1, 64, 1, 12], Operations: [] Exploring Operation: 1+1=2, Resulting Numbers: [64, 12, 2] Generated Node #0,0: 77:[64, 12, 2] Operation: 1+1=2 Exploring Operation: 64+12=76, Resulting Numbers: [1, 1, 76] Generated Node #0,1: 77:[1, 1, 76] Operation: 64+12=76 Exploring Operation: 1+64=65, Resulting Numbers: [1, 12, 65] Generated Node #0,2: 77:[1, 12, 65] Operation: 1+64=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[1, 1, 76], Operations: ['64+12=76'] Exploring Operation: 1+76=77, Resulting Numbers: [1, 77] Generated Node #0,1,0: 77:[1, 77] Operation: 1+76=77 Exploring Operation: 1+76=77, Resulting Numbers: [1, 77] Generated Node #0,1,1: 77:[1, 77] Operation: 1+76=77 Exploring Operation: 1+1=2, Resulting Numbers: [76, 2] Generated Node #0,1,2: 77:[76, 2] Operation: 1+1=2 Moving to Node #0,1,0 Current State: 77:[1, 77], Operations: ['64+12=76', '1+76=77'] Exploring Operation: 1*77=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[1, 64, 1, 12], Operations: [] Exploring Operation: 64+12=76, Resulting Numbers: [1, 1, 76] Generated Node #0,1: 77:[1, 1, 76] Operation: 64+12=76 Moving to Node #0,1 Current State: 77:[1, 1, 76], Operations: ['64+12=76'] Exploring Operation: 1+76=77, Resulting Numbers: [1, 77] Generated Node #0,1,0: 77:[1, 77] Operation: 1+76=77 Moving to Node #0,1,0 Current State: 77:[1, 77], Operations: ['64+12=76', '1+76=77'] Exploring Operation: 1*77=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 53, 46, 85, 70 ]
56
[ "53+46=99", "85+70=155", "155-99=56" ]
Current State: 56:[53, 46, 85, 70], Operations: [] Exploring Operation: 53+46=99, Resulting Numbers: [85, 70, 99] Generated Node #2: [85, 70, 99] from Operation: 53+46=99 Current State: 56:[85, 70, 99], Operations: ['53+46=99'] Exploring Operation: 85+70=155, Resulting Numbers: [99, 155] Generated Node #3: [99, 155] from Operation: 85+70=155 Current State: 56:[99, 155], Operations: ['53+46=99', '85+70=155'] Exploring Operation: 155-99=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[53, 46, 85, 70], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [53, 85, 24] Generated Node #0,0: 56:[53, 85, 24] Operation: 70-46=24 Exploring Operation: 85-70=15, Resulting Numbers: [53, 46, 15] Generated Node #0,1: 56:[53, 46, 15] Operation: 85-70=15 Exploring Operation: 85-53=32, Resulting Numbers: [46, 70, 32] Generated Node #0,2: 56:[46, 70, 32] Operation: 85-53=32 Exploring Operation: 70-53=17, Resulting Numbers: [46, 85, 17] Generated Node #0,3: 56:[46, 85, 17] Operation: 70-53=17 Exploring Operation: 85-46=39, Resulting Numbers: [53, 70, 39] Generated Node #0,4: 56:[53, 70, 39] Operation: 85-46=39 Moving to Node #0,1 Current State: 56:[53, 46, 15], Operations: ['85-70=15'] Exploring Operation: 46-15=31, Resulting Numbers: [53, 31] Generated Node #0,1,0: 56:[53, 31] Operation: 46-15=31 Exploring Operation: 53-15=38, Resulting Numbers: [46, 38] Generated Node #0,1,1: 56:[46, 38] Operation: 53-15=38 Exploring Operation: 53-46=7, Resulting Numbers: [15, 7] Generated Node #0,1,2: 56:[15, 7] Operation: 53-46=7 Exploring Operation: 46+15=61, Resulting Numbers: [53, 61] Generated Node #0,1,3: 56:[53, 61] Operation: 46+15=61 Exploring Operation: 53+15=68, Resulting Numbers: [46, 68] Generated Node #0,1,4: 56:[46, 68] Operation: 53+15=68 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[15, 7], Operations: ['85-70=15', '53-46=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[53, 31], Operations: ['85-70=15', '46-15=31'] Exploring Operation: 53+31=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 53*31=1643, Resulting Numbers: [1643] 1643,56 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[53, 61], Operations: ['85-70=15', '46+15=61'] Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[46, 38], Operations: ['85-70=15', '53-15=38'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 46*38=1748, Resulting Numbers: [1748] 1748,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 56:[46, 68], Operations: ['85-70=15', '53+15=68'] Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 46*68=3128, Resulting Numbers: [3128] 3128,56 unequal: No Solution Exploring Operation: 46+68=114, Resulting Numbers: [114] 114,56 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: 56:[53, 70, 39], Operations: ['85-46=39'] Exploring Operation: 53+39=92, Resulting Numbers: [70, 92] Generated Node #0,4,0: 56:[70, 92] Operation: 53+39=92 Exploring Operation: 70+39=109, Resulting Numbers: [53, 109] Generated Node #0,4,1: 56:[53, 109] Operation: 70+39=109 Exploring Operation: 70-39=31, Resulting Numbers: [53, 31] Generated Node #0,4,2: 56:[53, 31] Operation: 70-39=31 Exploring Operation: 70-53=17, Resulting Numbers: [39, 17] Generated Node #0,4,3: 56:[39, 17] Operation: 70-53=17 Exploring Operation: 53-39=14, Resulting Numbers: [70, 14] Generated Node #0,4,4: 56:[70, 14] Operation: 53-39=14 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 56:[53, 31], Operations: ['85-46=39', '70-39=31'] Exploring Operation: 53*31=1643, Resulting Numbers: [1643] 1643,56 unequal: No Solution Exploring Operation: 53+31=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[39, 17], Operations: ['85-46=39', '70-53=17'] Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,56 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[53, 46, 85, 70], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [53, 70, 39] Generated Node #0,4: 56:[53, 70, 39] Operation: 85-46=39 Moving to Node #0,4 Current State: 56:[53, 70, 39], Operations: ['85-46=39'] Exploring Operation: 70-53=17, Resulting Numbers: [39, 17] Generated Node #0,4,3: 56:[39, 17] Operation: 70-53=17 Moving to Node #0,4,3 Current State: 56:[39, 17], Operations: ['85-46=39', '70-53=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 42, 31, 10, 6 ]
76
[ "42-31=11", "6*11=66", "10+66=76" ]
Current State: 76:[42, 31, 10, 6], Operations: [] Exploring Operation: 42-31=11, Resulting Numbers: [10, 6, 11] Generated Node #2: [10, 6, 11] from Operation: 42-31=11 Current State: 76:[10, 6, 11], Operations: ['42-31=11'] Exploring Operation: 6*11=66, Resulting Numbers: [10, 66] Generated Node #3: [10, 66] from Operation: 6*11=66 Current State: 76:[10, 66], Operations: ['42-31=11', '6*11=66'] Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[42, 31, 10, 6], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [42, 6, 21] Generated Node #0,0: 76:[42, 6, 21] Operation: 31-10=21 Moving to Node #0,0 Current State: 76:[42, 6, 21], Operations: ['31-10=21'] Exploring Operation: 42/21=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 76:[6, 2] Operation: 42/21=2 Moving to Node #0,0,0 Current State: 76:[6, 2], Operations: ['31-10=21', '42/21=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,76 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 82, 53, 13 ]
15
[ "13-4=9", "82+53=135", "135/9=15" ]
Current State: 15:[4, 82, 53, 13], Operations: [] Exploring Operation: 13-4=9, Resulting Numbers: [82, 53, 9] Generated Node #2: [82, 53, 9] from Operation: 13-4=9 Current State: 15:[82, 53, 9], Operations: ['13-4=9'] Exploring Operation: 82+53=135, Resulting Numbers: [9, 135] Generated Node #3: [9, 135] from Operation: 82+53=135 Current State: 15:[9, 135], Operations: ['13-4=9', '82+53=135'] Exploring Operation: 135/9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[4, 82, 53, 13], Operations: [] Exploring Operation: 82-53=29, Resulting Numbers: [4, 13, 29] Generated Node #0,0: 15:[4, 13, 29] Operation: 82-53=29 Exploring Operation: 82-13=69, Resulting Numbers: [4, 53, 69] Generated Node #0,1: 15:[4, 53, 69] Operation: 82-13=69 Moving to Node #0,0 Current State: 15:[4, 13, 29], Operations: ['82-53=29'] Exploring Operation: 29-13=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 15:[4, 16] Operation: 29-13=16 Exploring Operation: 29-4=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 15:[13, 25] Operation: 29-4=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[4, 16], Operations: ['82-53=29', '29-13=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[13, 25], Operations: ['82-53=29', '29-4=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,15 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: 15:[4, 53, 69], Operations: ['82-13=69'] Exploring Operation: 69-53=16, Resulting Numbers: [4, 16] Generated Node #0,1,0: 15:[4, 16] Operation: 69-53=16 Exploring Operation: 53-4=49, Resulting Numbers: [69, 49] Generated Node #0,1,1: 15:[69, 49] Operation: 53-4=49 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[4, 16], Operations: ['82-13=69', '69-53=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[69, 49], Operations: ['82-13=69', '53-4=49'] Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,15 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,15 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
[ 82, 97, 50, 55 ]
74
[ "82+97=179", "50+55=105", "179-105=74" ]
Current State: 74:[82, 97, 50, 55], Operations: [] Exploring Operation: 82+97=179, Resulting Numbers: [50, 55, 179] Generated Node #2: [50, 55, 179] from Operation: 82+97=179 Current State: 74:[50, 55, 179], Operations: ['82+97=179'] Exploring Operation: 50+55=105, Resulting Numbers: [179, 105] Generated Node #3: [179, 105] from Operation: 50+55=105 Current State: 74:[179, 105], Operations: ['82+97=179', '50+55=105'] Exploring Operation: 179-105=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[82, 97, 50, 55], Operations: [] Exploring Operation: 97-82=15, Resulting Numbers: [50, 55, 15] Generated Node #0,0: 74:[50, 55, 15] Operation: 97-82=15 Exploring Operation: 97-55=42, Resulting Numbers: [82, 50, 42] Generated Node #0,1: 74:[82, 50, 42] Operation: 97-55=42 Exploring Operation: 97-50=47, Resulting Numbers: [82, 55, 47] Generated Node #0,2: 74:[82, 55, 47] Operation: 97-50=47 Exploring Operation: 55-50=5, Resulting Numbers: [82, 97, 5] Generated Node #0,3: 74:[82, 97, 5] Operation: 55-50=5 Moving to Node #0,1 Current State: 74:[82, 50, 42], Operations: ['97-55=42'] Exploring Operation: 82-42=40, Resulting Numbers: [50, 40] Generated Node #0,1,0: 74:[50, 40] Operation: 82-42=40 Exploring Operation: 50+42=92, Resulting Numbers: [82, 92] Generated Node #0,1,1: 74:[82, 92] Operation: 50+42=92 Exploring Operation: 82-50=32, Resulting Numbers: [42, 32] Generated Node #0,1,2: 74:[42, 32] Operation: 82-50=32 Exploring Operation: 50-42=8, Resulting Numbers: [82, 8] Generated Node #0,1,3: 74:[82, 8] Operation: 50-42=8 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[42, 32], Operations: ['97-55=42', '82-50=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[82, 97, 50, 55], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [82, 50, 42] Generated Node #0,1: 74:[82, 50, 42] Operation: 97-55=42 Moving to Node #0,1 Current State: 74:[82, 50, 42], Operations: ['97-55=42'] Exploring Operation: 82-50=32, Resulting Numbers: [42, 32] Generated Node #0,1,2: 74:[42, 32] Operation: 82-50=32 Moving to Node #0,1,2 Current State: 74:[42, 32], Operations: ['97-55=42', '82-50=32'] Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 81, 86, 15, 62 ]
90
[ "81+86=167", "15+62=77", "167-77=90" ]
Current State: 90:[81, 86, 15, 62], Operations: [] Exploring Operation: 81+86=167, Resulting Numbers: [15, 62, 167] Generated Node #2: [15, 62, 167] from Operation: 81+86=167 Current State: 90:[15, 62, 167], Operations: ['81+86=167'] Exploring Operation: 15+62=77, Resulting Numbers: [167, 77] Generated Node #3: [167, 77] from Operation: 15+62=77 Current State: 90:[167, 77], Operations: ['81+86=167', '15+62=77'] Exploring Operation: 167-77=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[81, 86, 15, 62], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [81, 15, 24] Generated Node #0,0: 90:[81, 15, 24] Operation: 86-62=24 Exploring Operation: 62-15=47, Resulting Numbers: [81, 86, 47] Generated Node #0,1: 90:[81, 86, 47] Operation: 62-15=47 Exploring Operation: 86-81=5, Resulting Numbers: [15, 62, 5] Generated Node #0,2: 90:[15, 62, 5] Operation: 86-81=5 Exploring Operation: 81-62=19, Resulting Numbers: [86, 15, 19] Generated Node #0,3: 90:[86, 15, 19] Operation: 81-62=19 Moving to Node #0,3 Current State: 90:[86, 15, 19], Operations: ['81-62=19'] Exploring Operation: 86+19=105, Resulting Numbers: [15, 105] Generated Node #0,3,0: 90:[15, 105] Operation: 86+19=105 Exploring Operation: 15+19=34, Resulting Numbers: [86, 34] Generated Node #0,3,1: 90:[86, 34] Operation: 15+19=34 Exploring Operation: 86+15=101, Resulting Numbers: [19, 101] Generated Node #0,3,2: 90:[19, 101] Operation: 86+15=101 Exploring Operation: 19-15=4, Resulting Numbers: [86, 4] Generated Node #0,3,3: 90:[86, 4] Operation: 19-15=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[86, 4], Operations: ['81-62=19', '19-15=4'] Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,90 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[81, 86, 15, 62], Operations: [] Exploring Operation: 81-62=19, Resulting Numbers: [86, 15, 19] Generated Node #0,3: 90:[86, 15, 19] Operation: 81-62=19 Moving to Node #0,3 Current State: 90:[86, 15, 19], Operations: ['81-62=19'] Exploring Operation: 19-15=4, Resulting Numbers: [86, 4] Generated Node #0,3,3: 90:[86, 4] Operation: 19-15=4 Moving to Node #0,3,3 Current State: 90:[86, 4], Operations: ['81-62=19', '19-15=4'] Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 47, 92, 93, 89 ]
70
[ "93-89=4", "92/4=23", "47+23=70" ]
Current State: 70:[47, 92, 93, 89], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [47, 92, 4] Generated Node #2: [47, 92, 4] from Operation: 93-89=4 Current State: 70:[47, 92, 4], Operations: ['93-89=4'] Exploring Operation: 92/4=23, Resulting Numbers: [47, 23] Generated Node #3: [47, 23] from Operation: 92/4=23 Current State: 70:[47, 23], Operations: ['93-89=4', '92/4=23'] Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[47, 92, 93, 89], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [47, 93, 3] Generated Node #0,0: 70:[47, 93, 3] Operation: 92-89=3 Exploring Operation: 93-92=1, Resulting Numbers: [47, 89, 1] Generated Node #0,1: 70:[47, 89, 1] Operation: 93-92=1 Exploring Operation: 93-89=4, Resulting Numbers: [47, 92, 4] Generated Node #0,2: 70:[47, 92, 4] Operation: 93-89=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[47, 89, 1], Operations: ['93-92=1'] Exploring Operation: 47-1=46, Resulting Numbers: [89, 46] Generated Node #0,1,0: 70:[89, 46] Operation: 47-1=46 Exploring Operation: 89-47=42, Resulting Numbers: [1, 42] Generated Node #0,1,1: 70:[1, 42] Operation: 89-47=42 Exploring Operation: 89-1=88, Resulting Numbers: [47, 88] Generated Node #0,1,2: 70:[47, 88] Operation: 89-1=88 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[1, 42], Operations: ['93-92=1', '89-47=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[89, 46], Operations: ['93-92=1', '47-1=46'] Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,70 unequal: No Solution Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,70 unequal: No Solution Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[47, 88], Operations: ['93-92=1', '89-1=88'] Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 47+88=135, Resulting Numbers: [135] 135,70 unequal: No Solution Exploring Operation: 47*88=4136, Resulting Numbers: [4136] 4136,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[47, 92, 4], Operations: ['93-89=4'] Exploring Operation: 92/4=23, Resulting Numbers: [47, 23] Generated Node #0,2,0: 70:[47, 23] Operation: 92/4=23 Exploring Operation: 92-47=45, Resulting Numbers: [4, 45] Generated Node #0,2,1: 70:[4, 45] Operation: 92-47=45 Exploring Operation: 47-4=43, Resulting Numbers: [92, 43] Generated Node #0,2,2: 70:[92, 43] Operation: 47-4=43 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[4, 45], Operations: ['93-89=4', '92-47=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[47, 23], Operations: ['93-89=4', '92/4=23'] Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,70 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[47, 92, 93, 89], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [47, 92, 4] Generated Node #0,2: 70:[47, 92, 4] Operation: 93-89=4 Moving to Node #0,2 Current State: 70:[47, 92, 4], Operations: ['93-89=4'] Exploring Operation: 92/4=23, Resulting Numbers: [47, 23] Generated Node #0,2,0: 70:[47, 23] Operation: 92/4=23 Moving to Node #0,2,0 Current State: 70:[47, 23], Operations: ['93-89=4', '92/4=23'] Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 51, 80, 72, 87 ]
78
[ "87-51=36", "72/36=2", "80-2=78" ]
Current State: 78:[51, 80, 72, 87], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [80, 72, 36] Generated Node #2: [80, 72, 36] from Operation: 87-51=36 Current State: 78:[80, 72, 36], Operations: ['87-51=36'] Exploring Operation: 72/36=2, Resulting Numbers: [80, 2] Generated Node #3: [80, 2] from Operation: 72/36=2 Current State: 78:[80, 2], Operations: ['87-51=36', '72/36=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[51, 80, 72, 87], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [80, 72, 36] Generated Node #0,0: 78:[80, 72, 36] Operation: 87-51=36 Exploring Operation: 72-51=21, Resulting Numbers: [80, 87, 21] Generated Node #0,1: 78:[80, 87, 21] Operation: 72-51=21 Exploring Operation: 80-51=29, Resulting Numbers: [72, 87, 29] Generated Node #0,2: 78:[72, 87, 29] Operation: 80-51=29 Exploring Operation: 87-72=15, Resulting Numbers: [51, 80, 15] Generated Node #0,3: 78:[51, 80, 15] Operation: 87-72=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[80, 72, 36], Operations: ['87-51=36'] Exploring Operation: 72/36=2, Resulting Numbers: [80, 2] Generated Node #0,0,0: 78:[80, 2] Operation: 72/36=2 Exploring Operation: 80-36=44, Resulting Numbers: [72, 44] Generated Node #0,0,1: 78:[72, 44] Operation: 80-36=44 Exploring Operation: 72-36=36, Resulting Numbers: [80, 36] Generated Node #0,0,2: 78:[80, 36] Operation: 72-36=36 Exploring Operation: 80-72=8, Resulting Numbers: [36, 8] Generated Node #0,0,3: 78:[36, 8] Operation: 80-72=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[80, 2], Operations: ['87-51=36', '72/36=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,78 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[51, 80, 72, 87], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [80, 72, 36] Generated Node #0,0: 78:[80, 72, 36] Operation: 87-51=36 Moving to Node #0,0 Current State: 78:[80, 72, 36], Operations: ['87-51=36'] Exploring Operation: 72/36=2, Resulting Numbers: [80, 2] Generated Node #0,0,0: 78:[80, 2] Operation: 72/36=2 Moving to Node #0,0,0 Current State: 78:[80, 2], Operations: ['87-51=36', '72/36=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 60, 42, 33, 86 ]
17
[ "60+42=102", "33+86=119", "119-102=17" ]
Current State: 17:[60, 42, 33, 86], Operations: [] Exploring Operation: 60+42=102, Resulting Numbers: [33, 86, 102] Generated Node #2: [33, 86, 102] from Operation: 60+42=102 Current State: 17:[33, 86, 102], Operations: ['60+42=102'] Exploring Operation: 33+86=119, Resulting Numbers: [102, 119] Generated Node #3: [102, 119] from Operation: 33+86=119 Current State: 17:[102, 119], Operations: ['60+42=102', '33+86=119'] Exploring Operation: 119-102=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[60, 42, 33, 86], Operations: [] Exploring Operation: 86-60=26, Resulting Numbers: [42, 33, 26] Generated Node #0,0: 17:[42, 33, 26] Operation: 86-60=26 Exploring Operation: 60-42=18, Resulting Numbers: [33, 86, 18] Generated Node #0,1: 17:[33, 86, 18] Operation: 60-42=18 Exploring Operation: 60-33=27, Resulting Numbers: [42, 86, 27] Generated Node #0,2: 17:[42, 86, 27] Operation: 60-33=27 Exploring Operation: 86-42=44, Resulting Numbers: [60, 33, 44] Generated Node #0,3: 17:[60, 33, 44] Operation: 86-42=44 Moving to Node #0,0 Current State: 17:[42, 33, 26], Operations: ['86-60=26'] Exploring Operation: 42+33=75, Resulting Numbers: [26, 75] Generated Node #0,0,0: 17:[26, 75] Operation: 42+33=75 Exploring Operation: 42-26=16, Resulting Numbers: [33, 16] Generated Node #0,0,1: 17:[33, 16] Operation: 42-26=16 Exploring Operation: 33-26=7, Resulting Numbers: [42, 7] Generated Node #0,0,2: 17:[42, 7] Operation: 33-26=7 Exploring Operation: 42-33=9, Resulting Numbers: [26, 9] Generated Node #0,0,3: 17:[26, 9] Operation: 42-33=9 Moving to Node #0,3 Current State: 17:[60, 33, 44], Operations: ['86-42=44'] Exploring Operation: 60-44=16, Resulting Numbers: [33, 16] Generated Node #0,3,0: 17:[33, 16] Operation: 60-44=16 Exploring Operation: 60-33=27, Resulting Numbers: [44, 27] Generated Node #0,3,1: 17:[44, 27] Operation: 60-33=27 Exploring Operation: 60+33=93, Resulting Numbers: [44, 93] Generated Node #0,3,2: 17:[44, 93] Operation: 60+33=93 Exploring Operation: 44-33=11, Resulting Numbers: [60, 11] Generated Node #0,3,3: 17:[60, 11] Operation: 44-33=11 Moving to Node #0,1 Current State: 17:[33, 86, 18], Operations: ['60-42=18'] Exploring Operation: 86-18=68, Resulting Numbers: [33, 68] Generated Node #0,1,0: 17:[33, 68] Operation: 86-18=68 Exploring Operation: 86-33=53, Resulting Numbers: [18, 53] Generated Node #0,1,1: 17:[18, 53] Operation: 86-33=53 Exploring Operation: 33-18=15, Resulting Numbers: [86, 15] Generated Node #0,1,2: 17:[86, 15] Operation: 33-18=15 Exploring Operation: 33+86=119, Resulting Numbers: [18, 119] Generated Node #0,1,3: 17:[18, 119] Operation: 33+86=119 Moving to Node #0,2 Current State: 17:[42, 86, 27], Operations: ['60-33=27'] Exploring Operation: 42-27=15, Resulting Numbers: [86, 15] Generated Node #0,2,0: 17:[86, 15] Operation: 42-27=15 Exploring Operation: 42+86=128, Resulting Numbers: [27, 128] Generated Node #0,2,1: 17:[27, 128] Operation: 42+86=128 Exploring Operation: 86-42=44, Resulting Numbers: [27, 44] Generated Node #0,2,2: 17:[27, 44] Operation: 86-42=44 Exploring Operation: 86-27=59, Resulting Numbers: [42, 59] Generated Node #0,2,3: 17:[42, 59] Operation: 86-27=59 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[27, 44], Operations: ['60-33=27', '86-42=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[60, 42, 33, 86], Operations: [] Exploring Operation: 60-33=27, Resulting Numbers: [42, 86, 27] Generated Node #0,2: 17:[42, 86, 27] Operation: 60-33=27 Moving to Node #0,2 Current State: 17:[42, 86, 27], Operations: ['60-33=27'] Exploring Operation: 86-42=44, Resulting Numbers: [27, 44] Generated Node #0,2,2: 17:[27, 44] Operation: 86-42=44 Moving to Node #0,2,2 Current State: 17:[27, 44], Operations: ['60-33=27', '86-42=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 60, 48, 25, 37 ]
17
[ "48*25=1200", "1200/60=20", "37-20=17" ]
Current State: 17:[60, 48, 25, 37], Operations: [] Exploring Operation: 48*25=1200, Resulting Numbers: [60, 37, 1200] Generated Node #2: [60, 37, 1200] from Operation: 48*25=1200 Current State: 17:[60, 37, 1200], Operations: ['48*25=1200'] Exploring Operation: 1200/60=20, Resulting Numbers: [37, 20] Generated Node #3: [37, 20] from Operation: 1200/60=20 Current State: 17:[37, 20], Operations: ['48*25=1200', '1200/60=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[60, 48, 25, 37], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [25, 37, 12] Generated Node #0,0: 17:[25, 37, 12] Operation: 60-48=12 Moving to Node #0,0 Current State: 17:[25, 37, 12], Operations: ['60-48=12'] Exploring Operation: 37-25=12, Resulting Numbers: [12, 12] Generated Node #0,0,0: 17:[12, 12] Operation: 37-25=12 Moving to Node #0,0,0 Current State: 17:[12, 12], Operations: ['60-48=12', '37-25=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,17 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 10, 84, 47, 34 ]
36
[ "10+84=94", "94/47=2", "34+2=36" ]
Current State: 36:[10, 84, 47, 34], Operations: [] Exploring Operation: 10+84=94, Resulting Numbers: [47, 34, 94] Generated Node #2: [47, 34, 94] from Operation: 10+84=94 Current State: 36:[47, 34, 94], Operations: ['10+84=94'] Exploring Operation: 94/47=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 94/47=2 Current State: 36:[34, 2], Operations: ['10+84=94', '94/47=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[10, 84, 47, 34], Operations: [] Exploring Operation: 84-47=37, Resulting Numbers: [10, 34, 37] Generated Node #0,0: 36:[10, 34, 37] Operation: 84-47=37 Moving to Node #0,0 Current State: 36:[10, 34, 37], Operations: ['84-47=37'] Exploring Operation: 37-34=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 36:[10, 3] Operation: 37-34=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[10, 3], Operations: ['84-47=37', '37-34=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 12, 46, 62, 38 ]
92
[ "62-38=24", "24/12=2", "46*2=92" ]
Current State: 92:[12, 46, 62, 38], Operations: [] Exploring Operation: 62-38=24, Resulting Numbers: [12, 46, 24] Generated Node #2: [12, 46, 24] from Operation: 62-38=24 Current State: 92:[12, 46, 24], Operations: ['62-38=24'] Exploring Operation: 24/12=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 24/12=2 Current State: 92:[46, 2], Operations: ['62-38=24', '24/12=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[12, 46, 62, 38], Operations: [] Exploring Operation: 38-12=26, Resulting Numbers: [46, 62, 26] Generated Node #0,0: 92:[46, 62, 26] Operation: 38-12=26 Exploring Operation: 62+38=100, Resulting Numbers: [12, 46, 100] Generated Node #0,1: 92:[12, 46, 100] Operation: 62+38=100 Exploring Operation: 62-12=50, Resulting Numbers: [46, 38, 50] Generated Node #0,2: 92:[46, 38, 50] Operation: 62-12=50 Exploring Operation: 12+38=50, Resulting Numbers: [46, 62, 50] Generated Node #0,3: 92:[46, 62, 50] Operation: 12+38=50 Exploring Operation: 62-38=24, Resulting Numbers: [12, 46, 24] Generated Node #0,4: 92:[12, 46, 24] Operation: 62-38=24 Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[12, 46, 24], Operations: ['62-38=24'] Exploring Operation: 46-24=22, Resulting Numbers: [12, 22] Generated Node #0,4,0: 92:[12, 22] Operation: 46-24=22 Exploring Operation: 46-12=34, Resulting Numbers: [24, 34] Generated Node #0,4,1: 92:[24, 34] Operation: 46-12=34 Exploring Operation: 24-12=12, Resulting Numbers: [46, 12] Generated Node #0,4,2: 92:[46, 12] Operation: 24-12=12 Exploring Operation: 12+24=36, Resulting Numbers: [46, 36] Generated Node #0,4,3: 92:[46, 36] Operation: 12+24=36 Exploring Operation: 24/12=2, Resulting Numbers: [46, 2] Generated Node #0,4,4: 92:[46, 2] Operation: 24/12=2 Moving to Node #0,4,4 Current State: 92:[46, 2], Operations: ['62-38=24', '24/12=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[12, 46, 62, 38], Operations: [] Exploring Operation: 62-38=24, Resulting Numbers: [12, 46, 24] Generated Node #0,4: 92:[12, 46, 24] Operation: 62-38=24 Moving to Node #0,4 Current State: 92:[12, 46, 24], Operations: ['62-38=24'] Exploring Operation: 24/12=2, Resulting Numbers: [46, 2] Generated Node #0,4,4: 92:[46, 2] Operation: 24/12=2 Moving to Node #0,4,4 Current State: 92:[46, 2], Operations: ['62-38=24', '24/12=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 17, 66, 60, 51 ]
58
[ "66-17=49", "60-51=9", "49+9=58" ]
Current State: 58:[17, 66, 60, 51], Operations: [] Exploring Operation: 66-17=49, Resulting Numbers: [60, 51, 49] Generated Node #2: [60, 51, 49] from Operation: 66-17=49 Current State: 58:[60, 51, 49], Operations: ['66-17=49'] Exploring Operation: 60-51=9, Resulting Numbers: [49, 9] Generated Node #3: [49, 9] from Operation: 60-51=9 Current State: 58:[49, 9], Operations: ['66-17=49', '60-51=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[17, 66, 60, 51], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [66, 60, 3] Generated Node #0,0: 58:[66, 60, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [66, 60, 34] Generated Node #0,1: 58:[66, 60, 34] Operation: 51-17=34 Moving to Node #0,0 Current State: 58:[66, 60, 3], Operations: ['51/17=3'] Exploring Operation: 66-60=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 58:[3, 6] Operation: 66-60=6 Exploring Operation: 66-3=63, Resulting Numbers: [60, 63] Generated Node #0,0,1: 58:[60, 63] Operation: 66-3=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[3, 6], Operations: ['51/17=3', '66-60=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[60, 63], Operations: ['51/17=3', '66-3=63'] Exploring Operation: 60+63=123, Resulting Numbers: [123] 123,58 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,58 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: 58:[66, 60, 34], Operations: ['51-17=34'] Exploring Operation: 66-60=6, Resulting Numbers: [34, 6] Generated Node #0,1,0: 58:[34, 6] Operation: 66-60=6 Exploring Operation: 66-34=32, Resulting Numbers: [60, 32] Generated Node #0,1,1: 58:[60, 32] Operation: 66-34=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[60, 32], Operations: ['51-17=34', '66-34=32'] Exploring Operation: 60+32=92, Resulting Numbers: [92] 92,58 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[34, 6], Operations: ['51-17=34', '66-60=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,58 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
[ 31, 9, 70, 97 ]
13
[ "31+9=40", "97-70=27", "40-27=13" ]
Current State: 13:[31, 9, 70, 97], Operations: [] Exploring Operation: 31+9=40, Resulting Numbers: [70, 97, 40] Generated Node #2: [70, 97, 40] from Operation: 31+9=40 Current State: 13:[70, 97, 40], Operations: ['31+9=40'] Exploring Operation: 97-70=27, Resulting Numbers: [40, 27] Generated Node #3: [40, 27] from Operation: 97-70=27 Current State: 13:[40, 27], Operations: ['31+9=40', '97-70=27'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[31, 9, 70, 97], Operations: [] Exploring Operation: 97-70=27, Resulting Numbers: [31, 9, 27] Generated Node #0,0: 13:[31, 9, 27] Operation: 97-70=27 Moving to Node #0,0 Current State: 13:[31, 9, 27], Operations: ['97-70=27'] Exploring Operation: 31-27=4, Resulting Numbers: [9, 4] Generated Node #0,0,0: 13:[9, 4] Operation: 31-27=4 Moving to Node #0,0,0 Current State: 13:[9, 4], Operations: ['97-70=27', '31-27=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[31, 9, 70, 97], Operations: [] Exploring Operation: 97-70=27, Resulting Numbers: [31, 9, 27] Generated Node #0,0: 13:[31, 9, 27] Operation: 97-70=27 Moving to Node #0,0 Current State: 13:[31, 9, 27], Operations: ['97-70=27'] Exploring Operation: 31-27=4, Resulting Numbers: [9, 4] Generated Node #0,0,0: 13:[9, 4] Operation: 31-27=4 Moving to Node #0,0,0 Current State: 13:[9, 4], Operations: ['97-70=27', '31-27=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 12, 23, 23, 85 ]
51
[ "23-12=11", "85-23=62", "62-11=51" ]
Current State: 51:[12, 23, 23, 85], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [85, 11] Generated Node #2: [85, 11] from Operation: 23-12=11 Current State: 51:[85, 11], Operations: ['23-12=11'] Exploring Operation: 85-23=62, Resulting Numbers: [11, 62] Generated Node #3: [11, 62] from Operation: 85-23=62 Current State: 51:[11, 62], Operations: ['23-12=11', '85-23=62'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[12, 23, 23, 85], Operations: [] Exploring Operation: 85-23=62, Resulting Numbers: [12, 23, 62] Generated Node #0,0: 51:[12, 23, 62] Operation: 85-23=62 Exploring Operation: 85-23=62, Resulting Numbers: [12, 23, 62] Generated Node #0,1: 51:[12, 23, 62] Operation: 85-23=62 Exploring Operation: 85-12=73, Resulting Numbers: [23, 23, 73] Generated Node #0,2: 51:[23, 23, 73] Operation: 85-12=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[12, 23, 62], Operations: ['85-23=62'] Exploring Operation: 23-12=11, Resulting Numbers: [62, 11] Generated Node #0,0,0: 51:[62, 11] Operation: 23-12=11 Exploring Operation: 62-12=50, Resulting Numbers: [23, 50] Generated Node #0,0,1: 51:[23, 50] Operation: 62-12=50 Exploring Operation: 62-23=39, Resulting Numbers: [12, 39] Generated Node #0,0,2: 51:[12, 39] Operation: 62-23=39 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[23, 50], Operations: ['85-23=62', '62-12=50'] Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,51 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,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:[62, 11], Operations: ['85-23=62', '23-12=11'] Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,51 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[12, 23, 23, 85], Operations: [] Exploring Operation: 85-23=62, Resulting Numbers: [12, 23, 62] Generated Node #0,0: 51:[12, 23, 62] Operation: 85-23=62 Moving to Node #0,0 Current State: 51:[12, 23, 62], Operations: ['85-23=62'] Exploring Operation: 23-12=11, Resulting Numbers: [62, 11] Generated Node #0,0,0: 51:[62, 11] Operation: 23-12=11 Moving to Node #0,0,0 Current State: 51:[62, 11], Operations: ['85-23=62', '23-12=11'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 14, 16, 38, 80 ]
40
[ "16-14=2", "80-38=42", "42-2=40" ]
Current State: 40:[14, 16, 38, 80], Operations: [] Exploring Operation: 16-14=2, Resulting Numbers: [38, 80, 2] Generated Node #2: [38, 80, 2] from Operation: 16-14=2 Current State: 40:[38, 80, 2], Operations: ['16-14=2'] Exploring Operation: 80-38=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 80-38=42 Current State: 40:[2, 42], Operations: ['16-14=2', '80-38=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[14, 16, 38, 80], Operations: [] Exploring Operation: 80-14=66, Resulting Numbers: [16, 38, 66] Generated Node #0,0: 40:[16, 38, 66] Operation: 80-14=66 Exploring Operation: 80-16=64, Resulting Numbers: [14, 38, 64] Generated Node #0,1: 40:[14, 38, 64] Operation: 80-16=64 Exploring Operation: 80-38=42, Resulting Numbers: [14, 16, 42] Generated Node #0,2: 40:[14, 16, 42] Operation: 80-38=42 Exploring Operation: 80/16=5, Resulting Numbers: [14, 38, 5] Generated Node #0,3: 40:[14, 38, 5] Operation: 80/16=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[14, 38, 5], Operations: ['80/16=5'] Exploring Operation: 14-5=9, Resulting Numbers: [38, 9] Generated Node #0,3,0: 40:[38, 9] Operation: 14-5=9 Exploring Operation: 14+5=19, Resulting Numbers: [38, 19] Generated Node #0,3,1: 40:[38, 19] Operation: 14+5=19 Exploring Operation: 38-14=24, Resulting Numbers: [5, 24] Generated Node #0,3,2: 40:[5, 24] Operation: 38-14=24 Exploring Operation: 38+5=43, Resulting Numbers: [14, 43] Generated Node #0,3,3: 40:[14, 43] Operation: 38+5=43 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[38, 9], Operations: ['80/16=5', '14-5=9'] Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,40 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,40 unequal: No Solution No 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: 40:[38, 19], Operations: ['80/16=5', '14+5=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 38+19=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 38*19=722, Resulting Numbers: [722] 722,40 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,40 unequal: No Solution No 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: 40:[5, 24], Operations: ['80/16=5', '38-14=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,40 unequal: No Solution 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 No 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: 40:[14, 43], Operations: ['80/16=5', '38+5=43'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,40 unequal: No Solution Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,40 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: 40:[14, 16, 42], Operations: ['80-38=42'] Exploring Operation: 16-14=2, Resulting Numbers: [42, 2] Generated Node #0,2,0: 40:[42, 2] Operation: 16-14=2 Exploring Operation: 14+16=30, Resulting Numbers: [42, 30] Generated Node #0,2,1: 40:[42, 30] Operation: 14+16=30 Exploring Operation: 42/14=3, Resulting Numbers: [16, 3] Generated Node #0,2,2: 40:[16, 3] Operation: 42/14=3 Exploring Operation: 42-16=26, Resulting Numbers: [14, 26] Generated Node #0,2,3: 40:[14, 26] Operation: 42-16=26 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[42, 2], Operations: ['80-38=42', '16-14=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,40 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[14, 16, 38, 80], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [14, 16, 42] Generated Node #0,2: 40:[14, 16, 42] Operation: 80-38=42 Moving to Node #0,2 Current State: 40:[14, 16, 42], Operations: ['80-38=42'] Exploring Operation: 16-14=2, Resulting Numbers: [42, 2] Generated Node #0,2,0: 40:[42, 2] Operation: 16-14=2 Moving to Node #0,2,0 Current State: 40:[42, 2], Operations: ['80-38=42', '16-14=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 70, 8, 72, 99 ]
35
[ "70-8=62", "99-72=27", "62-27=35" ]
Current State: 35:[70, 8, 72, 99], Operations: [] Exploring Operation: 70-8=62, Resulting Numbers: [72, 99, 62] Generated Node #2: [72, 99, 62] from Operation: 70-8=62 Current State: 35:[72, 99, 62], Operations: ['70-8=62'] Exploring Operation: 99-72=27, Resulting Numbers: [62, 27] Generated Node #3: [62, 27] from Operation: 99-72=27 Current State: 35:[62, 27], Operations: ['70-8=62', '99-72=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[70, 8, 72, 99], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [70, 8, 27] Generated Node #0,0: 35:[70, 8, 27] Operation: 99-72=27 Exploring Operation: 99-70=29, Resulting Numbers: [8, 72, 29] Generated Node #0,1: 35:[8, 72, 29] Operation: 99-70=29 Moving to Node #0,0 Current State: 35:[70, 8, 27], Operations: ['99-72=27'] Exploring Operation: 70-27=43, Resulting Numbers: [8, 43] Generated Node #0,0,0: 35:[8, 43] Operation: 70-27=43 Exploring Operation: 70-8=62, Resulting Numbers: [27, 62] Generated Node #0,0,1: 35:[27, 62] Operation: 70-8=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[8, 43], Operations: ['99-72=27', '70-27=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[70, 8, 72, 99], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [70, 8, 27] Generated Node #0,0: 35:[70, 8, 27] Operation: 99-72=27 Moving to Node #0,0 Current State: 35:[70, 8, 27], Operations: ['99-72=27'] Exploring Operation: 70-27=43, Resulting Numbers: [8, 43] Generated Node #0,0,0: 35:[8, 43] Operation: 70-27=43 Moving to Node #0,0,0 Current State: 35:[8, 43], Operations: ['99-72=27', '70-27=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 15, 41, 3, 85 ]
47
[ "15+41=56", "85+56=141", "141/3=47" ]
Current State: 47:[15, 41, 3, 85], Operations: [] Exploring Operation: 15+41=56, Resulting Numbers: [3, 85, 56] Generated Node #2: [3, 85, 56] from Operation: 15+41=56 Current State: 47:[3, 85, 56], Operations: ['15+41=56'] Exploring Operation: 85+56=141, Resulting Numbers: [3, 141] Generated Node #3: [3, 141] from Operation: 85+56=141 Current State: 47:[3, 141], Operations: ['15+41=56', '85+56=141'] Exploring Operation: 141/3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[15, 41, 3, 85], Operations: [] Exploring Operation: 15*3=45, Resulting Numbers: [41, 85, 45] Generated Node #0,0: 47:[41, 85, 45] Operation: 15*3=45 Exploring Operation: 85-15=70, Resulting Numbers: [41, 3, 70] Generated Node #0,1: 47:[41, 3, 70] Operation: 85-15=70 Exploring Operation: 15+3=18, Resulting Numbers: [41, 85, 18] Generated Node #0,2: 47:[41, 85, 18] Operation: 15+3=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[41, 85, 45], Operations: ['15*3=45'] Exploring Operation: 85-45=40, Resulting Numbers: [41, 40] Generated Node #0,0,0: 47:[41, 40] Operation: 85-45=40 Exploring Operation: 41+45=86, Resulting Numbers: [85, 86] Generated Node #0,0,1: 47:[85, 86] Operation: 41+45=86 Exploring Operation: 85-41=44, Resulting Numbers: [45, 44] Generated Node #0,0,2: 47:[45, 44] Operation: 85-41=44 Moving to Node #0,0,2 Current State: 47:[45, 44], Operations: ['15*3=45', '85-41=44'] Exploring Operation: 45*44=1980, Resulting Numbers: [1980] 1980,47 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[41, 40], Operations: ['15*3=45', '85-45=40'] Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,47 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[85, 86], Operations: ['15*3=45', '41+45=86'] Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 85+86=171, Resulting Numbers: [171] 171,47 unequal: No Solution Exploring Operation: 85*86=7310, Resulting Numbers: [7310] 7310,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[41, 3, 70], Operations: ['85-15=70'] Exploring Operation: 70-3=67, Resulting Numbers: [41, 67] Generated Node #0,1,0: 47:[41, 67] Operation: 70-3=67 Exploring Operation: 41+3=44, Resulting Numbers: [70, 44] Generated Node #0,1,1: 47:[70, 44] Operation: 41+3=44 Exploring Operation: 41-3=38, Resulting Numbers: [70, 38] Generated Node #0,1,2: 47:[70, 38] Operation: 41-3=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[41, 67], Operations: ['85-15=70', '70-3=67'] Exploring Operation: 41*67=2747, Resulting Numbers: [2747] 2747,47 unequal: No Solution Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 41+67=108, Resulting Numbers: [108] 108,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[70, 44], Operations: ['85-15=70', '41+3=44'] Exploring Operation: 70+44=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 70*44=3080, Resulting Numbers: [3080] 3080,47 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[70, 38], Operations: ['85-15=70', '41-3=38'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 70*38=2660, Resulting Numbers: [2660] 2660,47 unequal: No Solution Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[41, 85, 18], Operations: ['15+3=18'] Exploring Operation: 85-41=44, Resulting Numbers: [18, 44] Generated Node #0,2,0: 47:[18, 44] Operation: 85-41=44 Exploring Operation: 41+18=59, Resulting Numbers: [85, 59] Generated Node #0,2,1: 47:[85, 59] Operation: 41+18=59 Exploring Operation: 85-18=67, Resulting Numbers: [41, 67] Generated Node #0,2,2: 47:[41, 67] Operation: 85-18=67 Moving to Node #0,2,2 Current State: 47:[41, 67], Operations: ['15+3=18', '85-18=67'] Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 41+67=108, Resulting Numbers: [108] 108,47 unequal: No Solution Exploring Operation: 41*67=2747, Resulting Numbers: [2747] 2747,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[18, 44], Operations: ['15+3=18', '85-41=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[85, 59], Operations: ['15+3=18', '41+18=59'] Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 85*59=5015, Resulting Numbers: [5015] 5015,47 unequal: No Solution Exploring Operation: 85+59=144, Resulting Numbers: [144] 144,47 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
[ 45, 37, 50, 86 ]
45
[ "37+50=87", "87-86=1", "45*1=45" ]
Current State: 45:[45, 37, 50, 86], Operations: [] Exploring Operation: 37+50=87, Resulting Numbers: [45, 86, 87] Generated Node #2: [45, 86, 87] from Operation: 37+50=87 Current State: 45:[45, 86, 87], Operations: ['37+50=87'] Exploring Operation: 87-86=1, Resulting Numbers: [45, 1] Generated Node #3: [45, 1] from Operation: 87-86=1 Current State: 45:[45, 1], Operations: ['37+50=87', '87-86=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[45, 37, 50, 86], Operations: [] Exploring Operation: 86-45=41, Resulting Numbers: [37, 50, 41] Generated Node #0,0: 45:[37, 50, 41] Operation: 86-45=41 Exploring Operation: 86-37=49, Resulting Numbers: [45, 50, 49] Generated Node #0,1: 45:[45, 50, 49] Operation: 86-37=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[45, 50, 49], Operations: ['86-37=49'] Exploring Operation: 50-49=1, Resulting Numbers: [45, 1] Generated Node #0,1,0: 45:[45, 1] Operation: 50-49=1 Exploring Operation: 50-45=5, Resulting Numbers: [49, 5] Generated Node #0,1,1: 45:[49, 5] Operation: 50-45=5 Moving to Node #0,1,0 Current State: 45:[45, 1], Operations: ['86-37=49', '50-49=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[45, 37, 50, 86], Operations: [] Exploring Operation: 86-37=49, Resulting Numbers: [45, 50, 49] Generated Node #0,1: 45:[45, 50, 49] Operation: 86-37=49 Moving to Node #0,1 Current State: 45:[45, 50, 49], Operations: ['86-37=49'] Exploring Operation: 50-49=1, Resulting Numbers: [45, 1] Generated Node #0,1,0: 45:[45, 1] Operation: 50-49=1 Moving to Node #0,1,0 Current State: 45:[45, 1], Operations: ['86-37=49', '50-49=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 52, 79, 12, 1 ]
83
[ "12+1=13", "52/13=4", "79+4=83" ]
Current State: 83:[52, 79, 12, 1], Operations: [] Exploring Operation: 12+1=13, Resulting Numbers: [52, 79, 13] Generated Node #2: [52, 79, 13] from Operation: 12+1=13 Current State: 83:[52, 79, 13], Operations: ['12+1=13'] Exploring Operation: 52/13=4, Resulting Numbers: [79, 4] Generated Node #3: [79, 4] from Operation: 52/13=4 Current State: 83:[79, 4], Operations: ['12+1=13', '52/13=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[52, 79, 12, 1], Operations: [] Exploring Operation: 52+12=64, Resulting Numbers: [79, 1, 64] Generated Node #0,0: 83:[79, 1, 64] Operation: 52+12=64 Exploring Operation: 52+1=53, Resulting Numbers: [79, 12, 53] Generated Node #0,1: 83:[79, 12, 53] Operation: 52+1=53 Exploring Operation: 79+1=80, Resulting Numbers: [52, 12, 80] Generated Node #0,2: 83:[52, 12, 80] Operation: 79+1=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[79, 1, 64], Operations: ['52+12=64'] Exploring Operation: 79+1=80, Resulting Numbers: [64, 80] Generated Node #0,0,0: 83:[64, 80] Operation: 79+1=80 Exploring Operation: 79*1=79, Resulting Numbers: [64, 79] Generated Node #0,0,1: 83:[64, 79] Operation: 79*1=79 Exploring Operation: 1+64=65, Resulting Numbers: [79, 65] Generated Node #0,0,2: 83:[79, 65] Operation: 1+64=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[64, 80], Operations: ['52+12=64', '79+1=80'] Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 64+80=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 64*80=5120, Resulting Numbers: [5120] 5120,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[79, 65], Operations: ['52+12=64', '1+64=65'] Exploring Operation: 79+65=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 79*65=5135, Resulting Numbers: [5135] 5135,83 unequal: No Solution Exploring Operation: 79-65=14, Resulting Numbers: [14] 14,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[64, 79], Operations: ['52+12=64', '79*1=79'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 64*79=5056, Resulting Numbers: [5056] 5056,83 unequal: No Solution Exploring Operation: 64+79=143, Resulting Numbers: [143] 143,83 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: 83:[79, 12, 53], Operations: ['52+1=53'] Exploring Operation: 12+53=65, Resulting Numbers: [79, 65] Generated Node #0,1,0: 83:[79, 65] Operation: 12+53=65 Exploring Operation: 79+12=91, Resulting Numbers: [53, 91] Generated Node #0,1,1: 83:[53, 91] Operation: 79+12=91 Exploring Operation: 79-12=67, Resulting Numbers: [53, 67] Generated Node #0,1,2: 83:[53, 67] Operation: 79-12=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[79, 65], Operations: ['52+1=53', '12+53=65'] Exploring Operation: 79*65=5135, Resulting Numbers: [5135] 5135,83 unequal: No Solution Exploring Operation: 79+65=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 79-65=14, Resulting Numbers: [14] 14,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[53, 91], Operations: ['52+1=53', '79+12=91'] Exploring Operation: 53+91=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 53*91=4823, Resulting Numbers: [4823] 4823,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[53, 67], Operations: ['52+1=53', '79-12=67'] Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 53*67=3551, Resulting Numbers: [3551] 3551,83 unequal: No Solution Exploring Operation: 53+67=120, Resulting Numbers: [120] 120,83 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: 83:[52, 12, 80], Operations: ['79+1=80'] Exploring Operation: 52+12=64, Resulting Numbers: [80, 64] Generated Node #0,2,0: 83:[80, 64] Operation: 52+12=64 Exploring Operation: 52-12=40, Resulting Numbers: [80, 40] Generated Node #0,2,1: 83:[80, 40] Operation: 52-12=40 Exploring Operation: 12+80=92, Resulting Numbers: [52, 92] Generated Node #0,2,2: 83:[52, 92] Operation: 12+80=92 Moving to Node #0,2,0 Current State: 83:[80, 64], Operations: ['79+1=80', '52+12=64'] Exploring Operation: 80*64=5120, Resulting Numbers: [5120] 5120,83 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 80+64=144, Resulting Numbers: [144] 144,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[52, 92], Operations: ['79+1=80', '12+80=92'] Exploring Operation: 52*92=4784, Resulting Numbers: [4784] 4784,83 unequal: No Solution Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,83 unequal: No Solution Exploring Operation: 52+92=144, Resulting Numbers: [144] 144,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[80, 40], Operations: ['79+1=80', '52-12=40'] Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,83 unequal: No Solution Exploring Operation: 80+40=120, Resulting Numbers: [120] 120,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 86, 5, 39, 46 ]
88
[ "86-5=81", "46-39=7", "81+7=88" ]
Current State: 88:[86, 5, 39, 46], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [39, 46, 81] Generated Node #2: [39, 46, 81] from Operation: 86-5=81 Current State: 88:[39, 46, 81], Operations: ['86-5=81'] Exploring Operation: 46-39=7, Resulting Numbers: [81, 7] Generated Node #3: [81, 7] from Operation: 46-39=7 Current State: 88:[81, 7], Operations: ['86-5=81', '46-39=7'] Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[86, 5, 39, 46], Operations: [] Exploring Operation: 46-39=7, Resulting Numbers: [86, 5, 7] Generated Node #0,0: 88:[86, 5, 7] Operation: 46-39=7 Exploring Operation: 39+46=85, Resulting Numbers: [86, 5, 85] Generated Node #0,1: 88:[86, 5, 85] Operation: 39+46=85 Exploring Operation: 86-39=47, Resulting Numbers: [5, 46, 47] Generated Node #0,2: 88:[5, 46, 47] Operation: 86-39=47 Exploring Operation: 5+39=44, Resulting Numbers: [86, 46, 44] Generated Node #0,3: 88:[86, 46, 44] Operation: 5+39=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[86, 5, 7], Operations: ['46-39=7'] Exploring Operation: 86+7=93, Resulting Numbers: [5, 93] Generated Node #0,0,0: 88:[5, 93] Operation: 86+7=93 Exploring Operation: 86+5=91, Resulting Numbers: [7, 91] Generated Node #0,0,1: 88:[7, 91] Operation: 86+5=91 Exploring Operation: 7-5=2, Resulting Numbers: [86, 2] Generated Node #0,0,2: 88:[86, 2] Operation: 7-5=2 Exploring Operation: 5+7=12, Resulting Numbers: [86, 12] Generated Node #0,0,3: 88:[86, 12] Operation: 5+7=12 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[86, 2], Operations: ['46-39=7', '7-5=2'] Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,88 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[86, 5, 39, 46], Operations: [] Exploring Operation: 46-39=7, Resulting Numbers: [86, 5, 7] Generated Node #0,0: 88:[86, 5, 7] Operation: 46-39=7 Moving to Node #0,0 Current State: 88:[86, 5, 7], Operations: ['46-39=7'] Exploring Operation: 7-5=2, Resulting Numbers: [86, 2] Generated Node #0,0,2: 88:[86, 2] Operation: 7-5=2 Moving to Node #0,0,2 Current State: 88:[86, 2], Operations: ['46-39=7', '7-5=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 68, 12, 28, 63 ]
71
[ "68+28=96", "96/12=8", "63+8=71" ]
Current State: 71:[68, 12, 28, 63], Operations: [] Exploring Operation: 68+28=96, Resulting Numbers: [12, 63, 96] Generated Node #2: [12, 63, 96] from Operation: 68+28=96 Current State: 71:[12, 63, 96], Operations: ['68+28=96'] Exploring Operation: 96/12=8, Resulting Numbers: [63, 8] Generated Node #3: [63, 8] from Operation: 96/12=8 Current State: 71:[63, 8], Operations: ['68+28=96', '96/12=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[68, 12, 28, 63], Operations: [] Exploring Operation: 68-12=56, Resulting Numbers: [28, 63, 56] Generated Node #0,0: 71:[28, 63, 56] Operation: 68-12=56 Exploring Operation: 12+28=40, Resulting Numbers: [68, 63, 40] Generated Node #0,1: 71:[68, 63, 40] Operation: 12+28=40 Exploring Operation: 68+12=80, Resulting Numbers: [28, 63, 80] Generated Node #0,2: 71:[28, 63, 80] Operation: 68+12=80 Exploring Operation: 12+63=75, Resulting Numbers: [68, 28, 75] Generated Node #0,3: 71:[68, 28, 75] Operation: 12+63=75 Exploring Operation: 28-12=16, Resulting Numbers: [68, 63, 16] Generated Node #0,4: 71:[68, 63, 16] Operation: 28-12=16 Moving to Node #0,1 Current State: 71:[68, 63, 40], Operations: ['12+28=40'] Exploring Operation: 63+40=103, Resulting Numbers: [68, 103] Generated Node #0,1,0: 71:[68, 103] Operation: 63+40=103 Exploring Operation: 68+40=108, Resulting Numbers: [63, 108] Generated Node #0,1,1: 71:[63, 108] Operation: 68+40=108 Exploring Operation: 63-40=23, Resulting Numbers: [68, 23] Generated Node #0,1,2: 71:[68, 23] Operation: 63-40=23 Exploring Operation: 68+63=131, Resulting Numbers: [40, 131] Generated Node #0,1,3: 71:[40, 131] Operation: 68+63=131 Exploring Operation: 68-40=28, Resulting Numbers: [63, 28] Generated Node #0,1,4: 71:[63, 28] Operation: 68-40=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[68, 103], Operations: ['12+28=40', '63+40=103'] Exploring Operation: 68+103=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 68*103=7004, Resulting Numbers: [7004] 7004,71 unequal: No Solution Exploring Operation: 103-68=35, Resulting Numbers: [35] 35,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[63, 108], Operations: ['12+28=40', '68+40=108'] Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[68, 23], Operations: ['12+28=40', '63-40=23'] Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 68+23=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 68*23=1564, Resulting Numbers: [1564] 1564,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 71:[63, 28], Operations: ['12+28=40', '68-40=28'] Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[40, 131], Operations: ['12+28=40', '68+63=131'] Exploring Operation: 40+131=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 131-40=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 40*131=5240, Resulting Numbers: [5240] 5240,71 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: 71:[68, 28, 75], Operations: ['12+63=75'] Exploring Operation: 75-68=7, Resulting Numbers: [28, 7] Generated Node #0,3,0: 71:[28, 7] Operation: 75-68=7 Exploring Operation: 68+28=96, Resulting Numbers: [75, 96] Generated Node #0,3,1: 71:[75, 96] Operation: 68+28=96 Exploring Operation: 75-28=47, Resulting Numbers: [68, 47] Generated Node #0,3,2: 71:[68, 47] Operation: 75-28=47 Exploring Operation: 68-28=40, Resulting Numbers: [75, 40] Generated Node #0,3,3: 71:[75, 40] Operation: 68-28=40 Exploring Operation: 28+75=103, Resulting Numbers: [68, 103] Generated Node #0,3,4: 71:[68, 103] Operation: 28+75=103 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 71:[68, 47], Operations: ['12+63=75', '75-28=47'] Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 68*47=3196, Resulting Numbers: [3196] 3196,71 unequal: No Solution Exploring Operation: 68+47=115, Resulting Numbers: [115] 115,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[75, 96], Operations: ['12+63=75', '68+28=96'] Exploring Operation: 75*96=7200, Resulting Numbers: [7200] 7200,71 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 75+96=171, Resulting Numbers: [171] 171,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 71:[75, 40], Operations: ['12+63=75', '68-28=40'] Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 75*40=3000, Resulting Numbers: [3000] 3000,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 71:[68, 103], Operations: ['12+63=75', '28+75=103'] Exploring Operation: 68*103=7004, Resulting Numbers: [7004] 7004,71 unequal: No Solution Exploring Operation: 68+103=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 103-68=35, Resulting Numbers: [35] 35,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 71:[28, 7], Operations: ['12+63=75', '75-68=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,71 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 71:[28, 63, 80], Operations: ['68+12=80'] Exploring Operation: 28+63=91, Resulting Numbers: [80, 91] Generated Node #0,2,0: 71:[80, 91] Operation: 28+63=91 Exploring Operation: 28+80=108, Resulting Numbers: [63, 108] Generated Node #0,2,1: 71:[63, 108] Operation: 28+80=108 Exploring Operation: 63-28=35, Resulting Numbers: [80, 35] Generated Node #0,2,2: 71:[80, 35] Operation: 63-28=35 Exploring Operation: 80-28=52, Resulting Numbers: [63, 52] Generated Node #0,2,3: 71:[63, 52] Operation: 80-28=52 Exploring Operation: 80-63=17, Resulting Numbers: [28, 17] Generated Node #0,2,4: 71:[28, 17] Operation: 80-63=17 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 71:[63, 52], Operations: ['68+12=80', '80-28=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[80, 91], Operations: ['68+12=80', '28+63=91'] Exploring Operation: 80*91=7280, Resulting Numbers: [7280] 7280,71 unequal: No Solution Exploring Operation: 80+91=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[63, 108], Operations: ['68+12=80', '28+80=108'] Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,71 unequal: No Solution Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[80, 35], Operations: ['68+12=80', '63-28=35'] Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 71:[28, 17], Operations: ['68+12=80', '80-63=17'] Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,71 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,71 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: 71:[28, 63, 56], Operations: ['68-12=56'] Exploring Operation: 28+63=91, Resulting Numbers: [56, 91] Generated Node #0,0,0: 71:[56, 91] Operation: 28+63=91 Exploring Operation: 63-28=35, Resulting Numbers: [56, 35] Generated Node #0,0,1: 71:[56, 35] Operation: 63-28=35 Exploring Operation: 56-28=28, Resulting Numbers: [63, 28] Generated Node #0,0,2: 71:[63, 28] Operation: 56-28=28 Exploring Operation: 28+56=84, Resulting Numbers: [63, 84] Generated Node #0,0,3: 71:[63, 84] Operation: 28+56=84 Exploring Operation: 56/28=2, Resulting Numbers: [63, 2] Generated Node #0,0,4: 71:[63, 2] Operation: 56/28=2 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[63, 84], Operations: ['68-12=56', '28+56=84'] Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 63*84=5292, Resulting Numbers: [5292] 5292,71 unequal: No Solution Exploring Operation: 63+84=147, Resulting Numbers: [147] 147,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[56, 91], Operations: ['68-12=56', '28+63=91'] Exploring Operation: 91-56=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 56+91=147, Resulting Numbers: [147] 147,71 unequal: No Solution Exploring Operation: 56*91=5096, Resulting Numbers: [5096] 5096,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[56, 35], Operations: ['68-12=56', '63-28=35'] Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[63, 28], Operations: ['68-12=56', '56-28=28'] Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,71 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 71:[63, 2], Operations: ['68-12=56', '56/28=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 71:[68, 63, 16], Operations: ['28-12=16'] Exploring Operation: 68-16=52, Resulting Numbers: [63, 52] Generated Node #0,4,0: 71:[63, 52] Operation: 68-16=52 Exploring Operation: 68+63=131, Resulting Numbers: [16, 131] Generated Node #0,4,1: 71:[16, 131] Operation: 68+63=131 Exploring Operation: 63-16=47, Resulting Numbers: [68, 47] Generated Node #0,4,2: 71:[68, 47] Operation: 63-16=47 Exploring Operation: 63+16=79, Resulting Numbers: [68, 79] Generated Node #0,4,3: 71:[68, 79] Operation: 63+16=79 Exploring Operation: 68+16=84, Resulting Numbers: [63, 84] Generated Node #0,4,4: 71:[63, 84] Operation: 68+16=84 Moving to Node #0,4,3 Current State: 71:[68, 79], Operations: ['28-12=16', '63+16=79'] Exploring Operation: 68*79=5372, Resulting Numbers: [5372] 5372,71 unequal: No Solution Exploring Operation: 68+79=147, Resulting Numbers: [147] 147,71 unequal: No Solution Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[63, 84], Operations: ['28-12=16', '68+16=84'] Exploring Operation: 63+84=147, Resulting Numbers: [147] 147,71 unequal: No Solution Exploring Operation: 63*84=5292, Resulting Numbers: [5292] 5292,71 unequal: No Solution Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[63, 52], Operations: ['28-12=16', '68-16=52'] Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,71 unequal: No Solution Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[68, 47], Operations: ['28-12=16', '63-16=47'] Exploring Operation: 68*47=3196, Resulting Numbers: [3196] 3196,71 unequal: No Solution Exploring Operation: 68+47=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[16, 131], Operations: ['28-12=16', '68+63=131'] Exploring Operation: 16*131=2096, Resulting Numbers: [2096] 2096,71 unequal: No Solution Exploring Operation: 16+131=147, Resulting Numbers: [147] 147,71 unequal: No Solution Exploring Operation: 131-16=115, Resulting Numbers: [115] 115,71 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 77, 14, 99 ]
95
[ "77+14=91", "99+91=190", "190/2=95" ]
Current State: 95:[2, 77, 14, 99], Operations: [] Exploring Operation: 77+14=91, Resulting Numbers: [2, 99, 91] Generated Node #2: [2, 99, 91] from Operation: 77+14=91 Current State: 95:[2, 99, 91], Operations: ['77+14=91'] Exploring Operation: 99+91=190, Resulting Numbers: [2, 190] Generated Node #3: [2, 190] from Operation: 99+91=190 Current State: 95:[2, 190], Operations: ['77+14=91', '99+91=190'] Exploring Operation: 190/2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[2, 77, 14, 99], Operations: [] Exploring Operation: 77+14=91, Resulting Numbers: [2, 99, 91] Generated Node #0,0: 95:[2, 99, 91] Operation: 77+14=91 Exploring Operation: 99-77=22, Resulting Numbers: [2, 14, 22] Generated Node #0,1: 95:[2, 14, 22] Operation: 99-77=22 Moving to Node #0,0 Current State: 95:[2, 99, 91], Operations: ['77+14=91'] Exploring Operation: 99-2=97, Resulting Numbers: [91, 97] Generated Node #0,0,0: 95:[91, 97] Operation: 99-2=97 Exploring Operation: 2+91=93, Resulting Numbers: [99, 93] Generated Node #0,0,1: 95:[99, 93] Operation: 2+91=93 Moving to Node #0,1 Current State: 95:[2, 14, 22], Operations: ['99-77=22'] Exploring Operation: 14/2=7, Resulting Numbers: [22, 7] Generated Node #0,1,0: 95:[22, 7] Operation: 14/2=7 Exploring Operation: 2+14=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 95:[22, 16] Operation: 2+14=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[22, 7], Operations: ['99-77=22', '14/2=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[22, 16], Operations: ['99-77=22', '2+14=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,95 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: 95:[91, 97], Operations: ['77+14=91', '99-2=97'] Exploring Operation: 91+97=188, Resulting Numbers: [188] 188,95 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[99, 93], Operations: ['77+14=91', '2+91=93'] Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 99+93=192, Resulting Numbers: [192] 192,95 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 55, 84, 79, 18 ]
29
[ "84-79=5", "55/5=11", "18+11=29" ]
Current State: 29:[55, 84, 79, 18], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [55, 18, 5] Generated Node #2: [55, 18, 5] from Operation: 84-79=5 Current State: 29:[55, 18, 5], Operations: ['84-79=5'] Exploring Operation: 55/5=11, Resulting Numbers: [18, 11] Generated Node #3: [18, 11] from Operation: 55/5=11 Current State: 29:[18, 11], Operations: ['84-79=5', '55/5=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[55, 84, 79, 18], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [79, 18, 29] Generated Node #0,0: 29:[79, 18, 29] Operation: 84-55=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[79, 18, 29], Operations: ['84-55=29'] Exploring Operation: 79-18=61, Resulting Numbers: [29, 61] Generated Node #0,0,0: 29:[29, 61] Operation: 79-18=61 Moving to Node #0,0,0 Current State: 29:[29, 61], Operations: ['84-55=29', '79-18=61'] Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,29 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
[ 54, 40, 40, 6 ]
47
[ "54-6=48", "40/40=1", "48-1=47" ]
Current State: 47:[54, 40, 40, 6], Operations: [] Exploring Operation: 54-6=48, Resulting Numbers: [40, 40, 48] Generated Node #2: [40, 40, 48] from Operation: 54-6=48 Current State: 47:[40, 40, 48], Operations: ['54-6=48'] Exploring Operation: 40/40=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 40/40=1 Current State: 47:[48, 1], Operations: ['54-6=48', '40/40=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[54, 40, 40, 6], Operations: [] Exploring Operation: 40+6=46, Resulting Numbers: [54, 40, 46] Generated Node #0,0: 47:[54, 40, 46] Operation: 40+6=46 Exploring Operation: 54-6=48, Resulting Numbers: [40, 40, 48] Generated Node #0,1: 47:[40, 40, 48] Operation: 54-6=48 Moving to Node #0,0 Current State: 47:[54, 40, 46], Operations: ['40+6=46'] Exploring Operation: 54-46=8, Resulting Numbers: [40, 8] Generated Node #0,0,0: 47:[40, 8] Operation: 54-46=8 Exploring Operation: 54-40=14, Resulting Numbers: [46, 14] Generated Node #0,0,1: 47:[46, 14] Operation: 54-40=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[46, 14], Operations: ['40+6=46', '54-40=14'] Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[40, 8], Operations: ['40+6=46', '54-46=8'] Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,47 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: 47:[40, 40, 48], Operations: ['54-6=48'] Exploring Operation: 48-40=8, Resulting Numbers: [40, 8] Generated Node #0,1,0: 47:[40, 8] Operation: 48-40=8 Exploring Operation: 40+40=80, Resulting Numbers: [48, 80] Generated Node #0,1,1: 47:[48, 80] Operation: 40+40=80 Moving to Node #0,1,1 Current State: 47:[48, 80], Operations: ['54-6=48', '40+40=80'] Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 48+80=128, Resulting Numbers: [128] 128,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[40, 8], Operations: ['54-6=48', '48-40=8'] Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,47 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 64, 55, 20, 83 ]
97
[ "64-55=9", "20*9=180", "180-83=97" ]
Current State: 97:[64, 55, 20, 83], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [20, 83, 9] Generated Node #2: [20, 83, 9] from Operation: 64-55=9 Current State: 97:[20, 83, 9], Operations: ['64-55=9'] Exploring Operation: 20*9=180, Resulting Numbers: [83, 180] Generated Node #3: [83, 180] from Operation: 20*9=180 Current State: 97:[83, 180], Operations: ['64-55=9', '20*9=180'] Exploring Operation: 180-83=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[64, 55, 20, 83], Operations: [] Exploring Operation: 64-20=44, Resulting Numbers: [55, 83, 44] Generated Node #0,0: 97:[55, 83, 44] Operation: 64-20=44 Exploring Operation: 55+20=75, Resulting Numbers: [64, 83, 75] Generated Node #0,1: 97:[64, 83, 75] Operation: 55+20=75 Exploring Operation: 20+83=103, Resulting Numbers: [64, 55, 103] Generated Node #0,2: 97:[64, 55, 103] Operation: 20+83=103 Exploring Operation: 64+20=84, Resulting Numbers: [55, 83, 84] Generated Node #0,3: 97:[55, 83, 84] Operation: 64+20=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[64, 83, 75], Operations: ['55+20=75'] Exploring Operation: 64+75=139, Resulting Numbers: [83, 139] Generated Node #0,1,0: 97:[83, 139] Operation: 64+75=139 Exploring Operation: 83-64=19, Resulting Numbers: [75, 19] Generated Node #0,1,1: 97:[75, 19] Operation: 83-64=19 Exploring Operation: 83+75=158, Resulting Numbers: [64, 158] Generated Node #0,1,2: 97:[64, 158] Operation: 83+75=158 Exploring Operation: 64+83=147, Resulting Numbers: [75, 147] Generated Node #0,1,3: 97:[75, 147] Operation: 64+83=147 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[83, 139], Operations: ['55+20=75', '64+75=139'] Exploring Operation: 83+139=222, Resulting Numbers: [222] 222,97 unequal: No Solution Exploring Operation: 139-83=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 83*139=11537, Resulting Numbers: [11537] 11537,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 97:[75, 147], Operations: ['55+20=75', '64+83=147'] Exploring Operation: 75+147=222, Resulting Numbers: [222] 222,97 unequal: No Solution Exploring Operation: 147-75=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 75*147=11025, Resulting Numbers: [11025] 11025,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[64, 158], Operations: ['55+20=75', '83+75=158'] Exploring Operation: 64+158=222, Resulting Numbers: [222] 222,97 unequal: No Solution Exploring Operation: 158-64=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 64*158=10112, Resulting Numbers: [10112] 10112,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[75, 19], Operations: ['55+20=75', '83-64=19'] Exploring Operation: 75+19=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 75*19=1425, Resulting Numbers: [1425] 1425,97 unequal: No Solution Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[55, 83, 84], Operations: ['64+20=84'] Exploring Operation: 84-55=29, Resulting Numbers: [83, 29] Generated Node #0,3,0: 97:[83, 29] Operation: 84-55=29 Exploring Operation: 55+84=139, Resulting Numbers: [83, 139] Generated Node #0,3,1: 97:[83, 139] Operation: 55+84=139 Exploring Operation: 55+83=138, Resulting Numbers: [84, 138] Generated Node #0,3,2: 97:[84, 138] Operation: 55+83=138 Exploring Operation: 83-55=28, Resulting Numbers: [84, 28] Generated Node #0,3,3: 97:[84, 28] Operation: 83-55=28 Moving to Node #0,3,2 Current State: 97:[84, 138], Operations: ['64+20=84', '55+83=138'] Exploring Operation: 138-84=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 84+138=222, Resulting Numbers: [222] 222,97 unequal: No Solution Exploring Operation: 84*138=11592, Resulting Numbers: [11592] 11592,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[83, 139], Operations: ['64+20=84', '55+84=139'] Exploring Operation: 83+139=222, Resulting Numbers: [222] 222,97 unequal: No Solution Exploring Operation: 139-83=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 83*139=11537, Resulting Numbers: [11537] 11537,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[84, 28], Operations: ['64+20=84', '83-55=28'] Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 84*28=2352, Resulting Numbers: [2352] 2352,97 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[83, 29], Operations: ['64+20=84', '84-55=29'] Exploring Operation: 83+29=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 83*29=2407, Resulting Numbers: [2407] 2407,97 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[64, 55, 103], Operations: ['20+83=103'] Exploring Operation: 64-55=9, Resulting Numbers: [103, 9] Generated Node #0,2,0: 97:[103, 9] Operation: 64-55=9 Exploring Operation: 103-55=48, Resulting Numbers: [64, 48] Generated Node #0,2,1: 97:[64, 48] Operation: 103-55=48 Exploring Operation: 55+103=158, Resulting Numbers: [64, 158] Generated Node #0,2,2: 97:[64, 158] Operation: 55+103=158 Exploring Operation: 64+55=119, Resulting Numbers: [103, 119] Generated Node #0,2,3: 97:[103, 119] Operation: 64+55=119 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[103, 119], Operations: ['20+83=103', '64+55=119'] Exploring Operation: 103*119=12257, Resulting Numbers: [12257] 12257,97 unequal: No Solution Exploring Operation: 103+119=222, Resulting Numbers: [222] 222,97 unequal: No Solution Exploring Operation: 119-103=16, Resulting Numbers: [16] 16,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[64, 48], Operations: ['20+83=103', '103-55=48'] Exploring Operation: 64+48=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 64*48=3072, Resulting Numbers: [3072] 3072,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[103, 9], Operations: ['20+83=103', '64-55=9'] Exploring Operation: 103*9=927, Resulting Numbers: [927] 927,97 unequal: No Solution Exploring Operation: 103+9=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 103-9=94, Resulting Numbers: [94] 94,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[64, 158], Operations: ['20+83=103', '55+103=158'] Exploring Operation: 158-64=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 64*158=10112, Resulting Numbers: [10112] 10112,97 unequal: No Solution Exploring Operation: 64+158=222, Resulting Numbers: [222] 222,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[55, 83, 44], Operations: ['64-20=44'] Exploring Operation: 83+44=127, Resulting Numbers: [55, 127] Generated Node #0,0,0: 97:[55, 127] Operation: 83+44=127 Exploring Operation: 55+44=99, Resulting Numbers: [83, 99] Generated Node #0,0,1: 97:[83, 99] Operation: 55+44=99 Exploring Operation: 55-44=11, Resulting Numbers: [83, 11] Generated Node #0,0,2: 97:[83, 11] Operation: 55-44=11 Exploring Operation: 55+83=138, Resulting Numbers: [44, 138] Generated Node #0,0,3: 97:[44, 138] Operation: 55+83=138 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[83, 99], Operations: ['64-20=44', '55+44=99'] Exploring Operation: 83+99=182, Resulting Numbers: [182] 182,97 unequal: No Solution Exploring Operation: 83*99=8217, Resulting Numbers: [8217] 8217,97 unequal: No Solution Exploring Operation: 99-83=16, Resulting Numbers: [16] 16,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[55, 127], Operations: ['64-20=44', '83+44=127'] Exploring Operation: 55*127=6985, Resulting Numbers: [6985] 6985,97 unequal: No Solution Exploring Operation: 55+127=182, Resulting Numbers: [182] 182,97 unequal: No Solution Exploring Operation: 127-55=72, Resulting Numbers: [72] 72,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[44, 138], Operations: ['64-20=44', '55+83=138'] Exploring Operation: 138-44=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 44*138=6072, Resulting Numbers: [6072] 6072,97 unequal: No Solution Exploring Operation: 44+138=182, Resulting Numbers: [182] 182,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[83, 11], Operations: ['64-20=44', '55-44=11'] Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,97 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 96, 20, 76, 4 ]
81
[ "96+4=100", "100/20=5", "76+5=81" ]
Current State: 81:[96, 20, 76, 4], Operations: [] Exploring Operation: 96+4=100, Resulting Numbers: [20, 76, 100] Generated Node #2: [20, 76, 100] from Operation: 96+4=100 Current State: 81:[20, 76, 100], Operations: ['96+4=100'] Exploring Operation: 100/20=5, Resulting Numbers: [76, 5] Generated Node #3: [76, 5] from Operation: 100/20=5 Current State: 81:[76, 5], Operations: ['96+4=100', '100/20=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[96, 20, 76, 4], Operations: [] Exploring Operation: 96-20=76, Resulting Numbers: [76, 4, 76] Generated Node #0,0: 81:[76, 4, 76] Operation: 96-20=76 Moving to Node #0,0 Current State: 81:[76, 4, 76], Operations: ['96-20=76'] Exploring Operation: 76/76=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 81:[4, 1] Operation: 76/76=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[4, 1], Operations: ['96-20=76', '76/76=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 22, 32, 18, 16 ]
56
[ "22+32=54", "18-16=2", "54+2=56" ]
Current State: 56:[22, 32, 18, 16], Operations: [] Exploring Operation: 22+32=54, Resulting Numbers: [18, 16, 54] Generated Node #2: [18, 16, 54] from Operation: 22+32=54 Current State: 56:[18, 16, 54], Operations: ['22+32=54'] Exploring Operation: 18-16=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 18-16=2 Current State: 56:[54, 2], Operations: ['22+32=54', '18-16=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[22, 32, 18, 16], Operations: [] Exploring Operation: 32-18=14, Resulting Numbers: [22, 16, 14] Generated Node #0,0: 56:[22, 16, 14] Operation: 32-18=14 Exploring Operation: 22+32=54, Resulting Numbers: [18, 16, 54] Generated Node #0,1: 56:[18, 16, 54] Operation: 22+32=54 Exploring Operation: 22-16=6, Resulting Numbers: [32, 18, 6] Generated Node #0,2: 56:[32, 18, 6] Operation: 22-16=6 Exploring Operation: 22-18=4, Resulting Numbers: [32, 16, 4] Generated Node #0,3: 56:[32, 16, 4] Operation: 22-18=4 Exploring Operation: 32-22=10, Resulting Numbers: [18, 16, 10] Generated Node #0,4: 56:[18, 16, 10] Operation: 32-22=10 Moving to Node #0,3 Current State: 56:[32, 16, 4], Operations: ['22-18=4'] Exploring Operation: 32-16=16, Resulting Numbers: [4, 16] Generated Node #0,3,0: 56:[4, 16] Operation: 32-16=16 Exploring Operation: 32-4=28, Resulting Numbers: [16, 28] Generated Node #0,3,1: 56:[16, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [16, 8] Generated Node #0,3,2: 56:[16, 8] Operation: 32/4=8 Exploring Operation: 32/16=2, Resulting Numbers: [4, 2] Generated Node #0,3,3: 56:[4, 2] Operation: 32/16=2 Exploring Operation: 16/4=4, Resulting Numbers: [32, 4] Generated Node #0,3,4: 56:[32, 4] Operation: 16/4=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[4, 2], Operations: ['22-18=4', '32/16=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[4, 16], Operations: ['22-18=4', '32-16=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[16, 28], Operations: ['22-18=4', '32-4=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,56 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[16, 8], Operations: ['22-18=4', '32/4=8'] Exploring Operation: 16*8=128, Resulting Numbers: [128] 128,56 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[32, 4], Operations: ['22-18=4', '16/4=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,56 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,56 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: 56:[18, 16, 54], Operations: ['22+32=54'] Exploring Operation: 18+16=34, Resulting Numbers: [54, 34] Generated Node #0,1,0: 56:[54, 34] Operation: 18+16=34 Exploring Operation: 54-16=38, Resulting Numbers: [18, 38] Generated Node #0,1,1: 56:[18, 38] Operation: 54-16=38 Exploring Operation: 54/18=3, Resulting Numbers: [16, 3] Generated Node #0,1,2: 56:[16, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [16, 36] Generated Node #0,1,3: 56:[16, 36] Operation: 54-18=36 Exploring Operation: 18-16=2, Resulting Numbers: [54, 2] Generated Node #0,1,4: 56:[54, 2] Operation: 18-16=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 56:[54, 2], Operations: ['22+32=54', '18-16=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[22, 32, 18, 16], Operations: [] Exploring Operation: 22+32=54, Resulting Numbers: [18, 16, 54] Generated Node #0,1: 56:[18, 16, 54] Operation: 22+32=54 Moving to Node #0,1 Current State: 56:[18, 16, 54], Operations: ['22+32=54'] Exploring Operation: 18-16=2, Resulting Numbers: [54, 2] Generated Node #0,1,4: 56:[54, 2] Operation: 18-16=2 Moving to Node #0,1,4 Current State: 56:[54, 2], Operations: ['22+32=54', '18-16=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 55, 2, 22, 17 ]
28
[ "55+17=72", "2*22=44", "72-44=28" ]
Current State: 28:[55, 2, 22, 17], Operations: [] Exploring Operation: 55+17=72, Resulting Numbers: [2, 22, 72] Generated Node #2: [2, 22, 72] from Operation: 55+17=72 Current State: 28:[2, 22, 72], Operations: ['55+17=72'] Exploring Operation: 2*22=44, Resulting Numbers: [72, 44] Generated Node #3: [72, 44] from Operation: 2*22=44 Current State: 28:[72, 44], Operations: ['55+17=72', '2*22=44'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[55, 2, 22, 17], Operations: [] Exploring Operation: 55-22=33, Resulting Numbers: [2, 17, 33] Generated Node #0,0: 28:[2, 17, 33] Operation: 55-22=33 Exploring Operation: 55-17=38, Resulting Numbers: [2, 22, 38] Generated Node #0,1: 28:[2, 22, 38] Operation: 55-17=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[2, 17, 33], Operations: ['55-22=33'] Exploring Operation: 17-2=15, Resulting Numbers: [33, 15] Generated Node #0,0,0: 28:[33, 15] Operation: 17-2=15 Exploring Operation: 33-17=16, Resulting Numbers: [2, 16] Generated Node #0,0,1: 28:[2, 16] Operation: 33-17=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[2, 16], Operations: ['55-22=33', '33-17=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,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,0,0 Current State: 28:[33, 15], Operations: ['55-22=33', '17-2=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,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,1 Current State: 28:[2, 22, 38], Operations: ['55-17=38'] Exploring Operation: 38/2=19, Resulting Numbers: [22, 19] Generated Node #0,1,0: 28:[22, 19] Operation: 38/2=19 Exploring Operation: 38-22=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 28:[2, 16] Operation: 38-22=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[2, 16], Operations: ['55-17=38', '38-22=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 16-2=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,1,0 Current State: 28:[22, 19], Operations: ['55-17=38', '38/2=19'] Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,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_2
sum_heuristic
[ 56, 74, 5, 43 ]
69
[ "56+74=130", "130/5=26", "43+26=69" ]
Current State: 69:[56, 74, 5, 43], Operations: [] Exploring Operation: 56+74=130, Resulting Numbers: [5, 43, 130] Generated Node #2: [5, 43, 130] from Operation: 56+74=130 Current State: 69:[5, 43, 130], Operations: ['56+74=130'] Exploring Operation: 130/5=26, Resulting Numbers: [43, 26] Generated Node #3: [43, 26] from Operation: 130/5=26 Current State: 69:[43, 26], Operations: ['56+74=130', '130/5=26'] Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[56, 74, 5, 43], Operations: [] Exploring Operation: 74-56=18, Resulting Numbers: [5, 43, 18] Generated Node #0,0: 69:[5, 43, 18] Operation: 74-56=18 Exploring Operation: 56-43=13, Resulting Numbers: [74, 5, 13] Generated Node #0,1: 69:[74, 5, 13] Operation: 56-43=13 Exploring Operation: 74-5=69, Resulting Numbers: [56, 43, 69] Generated Node #0,2: 69:[56, 43, 69] Operation: 74-5=69 Exploring Operation: 56+5=61, Resulting Numbers: [74, 43, 61] Generated Node #0,3: 69:[74, 43, 61] Operation: 56+5=61 Exploring Operation: 74-43=31, Resulting Numbers: [56, 5, 31] Generated Node #0,4: 69:[56, 5, 31] Operation: 74-43=31 Moving to Node #0,1 Current State: 69:[74, 5, 13], Operations: ['56-43=13'] Exploring Operation: 5+13=18, Resulting Numbers: [74, 18] Generated Node #0,1,0: 69:[74, 18] Operation: 5+13=18 Exploring Operation: 13-5=8, Resulting Numbers: [74, 8] Generated Node #0,1,1: 69:[74, 8] Operation: 13-5=8 Exploring Operation: 5*13=65, Resulting Numbers: [74, 65] Generated Node #0,1,2: 69:[74, 65] Operation: 5*13=65 Exploring Operation: 74-13=61, Resulting Numbers: [5, 61] Generated Node #0,1,3: 69:[5, 61] Operation: 74-13=61 Exploring Operation: 74-5=69, Resulting Numbers: [13, 69] Generated Node #0,1,4: 69:[13, 69] Operation: 74-5=69 Moving to Node #0,4 Current State: 69:[56, 5, 31], Operations: ['74-43=31'] Exploring Operation: 56-31=25, Resulting Numbers: [5, 25] Generated Node #0,4,0: 69:[5, 25] Operation: 56-31=25 Exploring Operation: 31-5=26, Resulting Numbers: [56, 26] Generated Node #0,4,1: 69:[56, 26] Operation: 31-5=26 Exploring Operation: 56+5=61, Resulting Numbers: [31, 61] Generated Node #0,4,2: 69:[31, 61] Operation: 56+5=61 Exploring Operation: 56-5=51, Resulting Numbers: [31, 51] Generated Node #0,4,3: 69:[31, 51] Operation: 56-5=51 Exploring Operation: 56+31=87, Resulting Numbers: [5, 87] Generated Node #0,4,4: 69:[5, 87] Operation: 56+31=87 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 69:[5, 25], Operations: ['74-43=31', '56-31=25'] Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,69 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 69:[56, 26], Operations: ['74-43=31', '31-5=26'] Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 69:[31, 61], Operations: ['74-43=31', '56+5=61'] Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 31*61=1891, Resulting Numbers: [1891] 1891,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 69:[5, 87], Operations: ['74-43=31', '56+31=87'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 5*87=435, Resulting Numbers: [435] 435,69 unequal: No Solution Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 69:[31, 51], Operations: ['74-43=31', '56-5=51'] Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,69 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 69:[5, 43, 18], Operations: ['74-56=18'] Exploring Operation: 43-5=38, Resulting Numbers: [18, 38] Generated Node #0,0,0: 69:[18, 38] Operation: 43-5=38 Exploring Operation: 43-18=25, Resulting Numbers: [5, 25] Generated Node #0,0,1: 69:[5, 25] Operation: 43-18=25 Exploring Operation: 5+18=23, Resulting Numbers: [43, 23] Generated Node #0,0,2: 69:[43, 23] Operation: 5+18=23 Exploring Operation: 43+18=61, Resulting Numbers: [5, 61] Generated Node #0,0,3: 69:[5, 61] Operation: 43+18=61 Exploring Operation: 5+43=48, Resulting Numbers: [18, 48] Generated Node #0,0,4: 69:[18, 48] Operation: 5+43=48 Moving to Node #0,2 Current State: 69:[56, 43, 69], Operations: ['74-5=69'] Exploring Operation: 69-56=13, Resulting Numbers: [43, 13] Generated Node #0,2,0: 69:[43, 13] Operation: 69-56=13 Exploring Operation: 56-43=13, Resulting Numbers: [69, 13] Generated Node #0,2,1: 69:[69, 13] Operation: 56-43=13 Exploring Operation: 69-43=26, Resulting Numbers: [56, 26] Generated Node #0,2,2: 69:[56, 26] Operation: 69-43=26 Exploring Operation: 56+43=99, Resulting Numbers: [69, 99] Generated Node #0,2,3: 69:[69, 99] Operation: 56+43=99 Exploring Operation: 43+69=112, Resulting Numbers: [56, 112] Generated Node #0,2,4: 69:[56, 112] Operation: 43+69=112 Moving to Node #0,3 Current State: 69:[74, 43, 61], Operations: ['56+5=61'] Exploring Operation: 74+43=117, Resulting Numbers: [61, 117] Generated Node #0,3,0: 69:[61, 117] Operation: 74+43=117 Exploring Operation: 61-43=18, Resulting Numbers: [74, 18] Generated Node #0,3,1: 69:[74, 18] Operation: 61-43=18 Exploring Operation: 43+61=104, Resulting Numbers: [74, 104] Generated Node #0,3,2: 69:[74, 104] Operation: 43+61=104 Exploring Operation: 74-43=31, Resulting Numbers: [61, 31] Generated Node #0,3,3: 69:[61, 31] Operation: 74-43=31 Exploring Operation: 74-61=13, Resulting Numbers: [43, 13] Generated Node #0,3,4: 69:[43, 13] Operation: 74-61=13 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[74, 18], Operations: ['56+5=61', '61-43=18'] Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[61, 31], Operations: ['56+5=61', '74-43=31'] Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,69 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 69:[43, 13], Operations: ['56+5=61', '74-61=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,69 unequal: No Solution Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[74, 104], Operations: ['56+5=61', '43+61=104'] Exploring Operation: 104-74=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 74*104=7696, Resulting Numbers: [7696] 7696,69 unequal: No Solution Exploring Operation: 74+104=178, Resulting Numbers: [178] 178,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[61, 117], Operations: ['56+5=61', '74+43=117'] Exploring Operation: 61*117=7137, Resulting Numbers: [7137] 7137,69 unequal: No Solution Exploring Operation: 61+117=178, Resulting Numbers: [178] 178,69 unequal: No Solution Exploring Operation: 117-61=56, Resulting Numbers: [56] 56,69 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: 69:[5, 25], Operations: ['74-56=18', '43-18=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,69 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[74, 65], Operations: ['56-43=13', '5*13=65'] Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 74*65=4810, Resulting Numbers: [4810] 4810,69 unequal: No Solution Exploring Operation: 74+65=139, Resulting Numbers: [139] 139,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[5, 61], Operations: ['74-56=18', '43+18=61'] Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,69 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[74, 8], Operations: ['56-43=13', '13-5=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,69 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[74, 18], Operations: ['56-43=13', '5+13=18'] Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,69 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[13, 69], Operations: ['56-43=13', '74-5=69'] Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,69 unequal: No Solution Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[69, 13], Operations: ['74-5=69', '56-43=13'] Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,69 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[5, 61], Operations: ['56-43=13', '74-13=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[56, 26], Operations: ['74-5=69', '69-43=26'] Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,69 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[43, 23], Operations: ['74-56=18', '5+18=23'] Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,69 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[18, 38], Operations: ['74-56=18', '43-5=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[18, 48], Operations: ['74-56=18', '5+43=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,69 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[69, 99], Operations: ['74-5=69', '56+43=99'] Exploring Operation: 99-69=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 69*99=6831, Resulting Numbers: [6831] 6831,69 unequal: No Solution Exploring Operation: 69+99=168, Resulting Numbers: [168] 168,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[43, 13], Operations: ['74-5=69', '69-56=13'] Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,69 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[56, 112], Operations: ['74-5=69', '43+69=112'] Exploring Operation: 112-56=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 56*112=6272, Resulting Numbers: [6272] 6272,69 unequal: No Solution Exploring Operation: 112/56=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 56+112=168, Resulting Numbers: [168] 168,69 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 36, 75, 47, 34 ]
26
[ "75-36=39", "47-34=13", "39-13=26" ]
Current State: 26:[36, 75, 47, 34], Operations: [] Exploring Operation: 75-36=39, Resulting Numbers: [47, 34, 39] Generated Node #2: [47, 34, 39] from Operation: 75-36=39 Current State: 26:[47, 34, 39], Operations: ['75-36=39'] Exploring Operation: 47-34=13, Resulting Numbers: [39, 13] Generated Node #3: [39, 13] from Operation: 47-34=13 Current State: 26:[39, 13], Operations: ['75-36=39', '47-34=13'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[36, 75, 47, 34], Operations: [] Exploring Operation: 75-34=41, Resulting Numbers: [36, 47, 41] Generated Node #0,0: 26:[36, 47, 41] Operation: 75-34=41 Exploring Operation: 75-36=39, Resulting Numbers: [47, 34, 39] Generated Node #0,1: 26:[47, 34, 39] Operation: 75-36=39 Exploring Operation: 75-47=28, Resulting Numbers: [36, 34, 28] Generated Node #0,2: 26:[36, 34, 28] Operation: 75-47=28 Exploring Operation: 47-36=11, Resulting Numbers: [75, 34, 11] Generated Node #0,3: 26:[75, 34, 11] Operation: 47-36=11 Moving to Node #0,2 Current State: 26:[36, 34, 28], Operations: ['75-47=28'] Exploring Operation: 34-28=6, Resulting Numbers: [36, 6] Generated Node #0,2,0: 26:[36, 6] Operation: 34-28=6 Exploring Operation: 36-28=8, Resulting Numbers: [34, 8] Generated Node #0,2,1: 26:[34, 8] Operation: 36-28=8 Exploring Operation: 36+34=70, Resulting Numbers: [28, 70] Generated Node #0,2,2: 26:[28, 70] Operation: 36+34=70 Exploring Operation: 36-34=2, Resulting Numbers: [28, 2] Generated Node #0,2,3: 26:[28, 2] Operation: 36-34=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[28, 2], Operations: ['75-47=28', '36-34=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,26 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[36, 75, 47, 34], Operations: [] Exploring Operation: 75-47=28, Resulting Numbers: [36, 34, 28] Generated Node #0,2: 26:[36, 34, 28] Operation: 75-47=28 Moving to Node #0,2 Current State: 26:[36, 34, 28], Operations: ['75-47=28'] Exploring Operation: 36-34=2, Resulting Numbers: [28, 2] Generated Node #0,2,3: 26:[28, 2] Operation: 36-34=2 Moving to Node #0,2,3 Current State: 26:[28, 2], Operations: ['75-47=28', '36-34=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 29, 58, 82, 27 ]
68
[ "58/29=2", "82/2=41", "27+41=68" ]
Current State: 68:[29, 58, 82, 27], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [82, 27, 2] Generated Node #2: [82, 27, 2] from Operation: 58/29=2 Current State: 68:[82, 27, 2], Operations: ['58/29=2'] Exploring Operation: 82/2=41, Resulting Numbers: [27, 41] Generated Node #3: [27, 41] from Operation: 82/2=41 Current State: 68:[27, 41], Operations: ['58/29=2', '82/2=41'] Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[29, 58, 82, 27], Operations: [] Exploring Operation: 82-58=24, Resulting Numbers: [29, 27, 24] Generated Node #0,0: 68:[29, 27, 24] Operation: 82-58=24 Exploring Operation: 58/29=2, Resulting Numbers: [82, 27, 2] Generated Node #0,1: 68:[82, 27, 2] Operation: 58/29=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[29, 27, 24], Operations: ['82-58=24'] Exploring Operation: 27-24=3, Resulting Numbers: [29, 3] Generated Node #0,0,0: 68:[29, 3] Operation: 27-24=3 Exploring Operation: 29-27=2, Resulting Numbers: [24, 2] Generated Node #0,0,1: 68:[24, 2] Operation: 29-27=2 Moving to Node #0,0,0 Current State: 68:[29, 3], Operations: ['82-58=24', '27-24=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[24, 2], Operations: ['82-58=24', '29-27=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[82, 27, 2], Operations: ['58/29=2'] Exploring Operation: 82-27=55, Resulting Numbers: [2, 55] Generated Node #0,1,0: 68:[2, 55] Operation: 82-27=55 Exploring Operation: 82/2=41, Resulting Numbers: [27, 41] Generated Node #0,1,1: 68:[27, 41] Operation: 82/2=41 Moving to Node #0,1,0 Current State: 68:[2, 55], Operations: ['58/29=2', '82-27=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[27, 41], Operations: ['58/29=2', '82/2=41'] Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[29, 58, 82, 27], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [82, 27, 2] Generated Node #0,1: 68:[82, 27, 2] Operation: 58/29=2 Moving to Node #0,1 Current State: 68:[82, 27, 2], Operations: ['58/29=2'] Exploring Operation: 82/2=41, Resulting Numbers: [27, 41] Generated Node #0,1,1: 68:[27, 41] Operation: 82/2=41 Moving to Node #0,1,1 Current State: 68:[27, 41], Operations: ['58/29=2', '82/2=41'] Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 52, 65, 11, 2 ]
69
[ "11+2=13", "52/13=4", "65+4=69" ]
Current State: 69:[52, 65, 11, 2], Operations: [] Exploring Operation: 11+2=13, Resulting Numbers: [52, 65, 13] Generated Node #2: [52, 65, 13] from Operation: 11+2=13 Current State: 69:[52, 65, 13], Operations: ['11+2=13'] Exploring Operation: 52/13=4, Resulting Numbers: [65, 4] Generated Node #3: [65, 4] from Operation: 52/13=4 Current State: 69:[65, 4], Operations: ['11+2=13', '52/13=4'] Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[52, 65, 11, 2], Operations: [] Exploring Operation: 65-52=13, Resulting Numbers: [11, 2, 13] Generated Node #0,0: 69:[11, 2, 13] Operation: 65-52=13 Exploring Operation: 52-11=41, Resulting Numbers: [65, 2, 41] Generated Node #0,1: 69:[65, 2, 41] Operation: 52-11=41 Exploring Operation: 11*2=22, Resulting Numbers: [52, 65, 22] Generated Node #0,2: 69:[52, 65, 22] Operation: 11*2=22 Exploring Operation: 52/2=26, Resulting Numbers: [65, 11, 26] Generated Node #0,3: 69:[65, 11, 26] Operation: 52/2=26 Exploring Operation: 52+11=63, Resulting Numbers: [65, 2, 63] Generated Node #0,4: 69:[65, 2, 63] Operation: 52+11=63 Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[65, 2, 63], Operations: ['52+11=63'] Exploring Operation: 65+2=67, Resulting Numbers: [63, 67] Generated Node #0,4,0: 69:[63, 67] Operation: 65+2=67 Exploring Operation: 63-2=61, Resulting Numbers: [65, 61] Generated Node #0,4,1: 69:[65, 61] Operation: 63-2=61 Exploring Operation: 65-63=2, Resulting Numbers: [2, 2] Generated Node #0,4,2: 69:[2, 2] Operation: 65-63=2 Exploring Operation: 65-2=63, Resulting Numbers: [63, 63] Generated Node #0,4,3: 69:[63, 63] Operation: 65-2=63 Exploring Operation: 2+63=65, Resulting Numbers: [65, 65] Generated Node #0,4,4: 69:[65, 65] Operation: 2+63=65 Moving to Node #0,4,2 Current State: 69:[2, 2], Operations: ['52+11=63', '65-63=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[65, 65], Operations: ['52+11=63', '2+63=65'] Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,69 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,69 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,69 unequal: No Solution Moving to Node #0,4,0 Current State: 69:[63, 67], Operations: ['52+11=63', '65+2=67'] Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,69 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,69 unequal: No Solution Moving to Node #0,4,1 Current State: 69:[65, 61], Operations: ['52+11=63', '63-2=61'] Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,69 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,69 unequal: No Solution Moving to Node #0,4,3 Current State: 69:[63, 63], Operations: ['52+11=63', '65-2=63'] Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,69 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[65, 11, 26], Operations: ['52/2=26'] Exploring Operation: 65+11=76, Resulting Numbers: [26, 76] Generated Node #0,3,0: 69:[26, 76] Operation: 65+11=76 Exploring Operation: 65-26=39, Resulting Numbers: [11, 39] Generated Node #0,3,1: 69:[11, 39] Operation: 65-26=39 Exploring Operation: 65-11=54, Resulting Numbers: [26, 54] Generated Node #0,3,2: 69:[26, 54] Operation: 65-11=54 Exploring Operation: 26-11=15, Resulting Numbers: [65, 15] Generated Node #0,3,3: 69:[65, 15] Operation: 26-11=15 Exploring Operation: 11+26=37, Resulting Numbers: [65, 37] Generated Node #0,3,4: 69:[65, 37] Operation: 11+26=37 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 69:[26, 76], Operations: ['52/2=26', '65+11=76'] Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 26*76=1976, Resulting Numbers: [1976] 1976,69 unequal: No Solution Exploring Operation: 26+76=102, Resulting Numbers: [102] 102,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,3 Current State: 69:[65, 15], Operations: ['52/2=26', '26-11=15'] Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,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:[26, 54], Operations: ['52/2=26', '65-11=54'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,69 unequal: No Solution Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,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,4 Current State: 69:[65, 37], Operations: ['52/2=26', '11+26=37'] Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,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:[11, 39], Operations: ['52/2=26', '65-26=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,69 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,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:[11, 2, 13], Operations: ['65-52=13'] Exploring Operation: 11-2=9, Resulting Numbers: [13, 9] Generated Node #0,0,0: 69:[13, 9] Operation: 11-2=9 Exploring Operation: 13-11=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 69:[2, 2] Operation: 13-11=2 Exploring Operation: 2*13=26, Resulting Numbers: [11, 26] Generated Node #0,0,2: 69:[11, 26] Operation: 2*13=26 Exploring Operation: 11+13=24, Resulting Numbers: [2, 24] Generated Node #0,0,3: 69:[2, 24] Operation: 11+13=24 Exploring Operation: 11*2=22, Resulting Numbers: [13, 22] Generated Node #0,0,4: 69:[13, 22] Operation: 11*2=22 Moving to Node #0,0,1 Current State: 69:[2, 2], Operations: ['65-52=13', '13-11=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[2, 24], Operations: ['65-52=13', '11+13=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[11, 26], Operations: ['65-52=13', '2*13=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,69 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[13, 22], Operations: ['65-52=13', '11*2=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,69 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[13, 9], Operations: ['65-52=13', '11-2=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,69 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[52, 65, 22], Operations: ['11*2=22'] Exploring Operation: 52-22=30, Resulting Numbers: [65, 30] Generated Node #0,2,0: 69:[65, 30] Operation: 52-22=30 Exploring Operation: 52+22=74, Resulting Numbers: [65, 74] Generated Node #0,2,1: 69:[65, 74] Operation: 52+22=74 Exploring Operation: 65-22=43, Resulting Numbers: [52, 43] Generated Node #0,2,2: 69:[52, 43] Operation: 65-22=43 Exploring Operation: 65+22=87, Resulting Numbers: [52, 87] Generated Node #0,2,3: 69:[52, 87] Operation: 65+22=87 Exploring Operation: 65-52=13, Resulting Numbers: [22, 13] Generated Node #0,2,4: 69:[22, 13] Operation: 65-52=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[65, 74], Operations: ['11*2=22', '52+22=74'] Exploring Operation: 65+74=139, Resulting Numbers: [139] 139,69 unequal: No Solution Exploring Operation: 65*74=4810, Resulting Numbers: [4810] 4810,69 unequal: No Solution Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,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:[65, 30], Operations: ['11*2=22', '52-22=30'] Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,69 unequal: No Solution Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,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,4 Current State: 69:[22, 13], Operations: ['11*2=22', '65-52=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,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:[52, 87], Operations: ['11*2=22', '65+22=87'] Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,69 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,69 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,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:[52, 43], Operations: ['11*2=22', '65-22=43'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,69 unequal: No Solution Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,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,1 Current State: 69:[65, 2, 41], Operations: ['52-11=41'] Exploring Operation: 65-41=24, Resulting Numbers: [2, 24] Generated Node #0,1,0: 69:[2, 24] Operation: 65-41=24 Exploring Operation: 2*41=82, Resulting Numbers: [65, 82] Generated Node #0,1,1: 69:[65, 82] Operation: 2*41=82 Exploring Operation: 65-2=63, Resulting Numbers: [41, 63] Generated Node #0,1,2: 69:[41, 63] Operation: 65-2=63 Exploring Operation: 41-2=39, Resulting Numbers: [65, 39] Generated Node #0,1,3: 69:[65, 39] Operation: 41-2=39 Exploring Operation: 65+2=67, Resulting Numbers: [41, 67] Generated Node #0,1,4: 69:[41, 67] Operation: 65+2=67 Moving to Node #0,1,0 Current State: 69:[2, 24], Operations: ['52-11=41', '65-41=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[65, 82], Operations: ['52-11=41', '2*41=82'] Exploring Operation: 65*82=5330, Resulting Numbers: [5330] 5330,69 unequal: No Solution Exploring Operation: 65+82=147, Resulting Numbers: [147] 147,69 unequal: No Solution Exploring Operation: 82-65=17, Resulting Numbers: [17] 17,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[65, 39], Operations: ['52-11=41', '41-2=39'] Exploring Operation: 65*39=2535, Resulting Numbers: [2535] 2535,69 unequal: No Solution Exploring Operation: 65+39=104, Resulting Numbers: [104] 104,69 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[41, 67], Operations: ['52-11=41', '65+2=67'] Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 41+67=108, Resulting Numbers: [108] 108,69 unequal: No Solution Exploring Operation: 41*67=2747, Resulting Numbers: [2747] 2747,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[41, 63], Operations: ['52-11=41', '65-2=63'] Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,69 unequal: No Solution Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,69 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,69 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
[ 8, 6, 30, 7 ]
60
[ "8+6=14", "30*14=420", "420/7=60" ]
Current State: 60:[8, 6, 30, 7], Operations: [] Exploring Operation: 8+6=14, Resulting Numbers: [30, 7, 14] Generated Node #2: [30, 7, 14] from Operation: 8+6=14 Current State: 60:[30, 7, 14], Operations: ['8+6=14'] Exploring Operation: 30*14=420, Resulting Numbers: [7, 420] Generated Node #3: [7, 420] from Operation: 30*14=420 Current State: 60:[7, 420], Operations: ['8+6=14', '30*14=420'] Exploring Operation: 420/7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[8, 6, 30, 7], Operations: [] Exploring Operation: 8+7=15, Resulting Numbers: [6, 30, 15] Generated Node #0,0: 60:[6, 30, 15] Operation: 8+7=15 Exploring Operation: 8-6=2, Resulting Numbers: [30, 7, 2] Generated Node #0,1: 60:[30, 7, 2] Operation: 8-6=2 Moving to Node #0,0 Current State: 60:[6, 30, 15], Operations: ['8+7=15'] Exploring Operation: 30/6=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 60:[15, 5] Operation: 30/6=5 Exploring Operation: 30-15=15, Resulting Numbers: [6, 15] Generated Node #0,0,1: 60:[6, 15] Operation: 30-15=15 Moving to Node #0,1 Current State: 60:[30, 7, 2], Operations: ['8-6=2'] Exploring Operation: 30*2=60, Resulting Numbers: [7, 60] Generated Node #0,1,0: 60:[7, 60] Operation: 30*2=60 Exploring Operation: 7-2=5, Resulting Numbers: [30, 5] Generated Node #0,1,1: 60:[30, 5] Operation: 7-2=5 Moving to Node #0,0,0 Current State: 60:[15, 5], Operations: ['8+7=15', '30/6=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[30, 5], Operations: ['8-6=2', '7-2=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[6, 15], Operations: ['8+7=15', '30-15=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[7, 60], Operations: ['8-6=2', '30*2=60'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,60 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 34, 61, 10, 29 ]
43
[ "61+29=90", "90/10=9", "34+9=43" ]
Current State: 43:[34, 61, 10, 29], Operations: [] Exploring Operation: 61+29=90, Resulting Numbers: [34, 10, 90] Generated Node #2: [34, 10, 90] from Operation: 61+29=90 Current State: 43:[34, 10, 90], Operations: ['61+29=90'] Exploring Operation: 90/10=9, Resulting Numbers: [34, 9] Generated Node #3: [34, 9] from Operation: 90/10=9 Current State: 43:[34, 9], Operations: ['61+29=90', '90/10=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[34, 61, 10, 29], Operations: [] Exploring Operation: 61+10=71, Resulting Numbers: [34, 29, 71] Generated Node #0,0: 43:[34, 29, 71] Operation: 61+10=71 Exploring Operation: 34+10=44, Resulting Numbers: [61, 29, 44] Generated Node #0,1: 43:[61, 29, 44] Operation: 34+10=44 Exploring Operation: 61-10=51, Resulting Numbers: [34, 29, 51] Generated Node #0,2: 43:[34, 29, 51] Operation: 61-10=51 Exploring Operation: 10+29=39, Resulting Numbers: [34, 61, 39] Generated Node #0,3: 43:[34, 61, 39] Operation: 10+29=39 Exploring Operation: 34-10=24, Resulting Numbers: [61, 29, 24] Generated Node #0,4: 43:[61, 29, 24] Operation: 34-10=24 Moving to Node #0,2 Current State: 43:[34, 29, 51], Operations: ['61-10=51'] Exploring Operation: 34+29=63, Resulting Numbers: [51, 63] Generated Node #0,2,0: 43:[51, 63] Operation: 34+29=63 Exploring Operation: 51-29=22, Resulting Numbers: [34, 22] Generated Node #0,2,1: 43:[34, 22] Operation: 51-29=22 Exploring Operation: 51-34=17, Resulting Numbers: [29, 17] Generated Node #0,2,2: 43:[29, 17] Operation: 51-34=17 Exploring Operation: 34-29=5, Resulting Numbers: [51, 5] Generated Node #0,2,3: 43:[51, 5] Operation: 34-29=5 Exploring Operation: 29+51=80, Resulting Numbers: [34, 80] Generated Node #0,2,4: 43:[34, 80] Operation: 29+51=80 Moving to Node #0,3 Current State: 43:[34, 61, 39], Operations: ['10+29=39'] Exploring Operation: 61-39=22, Resulting Numbers: [34, 22] Generated Node #0,3,0: 43:[34, 22] Operation: 61-39=22 Exploring Operation: 61-34=27, Resulting Numbers: [39, 27] Generated Node #0,3,1: 43:[39, 27] Operation: 61-34=27 Exploring Operation: 34+61=95, Resulting Numbers: [39, 95] Generated Node #0,3,2: 43:[39, 95] Operation: 34+61=95 Exploring Operation: 39-34=5, Resulting Numbers: [61, 5] Generated Node #0,3,3: 43:[61, 5] Operation: 39-34=5 Exploring Operation: 34+39=73, Resulting Numbers: [61, 73] Generated Node #0,3,4: 43:[61, 73] Operation: 34+39=73 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[39, 27], Operations: ['10+29=39', '61-34=27'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,43 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,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,3,0 Current State: 43:[34, 22], Operations: ['10+29=39', '61-39=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,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,3,4 Current State: 43:[61, 73], Operations: ['10+29=39', '34+39=73'] Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 61*73=4453, Resulting Numbers: [4453] 4453,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,3,2 Current State: 43:[39, 95], Operations: ['10+29=39', '34+61=95'] Exploring Operation: 39+95=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 39*95=3705, Resulting Numbers: [3705] 3705,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,3,3 Current State: 43:[61, 5], Operations: ['10+29=39', '39-34=5'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,43 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: 43:[61, 29, 44], Operations: ['34+10=44'] Exploring Operation: 61+29=90, Resulting Numbers: [44, 90] Generated Node #0,1,0: 43:[44, 90] Operation: 61+29=90 Exploring Operation: 29+44=73, Resulting Numbers: [61, 73] Generated Node #0,1,1: 43:[61, 73] Operation: 29+44=73 Exploring Operation: 61-29=32, Resulting Numbers: [44, 32] Generated Node #0,1,2: 43:[44, 32] Operation: 61-29=32 Exploring Operation: 44-29=15, Resulting Numbers: [61, 15] Generated Node #0,1,3: 43:[61, 15] Operation: 44-29=15 Exploring Operation: 61-44=17, Resulting Numbers: [29, 17] Generated Node #0,1,4: 43:[29, 17] Operation: 61-44=17 Moving to Node #0,0 Current State: 43:[34, 29, 71], Operations: ['61+10=71'] Exploring Operation: 29+71=100, Resulting Numbers: [34, 100] Generated Node #0,0,0: 43:[34, 100] Operation: 29+71=100 Exploring Operation: 34+29=63, Resulting Numbers: [71, 63] Generated Node #0,0,1: 43:[71, 63] Operation: 34+29=63 Exploring Operation: 71-29=42, Resulting Numbers: [34, 42] Generated Node #0,0,2: 43:[34, 42] Operation: 71-29=42 Exploring Operation: 34-29=5, Resulting Numbers: [71, 5] Generated Node #0,0,3: 43:[71, 5] Operation: 34-29=5 Exploring Operation: 71-34=37, Resulting Numbers: [29, 37] Generated Node #0,0,4: 43:[29, 37] Operation: 71-34=37 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[34, 42], Operations: ['61+10=71', '71-29=42'] Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,43 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 43:[29, 37], Operations: ['61+10=71', '71-34=37'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,43 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[71, 63], Operations: ['61+10=71', '34+29=63'] Exploring Operation: 71+63=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 71*63=4473, Resulting Numbers: [4473] 4473,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[34, 100], Operations: ['61+10=71', '29+71=100'] Exploring Operation: 34*100=3400, Resulting Numbers: [3400] 3400,43 unequal: No Solution Exploring Operation: 100-34=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 34+100=134, Resulting Numbers: [134] 134,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[71, 5], Operations: ['61+10=71', '34-29=5'] Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,43 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: 43:[61, 29, 24], Operations: ['34-10=24'] Exploring Operation: 61-29=32, Resulting Numbers: [24, 32] Generated Node #0,4,0: 43:[24, 32] Operation: 61-29=32 Exploring Operation: 29+24=53, Resulting Numbers: [61, 53] Generated Node #0,4,1: 43:[61, 53] Operation: 29+24=53 Exploring Operation: 29-24=5, Resulting Numbers: [61, 5] Generated Node #0,4,2: 43:[61, 5] Operation: 29-24=5 Exploring Operation: 61+24=85, Resulting Numbers: [29, 85] Generated Node #0,4,3: 43:[29, 85] Operation: 61+24=85 Exploring Operation: 61-24=37, Resulting Numbers: [29, 37] Generated Node #0,4,4: 43:[29, 37] Operation: 61-24=37 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 43:[29, 37], Operations: ['34-10=24', '61-24=37'] Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,43 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,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,4,1 Current State: 43:[61, 53], Operations: ['34-10=24', '29+24=53'] Exploring Operation: 61*53=3233, Resulting Numbers: [3233] 3233,43 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 61+53=114, Resulting Numbers: [114] 114,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,4,0 Current State: 43:[24, 32], Operations: ['34-10=24', '61-29=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,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,4,2 Current State: 43:[61, 5], Operations: ['34-10=24', '29-24=5'] Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,43 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,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,4,3 Current State: 43:[29, 85], Operations: ['34-10=24', '61+24=85'] Exploring Operation: 29*85=2465, Resulting Numbers: [2465] 2465,43 unequal: No Solution Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 29+85=114, Resulting Numbers: [114] 114,43 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: 43:[44, 32], Operations: ['34+10=44', '61-29=32'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 44*32=1408, Resulting Numbers: [1408] 1408,43 unequal: No Solution Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[51, 63], Operations: ['61-10=51', '34+29=63'] Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,43 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[34, 22], Operations: ['61-10=51', '51-29=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,43 unequal: No Solution Moving to Node #0,1,4 Current State: 43:[29, 17], Operations: ['34+10=44', '61-44=17'] Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,43 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[29, 17], Operations: ['61-10=51', '51-34=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[61, 15], Operations: ['34+10=44', '44-29=15'] Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[34, 80], Operations: ['61-10=51', '29+51=80'] Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 34*80=2720, Resulting Numbers: [2720] 2720,43 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[51, 5], Operations: ['61-10=51', '34-29=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,43 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[44, 90], Operations: ['34+10=44', '61+29=90'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[61, 73], Operations: ['34+10=44', '29+44=73'] Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 61*73=4453, Resulting Numbers: [4453] 4453,43 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,43 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 15, 91, 32 ]
50
[ "15-6=9", "91-32=59", "59-9=50" ]
Current State: 50:[6, 15, 91, 32], Operations: [] Exploring Operation: 15-6=9, Resulting Numbers: [91, 32, 9] Generated Node #2: [91, 32, 9] from Operation: 15-6=9 Current State: 50:[91, 32, 9], Operations: ['15-6=9'] Exploring Operation: 91-32=59, Resulting Numbers: [9, 59] Generated Node #3: [9, 59] from Operation: 91-32=59 Current State: 50:[9, 59], Operations: ['15-6=9', '91-32=59'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[6, 15, 91, 32], Operations: [] Exploring Operation: 91-15=76, Resulting Numbers: [6, 32, 76] Generated Node #0,0: 50:[6, 32, 76] Operation: 91-15=76 Exploring Operation: 91-32=59, Resulting Numbers: [6, 15, 59] Generated Node #0,1: 50:[6, 15, 59] Operation: 91-32=59 Exploring Operation: 15+32=47, Resulting Numbers: [6, 91, 47] Generated Node #0,2: 50:[6, 91, 47] Operation: 15+32=47 Moving to Node #0,1 Current State: 50:[6, 15, 59], Operations: ['91-32=59'] Exploring Operation: 59-15=44, Resulting Numbers: [6, 44] Generated Node #0,1,0: 50:[6, 44] Operation: 59-15=44 Exploring Operation: 15-6=9, Resulting Numbers: [59, 9] Generated Node #0,1,1: 50:[59, 9] Operation: 15-6=9 Exploring Operation: 59-6=53, Resulting Numbers: [15, 53] Generated Node #0,1,2: 50:[15, 53] Operation: 59-6=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[6, 44], Operations: ['91-32=59', '59-15=44'] Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,50 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[6, 15, 91, 32], Operations: [] Exploring Operation: 91-32=59, Resulting Numbers: [6, 15, 59] Generated Node #0,1: 50:[6, 15, 59] Operation: 91-32=59 Moving to Node #0,1 Current State: 50:[6, 15, 59], Operations: ['91-32=59'] Exploring Operation: 59-15=44, Resulting Numbers: [6, 44] Generated Node #0,1,0: 50:[6, 44] Operation: 59-15=44 Moving to Node #0,1,0 Current State: 50:[6, 44], Operations: ['91-32=59', '59-15=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 89, 8, 83, 96 ]
83
[ "89+8=97", "97-96=1", "83*1=83" ]
Current State: 83:[89, 8, 83, 96], Operations: [] Exploring Operation: 89+8=97, Resulting Numbers: [83, 96, 97] Generated Node #2: [83, 96, 97] from Operation: 89+8=97 Current State: 83:[83, 96, 97], Operations: ['89+8=97'] Exploring Operation: 97-96=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 97-96=1 Current State: 83:[83, 1], Operations: ['89+8=97', '97-96=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[89, 8, 83, 96], Operations: [] Exploring Operation: 89+8=97, Resulting Numbers: [83, 96, 97] Generated Node #0,0: 83:[83, 96, 97] Operation: 89+8=97 Exploring Operation: 8+83=91, Resulting Numbers: [89, 96, 91] Generated Node #0,1: 83:[89, 96, 91] Operation: 8+83=91 Exploring Operation: 89-8=81, Resulting Numbers: [83, 96, 81] Generated Node #0,2: 83:[83, 96, 81] Operation: 89-8=81 Exploring Operation: 96-8=88, Resulting Numbers: [89, 83, 88] Generated Node #0,3: 83:[89, 83, 88] Operation: 96-8=88 Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[89, 83, 88], Operations: ['96-8=88'] Exploring Operation: 89-83=6, Resulting Numbers: [88, 6] Generated Node #0,3,0: 83:[88, 6] Operation: 89-83=6 Exploring Operation: 88-83=5, Resulting Numbers: [89, 5] Generated Node #0,3,1: 83:[89, 5] Operation: 88-83=5 Exploring Operation: 89-88=1, Resulting Numbers: [83, 1] Generated Node #0,3,2: 83:[83, 1] Operation: 89-88=1 Exploring Operation: 89+83=172, Resulting Numbers: [88, 172] Generated Node #0,3,3: 83:[88, 172] Operation: 89+83=172 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[88, 6], Operations: ['96-8=88', '89-83=6'] Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,83 unequal: No Solution Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,83 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[83, 1], Operations: ['96-8=88', '89-88=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[89, 8, 83, 96], Operations: [] Exploring Operation: 96-8=88, Resulting Numbers: [89, 83, 88] Generated Node #0,3: 83:[89, 83, 88] Operation: 96-8=88 Moving to Node #0,3 Current State: 83:[89, 83, 88], Operations: ['96-8=88'] Exploring Operation: 89-88=1, Resulting Numbers: [83, 1] Generated Node #0,3,2: 83:[83, 1] Operation: 89-88=1 Moving to Node #0,3,2 Current State: 83:[83, 1], Operations: ['96-8=88', '89-88=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 46, 47, 7, 2 ]
98
[ "46+47=93", "7-2=5", "93+5=98" ]
Current State: 98:[46, 47, 7, 2], Operations: [] Exploring Operation: 46+47=93, Resulting Numbers: [7, 2, 93] Generated Node #2: [7, 2, 93] from Operation: 46+47=93 Current State: 98:[7, 2, 93], Operations: ['46+47=93'] Exploring Operation: 7-2=5, Resulting Numbers: [93, 5] Generated Node #3: [93, 5] from Operation: 7-2=5 Current State: 98:[93, 5], Operations: ['46+47=93', '7-2=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[46, 47, 7, 2], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [7, 2, 1] Generated Node #0,0: 98:[7, 2, 1] Operation: 47-46=1 Moving to Node #0,0 Current State: 98:[7, 2, 1], Operations: ['47-46=1'] Exploring Operation: 7*1=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 98:[2, 7] Operation: 7*1=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[2, 7], Operations: ['47-46=1', '7*1=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,98 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
[ 79, 93, 95, 71 ]
10
[ "93-79=14", "95-71=24", "24-14=10" ]
Current State: 10:[79, 93, 95, 71], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [95, 71, 14] Generated Node #2: [95, 71, 14] from Operation: 93-79=14 Current State: 10:[95, 71, 14], Operations: ['93-79=14'] Exploring Operation: 95-71=24, Resulting Numbers: [14, 24] Generated Node #3: [14, 24] from Operation: 95-71=24 Current State: 10:[14, 24], Operations: ['93-79=14', '95-71=24'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[79, 93, 95, 71], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [79, 71, 2] Generated Node #0,0: 10:[79, 71, 2] Operation: 95-93=2 Exploring Operation: 93-79=14, Resulting Numbers: [95, 71, 14] Generated Node #0,1: 10:[95, 71, 14] Operation: 93-79=14 Exploring Operation: 95-79=16, Resulting Numbers: [93, 71, 16] Generated Node #0,2: 10:[93, 71, 16] Operation: 95-79=16 Moving to Node #0,0 Current State: 10:[79, 71, 2], Operations: ['95-93=2'] Exploring Operation: 79-71=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 10:[2, 8] Operation: 79-71=8 Exploring Operation: 71-2=69, Resulting Numbers: [79, 69] Generated Node #0,0,1: 10:[79, 69] Operation: 71-2=69 Exploring Operation: 79-2=77, Resulting Numbers: [71, 77] Generated Node #0,0,2: 10:[71, 77] Operation: 79-2=77 Moving to Node #0,1 Current State: 10:[95, 71, 14], Operations: ['93-79=14'] Exploring Operation: 71-14=57, Resulting Numbers: [95, 57] Generated Node #0,1,0: 10:[95, 57] Operation: 71-14=57 Exploring Operation: 95-71=24, Resulting Numbers: [14, 24] Generated Node #0,1,1: 10:[14, 24] Operation: 95-71=24 Exploring Operation: 95-14=81, Resulting Numbers: [71, 81] Generated Node #0,1,2: 10:[71, 81] Operation: 95-14=81 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[14, 24], Operations: ['93-79=14', '95-71=24'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[79, 93, 95, 71], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [95, 71, 14] Generated Node #0,1: 10:[95, 71, 14] Operation: 93-79=14 Moving to Node #0,1 Current State: 10:[95, 71, 14], Operations: ['93-79=14'] Exploring Operation: 95-71=24, Resulting Numbers: [14, 24] Generated Node #0,1,1: 10:[14, 24] Operation: 95-71=24 Moving to Node #0,1,1 Current State: 10:[14, 24], Operations: ['93-79=14', '95-71=24'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 74, 91, 18, 63 ]
98
[ "91-74=17", "18+63=81", "17+81=98" ]
Current State: 98:[74, 91, 18, 63], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [18, 63, 17] Generated Node #2: [18, 63, 17] from Operation: 91-74=17 Current State: 98:[18, 63, 17], Operations: ['91-74=17'] Exploring Operation: 18+63=81, Resulting Numbers: [17, 81] Generated Node #3: [17, 81] from Operation: 18+63=81 Current State: 98:[17, 81], Operations: ['91-74=17', '18+63=81'] Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[74, 91, 18, 63], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [18, 63, 17] Generated Node #0,0: 98:[18, 63, 17] Operation: 91-74=17 Exploring Operation: 74-63=11, Resulting Numbers: [91, 18, 11] Generated Node #0,1: 98:[91, 18, 11] Operation: 74-63=11 Moving to Node #0,1 Current State: 98:[91, 18, 11], Operations: ['74-63=11'] Exploring Operation: 91+11=102, Resulting Numbers: [18, 102] Generated Node #0,1,0: 98:[18, 102] Operation: 91+11=102 Exploring Operation: 18-11=7, Resulting Numbers: [91, 7] Generated Node #0,1,1: 98:[91, 7] Operation: 18-11=7 Moving to Node #0,0 Current State: 98:[18, 63, 17], Operations: ['91-74=17'] Exploring Operation: 63-17=46, Resulting Numbers: [18, 46] Generated Node #0,0,0: 98:[18, 46] Operation: 63-17=46 Exploring Operation: 63-18=45, Resulting Numbers: [17, 45] Generated Node #0,0,1: 98:[17, 45] Operation: 63-18=45 Moving to Node #0,1,1 Current State: 98:[91, 7], Operations: ['74-63=11', '18-11=7'] Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[74, 91, 18, 63], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [91, 18, 11] Generated Node #0,1: 98:[91, 18, 11] Operation: 74-63=11 Moving to Node #0,1 Current State: 98:[91, 18, 11], Operations: ['74-63=11'] Exploring Operation: 18-11=7, Resulting Numbers: [91, 7] Generated Node #0,1,1: 98:[91, 7] Operation: 18-11=7 Moving to Node #0,1,1 Current State: 98:[91, 7], Operations: ['74-63=11', '18-11=7'] Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 1, 78, 63, 27 ]
33
[ "78-1=77", "27*77=2079", "2079/63=33" ]
Current State: 33:[1, 78, 63, 27], Operations: [] Exploring Operation: 78-1=77, Resulting Numbers: [63, 27, 77] Generated Node #2: [63, 27, 77] from Operation: 78-1=77 Current State: 33:[63, 27, 77], Operations: ['78-1=77'] Exploring Operation: 27*77=2079, Resulting Numbers: [63, 2079] Generated Node #3: [63, 2079] from Operation: 27*77=2079 Current State: 33:[63, 2079], Operations: ['78-1=77', '27*77=2079'] Exploring Operation: 2079/63=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[1, 78, 63, 27], Operations: [] Exploring Operation: 63-27=36, Resulting Numbers: [1, 78, 36] Generated Node #0,0: 33:[1, 78, 36] Operation: 63-27=36 Exploring Operation: 78-27=51, Resulting Numbers: [1, 63, 51] Generated Node #0,1: 33:[1, 63, 51] Operation: 78-27=51 Exploring Operation: 78-63=15, Resulting Numbers: [1, 27, 15] Generated Node #0,2: 33:[1, 27, 15] Operation: 78-63=15 Exploring Operation: 78-1=77, Resulting Numbers: [63, 27, 77] Generated Node #0,3: 33:[63, 27, 77] Operation: 78-1=77 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[1, 27, 15], Operations: ['78-63=15'] Exploring Operation: 27-15=12, Resulting Numbers: [1, 12] Generated Node #0,2,0: 33:[1, 12] Operation: 27-15=12 Exploring Operation: 15-1=14, Resulting Numbers: [27, 14] Generated Node #0,2,1: 33:[27, 14] Operation: 15-1=14 Exploring Operation: 1+27=28, Resulting Numbers: [15, 28] Generated Node #0,2,2: 33:[15, 28] Operation: 1+27=28 Exploring Operation: 1*27=27, Resulting Numbers: [15, 27] Generated Node #0,2,3: 33:[15, 27] Operation: 1*27=27 Moving to Node #0,2,0 Current State: 33:[1, 12], Operations: ['78-63=15', '27-15=12'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[15, 28], Operations: ['78-63=15', '1+27=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,33 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[27, 14], Operations: ['78-63=15', '15-1=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,33 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[15, 27], Operations: ['78-63=15', '1*27=27'] Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,33 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[1, 78, 36], Operations: ['63-27=36'] Exploring Operation: 36-1=35, Resulting Numbers: [78, 35] Generated Node #0,0,0: 33:[78, 35] Operation: 36-1=35 Exploring Operation: 78-1=77, Resulting Numbers: [36, 77] Generated Node #0,0,1: 33:[36, 77] Operation: 78-1=77 Exploring Operation: 78-36=42, Resulting Numbers: [1, 42] Generated Node #0,0,2: 33:[1, 42] Operation: 78-36=42 Exploring Operation: 1*78=78, Resulting Numbers: [36, 78] Generated Node #0,0,3: 33:[36, 78] Operation: 1*78=78 Moving to Node #0,0,2 Current State: 33:[1, 42], Operations: ['63-27=36', '78-36=42'] Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[36, 77], Operations: ['63-27=36', '78-1=77'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,33 unequal: No Solution Exploring Operation: 36*77=2772, Resulting Numbers: [2772] 2772,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[78, 35], Operations: ['63-27=36', '36-1=35'] Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,33 unequal: No Solution Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,33 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[36, 78], Operations: ['63-27=36', '1*78=78'] Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 36+78=114, Resulting Numbers: [114] 114,33 unequal: No Solution Exploring Operation: 36*78=2808, Resulting Numbers: [2808] 2808,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[1, 63, 51], Operations: ['78-27=51'] Exploring Operation: 63-1=62, Resulting Numbers: [51, 62] Generated Node #0,1,0: 33:[51, 62] Operation: 63-1=62 Exploring Operation: 1*63=63, Resulting Numbers: [51, 63] Generated Node #0,1,1: 33:[51, 63] Operation: 1*63=63 Exploring Operation: 63-51=12, Resulting Numbers: [1, 12] Generated Node #0,1,2: 33:[1, 12] Operation: 63-51=12 Exploring Operation: 51-1=50, Resulting Numbers: [63, 50] Generated Node #0,1,3: 33:[63, 50] Operation: 51-1=50 Moving to Node #0,1,2 Current State: 33:[1, 12], Operations: ['78-27=51', '63-51=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[63, 50], Operations: ['78-27=51', '51-1=50'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,33 unequal: No Solution Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[51, 62], Operations: ['78-27=51', '63-1=62'] Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 51*62=3162, Resulting Numbers: [3162] 3162,33 unequal: No Solution Exploring Operation: 51+62=113, Resulting Numbers: [113] 113,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[51, 63], Operations: ['78-27=51', '1*63=63'] Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,33 unequal: No Solution Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,33 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[63, 27, 77], Operations: ['78-1=77'] Exploring Operation: 63-27=36, Resulting Numbers: [77, 36] Generated Node #0,3,0: 33:[77, 36] Operation: 63-27=36 Exploring Operation: 63+27=90, Resulting Numbers: [77, 90] Generated Node #0,3,1: 33:[77, 90] Operation: 63+27=90 Exploring Operation: 77-27=50, Resulting Numbers: [63, 50] Generated Node #0,3,2: 33:[63, 50] Operation: 77-27=50 Exploring Operation: 77-63=14, Resulting Numbers: [27, 14] Generated Node #0,3,3: 33:[27, 14] Operation: 77-63=14 Moving to Node #0,3,3 Current State: 33:[27, 14], Operations: ['78-1=77', '77-63=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,33 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[63, 50], Operations: ['78-1=77', '77-27=50'] Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,33 unequal: No Solution Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,33 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[77, 36], Operations: ['78-1=77', '63-27=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,33 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[77, 90], Operations: ['78-1=77', '63+27=90'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 77*90=6930, Resulting Numbers: [6930] 6930,33 unequal: No Solution Exploring Operation: 77+90=167, Resulting Numbers: [167] 167,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 59, 44, 64, 76 ]
61
[ "76-44=32", "64/32=2", "59+2=61" ]
Current State: 61:[59, 44, 64, 76], Operations: [] Exploring Operation: 76-44=32, Resulting Numbers: [59, 64, 32] Generated Node #2: [59, 64, 32] from Operation: 76-44=32 Current State: 61:[59, 64, 32], Operations: ['76-44=32'] Exploring Operation: 64/32=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 64/32=2 Current State: 61:[59, 2], Operations: ['76-44=32', '64/32=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[59, 44, 64, 76], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [59, 76, 20] Generated Node #0,0: 61:[59, 76, 20] Operation: 64-44=20 Exploring Operation: 59+44=103, Resulting Numbers: [64, 76, 103] Generated Node #0,1: 61:[64, 76, 103] Operation: 59+44=103 Exploring Operation: 76-44=32, Resulting Numbers: [59, 64, 32] Generated Node #0,2: 61:[59, 64, 32] Operation: 76-44=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[59, 64, 32], Operations: ['76-44=32'] Exploring Operation: 59+32=91, Resulting Numbers: [64, 91] Generated Node #0,2,0: 61:[64, 91] Operation: 59+32=91 Exploring Operation: 59-32=27, Resulting Numbers: [64, 27] Generated Node #0,2,1: 61:[64, 27] Operation: 59-32=27 Exploring Operation: 64-32=32, Resulting Numbers: [59, 32] Generated Node #0,2,2: 61:[59, 32] Operation: 64-32=32 Moving to Node #0,2,2 Current State: 61:[59, 32], Operations: ['76-44=32', '64-32=32'] Exploring Operation: 59*32=1888, Resulting Numbers: [1888] 1888,61 unequal: No Solution Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[64, 91], Operations: ['76-44=32', '59+32=91'] Exploring Operation: 64+91=155, Resulting Numbers: [155] 155,61 unequal: No Solution Exploring Operation: 64*91=5824, Resulting Numbers: [5824] 5824,61 unequal: No Solution Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[64, 27], Operations: ['76-44=32', '59-32=27'] Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,61 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[59, 76, 20], Operations: ['64-44=20'] Exploring Operation: 76-20=56, Resulting Numbers: [59, 56] Generated Node #0,0,0: 61:[59, 56] Operation: 76-20=56 Exploring Operation: 59-20=39, Resulting Numbers: [76, 39] Generated Node #0,0,1: 61:[76, 39] Operation: 59-20=39 Exploring Operation: 59+20=79, Resulting Numbers: [76, 79] Generated Node #0,0,2: 61:[76, 79] Operation: 59+20=79 Moving to Node #0,0,0 Current State: 61:[59, 56], Operations: ['64-44=20', '76-20=56'] Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,61 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[76, 79], Operations: ['64-44=20', '59+20=79'] Exploring Operation: 79-76=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 76+79=155, Resulting Numbers: [155] 155,61 unequal: No Solution Exploring Operation: 76*79=6004, Resulting Numbers: [6004] 6004,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[76, 39], Operations: ['64-44=20', '59-20=39'] Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,61 unequal: No Solution Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[64, 76, 103], Operations: ['59+44=103'] Exploring Operation: 76-64=12, Resulting Numbers: [103, 12] Generated Node #0,1,0: 61:[103, 12] Operation: 76-64=12 Exploring Operation: 103-64=39, Resulting Numbers: [76, 39] Generated Node #0,1,1: 61:[76, 39] Operation: 103-64=39 Exploring Operation: 103-76=27, Resulting Numbers: [64, 27] Generated Node #0,1,2: 61:[64, 27] Operation: 103-76=27 Moving to Node #0,1,1 Current State: 61:[76, 39], Operations: ['59+44=103', '103-64=39'] Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,61 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[64, 27], Operations: ['59+44=103', '103-76=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,61 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[103, 12], Operations: ['59+44=103', '76-64=12'] Exploring Operation: 103+12=115, Resulting Numbers: [115] 115,61 unequal: No Solution Exploring Operation: 103-12=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 103*12=1236, Resulting Numbers: [1236] 1236,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 47, 32, 63, 76 ]
60
[ "47+32=79", "63+76=139", "139-79=60" ]
Current State: 60:[47, 32, 63, 76], Operations: [] Exploring Operation: 47+32=79, Resulting Numbers: [63, 76, 79] Generated Node #2: [63, 76, 79] from Operation: 47+32=79 Current State: 60:[63, 76, 79], Operations: ['47+32=79'] Exploring Operation: 63+76=139, Resulting Numbers: [79, 139] Generated Node #3: [79, 139] from Operation: 63+76=139 Current State: 60:[79, 139], Operations: ['47+32=79', '63+76=139'] Exploring Operation: 139-79=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[47, 32, 63, 76], Operations: [] Exploring Operation: 76-47=29, Resulting Numbers: [32, 63, 29] Generated Node #0,0: 60:[32, 63, 29] Operation: 76-47=29 Exploring Operation: 76-63=13, Resulting Numbers: [47, 32, 13] Generated Node #0,1: 60:[47, 32, 13] Operation: 76-63=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[32, 63, 29], Operations: ['76-47=29'] Exploring Operation: 63-32=31, Resulting Numbers: [29, 31] Generated Node #0,0,0: 60:[29, 31] Operation: 63-32=31 Exploring Operation: 32-29=3, Resulting Numbers: [63, 3] Generated Node #0,0,1: 60:[63, 3] Operation: 32-29=3 Moving to Node #0,0,0 Current State: 60:[29, 31], Operations: ['76-47=29', '63-32=31'] Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[47, 32, 63, 76], Operations: [] Exploring Operation: 76-47=29, Resulting Numbers: [32, 63, 29] Generated Node #0,0: 60:[32, 63, 29] Operation: 76-47=29 Moving to Node #0,0 Current State: 60:[32, 63, 29], Operations: ['76-47=29'] Exploring Operation: 63-32=31, Resulting Numbers: [29, 31] Generated Node #0,0,0: 60:[29, 31] Operation: 63-32=31 Moving to Node #0,0,0 Current State: 60:[29, 31], Operations: ['76-47=29', '63-32=31'] Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 79, 13, 11, 95 ]
14
[ "79+13=92", "11+95=106", "106-92=14" ]
Current State: 14:[79, 13, 11, 95], Operations: [] Exploring Operation: 79+13=92, Resulting Numbers: [11, 95, 92] Generated Node #2: [11, 95, 92] from Operation: 79+13=92 Current State: 14:[11, 95, 92], Operations: ['79+13=92'] Exploring Operation: 11+95=106, Resulting Numbers: [92, 106] Generated Node #3: [92, 106] from Operation: 11+95=106 Current State: 14:[92, 106], Operations: ['79+13=92', '11+95=106'] Exploring Operation: 106-92=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[79, 13, 11, 95], Operations: [] Exploring Operation: 79-13=66, Resulting Numbers: [11, 95, 66] Generated Node #0,0: 14:[11, 95, 66] Operation: 79-13=66 Exploring Operation: 95-79=16, Resulting Numbers: [13, 11, 16] Generated Node #0,1: 14:[13, 11, 16] Operation: 95-79=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[13, 11, 16], Operations: ['95-79=16'] Exploring Operation: 13-11=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 14:[16, 2] Operation: 13-11=2 Exploring Operation: 16-11=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 14:[13, 5] Operation: 16-11=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[16, 2], Operations: ['95-79=16', '13-11=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[79, 13, 11, 95], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [13, 11, 16] Generated Node #0,1: 14:[13, 11, 16] Operation: 95-79=16 Moving to Node #0,1 Current State: 14:[13, 11, 16], Operations: ['95-79=16'] Exploring Operation: 13-11=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 14:[16, 2] Operation: 13-11=2 Moving to Node #0,1,0 Current State: 14:[16, 2], Operations: ['95-79=16', '13-11=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 12, 21, 56, 28 ]
61
[ "12+21=33", "56-28=28", "33+28=61" ]
Current State: 61:[12, 21, 56, 28], Operations: [] Exploring Operation: 12+21=33, Resulting Numbers: [56, 28, 33] Generated Node #2: [56, 28, 33] from Operation: 12+21=33 Current State: 61:[56, 28, 33], Operations: ['12+21=33'] Exploring Operation: 56-28=28, Resulting Numbers: [33, 28] Generated Node #3: [33, 28] from Operation: 56-28=28 Current State: 61:[33, 28], Operations: ['12+21=33', '56-28=28'] Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[12, 21, 56, 28], Operations: [] Exploring Operation: 21+28=49, Resulting Numbers: [12, 56, 49] Generated Node #0,0: 61:[12, 56, 49] Operation: 21+28=49 Exploring Operation: 12+21=33, Resulting Numbers: [56, 28, 33] Generated Node #0,1: 61:[56, 28, 33] Operation: 12+21=33 Exploring Operation: 12+28=40, Resulting Numbers: [21, 56, 40] Generated Node #0,2: 61:[21, 56, 40] Operation: 12+28=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[12, 56, 49], Operations: ['21+28=49'] Exploring Operation: 12+56=68, Resulting Numbers: [49, 68] Generated Node #0,0,0: 61:[49, 68] Operation: 12+56=68 Exploring Operation: 56-12=44, Resulting Numbers: [49, 44] Generated Node #0,0,1: 61:[49, 44] Operation: 56-12=44 Exploring Operation: 12+49=61, Resulting Numbers: [56, 61] Generated Node #0,0,2: 61:[56, 61] Operation: 12+49=61 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 61:[56, 61], Operations: ['21+28=49', '12+49=61'] Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,61 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[49, 68], Operations: ['21+28=49', '12+56=68'] Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,61 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[49, 44], Operations: ['21+28=49', '56-12=44'] Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,61 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[56, 28, 33], Operations: ['12+21=33'] Exploring Operation: 56-28=28, Resulting Numbers: [33, 28] Generated Node #0,1,0: 61:[33, 28] Operation: 56-28=28 Exploring Operation: 56+28=84, Resulting Numbers: [33, 84] Generated Node #0,1,1: 61:[33, 84] Operation: 56+28=84 Exploring Operation: 28+33=61, Resulting Numbers: [56, 61] Generated Node #0,1,2: 61:[56, 61] Operation: 28+33=61 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[56, 61], Operations: ['12+21=33', '28+33=61'] Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,61 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[33, 84], Operations: ['12+21=33', '56+28=84'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 33+84=117, Resulting Numbers: [117] 117,61 unequal: No Solution Exploring Operation: 33*84=2772, Resulting Numbers: [2772] 2772,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[33, 28], Operations: ['12+21=33', '56-28=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,61 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[12, 21, 56, 28], Operations: [] Exploring Operation: 12+21=33, Resulting Numbers: [56, 28, 33] Generated Node #0,1: 61:[56, 28, 33] Operation: 12+21=33 Moving to Node #0,1 Current State: 61:[56, 28, 33], Operations: ['12+21=33'] Exploring Operation: 56-28=28, Resulting Numbers: [33, 28] Generated Node #0,1,0: 61:[33, 28] Operation: 56-28=28 Moving to Node #0,1,0 Current State: 61:[33, 28], Operations: ['12+21=33', '56-28=28'] Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 78, 55, 66, 45 ]
24
[ "66*45=2970", "2970/55=54", "78-54=24" ]
Current State: 24:[78, 55, 66, 45], Operations: [] Exploring Operation: 66*45=2970, Resulting Numbers: [78, 55, 2970] Generated Node #2: [78, 55, 2970] from Operation: 66*45=2970 Current State: 24:[78, 55, 2970], Operations: ['66*45=2970'] Exploring Operation: 2970/55=54, Resulting Numbers: [78, 54] Generated Node #3: [78, 54] from Operation: 2970/55=54 Current State: 24:[78, 54], Operations: ['66*45=2970', '2970/55=54'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[78, 55, 66, 45], Operations: [] Exploring Operation: 78-55=23, Resulting Numbers: [66, 45, 23] Generated Node #0,0: 24:[66, 45, 23] Operation: 78-55=23 Exploring Operation: 78-66=12, Resulting Numbers: [55, 45, 12] Generated Node #0,1: 24:[55, 45, 12] Operation: 78-66=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[55, 45, 12], Operations: ['78-66=12'] Exploring Operation: 55-12=43, Resulting Numbers: [45, 43] Generated Node #0,1,0: 24:[45, 43] Operation: 55-12=43 Exploring Operation: 55-45=10, Resulting Numbers: [12, 10] Generated Node #0,1,1: 24:[12, 10] Operation: 55-45=10 Moving to Node #0,1,1 Current State: 24:[12, 10], Operations: ['78-66=12', '55-45=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[45, 43], Operations: ['78-66=12', '55-12=43'] Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,24 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[66, 45, 23], Operations: ['78-55=23'] Exploring Operation: 66-45=21, Resulting Numbers: [23, 21] Generated Node #0,0,0: 24:[23, 21] Operation: 66-45=21 Exploring Operation: 66-23=43, Resulting Numbers: [45, 43] Generated Node #0,0,1: 24:[45, 43] Operation: 66-23=43 Moving to Node #0,0,0 Current State: 24:[23, 21], Operations: ['78-55=23', '66-45=21'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[45, 43], Operations: ['78-55=23', '66-23=43'] Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,24 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,24 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
[ 17, 85, 81, 87 ]
30
[ "85/17=5", "87-81=6", "5*6=30" ]
Current State: 30:[17, 85, 81, 87], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [81, 87, 5] Generated Node #2: [81, 87, 5] from Operation: 85/17=5 Current State: 30:[81, 87, 5], Operations: ['85/17=5'] Exploring Operation: 87-81=6, Resulting Numbers: [5, 6] Generated Node #3: [5, 6] from Operation: 87-81=6 Current State: 30:[5, 6], Operations: ['85/17=5', '87-81=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[17, 85, 81, 87], Operations: [] Exploring Operation: 85-17=68, Resulting Numbers: [81, 87, 68] Generated Node #0,0: 30:[81, 87, 68] Operation: 85-17=68 Exploring Operation: 87-81=6, Resulting Numbers: [17, 85, 6] Generated Node #0,1: 30:[17, 85, 6] Operation: 87-81=6 Exploring Operation: 85/17=5, Resulting Numbers: [81, 87, 5] Generated Node #0,2: 30:[81, 87, 5] Operation: 85/17=5 Exploring Operation: 85-81=4, Resulting Numbers: [17, 87, 4] Generated Node #0,3: 30:[17, 87, 4] Operation: 85-81=4 Exploring Operation: 87-85=2, Resulting Numbers: [17, 81, 2] Generated Node #0,4: 30:[17, 81, 2] Operation: 87-85=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 30:[17, 81, 2], Operations: ['87-85=2'] Exploring Operation: 81-2=79, Resulting Numbers: [17, 79] Generated Node #0,4,0: 30:[17, 79] Operation: 81-2=79 Exploring Operation: 17-2=15, Resulting Numbers: [81, 15] Generated Node #0,4,1: 30:[81, 15] Operation: 17-2=15 Exploring Operation: 17*2=34, Resulting Numbers: [81, 34] Generated Node #0,4,2: 30:[81, 34] Operation: 17*2=34 Exploring Operation: 81-17=64, Resulting Numbers: [2, 64] Generated Node #0,4,3: 30:[2, 64] Operation: 81-17=64 Exploring Operation: 17+2=19, Resulting Numbers: [81, 19] Generated Node #0,4,4: 30:[81, 19] Operation: 17+2=19 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 30:[2, 64], Operations: ['87-85=2', '81-17=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,30 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,30 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 30:[17, 79], Operations: ['87-85=2', '81-2=79'] Exploring Operation: 17+79=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 17*79=1343, Resulting Numbers: [1343] 1343,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 30:[81, 15], Operations: ['87-85=2', '17-2=15'] Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,30 unequal: No Solution Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 30:[81, 34], Operations: ['87-85=2', '17*2=34'] Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,30 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 30:[81, 19], Operations: ['87-85=2', '17+2=19'] Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 81*19=1539, Resulting Numbers: [1539] 1539,30 unequal: No Solution Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[17, 85, 6], Operations: ['87-81=6'] Exploring Operation: 85/17=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 30:[6, 5] Operation: 85/17=5 Exploring Operation: 17-6=11, Resulting Numbers: [85, 11] Generated Node #0,1,1: 30:[85, 11] Operation: 17-6=11 Exploring Operation: 85-17=68, Resulting Numbers: [6, 68] Generated Node #0,1,2: 30:[6, 68] Operation: 85-17=68 Exploring Operation: 17+6=23, Resulting Numbers: [85, 23] Generated Node #0,1,3: 30:[85, 23] Operation: 17+6=23 Exploring Operation: 85-6=79, Resulting Numbers: [17, 79] Generated Node #0,1,4: 30:[17, 79] Operation: 85-6=79 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[6, 5], Operations: ['87-81=6', '85/17=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[17, 85, 81, 87], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [17, 85, 6] Generated Node #0,1: 30:[17, 85, 6] Operation: 87-81=6 Moving to Node #0,1 Current State: 30:[17, 85, 6], Operations: ['87-81=6'] Exploring Operation: 85/17=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 30:[6, 5] Operation: 85/17=5 Moving to Node #0,1,0 Current State: 30:[6, 5], Operations: ['87-81=6', '85/17=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 96, 21, 71, 59 ]
13
[ "96+21=117", "71+59=130", "130-117=13" ]
Current State: 13:[96, 21, 71, 59], Operations: [] Exploring Operation: 96+21=117, Resulting Numbers: [71, 59, 117] Generated Node #2: [71, 59, 117] from Operation: 96+21=117 Current State: 13:[71, 59, 117], Operations: ['96+21=117'] Exploring Operation: 71+59=130, Resulting Numbers: [117, 130] Generated Node #3: [117, 130] from Operation: 71+59=130 Current State: 13:[117, 130], Operations: ['96+21=117', '71+59=130'] Exploring Operation: 130-117=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[96, 21, 71, 59], Operations: [] Exploring Operation: 96-21=75, Resulting Numbers: [71, 59, 75] Generated Node #0,0: 13:[71, 59, 75] Operation: 96-21=75 Exploring Operation: 96-71=25, Resulting Numbers: [21, 59, 25] Generated Node #0,1: 13:[21, 59, 25] Operation: 96-71=25 Exploring Operation: 71-59=12, Resulting Numbers: [96, 21, 12] Generated Node #0,2: 13:[96, 21, 12] Operation: 71-59=12 Exploring Operation: 96-59=37, Resulting Numbers: [21, 71, 37] Generated Node #0,3: 13:[21, 71, 37] Operation: 96-59=37 Exploring Operation: 71-21=50, Resulting Numbers: [96, 59, 50] Generated Node #0,4: 13:[96, 59, 50] Operation: 71-21=50 Moving to Node #0,1 Current State: 13:[21, 59, 25], Operations: ['96-71=25'] Exploring Operation: 59-25=34, Resulting Numbers: [21, 34] Generated Node #0,1,0: 13:[21, 34] Operation: 59-25=34 Exploring Operation: 25-21=4, Resulting Numbers: [59, 4] Generated Node #0,1,1: 13:[59, 4] Operation: 25-21=4 Exploring Operation: 21+25=46, Resulting Numbers: [59, 46] Generated Node #0,1,2: 13:[59, 46] Operation: 21+25=46 Exploring Operation: 21+59=80, Resulting Numbers: [25, 80] Generated Node #0,1,3: 13:[25, 80] Operation: 21+59=80 Exploring Operation: 59-21=38, Resulting Numbers: [25, 38] Generated Node #0,1,4: 13:[25, 38] Operation: 59-21=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[21, 34], Operations: ['96-71=25', '59-25=34'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[96, 21, 71, 59], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [21, 59, 25] Generated Node #0,1: 13:[21, 59, 25] Operation: 96-71=25 Moving to Node #0,1 Current State: 13:[21, 59, 25], Operations: ['96-71=25'] Exploring Operation: 59-25=34, Resulting Numbers: [21, 34] Generated Node #0,1,0: 13:[21, 34] Operation: 59-25=34 Moving to Node #0,1,0 Current State: 13:[21, 34], Operations: ['96-71=25', '59-25=34'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 21, 51, 36, 44 ]
73
[ "36*44=1584", "1584-51=1533", "1533/21=73" ]
Current State: 73:[21, 51, 36, 44], Operations: [] Exploring Operation: 36*44=1584, Resulting Numbers: [21, 51, 1584] Generated Node #2: [21, 51, 1584] from Operation: 36*44=1584 Current State: 73:[21, 51, 1584], Operations: ['36*44=1584'] Exploring Operation: 1584-51=1533, Resulting Numbers: [21, 1533] Generated Node #3: [21, 1533] from Operation: 1584-51=1533 Current State: 73:[21, 1533], Operations: ['36*44=1584', '1584-51=1533'] Exploring Operation: 1533/21=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[21, 51, 36, 44], Operations: [] Exploring Operation: 36+44=80, Resulting Numbers: [21, 51, 80] Generated Node #0,0: 73:[21, 51, 80] Operation: 36+44=80 Exploring Operation: 21+44=65, Resulting Numbers: [51, 36, 65] Generated Node #0,1: 73:[51, 36, 65] Operation: 21+44=65 Exploring Operation: 21+51=72, Resulting Numbers: [36, 44, 72] Generated Node #0,2: 73:[36, 44, 72] Operation: 21+51=72 Exploring Operation: 21+36=57, Resulting Numbers: [51, 44, 57] Generated Node #0,3: 73:[51, 44, 57] Operation: 21+36=57 Exploring Operation: 51+36=87, Resulting Numbers: [21, 44, 87] Generated Node #0,4: 73:[21, 44, 87] Operation: 51+36=87 Moving to Node #0,1 Current State: 73:[51, 36, 65], Operations: ['21+44=65'] Exploring Operation: 36+65=101, Resulting Numbers: [51, 101] Generated Node #0,1,0: 73:[51, 101] Operation: 36+65=101 Exploring Operation: 51+65=116, Resulting Numbers: [36, 116] Generated Node #0,1,1: 73:[36, 116] Operation: 51+65=116 Exploring Operation: 65-36=29, Resulting Numbers: [51, 29] Generated Node #0,1,2: 73:[51, 29] Operation: 65-36=29 Exploring Operation: 51+36=87, Resulting Numbers: [65, 87] Generated Node #0,1,3: 73:[65, 87] Operation: 51+36=87 Exploring Operation: 51-36=15, Resulting Numbers: [65, 15] Generated Node #0,1,4: 73:[65, 15] Operation: 51-36=15 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[65, 87], Operations: ['21+44=65', '51+36=87'] Exploring Operation: 65*87=5655, Resulting Numbers: [5655] 5655,73 unequal: No Solution Exploring Operation: 65+87=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[51, 101], Operations: ['21+44=65', '36+65=101'] Exploring Operation: 51*101=5151, Resulting Numbers: [5151] 5151,73 unequal: No Solution Exploring Operation: 51+101=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 101-51=50, Resulting Numbers: [50] 50,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[51, 29], Operations: ['21+44=65', '65-36=29'] Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,73 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,73 unequal: No Solution Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 73:[65, 15], Operations: ['21+44=65', '51-36=15'] Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,73 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[36, 116], Operations: ['21+44=65', '51+65=116'] Exploring Operation: 36+116=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 36*116=4176, Resulting Numbers: [4176] 4176,73 unequal: No Solution Exploring Operation: 116-36=80, Resulting Numbers: [80] 80,73 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: 73:[51, 44, 57], Operations: ['21+36=57'] Exploring Operation: 51+57=108, Resulting Numbers: [44, 108] Generated Node #0,3,0: 73:[44, 108] Operation: 51+57=108 Exploring Operation: 57-44=13, Resulting Numbers: [51, 13] Generated Node #0,3,1: 73:[51, 13] Operation: 57-44=13 Exploring Operation: 51+44=95, Resulting Numbers: [57, 95] Generated Node #0,3,2: 73:[57, 95] Operation: 51+44=95 Exploring Operation: 51-44=7, Resulting Numbers: [57, 7] Generated Node #0,3,3: 73:[57, 7] Operation: 51-44=7 Exploring Operation: 44+57=101, Resulting Numbers: [51, 101] Generated Node #0,3,4: 73:[51, 101] Operation: 44+57=101 Moving to Node #0,2 Current State: 73:[36, 44, 72], Operations: ['21+51=72'] Exploring Operation: 44+72=116, Resulting Numbers: [36, 116] Generated Node #0,2,0: 73:[36, 116] Operation: 44+72=116 Exploring Operation: 72-36=36, Resulting Numbers: [44, 36] Generated Node #0,2,1: 73:[44, 36] Operation: 72-36=36 Exploring Operation: 44-36=8, Resulting Numbers: [72, 8] Generated Node #0,2,2: 73:[72, 8] Operation: 44-36=8 Exploring Operation: 36+72=108, Resulting Numbers: [44, 108] Generated Node #0,2,3: 73:[44, 108] Operation: 36+72=108 Exploring Operation: 36+44=80, Resulting Numbers: [72, 80] Generated Node #0,2,4: 73:[72, 80] Operation: 36+44=80 Moving to Node #0,0 Current State: 73:[21, 51, 80], Operations: ['36+44=80'] Exploring Operation: 51-21=30, Resulting Numbers: [80, 30] Generated Node #0,0,0: 73:[80, 30] Operation: 51-21=30 Exploring Operation: 21+80=101, Resulting Numbers: [51, 101] Generated Node #0,0,1: 73:[51, 101] Operation: 21+80=101 Exploring Operation: 80-51=29, Resulting Numbers: [21, 29] Generated Node #0,0,2: 73:[21, 29] Operation: 80-51=29 Exploring Operation: 21+51=72, Resulting Numbers: [80, 72] Generated Node #0,0,3: 73:[80, 72] Operation: 21+51=72 Exploring Operation: 80-21=59, Resulting Numbers: [51, 59] Generated Node #0,0,4: 73:[51, 59] Operation: 80-21=59 Moving to Node #0,4 Current State: 73:[21, 44, 87], Operations: ['51+36=87'] Exploring Operation: 21+44=65, Resulting Numbers: [87, 65] Generated Node #0,4,0: 73:[87, 65] Operation: 21+44=65 Exploring Operation: 87-44=43, Resulting Numbers: [21, 43] Generated Node #0,4,1: 73:[21, 43] Operation: 87-44=43 Exploring Operation: 87-21=66, Resulting Numbers: [44, 66] Generated Node #0,4,2: 73:[44, 66] Operation: 87-21=66 Exploring Operation: 21+87=108, Resulting Numbers: [44, 108] Generated Node #0,4,3: 73:[44, 108] Operation: 21+87=108 Exploring Operation: 44-21=23, Resulting Numbers: [87, 23] Generated Node #0,4,4: 73:[87, 23] Operation: 44-21=23 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 73:[87, 65], Operations: ['51+36=87', '21+44=65'] Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,73 unequal: No Solution Exploring Operation: 87*65=5655, Resulting Numbers: [5655] 5655,73 unequal: No Solution Exploring Operation: 87+65=152, Resulting Numbers: [152] 152,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 73:[44, 66], Operations: ['51+36=87', '87-21=66'] Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,73 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 73:[44, 108], Operations: ['51+36=87', '21+87=108'] Exploring Operation: 108-44=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 44*108=4752, Resulting Numbers: [4752] 4752,73 unequal: No Solution Exploring Operation: 44+108=152, Resulting Numbers: [152] 152,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 73:[87, 23], Operations: ['51+36=87', '44-21=23'] Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 73:[21, 43], Operations: ['51+36=87', '87-44=43'] Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,73 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 73:[72, 80], Operations: ['21+51=72', '36+44=80'] Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,73 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[80, 72], Operations: ['36+44=80', '21+51=72'] Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,73 unequal: No Solution Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[51, 59], Operations: ['36+44=80', '80-21=59'] Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 51+59=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 51*59=3009, Resulting Numbers: [3009] 3009,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[57, 95], Operations: ['21+36=57', '51+44=95'] Exploring Operation: 57+95=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 57*95=5415, Resulting Numbers: [5415] 5415,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[51, 101], Operations: ['36+44=80', '21+80=101'] Exploring Operation: 101-51=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 51+101=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 51*101=5151, Resulting Numbers: [5151] 5151,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[80, 30], Operations: ['36+44=80', '51-21=30'] Exploring Operation: 80+30=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 80*30=2400, Resulting Numbers: [2400] 2400,73 unequal: No Solution Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[51, 101], Operations: ['21+36=57', '44+57=101'] Exploring Operation: 101-51=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 51*101=5151, Resulting Numbers: [5151] 5151,73 unequal: No Solution Exploring Operation: 51+101=152, Resulting Numbers: [152] 152,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[44, 108], Operations: ['21+51=72', '36+72=108'] Exploring Operation: 108-44=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 44+108=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 44*108=4752, Resulting Numbers: [4752] 4752,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[44, 108], Operations: ['21+36=57', '51+57=108'] Exploring Operation: 44*108=4752, Resulting Numbers: [4752] 4752,73 unequal: No Solution Exploring Operation: 44+108=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 108-44=64, Resulting Numbers: [64] 64,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[44, 36], Operations: ['21+51=72', '72-36=36'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 44*36=1584, Resulting Numbers: [1584] 1584,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[72, 8], Operations: ['21+51=72', '44-36=8'] Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,73 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[36, 116], Operations: ['21+51=72', '44+72=116'] Exploring Operation: 116-36=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 36+116=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 36*116=4176, Resulting Numbers: [4176] 4176,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[57, 7], Operations: ['21+36=57', '51-44=7'] Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,73 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[51, 13], Operations: ['21+36=57', '57-44=13'] Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,73 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[21, 29], Operations: ['36+44=80', '80-51=29'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,73 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 17, 95, 75, 70 ]
60
[ "95+75=170", "170/17=10", "70-10=60" ]
Current State: 60:[17, 95, 75, 70], Operations: [] Exploring Operation: 95+75=170, Resulting Numbers: [17, 70, 170] Generated Node #2: [17, 70, 170] from Operation: 95+75=170 Current State: 60:[17, 70, 170], Operations: ['95+75=170'] Exploring Operation: 170/17=10, Resulting Numbers: [70, 10] Generated Node #3: [70, 10] from Operation: 170/17=10 Current State: 60:[70, 10], Operations: ['95+75=170', '170/17=10'] Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[17, 95, 75, 70], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [17, 70, 20] Generated Node #0,0: 60:[17, 70, 20] Operation: 95-75=20 Moving to Node #0,0 Current State: 60:[17, 70, 20], Operations: ['95-75=20'] Exploring Operation: 70-17=53, Resulting Numbers: [20, 53] Generated Node #0,0,0: 60:[20, 53] Operation: 70-17=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[20, 53], Operations: ['95-75=20', '70-17=53'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,60 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
[ 68, 17, 90, 35 ]
51
[ "68/17=4", "90-35=55", "55-4=51" ]
Current State: 51:[68, 17, 90, 35], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [90, 35, 4] Generated Node #2: [90, 35, 4] from Operation: 68/17=4 Current State: 51:[90, 35, 4], Operations: ['68/17=4'] Exploring Operation: 90-35=55, Resulting Numbers: [4, 55] Generated Node #3: [4, 55] from Operation: 90-35=55 Current State: 51:[4, 55], Operations: ['68/17=4', '90-35=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[68, 17, 90, 35], Operations: [] Exploring Operation: 68-35=33, Resulting Numbers: [17, 90, 33] Generated Node #0,0: 51:[17, 90, 33] Operation: 68-35=33 Exploring Operation: 68-17=51, Resulting Numbers: [90, 35, 51] Generated Node #0,1: 51:[90, 35, 51] Operation: 68-17=51 Exploring Operation: 90-35=55, Resulting Numbers: [68, 17, 55] Generated Node #0,2: 51:[68, 17, 55] Operation: 90-35=55 Exploring Operation: 90-68=22, Resulting Numbers: [17, 35, 22] Generated Node #0,3: 51:[17, 35, 22] Operation: 90-68=22 Moving to Node #0,2 Current State: 51:[68, 17, 55], Operations: ['90-35=55'] Exploring Operation: 68-17=51, Resulting Numbers: [55, 51] Generated Node #0,2,0: 51:[55, 51] Operation: 68-17=51 Exploring Operation: 68-55=13, Resulting Numbers: [17, 13] Generated Node #0,2,1: 51:[17, 13] Operation: 68-55=13 Exploring Operation: 68/17=4, Resulting Numbers: [55, 4] Generated Node #0,2,2: 51:[55, 4] Operation: 68/17=4 Exploring Operation: 55-17=38, Resulting Numbers: [68, 38] Generated Node #0,2,3: 51:[68, 38] Operation: 55-17=38 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[55, 51], Operations: ['90-35=55', '68-17=51'] Exploring Operation: 55*51=2805, Resulting Numbers: [2805] 2805,51 unequal: No Solution Exploring Operation: 55+51=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,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,1 Current State: 51:[17, 13], Operations: ['90-35=55', '68-55=13'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,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,2 Current State: 51:[55, 4], Operations: ['90-35=55', '68/17=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[68, 17, 90, 35], Operations: [] Exploring Operation: 90-35=55, Resulting Numbers: [68, 17, 55] Generated Node #0,2: 51:[68, 17, 55] Operation: 90-35=55 Moving to Node #0,2 Current State: 51:[68, 17, 55], Operations: ['90-35=55'] Exploring Operation: 68/17=4, Resulting Numbers: [55, 4] Generated Node #0,2,2: 51:[55, 4] Operation: 68/17=4 Moving to Node #0,2,2 Current State: 51:[55, 4], Operations: ['90-35=55', '68/17=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic