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
[ 61, 5, 84, 87 ]
22
[ "61+5=66", "87-84=3", "66/3=22" ]
Current State: 22:[61, 5, 84, 87], Operations: [] Exploring Operation: 61+5=66, Resulting Numbers: [84, 87, 66] Generated Node #2: [84, 87, 66] from Operation: 61+5=66 Current State: 22:[84, 87, 66], Operations: ['61+5=66'] Exploring Operation: 87-84=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 87-84=3 Current State: 22:[66, 3], Operations: ['61+5=66', '87-84=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[61, 5, 84, 87], Operations: [] Exploring Operation: 84-5=79, Resulting Numbers: [61, 87, 79] Generated Node #0,0: 22:[61, 87, 79] Operation: 84-5=79 Exploring Operation: 87-61=26, Resulting Numbers: [5, 84, 26] Generated Node #0,1: 22:[5, 84, 26] Operation: 87-61=26 Exploring Operation: 84-61=23, Resulting Numbers: [5, 87, 23] Generated Node #0,2: 22:[5, 87, 23] Operation: 84-61=23 Exploring Operation: 61-5=56, Resulting Numbers: [84, 87, 56] Generated Node #0,3: 22:[84, 87, 56] Operation: 61-5=56 Exploring Operation: 87-84=3, Resulting Numbers: [61, 5, 3] Generated Node #0,4: 22:[61, 5, 3] Operation: 87-84=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[61, 5, 3], Operations: ['87-84=3'] Exploring Operation: 61-3=58, Resulting Numbers: [5, 58] Generated Node #0,4,0: 22:[5, 58] Operation: 61-3=58 Exploring Operation: 61-5=56, Resulting Numbers: [3, 56] Generated Node #0,4,1: 22:[3, 56] Operation: 61-5=56 Exploring Operation: 5*3=15, Resulting Numbers: [61, 15] Generated Node #0,4,2: 22:[61, 15] Operation: 5*3=15 Exploring Operation: 5+3=8, Resulting Numbers: [61, 8] Generated Node #0,4,3: 22:[61, 8] Operation: 5+3=8 Exploring Operation: 5-3=2, Resulting Numbers: [61, 2] Generated Node #0,4,4: 22:[61, 2] Operation: 5-3=2 Moving to Node #0,4,1 Current State: 22:[3, 56], Operations: ['87-84=3', '61-5=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,22 unequal: No Solution Moving to Node #0,4,4 Current State: 22:[61, 2], Operations: ['87-84=3', '5-3=2'] Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,22 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,22 unequal: No Solution Moving to Node #0,4,0 Current State: 22:[5, 58], Operations: ['87-84=3', '61-3=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,22 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,22 unequal: No Solution Moving to Node #0,4,3 Current State: 22:[61, 8], Operations: ['87-84=3', '5+3=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,22 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,22 unequal: No Solution Moving to Node #0,4,2 Current State: 22:[61, 15], Operations: ['87-84=3', '5*3=15'] Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,22 unequal: No Solution Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,22 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[5, 84, 26], Operations: ['87-61=26'] Exploring Operation: 5+26=31, Resulting Numbers: [84, 31] Generated Node #0,1,0: 22:[84, 31] Operation: 5+26=31 Exploring Operation: 84-26=58, Resulting Numbers: [5, 58] Generated Node #0,1,1: 22:[5, 58] Operation: 84-26=58 Exploring Operation: 26-5=21, Resulting Numbers: [84, 21] Generated Node #0,1,2: 22:[84, 21] Operation: 26-5=21 Exploring Operation: 5+84=89, Resulting Numbers: [26, 89] Generated Node #0,1,3: 22:[26, 89] Operation: 5+84=89 Exploring Operation: 84-5=79, Resulting Numbers: [26, 79] Generated Node #0,1,4: 22:[26, 79] Operation: 84-5=79 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[5, 58], Operations: ['87-61=26', '84-26=58'] Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,22 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,22 unequal: No Solution No 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: 22:[26, 79], Operations: ['87-61=26', '84-5=79'] Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,22 unequal: No Solution No 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: 22:[84, 21], Operations: ['87-61=26', '26-5=21'] Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,22 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,22 unequal: No Solution No 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: 22:[84, 31], Operations: ['87-61=26', '5+26=31'] Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,22 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,22 unequal: No Solution No 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: 22:[26, 89], Operations: ['87-61=26', '5+84=89'] Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 26+89=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 26*89=2314, Resulting Numbers: [2314] 2314,22 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: 22:[5, 87, 23], Operations: ['84-61=23'] Exploring Operation: 5+87=92, Resulting Numbers: [23, 92] Generated Node #0,2,0: 22:[23, 92] Operation: 5+87=92 Exploring Operation: 23-5=18, Resulting Numbers: [87, 18] Generated Node #0,2,1: 22:[87, 18] Operation: 23-5=18 Exploring Operation: 87-23=64, Resulting Numbers: [5, 64] Generated Node #0,2,2: 22:[5, 64] Operation: 87-23=64 Exploring Operation: 5+23=28, Resulting Numbers: [87, 28] Generated Node #0,2,3: 22:[87, 28] Operation: 5+23=28 Exploring Operation: 87-5=82, Resulting Numbers: [23, 82] Generated Node #0,2,4: 22:[23, 82] Operation: 87-5=82 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 22:[5, 64], Operations: ['84-61=23', '87-23=64'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 5*64=320, Resulting Numbers: [320] 320,22 unequal: No Solution Exploring Operation: 5+64=69, Resulting Numbers: [69] 69,22 unequal: No Solution No 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: 22:[23, 82], Operations: ['84-61=23', '87-5=82'] Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 23*82=1886, Resulting Numbers: [1886] 1886,22 unequal: No Solution No 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: 22:[87, 18], Operations: ['84-61=23', '23-5=18'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,22 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,22 unequal: No Solution No 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: 22:[23, 92], Operations: ['84-61=23', '5+87=92'] Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 23*92=2116, Resulting Numbers: [2116] 2116,22 unequal: No Solution Exploring Operation: 23+92=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,22 unequal: No Solution No 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: 22:[87, 28], Operations: ['84-61=23', '5+23=28'] Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,22 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: 22:[61, 87, 79], Operations: ['84-5=79'] Exploring Operation: 87-79=8, Resulting Numbers: [61, 8] Generated Node #0,0,0: 22:[61, 8] Operation: 87-79=8 Exploring Operation: 61+87=148, Resulting Numbers: [79, 148] Generated Node #0,0,1: 22:[79, 148] Operation: 61+87=148 Exploring Operation: 61+79=140, Resulting Numbers: [87, 140] Generated Node #0,0,2: 22:[87, 140] Operation: 61+79=140 Exploring Operation: 87-61=26, Resulting Numbers: [79, 26] Generated Node #0,0,3: 22:[79, 26] Operation: 87-61=26 Exploring Operation: 79-61=18, Resulting Numbers: [87, 18] Generated Node #0,0,4: 22:[87, 18] Operation: 79-61=18 Moving to Node #0,0,0 Current State: 22:[61, 8], Operations: ['84-5=79', '87-79=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[79, 26], Operations: ['84-5=79', '87-61=26'] Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,22 unequal: No Solution Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[87, 18], Operations: ['84-5=79', '79-61=18'] Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,22 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[79, 148], Operations: ['84-5=79', '61+87=148'] Exploring Operation: 148-79=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 79*148=11692, Resulting Numbers: [11692] 11692,22 unequal: No Solution Exploring Operation: 79+148=227, Resulting Numbers: [227] 227,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[87, 140], Operations: ['84-5=79', '61+79=140'] Exploring Operation: 87+140=227, Resulting Numbers: [227] 227,22 unequal: No Solution Exploring Operation: 140-87=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 87*140=12180, Resulting Numbers: [12180] 12180,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[84, 87, 56], Operations: ['61-5=56'] Exploring Operation: 84+56=140, Resulting Numbers: [87, 140] Generated Node #0,3,0: 22:[87, 140] Operation: 84+56=140 Exploring Operation: 84+87=171, Resulting Numbers: [56, 171] Generated Node #0,3,1: 22:[56, 171] Operation: 84+87=171 Exploring Operation: 87-84=3, Resulting Numbers: [56, 3] Generated Node #0,3,2: 22:[56, 3] Operation: 87-84=3 Exploring Operation: 84-56=28, Resulting Numbers: [87, 28] Generated Node #0,3,3: 22:[87, 28] Operation: 84-56=28 Exploring Operation: 87-56=31, Resulting Numbers: [84, 31] Generated Node #0,3,4: 22:[84, 31] Operation: 87-56=31 Moving to Node #0,3,2 Current State: 22:[56, 3], Operations: ['61-5=56', '87-84=3'] Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,22 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,22 unequal: No Solution Moving to Node #0,3,4 Current State: 22:[84, 31], Operations: ['61-5=56', '87-56=31'] Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,22 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[87, 28], Operations: ['61-5=56', '84-56=28'] Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,22 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[87, 140], Operations: ['61-5=56', '84+56=140'] Exploring Operation: 87*140=12180, Resulting Numbers: [12180] 12180,22 unequal: No Solution Exploring Operation: 140-87=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 87+140=227, Resulting Numbers: [227] 227,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[56, 171], Operations: ['61-5=56', '84+87=171'] Exploring Operation: 56*171=9576, Resulting Numbers: [9576] 9576,22 unequal: No Solution Exploring Operation: 171-56=115, Resulting Numbers: [115] 115,22 unequal: No Solution Exploring Operation: 56+171=227, Resulting Numbers: [227] 227,22 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
[ 42, 8, 82, 25 ]
73
[ "42-8=34", "82+25=107", "107-34=73" ]
Current State: 73:[42, 8, 82, 25], Operations: [] Exploring Operation: 42-8=34, Resulting Numbers: [82, 25, 34] Generated Node #2: [82, 25, 34] from Operation: 42-8=34 Current State: 73:[82, 25, 34], Operations: ['42-8=34'] Exploring Operation: 82+25=107, Resulting Numbers: [34, 107] Generated Node #3: [34, 107] from Operation: 82+25=107 Current State: 73:[34, 107], Operations: ['42-8=34', '82+25=107'] Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[42, 8, 82, 25], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [42, 25, 74] Generated Node #0,0: 73:[42, 25, 74] Operation: 82-8=74 Exploring Operation: 42+25=67, Resulting Numbers: [8, 82, 67] Generated Node #0,1: 73:[8, 82, 67] Operation: 42+25=67 Exploring Operation: 8+25=33, Resulting Numbers: [42, 82, 33] Generated Node #0,2: 73:[42, 82, 33] Operation: 8+25=33 Exploring Operation: 42+8=50, Resulting Numbers: [82, 25, 50] Generated Node #0,3: 73:[82, 25, 50] Operation: 42+8=50 Moving to Node #0,0 Current State: 73:[42, 25, 74], Operations: ['82-8=74'] Exploring Operation: 74-25=49, Resulting Numbers: [42, 49] Generated Node #0,0,0: 73:[42, 49] Operation: 74-25=49 Exploring Operation: 42+25=67, Resulting Numbers: [74, 67] Generated Node #0,0,1: 73:[74, 67] Operation: 42+25=67 Exploring Operation: 25+74=99, Resulting Numbers: [42, 99] Generated Node #0,0,2: 73:[42, 99] Operation: 25+74=99 Exploring Operation: 42-25=17, Resulting Numbers: [74, 17] Generated Node #0,0,3: 73:[74, 17] Operation: 42-25=17 Moving to Node #0,2 Current State: 73:[42, 82, 33], Operations: ['8+25=33'] Exploring Operation: 42+33=75, Resulting Numbers: [82, 75] Generated Node #0,2,0: 73:[82, 75] Operation: 42+33=75 Exploring Operation: 82-33=49, Resulting Numbers: [42, 49] Generated Node #0,2,1: 73:[42, 49] Operation: 82-33=49 Exploring Operation: 42-33=9, Resulting Numbers: [82, 9] Generated Node #0,2,2: 73:[82, 9] Operation: 42-33=9 Exploring Operation: 82-42=40, Resulting Numbers: [33, 40] Generated Node #0,2,3: 73:[33, 40] Operation: 82-42=40 Moving to Node #0,1 Current State: 73:[8, 82, 67], Operations: ['42+25=67'] Exploring Operation: 8+82=90, Resulting Numbers: [67, 90] Generated Node #0,1,0: 73:[67, 90] Operation: 8+82=90 Exploring Operation: 8+67=75, Resulting Numbers: [82, 75] Generated Node #0,1,1: 73:[82, 75] Operation: 8+67=75 Exploring Operation: 67-8=59, Resulting Numbers: [82, 59] Generated Node #0,1,2: 73:[82, 59] Operation: 67-8=59 Exploring Operation: 82-8=74, Resulting Numbers: [67, 74] Generated Node #0,1,3: 73:[67, 74] Operation: 82-8=74 Moving to Node #0,3 Current State: 73:[82, 25, 50], Operations: ['42+8=50'] Exploring Operation: 25+50=75, Resulting Numbers: [82, 75] Generated Node #0,3,0: 73:[82, 75] Operation: 25+50=75 Exploring Operation: 50-25=25, Resulting Numbers: [82, 25] Generated Node #0,3,1: 73:[82, 25] Operation: 50-25=25 Exploring Operation: 82-25=57, Resulting Numbers: [50, 57] Generated Node #0,3,2: 73:[50, 57] Operation: 82-25=57 Exploring Operation: 82+25=107, Resulting Numbers: [50, 107] Generated Node #0,3,3: 73:[50, 107] Operation: 82+25=107 Moving to Node #0,0,1 Current State: 73:[74, 67], Operations: ['82-8=74', '42+25=67'] Exploring Operation: 74+67=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 74*67=4958, Resulting Numbers: [4958] 4958,73 unequal: No Solution Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[67, 74], Operations: ['42+25=67', '82-8=74'] Exploring Operation: 67+74=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 67*74=4958, Resulting Numbers: [4958] 4958,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[82, 75], Operations: ['42+8=50', '25+50=75'] Exploring Operation: 82*75=6150, Resulting Numbers: [6150] 6150,73 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 82+75=157, Resulting Numbers: [157] 157,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[82, 75], Operations: ['42+25=67', '8+67=75'] Exploring Operation: 82+75=157, Resulting Numbers: [157] 157,73 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 82*75=6150, Resulting Numbers: [6150] 6150,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[82, 75], Operations: ['8+25=33', '42+33=75'] Exploring Operation: 82*75=6150, Resulting Numbers: [6150] 6150,73 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 82+75=157, Resulting Numbers: [157] 157,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[82, 59], Operations: ['42+25=67', '67-8=59'] Exploring Operation: 82*59=4838, Resulting Numbers: [4838] 4838,73 unequal: No Solution Exploring Operation: 82+59=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[67, 90], Operations: ['42+25=67', '8+82=90'] Exploring Operation: 90-67=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 67*90=6030, Resulting Numbers: [6030] 6030,73 unequal: No Solution Exploring Operation: 67+90=157, Resulting Numbers: [157] 157,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[50, 57], Operations: ['42+8=50', '82-25=57'] Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,73 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[42, 49], Operations: ['8+25=33', '82-33=49'] Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,73 unequal: No Solution Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,73 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[42, 49], Operations: ['82-8=74', '74-25=49'] Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,73 unequal: No Solution Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,73 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[42, 99], Operations: ['82-8=74', '25+74=99'] Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[82, 25], Operations: ['42+8=50', '50-25=25'] Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,73 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[50, 107], Operations: ['42+8=50', '82+25=107'] Exploring Operation: 107-50=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 50*107=5350, Resulting Numbers: [5350] 5350,73 unequal: No Solution Exploring Operation: 50+107=157, Resulting Numbers: [157] 157,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[74, 17], Operations: ['82-8=74', '42-25=17'] Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,73 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[82, 9], Operations: ['8+25=33', '42-33=9'] Exploring Operation: 82*9=738, Resulting Numbers: [738] 738,73 unequal: No Solution Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,73 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[42, 8, 82, 25], Operations: [] Exploring Operation: 8+25=33, Resulting Numbers: [42, 82, 33] Generated Node #0,2: 73:[42, 82, 33] Operation: 8+25=33 Moving to Node #0,2 Current State: 73:[42, 82, 33], Operations: ['8+25=33'] Exploring Operation: 42-33=9, Resulting Numbers: [82, 9] Generated Node #0,2,2: 73:[82, 9] Operation: 42-33=9 Moving to Node #0,2,2 Current State: 73:[82, 9], Operations: ['8+25=33', '42-33=9'] Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.940104
hs_4
sum_heuristic
[ 36, 80, 45, 44 ]
45
[ "80-36=44", "45+44=89", "89-44=45" ]
Current State: 45:[36, 80, 45, 44], Operations: [] Exploring Operation: 80-36=44, Resulting Numbers: [45, 44, 44] Generated Node #2: [45, 44, 44] from Operation: 80-36=44 Current State: 45:[45, 44, 44], Operations: ['80-36=44'] Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,45 equal: Goal Reached Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[36, 80, 45, 44], Operations: [] Exploring Operation: 80-44=36, Resulting Numbers: [36, 45, 36] Generated Node #0,0: 45:[36, 45, 36] Operation: 80-44=36 Exploring Operation: 45-36=9, Resulting Numbers: [80, 44, 9] Generated Node #0,1: 45:[80, 44, 9] Operation: 45-36=9 Exploring Operation: 80-36=44, Resulting Numbers: [45, 44, 44] Generated Node #0,2: 45:[45, 44, 44] Operation: 80-36=44 Exploring Operation: 44-36=8, Resulting Numbers: [80, 45, 8] Generated Node #0,3: 45:[80, 45, 8] Operation: 44-36=8 Exploring Operation: 80-45=35, Resulting Numbers: [36, 44, 35] Generated Node #0,4: 45:[36, 44, 35] Operation: 80-45=35 Moving to Node #0,2 Current State: 45:[45, 44, 44], Operations: ['80-36=44'] Exploring Operation: 45-44=1, Resulting Numbers: [44, 1] Generated Node #0,2,0: 45:[44, 1] Operation: 45-44=1 Exploring Operation: 45-44=1, Resulting Numbers: [44, 1] Generated Node #0,2,1: 45:[44, 1] Operation: 45-44=1 Exploring Operation: 44-44=0, Resulting Numbers: [45, 0] Generated Node #0,2,2: 45:[45, 0] Operation: 44-44=0 Exploring Operation: 44+44=88, Resulting Numbers: [45, 88] Generated Node #0,2,3: 45:[45, 88] Operation: 44+44=88 Exploring Operation: 44/44=1, Resulting Numbers: [45, 1] Generated Node #0,2,4: 45:[45, 1] Operation: 44/44=1 Moving to Node #0,0 Current State: 45:[36, 45, 36], Operations: ['80-44=36'] Exploring Operation: 36+36=72, Resulting Numbers: [45, 72] Generated Node #0,0,0: 45:[45, 72] Operation: 36+36=72 Exploring Operation: 36/36=1, Resulting Numbers: [45, 1] Generated Node #0,0,1: 45:[45, 1] Operation: 36/36=1 Exploring Operation: 45-36=9, Resulting Numbers: [36, 9] Generated Node #0,0,2: 45:[36, 9] Operation: 45-36=9 Exploring Operation: 45-36=9, Resulting Numbers: [36, 9] Generated Node #0,0,3: 45:[36, 9] Operation: 45-36=9 Exploring Operation: 36-36=0, Resulting Numbers: [45, 0] Generated Node #0,0,4: 45:[45, 0] Operation: 36-36=0 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[45, 1], Operations: ['80-44=36', '36/36=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[36, 80, 45, 44], Operations: [] Exploring Operation: 80-44=36, Resulting Numbers: [36, 45, 36] Generated Node #0,0: 45:[36, 45, 36] Operation: 80-44=36 Moving to Node #0,0 Current State: 45:[36, 45, 36], Operations: ['80-44=36'] Exploring Operation: 36/36=1, Resulting Numbers: [45, 1] Generated Node #0,0,1: 45:[45, 1] Operation: 36/36=1 Moving to Node #0,0,1 Current State: 45:[45, 1], Operations: ['80-44=36', '36/36=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 2, 99, 22, 64 ]
73
[ "2*99=198", "198/22=9", "64+9=73" ]
Current State: 73:[2, 99, 22, 64], Operations: [] Exploring Operation: 2*99=198, Resulting Numbers: [22, 64, 198] Generated Node #2: [22, 64, 198] from Operation: 2*99=198 Current State: 73:[22, 64, 198], Operations: ['2*99=198'] Exploring Operation: 198/22=9, Resulting Numbers: [64, 9] Generated Node #3: [64, 9] from Operation: 198/22=9 Current State: 73:[64, 9], Operations: ['2*99=198', '198/22=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[2, 99, 22, 64], Operations: [] Exploring Operation: 2*22=44, Resulting Numbers: [99, 64, 44] Generated Node #0,0: 73:[99, 64, 44] Operation: 2*22=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[99, 64, 44], Operations: ['2*22=44'] Exploring Operation: 99-44=55, Resulting Numbers: [64, 55] Generated Node #0,0,0: 73:[64, 55] Operation: 99-44=55 Moving to Node #0,0,0 Current State: 73:[64, 55], Operations: ['2*22=44', '99-44=55'] Exploring Operation: 64+55=119, Resulting Numbers: [119] 119,73 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
[ 46, 29, 83, 58 ]
42
[ "46-29=17", "83-58=25", "17+25=42" ]
Current State: 42:[46, 29, 83, 58], Operations: [] Exploring Operation: 46-29=17, Resulting Numbers: [83, 58, 17] Generated Node #2: [83, 58, 17] from Operation: 46-29=17 Current State: 42:[83, 58, 17], Operations: ['46-29=17'] Exploring Operation: 83-58=25, Resulting Numbers: [17, 25] Generated Node #3: [17, 25] from Operation: 83-58=25 Current State: 42:[17, 25], Operations: ['46-29=17', '83-58=25'] Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[46, 29, 83, 58], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [46, 29, 25] Generated Node #0,0: 42:[46, 29, 25] Operation: 83-58=25 Exploring Operation: 83-46=37, Resulting Numbers: [29, 58, 37] Generated Node #0,1: 42:[29, 58, 37] Operation: 83-46=37 Moving to Node #0,0 Current State: 42:[46, 29, 25], Operations: ['83-58=25'] Exploring Operation: 46-29=17, Resulting Numbers: [25, 17] Generated Node #0,0,0: 42:[25, 17] Operation: 46-29=17 Exploring Operation: 29-25=4, Resulting Numbers: [46, 4] Generated Node #0,0,1: 42:[46, 4] Operation: 29-25=4 Moving to Node #0,1 Current State: 42:[29, 58, 37], Operations: ['83-46=37'] Exploring Operation: 58/29=2, Resulting Numbers: [37, 2] Generated Node #0,1,0: 42:[37, 2] Operation: 58/29=2 Exploring Operation: 58-37=21, Resulting Numbers: [29, 21] Generated Node #0,1,1: 42:[29, 21] Operation: 58-37=21 Moving to Node #0,0,1 Current State: 42:[46, 4], Operations: ['83-58=25', '29-25=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[46, 29, 83, 58], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [46, 29, 25] Generated Node #0,0: 42:[46, 29, 25] Operation: 83-58=25 Moving to Node #0,0 Current State: 42:[46, 29, 25], Operations: ['83-58=25'] Exploring Operation: 29-25=4, Resulting Numbers: [46, 4] Generated Node #0,0,1: 42:[46, 4] Operation: 29-25=4 Moving to Node #0,0,1 Current State: 42:[46, 4], Operations: ['83-58=25', '29-25=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 32, 97, 52, 90 ]
91
[ "32+97=129", "90-52=38", "129-38=91" ]
Current State: 91:[32, 97, 52, 90], Operations: [] Exploring Operation: 32+97=129, Resulting Numbers: [52, 90, 129] Generated Node #2: [52, 90, 129] from Operation: 32+97=129 Current State: 91:[52, 90, 129], Operations: ['32+97=129'] Exploring Operation: 90-52=38, Resulting Numbers: [129, 38] Generated Node #3: [129, 38] from Operation: 90-52=38 Current State: 91:[129, 38], Operations: ['32+97=129', '90-52=38'] Exploring Operation: 129-38=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[32, 97, 52, 90], Operations: [] Exploring Operation: 32+52=84, Resulting Numbers: [97, 90, 84] Generated Node #0,0: 91:[97, 90, 84] Operation: 32+52=84 Exploring Operation: 97-52=45, Resulting Numbers: [32, 90, 45] Generated Node #0,1: 91:[32, 90, 45] Operation: 97-52=45 Exploring Operation: 52-32=20, Resulting Numbers: [97, 90, 20] Generated Node #0,2: 91:[97, 90, 20] Operation: 52-32=20 Exploring Operation: 97-90=7, Resulting Numbers: [32, 52, 7] Generated Node #0,3: 91:[32, 52, 7] Operation: 97-90=7 Exploring Operation: 90-52=38, Resulting Numbers: [32, 97, 38] Generated Node #0,4: 91:[32, 97, 38] Operation: 90-52=38 Moving to Node #0,0 Current State: 91:[97, 90, 84], Operations: ['32+52=84'] Exploring Operation: 97+84=181, Resulting Numbers: [90, 181] Generated Node #0,0,0: 91:[90, 181] Operation: 97+84=181 Exploring Operation: 90-84=6, Resulting Numbers: [97, 6] Generated Node #0,0,1: 91:[97, 6] Operation: 90-84=6 Exploring Operation: 97-84=13, Resulting Numbers: [90, 13] Generated Node #0,0,2: 91:[90, 13] Operation: 97-84=13 Exploring Operation: 90+84=174, Resulting Numbers: [97, 174] Generated Node #0,0,3: 91:[97, 174] Operation: 90+84=174 Exploring Operation: 97-90=7, Resulting Numbers: [84, 7] Generated Node #0,0,4: 91:[84, 7] Operation: 97-90=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[90, 13], Operations: ['32+52=84', '97-84=13'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 90+13=103, Resulting Numbers: [103] 103,91 unequal: No Solution Exploring Operation: 90*13=1170, Resulting Numbers: [1170] 1170,91 unequal: No Solution No 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: 91:[97, 6], Operations: ['32+52=84', '90-84=6'] Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,91 unequal: No Solution Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,91 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[32, 97, 52, 90], Operations: [] Exploring Operation: 32+52=84, Resulting Numbers: [97, 90, 84] Generated Node #0,0: 91:[97, 90, 84] Operation: 32+52=84 Moving to Node #0,0 Current State: 91:[97, 90, 84], Operations: ['32+52=84'] Exploring Operation: 90-84=6, Resulting Numbers: [97, 6] Generated Node #0,0,1: 91:[97, 6] Operation: 90-84=6 Moving to Node #0,0,1 Current State: 91:[97, 6], Operations: ['32+52=84', '90-84=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 54, 49, 90, 35 ]
49
[ "90-54=36", "36-35=1", "49*1=49" ]
Current State: 49:[54, 49, 90, 35], Operations: [] Exploring Operation: 90-54=36, Resulting Numbers: [49, 35, 36] Generated Node #2: [49, 35, 36] from Operation: 90-54=36 Current State: 49:[49, 35, 36], Operations: ['90-54=36'] Exploring Operation: 36-35=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 36-35=1 Current State: 49:[49, 1], Operations: ['90-54=36', '36-35=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[54, 49, 90, 35], Operations: [] Exploring Operation: 90-49=41, Resulting Numbers: [54, 35, 41] Generated Node #0,0: 49:[54, 35, 41] Operation: 90-49=41 Exploring Operation: 54-35=19, Resulting Numbers: [49, 90, 19] Generated Node #0,1: 49:[49, 90, 19] Operation: 54-35=19 Exploring Operation: 90-35=55, Resulting Numbers: [54, 49, 55] Generated Node #0,2: 49:[54, 49, 55] Operation: 90-35=55 Exploring Operation: 90-54=36, Resulting Numbers: [49, 35, 36] Generated Node #0,3: 49:[49, 35, 36] Operation: 90-54=36 Exploring Operation: 49-35=14, Resulting Numbers: [54, 90, 14] Generated Node #0,4: 49:[54, 90, 14] Operation: 49-35=14 Moving to Node #0,2 Current State: 49:[54, 49, 55], Operations: ['90-35=55'] Exploring Operation: 55-49=6, Resulting Numbers: [54, 6] Generated Node #0,2,0: 49:[54, 6] Operation: 55-49=6 Exploring Operation: 55-54=1, Resulting Numbers: [49, 1] Generated Node #0,2,1: 49:[49, 1] Operation: 55-54=1 Exploring Operation: 54+49=103, Resulting Numbers: [55, 103] Generated Node #0,2,2: 49:[55, 103] Operation: 54+49=103 Exploring Operation: 54+55=109, Resulting Numbers: [49, 109] Generated Node #0,2,3: 49:[49, 109] Operation: 54+55=109 Exploring Operation: 54-49=5, Resulting Numbers: [55, 5] Generated Node #0,2,4: 49:[55, 5] Operation: 54-49=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[54, 6], Operations: ['90-35=55', '55-49=6'] Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 54*6=324, Resulting Numbers: [324] 324,49 unequal: No Solution Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[49, 1], Operations: ['90-35=55', '55-54=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[54, 49, 90, 35], Operations: [] Exploring Operation: 90-35=55, Resulting Numbers: [54, 49, 55] Generated Node #0,2: 49:[54, 49, 55] Operation: 90-35=55 Moving to Node #0,2 Current State: 49:[54, 49, 55], Operations: ['90-35=55'] Exploring Operation: 55-54=1, Resulting Numbers: [49, 1] Generated Node #0,2,1: 49:[49, 1] Operation: 55-54=1 Moving to Node #0,2,1 Current State: 49:[49, 1], Operations: ['90-35=55', '55-54=1'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 71, 51, 39, 30 ]
68
[ "51+39=90", "90/30=3", "71-3=68" ]
Current State: 68:[71, 51, 39, 30], Operations: [] Exploring Operation: 51+39=90, Resulting Numbers: [71, 30, 90] Generated Node #2: [71, 30, 90] from Operation: 51+39=90 Current State: 68:[71, 30, 90], Operations: ['51+39=90'] Exploring Operation: 90/30=3, Resulting Numbers: [71, 3] Generated Node #3: [71, 3] from Operation: 90/30=3 Current State: 68:[71, 3], Operations: ['51+39=90', '90/30=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[71, 51, 39, 30], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [71, 30, 12] Generated Node #0,0: 68:[71, 30, 12] Operation: 51-39=12 Exploring Operation: 51-30=21, Resulting Numbers: [71, 39, 21] Generated Node #0,1: 68:[71, 39, 21] Operation: 51-30=21 Exploring Operation: 71-51=20, Resulting Numbers: [39, 30, 20] Generated Node #0,2: 68:[39, 30, 20] Operation: 71-51=20 Moving to Node #0,0 Current State: 68:[71, 30, 12], Operations: ['51-39=12'] Exploring Operation: 30-12=18, Resulting Numbers: [71, 18] Generated Node #0,0,0: 68:[71, 18] Operation: 30-12=18 Exploring Operation: 71-30=41, Resulting Numbers: [12, 41] Generated Node #0,0,1: 68:[12, 41] Operation: 71-30=41 Exploring Operation: 30+12=42, Resulting Numbers: [71, 42] Generated Node #0,0,2: 68:[71, 42] Operation: 30+12=42 Moving to Node #0,1 Current State: 68:[71, 39, 21], Operations: ['51-30=21'] Exploring Operation: 39+21=60, Resulting Numbers: [71, 60] Generated Node #0,1,0: 68:[71, 60] Operation: 39+21=60 Exploring Operation: 71-39=32, Resulting Numbers: [21, 32] Generated Node #0,1,1: 68:[21, 32] Operation: 71-39=32 Exploring Operation: 39-21=18, Resulting Numbers: [71, 18] Generated Node #0,1,2: 68:[71, 18] Operation: 39-21=18 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[71, 18], Operations: ['51-30=21', '39-21=18'] Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 71*18=1278, Resulting Numbers: [1278] 1278,68 unequal: No Solution Exploring Operation: 71+18=89, Resulting Numbers: [89] 89,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,1 Current State: 68:[21, 32], Operations: ['51-30=21', '71-39=32'] Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,68 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,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,0 Current State: 68:[71, 60], Operations: ['51-30=21', '39+21=60'] Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 71*60=4260, Resulting Numbers: [4260] 4260,68 unequal: No Solution Exploring Operation: 71+60=131, Resulting Numbers: [131] 131,68 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: 68:[39, 30, 20], Operations: ['71-51=20'] Exploring Operation: 39-30=9, Resulting Numbers: [20, 9] Generated Node #0,2,0: 68:[20, 9] Operation: 39-30=9 Exploring Operation: 39+30=69, Resulting Numbers: [20, 69] Generated Node #0,2,1: 68:[20, 69] Operation: 39+30=69 Exploring Operation: 39-20=19, Resulting Numbers: [30, 19] Generated Node #0,2,2: 68:[30, 19] Operation: 39-20=19 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[20, 69], Operations: ['71-51=20', '39+30=69'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,68 unequal: No Solution Exploring Operation: 20*69=1380, Resulting Numbers: [1380] 1380,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,2,2 Current State: 68:[30, 19], Operations: ['71-51=20', '39-20=19'] Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,68 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,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,2,0 Current State: 68:[20, 9], Operations: ['71-51=20', '39-30=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,68 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,68 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: 68:[71, 18], Operations: ['51-39=12', '30-12=18'] Exploring Operation: 71+18=89, Resulting Numbers: [89] 89,68 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 71*18=1278, Resulting Numbers: [1278] 1278,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[71, 42], Operations: ['51-39=12', '30+12=42'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,68 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[12, 41], Operations: ['51-39=12', '71-30=41'] Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,68 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,68 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 33, 64, 19, 2 ]
71
[ "33-19=14", "14/2=7", "64+7=71" ]
Current State: 71:[33, 64, 19, 2], Operations: [] Exploring Operation: 33-19=14, Resulting Numbers: [64, 2, 14] Generated Node #2: [64, 2, 14] from Operation: 33-19=14 Current State: 71:[64, 2, 14], Operations: ['33-19=14'] Exploring Operation: 14/2=7, Resulting Numbers: [64, 7] Generated Node #3: [64, 7] from Operation: 14/2=7 Current State: 71:[64, 7], Operations: ['33-19=14', '14/2=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[33, 64, 19, 2], Operations: [] Exploring Operation: 19*2=38, Resulting Numbers: [33, 64, 38] Generated Node #0,0: 71:[33, 64, 38] Operation: 19*2=38 Exploring Operation: 33*2=66, Resulting Numbers: [64, 19, 66] Generated Node #0,1: 71:[64, 19, 66] Operation: 33*2=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[64, 19, 66], Operations: ['33*2=66'] Exploring Operation: 64+19=83, Resulting Numbers: [66, 83] Generated Node #0,1,0: 71:[66, 83] Operation: 64+19=83 Exploring Operation: 19+66=85, Resulting Numbers: [64, 85] Generated Node #0,1,1: 71:[64, 85] Operation: 19+66=85 Moving to Node #0,1,0 Current State: 71:[66, 83], Operations: ['33*2=66', '64+19=83'] Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 66+83=149, Resulting Numbers: [149] 149,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[64, 85], Operations: ['33*2=66', '19+66=85'] Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 64+85=149, Resulting Numbers: [149] 149,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 Current State: 71:[33, 64, 38], Operations: ['19*2=38'] Exploring Operation: 33+38=71, Resulting Numbers: [64, 71] Generated Node #0,0,0: 71:[64, 71] Operation: 33+38=71 Exploring Operation: 33+64=97, Resulting Numbers: [38, 97] Generated Node #0,0,1: 71:[38, 97] Operation: 33+64=97 Moving to Node #0,0,0 Current State: 71:[64, 71], Operations: ['19*2=38', '33+38=71'] Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 64+71=135, Resulting Numbers: [135] 135,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[38, 97], Operations: ['19*2=38', '33+64=97'] Exploring Operation: 97-38=59, Resulting Numbers: [59] 59,71 unequal: No Solution Exploring Operation: 38+97=135, Resulting Numbers: [135] 135,71 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
[ 68, 76, 46, 90 ]
52
[ "76-68=8", "90-46=44", "8+44=52" ]
Current State: 52:[68, 76, 46, 90], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [46, 90, 8] Generated Node #2: [46, 90, 8] from Operation: 76-68=8 Current State: 52:[46, 90, 8], Operations: ['76-68=8'] Exploring Operation: 90-46=44, Resulting Numbers: [8, 44] Generated Node #3: [8, 44] from Operation: 90-46=44 Current State: 52:[8, 44], Operations: ['76-68=8', '90-46=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[68, 76, 46, 90], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [46, 90, 8] Generated Node #0,0: 52:[46, 90, 8] Operation: 76-68=8 Exploring Operation: 90-68=22, Resulting Numbers: [76, 46, 22] Generated Node #0,1: 52:[76, 46, 22] Operation: 90-68=22 Exploring Operation: 90-76=14, Resulting Numbers: [68, 46, 14] Generated Node #0,2: 52:[68, 46, 14] Operation: 90-76=14 Moving to Node #0,2 Current State: 52:[68, 46, 14], Operations: ['90-76=14'] Exploring Operation: 68-14=54, Resulting Numbers: [46, 54] Generated Node #0,2,0: 52:[46, 54] Operation: 68-14=54 Exploring Operation: 46-14=32, Resulting Numbers: [68, 32] Generated Node #0,2,1: 52:[68, 32] Operation: 46-14=32 Exploring Operation: 68-46=22, Resulting Numbers: [14, 22] Generated Node #0,2,2: 52:[14, 22] Operation: 68-46=22 Moving to Node #0,1 Current State: 52:[76, 46, 22], Operations: ['90-68=22'] Exploring Operation: 76-46=30, Resulting Numbers: [22, 30] Generated Node #0,1,0: 52:[22, 30] Operation: 76-46=30 Exploring Operation: 76-22=54, Resulting Numbers: [46, 54] Generated Node #0,1,1: 52:[46, 54] Operation: 76-22=54 Exploring Operation: 46-22=24, Resulting Numbers: [76, 24] Generated Node #0,1,2: 52:[76, 24] Operation: 46-22=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[22, 30], Operations: ['90-68=22', '76-46=30'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,52 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[68, 76, 46, 90], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [76, 46, 22] Generated Node #0,1: 52:[76, 46, 22] Operation: 90-68=22 Moving to Node #0,1 Current State: 52:[76, 46, 22], Operations: ['90-68=22'] Exploring Operation: 76-46=30, Resulting Numbers: [22, 30] Generated Node #0,1,0: 52:[22, 30] Operation: 76-46=30 Moving to Node #0,1,0 Current State: 52:[22, 30], Operations: ['90-68=22', '76-46=30'] Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 49, 28, 8, 20 ]
49
[ "49+28=77", "8+20=28", "77-28=49" ]
Current State: 49:[49, 28, 8, 20], Operations: [] Exploring Operation: 49+28=77, Resulting Numbers: [8, 20, 77] Generated Node #2: [8, 20, 77] from Operation: 49+28=77 Current State: 49:[8, 20, 77], Operations: ['49+28=77'] Exploring Operation: 8+20=28, Resulting Numbers: [77, 28] Generated Node #3: [77, 28] from Operation: 8+20=28 Current State: 49:[77, 28], Operations: ['49+28=77', '8+20=28'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[49, 28, 8, 20], Operations: [] Exploring Operation: 28+20=48, Resulting Numbers: [49, 8, 48] Generated Node #0,0: 49:[49, 8, 48] Operation: 28+20=48 Exploring Operation: 28-20=8, Resulting Numbers: [49, 8, 8] Generated Node #0,1: 49:[49, 8, 8] Operation: 28-20=8 Moving to Node #0,0 Current State: 49:[49, 8, 48], Operations: ['28+20=48'] Exploring Operation: 48/8=6, Resulting Numbers: [49, 6] Generated Node #0,0,0: 49:[49, 6] Operation: 48/8=6 Exploring Operation: 49-48=1, Resulting Numbers: [8, 1] Generated Node #0,0,1: 49:[8, 1] Operation: 49-48=1 Moving to Node #0,1 Current State: 49:[49, 8, 8], Operations: ['28-20=8'] Exploring Operation: 8-8=0, Resulting Numbers: [49, 0] Generated Node #0,1,0: 49:[49, 0] Operation: 8-8=0 Exploring Operation: 8/8=1, Resulting Numbers: [49, 1] Generated Node #0,1,1: 49:[49, 1] Operation: 8/8=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[49, 1], Operations: ['28-20=8', '8/8=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[49, 28, 8, 20], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [49, 8, 8] Generated Node #0,1: 49:[49, 8, 8] Operation: 28-20=8 Moving to Node #0,1 Current State: 49:[49, 8, 8], Operations: ['28-20=8'] Exploring Operation: 8/8=1, Resulting Numbers: [49, 1] Generated Node #0,1,1: 49:[49, 1] Operation: 8/8=1 Moving to Node #0,1,1 Current State: 49:[49, 1], Operations: ['28-20=8', '8/8=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 36, 4, 19, 2 ]
82
[ "4+19=23", "2*23=46", "36+46=82" ]
Current State: 82:[36, 4, 19, 2], Operations: [] Exploring Operation: 4+19=23, Resulting Numbers: [36, 2, 23] Generated Node #2: [36, 2, 23] from Operation: 4+19=23 Current State: 82:[36, 2, 23], Operations: ['4+19=23'] Exploring Operation: 2*23=46, Resulting Numbers: [36, 46] Generated Node #3: [36, 46] from Operation: 2*23=46 Current State: 82:[36, 46], Operations: ['4+19=23', '2*23=46'] Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[36, 4, 19, 2], Operations: [] Exploring Operation: 4*19=76, Resulting Numbers: [36, 2, 76] Generated Node #0,0: 82:[36, 2, 76] Operation: 4*19=76 Exploring Operation: 36+19=55, Resulting Numbers: [4, 2, 55] Generated Node #0,1: 82:[4, 2, 55] Operation: 36+19=55 Exploring Operation: 19*2=38, Resulting Numbers: [36, 4, 38] Generated Node #0,2: 82:[36, 4, 38] Operation: 19*2=38 Exploring Operation: 36-19=17, Resulting Numbers: [4, 2, 17] Generated Node #0,3: 82:[4, 2, 17] Operation: 36-19=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[36, 4, 38], Operations: ['19*2=38'] Exploring Operation: 36/4=9, Resulting Numbers: [38, 9] Generated Node #0,2,0: 82:[38, 9] Operation: 36/4=9 Exploring Operation: 4+38=42, Resulting Numbers: [36, 42] Generated Node #0,2,1: 82:[36, 42] Operation: 4+38=42 Exploring Operation: 36+4=40, Resulting Numbers: [38, 40] Generated Node #0,2,2: 82:[38, 40] Operation: 36+4=40 Exploring Operation: 38-36=2, Resulting Numbers: [4, 2] Generated Node #0,2,3: 82:[4, 2] Operation: 38-36=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[4, 2], Operations: ['19*2=38', '38-36=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,82 unequal: No Solution No 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: 82:[38, 40], Operations: ['19*2=38', '36+4=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,82 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,82 unequal: No Solution No 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: 82:[36, 42], Operations: ['19*2=38', '4+38=42'] Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,82 unequal: No Solution Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,82 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,82 unequal: No Solution No 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: 82:[38, 9], Operations: ['19*2=38', '36/4=9'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,82 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: 82:[36, 2, 76], Operations: ['4*19=76'] Exploring Operation: 76-36=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 82:[2, 40] Operation: 76-36=40 Exploring Operation: 36+2=38, Resulting Numbers: [76, 38] Generated Node #0,0,1: 82:[76, 38] Operation: 36+2=38 Exploring Operation: 2+76=78, Resulting Numbers: [36, 78] Generated Node #0,0,2: 82:[36, 78] Operation: 2+76=78 Exploring Operation: 76/2=38, Resulting Numbers: [36, 38] Generated Node #0,0,3: 82:[36, 38] Operation: 76/2=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[2, 40], Operations: ['4*19=76', '76-36=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,82 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,82 unequal: No Solution No 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: 82:[36, 38], Operations: ['4*19=76', '76/2=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 36*38=1368, Resulting Numbers: [1368] 1368,82 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,82 unequal: No Solution No 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: 82:[76, 38], Operations: ['4*19=76', '36+2=38'] Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 76+38=114, Resulting Numbers: [114] 114,82 unequal: No Solution Exploring Operation: 76*38=2888, Resulting Numbers: [2888] 2888,82 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,82 unequal: No Solution No 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: 82:[36, 78], Operations: ['4*19=76', '2+76=78'] Exploring Operation: 36*78=2808, Resulting Numbers: [2808] 2808,82 unequal: No Solution Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 36+78=114, Resulting Numbers: [114] 114,82 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: 82:[4, 2, 55], Operations: ['36+19=55'] Exploring Operation: 55-2=53, Resulting Numbers: [4, 53] Generated Node #0,1,0: 82:[4, 53] Operation: 55-2=53 Exploring Operation: 4/2=2, Resulting Numbers: [55, 2] Generated Node #0,1,1: 82:[55, 2] Operation: 4/2=2 Exploring Operation: 55-4=51, Resulting Numbers: [2, 51] Generated Node #0,1,2: 82:[2, 51] Operation: 55-4=51 Exploring Operation: 4-2=2, Resulting Numbers: [55, 2] Generated Node #0,1,3: 82:[55, 2] Operation: 4-2=2 Moving to Node #0,1,2 Current State: 82:[2, 51], Operations: ['36+19=55', '55-4=51'] Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,82 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[55, 2], Operations: ['36+19=55', '4/2=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[4, 53], Operations: ['36+19=55', '55-2=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,82 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[55, 2], Operations: ['36+19=55', '4-2=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[4, 2, 17], Operations: ['36-19=17'] Exploring Operation: 17-4=13, Resulting Numbers: [2, 13] Generated Node #0,3,0: 82:[2, 13] Operation: 17-4=13 Exploring Operation: 4*17=68, Resulting Numbers: [2, 68] Generated Node #0,3,1: 82:[2, 68] Operation: 4*17=68 Exploring Operation: 2*17=34, Resulting Numbers: [4, 34] Generated Node #0,3,2: 82:[4, 34] Operation: 2*17=34 Exploring Operation: 4-2=2, Resulting Numbers: [17, 2] Generated Node #0,3,3: 82:[17, 2] Operation: 4-2=2 Moving to Node #0,3,2 Current State: 82:[4, 34], Operations: ['36-19=17', '2*17=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[2, 13], Operations: ['36-19=17', '17-4=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[2, 68], Operations: ['36-19=17', '4*17=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[17, 2], Operations: ['36-19=17', '4-2=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,82 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
[ 32, 64, 16, 33 ]
61
[ "32+33=65", "64/16=4", "65-4=61" ]
Current State: 61:[32, 64, 16, 33], Operations: [] Exploring Operation: 32+33=65, Resulting Numbers: [64, 16, 65] Generated Node #2: [64, 16, 65] from Operation: 32+33=65 Current State: 61:[64, 16, 65], Operations: ['32+33=65'] Exploring Operation: 64/16=4, Resulting Numbers: [65, 4] Generated Node #3: [65, 4] from Operation: 64/16=4 Current State: 61:[65, 4], Operations: ['32+33=65', '64/16=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[32, 64, 16, 33], Operations: [] Exploring Operation: 16+33=49, Resulting Numbers: [32, 64, 49] Generated Node #0,0: 61:[32, 64, 49] Operation: 16+33=49 Exploring Operation: 32+33=65, Resulting Numbers: [64, 16, 65] Generated Node #0,1: 61:[64, 16, 65] Operation: 32+33=65 Exploring Operation: 64-16=48, Resulting Numbers: [32, 33, 48] Generated Node #0,2: 61:[32, 33, 48] Operation: 64-16=48 Exploring Operation: 32-16=16, Resulting Numbers: [64, 33, 16] Generated Node #0,3: 61:[64, 33, 16] Operation: 32-16=16 Exploring Operation: 32+16=48, Resulting Numbers: [64, 33, 48] Generated Node #0,4: 61:[64, 33, 48] Operation: 32+16=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[32, 64, 49], Operations: ['16+33=49'] Exploring Operation: 64/32=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 61:[49, 2] Operation: 64/32=2 Exploring Operation: 32+49=81, Resulting Numbers: [64, 81] Generated Node #0,0,1: 61:[64, 81] Operation: 32+49=81 Exploring Operation: 49-32=17, Resulting Numbers: [64, 17] Generated Node #0,0,2: 61:[64, 17] Operation: 49-32=17 Exploring Operation: 64-32=32, Resulting Numbers: [49, 32] Generated Node #0,0,3: 61:[49, 32] Operation: 64-32=32 Exploring Operation: 32+64=96, Resulting Numbers: [49, 96] Generated Node #0,0,4: 61:[49, 96] Operation: 32+64=96 Moving to Node #0,0,1 Current State: 61:[64, 81], Operations: ['16+33=49', '32+49=81'] Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,61 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[49, 32], Operations: ['16+33=49', '64-32=32'] Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,61 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[64, 17], Operations: ['16+33=49', '49-32=17'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[49, 96], Operations: ['16+33=49', '32+64=96'] Exploring Operation: 96-49=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 49+96=145, Resulting Numbers: [145] 145,61 unequal: No Solution Exploring Operation: 49*96=4704, Resulting Numbers: [4704] 4704,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[49, 2], Operations: ['16+33=49', '64/32=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,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,4 Current State: 61:[64, 33, 48], Operations: ['32+16=48'] Exploring Operation: 64+33=97, Resulting Numbers: [48, 97] Generated Node #0,4,0: 61:[48, 97] Operation: 64+33=97 Exploring Operation: 64-33=31, Resulting Numbers: [48, 31] Generated Node #0,4,1: 61:[48, 31] Operation: 64-33=31 Exploring Operation: 48-33=15, Resulting Numbers: [64, 15] Generated Node #0,4,2: 61:[64, 15] Operation: 48-33=15 Exploring Operation: 64-48=16, Resulting Numbers: [33, 16] Generated Node #0,4,3: 61:[33, 16] Operation: 64-48=16 Exploring Operation: 33+48=81, Resulting Numbers: [64, 81] Generated Node #0,4,4: 61:[64, 81] Operation: 33+48=81 Moving to Node #0,4,4 Current State: 61:[64, 81], Operations: ['32+16=48', '33+48=81'] Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,61 unequal: No Solution Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,61 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[48, 31], Operations: ['32+16=48', '64-33=31'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,61 unequal: No Solution Moving to Node #0,4,0 Current State: 61:[48, 97], Operations: ['32+16=48', '64+33=97'] Exploring Operation: 48+97=145, Resulting Numbers: [145] 145,61 unequal: No Solution Exploring Operation: 48*97=4656, Resulting Numbers: [4656] 4656,61 unequal: No Solution Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[64, 15], Operations: ['32+16=48', '48-33=15'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[33, 16], Operations: ['32+16=48', '64-48=16'] Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,61 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,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, 16, 65], Operations: ['32+33=65'] Exploring Operation: 64/16=4, Resulting Numbers: [65, 4] Generated Node #0,1,0: 61:[65, 4] Operation: 64/16=4 Exploring Operation: 64-16=48, Resulting Numbers: [65, 48] Generated Node #0,1,1: 61:[65, 48] Operation: 64-16=48 Exploring Operation: 16+65=81, Resulting Numbers: [64, 81] Generated Node #0,1,2: 61:[64, 81] Operation: 16+65=81 Exploring Operation: 65-16=49, Resulting Numbers: [64, 49] Generated Node #0,1,3: 61:[64, 49] Operation: 65-16=49 Exploring Operation: 64+16=80, Resulting Numbers: [65, 80] Generated Node #0,1,4: 61:[65, 80] Operation: 64+16=80 Moving to Node #0,1,3 Current State: 61:[64, 49], Operations: ['32+33=65', '65-16=49'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 64*49=3136, Resulting Numbers: [3136] 3136,61 unequal: No Solution Exploring Operation: 64+49=113, Resulting Numbers: [113] 113,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[65, 48], Operations: ['32+33=65', '64-16=48'] Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 65+48=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 65*48=3120, Resulting Numbers: [3120] 3120,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[64, 81], Operations: ['32+33=65', '16+65=81'] Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,61 unequal: No Solution Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[65, 80], Operations: ['32+33=65', '64+16=80'] Exploring Operation: 65+80=145, Resulting Numbers: [145] 145,61 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 65*80=5200, Resulting Numbers: [5200] 5200,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[65, 4], Operations: ['32+33=65', '64/16=4'] Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[32, 64, 16, 33], Operations: [] Exploring Operation: 32+33=65, Resulting Numbers: [64, 16, 65] Generated Node #0,1: 61:[64, 16, 65] Operation: 32+33=65 Moving to Node #0,1 Current State: 61:[64, 16, 65], Operations: ['32+33=65'] Exploring Operation: 64/16=4, Resulting Numbers: [65, 4] Generated Node #0,1,0: 61:[65, 4] Operation: 64/16=4 Moving to Node #0,1,0 Current State: 61:[65, 4], Operations: ['32+33=65', '64/16=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.940972
hs_5
mult_heuristic
[ 70, 92, 52, 52 ]
82
[ "92-70=22", "52+52=104", "104-22=82" ]
Current State: 82:[70, 92, 52, 52], Operations: [] Exploring Operation: 92-70=22, Resulting Numbers: [52, 52, 22] Generated Node #2: [52, 52, 22] from Operation: 92-70=22 Current State: 82:[52, 52, 22], Operations: ['92-70=22'] Exploring Operation: 52+52=104, Resulting Numbers: [22, 104] Generated Node #3: [22, 104] from Operation: 52+52=104 Current State: 82:[22, 104], Operations: ['92-70=22', '52+52=104'] Exploring Operation: 104-22=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[70, 92, 52, 52], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [70, 92, 1] Generated Node #0,0: 82:[70, 92, 1] Operation: 52/52=1 Exploring Operation: 92-52=40, Resulting Numbers: [70, 52, 40] Generated Node #0,1: 82:[70, 52, 40] Operation: 92-52=40 Exploring Operation: 92-52=40, Resulting Numbers: [70, 52, 40] Generated Node #0,2: 82:[70, 52, 40] Operation: 92-52=40 Moving to Node #0,0 Current State: 82:[70, 92, 1], Operations: ['52/52=1'] Exploring Operation: 70+1=71, Resulting Numbers: [92, 71] Generated Node #0,0,0: 82:[92, 71] Operation: 70+1=71 Exploring Operation: 92-1=91, Resulting Numbers: [70, 91] Generated Node #0,0,1: 82:[70, 91] Operation: 92-1=91 Exploring Operation: 92-70=22, Resulting Numbers: [1, 22] Generated Node #0,0,2: 82:[1, 22] Operation: 92-70=22 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[1, 22], Operations: ['52/52=1', '92-70=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[92, 71], Operations: ['52/52=1', '70+1=71'] Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 92*71=6532, Resulting Numbers: [6532] 6532,82 unequal: No Solution Exploring Operation: 92+71=163, Resulting Numbers: [163] 163,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[70, 91], Operations: ['52/52=1', '92-1=91'] Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,82 unequal: No Solution Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,82 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[70, 52, 40], Operations: ['92-52=40'] Exploring Operation: 52+40=92, Resulting Numbers: [70, 92] Generated Node #0,1,0: 82:[70, 92] Operation: 52+40=92 Exploring Operation: 70-52=18, Resulting Numbers: [40, 18] Generated Node #0,1,1: 82:[40, 18] Operation: 70-52=18 Exploring Operation: 70-40=30, Resulting Numbers: [52, 30] Generated Node #0,1,2: 82:[52, 30] Operation: 70-40=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[40, 18], Operations: ['92-52=40', '70-52=18'] Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,82 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[70, 92], Operations: ['92-52=40', '52+40=92'] Exploring Operation: 70+92=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 70*92=6440, Resulting Numbers: [6440] 6440,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[52, 30], Operations: ['92-52=40', '70-40=30'] Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,82 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[70, 92, 52, 52], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [70, 52, 40] Generated Node #0,1: 82:[70, 52, 40] Operation: 92-52=40 Moving to Node #0,1 Current State: 82:[70, 52, 40], Operations: ['92-52=40'] Exploring Operation: 70-40=30, Resulting Numbers: [52, 30] Generated Node #0,1,2: 82:[52, 30] Operation: 70-40=30 Moving to Node #0,1,2 Current State: 82:[52, 30], Operations: ['92-52=40', '70-40=30'] Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 30, 89, 10, 42 ]
27
[ "89-30=59", "42-10=32", "59-32=27" ]
Current State: 27:[30, 89, 10, 42], Operations: [] Exploring Operation: 89-30=59, Resulting Numbers: [10, 42, 59] Generated Node #2: [10, 42, 59] from Operation: 89-30=59 Current State: 27:[10, 42, 59], Operations: ['89-30=59'] Exploring Operation: 42-10=32, Resulting Numbers: [59, 32] Generated Node #3: [59, 32] from Operation: 42-10=32 Current State: 27:[59, 32], Operations: ['89-30=59', '42-10=32'] Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[30, 89, 10, 42], Operations: [] Exploring Operation: 89-30=59, Resulting Numbers: [10, 42, 59] Generated Node #0,0: 27:[10, 42, 59] Operation: 89-30=59 Exploring Operation: 42-30=12, Resulting Numbers: [89, 10, 12] Generated Node #0,1: 27:[89, 10, 12] Operation: 42-30=12 Exploring Operation: 89-42=47, Resulting Numbers: [30, 10, 47] Generated Node #0,2: 27:[30, 10, 47] Operation: 89-42=47 Exploring Operation: 89-10=79, Resulting Numbers: [30, 42, 79] Generated Node #0,3: 27:[30, 42, 79] Operation: 89-10=79 Moving to Node #0,2 Current State: 27:[30, 10, 47], Operations: ['89-42=47'] Exploring Operation: 30-10=20, Resulting Numbers: [47, 20] Generated Node #0,2,0: 27:[47, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [47, 3] Generated Node #0,2,1: 27:[47, 3] Operation: 30/10=3 Exploring Operation: 47-30=17, Resulting Numbers: [10, 17] Generated Node #0,2,2: 27:[10, 17] Operation: 47-30=17 Exploring Operation: 47-10=37, Resulting Numbers: [30, 37] Generated Node #0,2,3: 27:[30, 37] Operation: 47-10=37 Moving to Node #0,0 Current State: 27:[10, 42, 59], Operations: ['89-30=59'] Exploring Operation: 42-10=32, Resulting Numbers: [59, 32] Generated Node #0,0,0: 27:[59, 32] Operation: 42-10=32 Exploring Operation: 59-10=49, Resulting Numbers: [42, 49] Generated Node #0,0,1: 27:[42, 49] Operation: 59-10=49 Exploring Operation: 10+42=52, Resulting Numbers: [59, 52] Generated Node #0,0,2: 27:[59, 52] Operation: 10+42=52 Exploring Operation: 59-42=17, Resulting Numbers: [10, 17] Generated Node #0,0,3: 27:[10, 17] Operation: 59-42=17 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[10, 17], Operations: ['89-30=59', '59-42=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,27 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[30, 89, 10, 42], Operations: [] Exploring Operation: 89-30=59, Resulting Numbers: [10, 42, 59] Generated Node #0,0: 27:[10, 42, 59] Operation: 89-30=59 Moving to Node #0,0 Current State: 27:[10, 42, 59], Operations: ['89-30=59'] Exploring Operation: 59-42=17, Resulting Numbers: [10, 17] Generated Node #0,0,3: 27:[10, 17] Operation: 59-42=17 Moving to Node #0,0,3 Current State: 27:[10, 17], Operations: ['89-30=59', '59-42=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 32, 63, 29, 2 ]
76
[ "32/2=16", "63+29=92", "92-16=76" ]
Current State: 76:[32, 63, 29, 2], Operations: [] Exploring Operation: 32/2=16, Resulting Numbers: [63, 29, 16] Generated Node #2: [63, 29, 16] from Operation: 32/2=16 Current State: 76:[63, 29, 16], Operations: ['32/2=16'] Exploring Operation: 63+29=92, Resulting Numbers: [16, 92] Generated Node #3: [16, 92] from Operation: 63+29=92 Current State: 76:[16, 92], Operations: ['32/2=16', '63+29=92'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[32, 63, 29, 2], Operations: [] Exploring Operation: 63-29=34, Resulting Numbers: [32, 2, 34] Generated Node #0,0: 76:[32, 2, 34] Operation: 63-29=34 Moving to Node #0,0 Current State: 76:[32, 2, 34], Operations: ['63-29=34'] Exploring Operation: 34-32=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 76:[2, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[2, 2], Operations: ['63-29=34', '34-32=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,76 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
[ 73, 46, 1, 96 ]
23
[ "73+46=119", "1*96=96", "119-96=23" ]
Current State: 23:[73, 46, 1, 96], Operations: [] Exploring Operation: 73+46=119, Resulting Numbers: [1, 96, 119] Generated Node #2: [1, 96, 119] from Operation: 73+46=119 Current State: 23:[1, 96, 119], Operations: ['73+46=119'] Exploring Operation: 1*96=96, Resulting Numbers: [119, 96] Generated Node #3: [119, 96] from Operation: 1*96=96 Current State: 23:[119, 96], Operations: ['73+46=119', '1*96=96'] Exploring Operation: 119-96=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[73, 46, 1, 96], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [46, 1, 23] Generated Node #0,0: 23:[46, 1, 23] Operation: 96-73=23 Exploring Operation: 73-46=27, Resulting Numbers: [1, 96, 27] Generated Node #0,1: 23:[1, 96, 27] Operation: 73-46=27 Moving to Node #0,0 Current State: 23:[46, 1, 23], Operations: ['96-73=23'] Exploring Operation: 46-1=45, Resulting Numbers: [23, 45] Generated Node #0,0,0: 23:[23, 45] Operation: 46-1=45 Exploring Operation: 46-23=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 23:[1, 23] Operation: 46-23=23 Moving to Node #0,1 Current State: 23:[1, 96, 27], Operations: ['73-46=27'] Exploring Operation: 96-1=95, Resulting Numbers: [27, 95] Generated Node #0,1,0: 23:[27, 95] Operation: 96-1=95 Exploring Operation: 96-27=69, Resulting Numbers: [1, 69] Generated Node #0,1,1: 23:[1, 69] Operation: 96-27=69 Moving to Node #0,0,0 Current State: 23:[23, 45], Operations: ['96-73=23', '46-1=45'] Exploring Operation: 23+45=68, Resulting Numbers: [68] 68,23 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[1, 23], Operations: ['96-73=23', '46-23=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[73, 46, 1, 96], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [46, 1, 23] Generated Node #0,0: 23:[46, 1, 23] Operation: 96-73=23 Moving to Node #0,0 Current State: 23:[46, 1, 23], Operations: ['96-73=23'] Exploring Operation: 46-23=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 23:[1, 23] Operation: 46-23=23 Moving to Node #0,0,1 Current State: 23:[1, 23], Operations: ['96-73=23', '46-23=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 88, 93, 99, 2 ]
80
[ "88+93=181", "99+2=101", "181-101=80" ]
Current State: 80:[88, 93, 99, 2], Operations: [] Exploring Operation: 88+93=181, Resulting Numbers: [99, 2, 181] Generated Node #2: [99, 2, 181] from Operation: 88+93=181 Current State: 80:[99, 2, 181], Operations: ['88+93=181'] Exploring Operation: 99+2=101, Resulting Numbers: [181, 101] Generated Node #3: [181, 101] from Operation: 99+2=101 Current State: 80:[181, 101], Operations: ['88+93=181', '99+2=101'] Exploring Operation: 181-101=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[88, 93, 99, 2], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [93, 99, 44] Generated Node #0,0: 80:[93, 99, 44] Operation: 88/2=44 Exploring Operation: 93-88=5, Resulting Numbers: [99, 2, 5] Generated Node #0,1: 80:[99, 2, 5] Operation: 93-88=5 Exploring Operation: 99-88=11, Resulting Numbers: [93, 2, 11] Generated Node #0,2: 80:[93, 2, 11] Operation: 99-88=11 Exploring Operation: 99-93=6, Resulting Numbers: [88, 2, 6] Generated Node #0,3: 80:[88, 2, 6] Operation: 99-93=6 Moving to Node #0,3 Current State: 80:[88, 2, 6], Operations: ['99-93=6'] Exploring Operation: 88/2=44, Resulting Numbers: [6, 44] Generated Node #0,3,0: 80:[6, 44] Operation: 88/2=44 Exploring Operation: 88-6=82, Resulting Numbers: [2, 82] Generated Node #0,3,1: 80:[2, 82] Operation: 88-6=82 Exploring Operation: 88-2=86, Resulting Numbers: [6, 86] Generated Node #0,3,2: 80:[6, 86] Operation: 88-2=86 Exploring Operation: 2+6=8, Resulting Numbers: [88, 8] Generated Node #0,3,3: 80:[88, 8] Operation: 2+6=8 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[2, 82], Operations: ['99-93=6', '88-6=82'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,80 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[88, 93, 99, 2], Operations: [] Exploring Operation: 99-93=6, Resulting Numbers: [88, 2, 6] Generated Node #0,3: 80:[88, 2, 6] Operation: 99-93=6 Moving to Node #0,3 Current State: 80:[88, 2, 6], Operations: ['99-93=6'] Exploring Operation: 88-6=82, Resulting Numbers: [2, 82] Generated Node #0,3,1: 80:[2, 82] Operation: 88-6=82 Moving to Node #0,3,1 Current State: 80:[2, 82], Operations: ['99-93=6', '88-6=82'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 38, 93, 38, 31 ]
48
[ "93-38=55", "38-31=7", "55-7=48" ]
Current State: 48:[38, 93, 38, 31], Operations: [] Exploring Operation: 93-38=55, Resulting Numbers: [31, 55] Generated Node #2: [31, 55] from Operation: 93-38=55 Current State: 48:[31, 55], Operations: ['93-38=55'] Exploring Operation: 38-31=7, Resulting Numbers: [55, 7] Generated Node #3: [55, 7] from Operation: 38-31=7 Current State: 48:[55, 7], Operations: ['93-38=55', '38-31=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[38, 93, 38, 31], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [38, 38, 3] Generated Node #0,0: 48:[38, 38, 3] Operation: 93/31=3 Exploring Operation: 93-31=62, Resulting Numbers: [38, 38, 62] Generated Node #0,1: 48:[38, 38, 62] Operation: 93-31=62 Exploring Operation: 93-38=55, Resulting Numbers: [38, 31, 55] Generated Node #0,2: 48:[38, 31, 55] Operation: 93-38=55 Exploring Operation: 93-38=55, Resulting Numbers: [38, 31, 55] Generated Node #0,3: 48:[38, 31, 55] Operation: 93-38=55 Exploring Operation: 38/38=1, Resulting Numbers: [93, 31, 1] Generated Node #0,4: 48:[93, 31, 1] Operation: 38/38=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[38, 38, 3], Operations: ['93/31=3'] Exploring Operation: 38-3=35, Resulting Numbers: [38, 35] Generated Node #0,0,0: 48:[38, 35] Operation: 38-3=35 Exploring Operation: 38-38=0, Resulting Numbers: [3, 0] Generated Node #0,0,1: 48:[3, 0] Operation: 38-38=0 Exploring Operation: 38+3=41, Resulting Numbers: [38, 41] Generated Node #0,0,2: 48:[38, 41] Operation: 38+3=41 Exploring Operation: 38/38=1, Resulting Numbers: [3, 1] Generated Node #0,0,3: 48:[3, 1] Operation: 38/38=1 Exploring Operation: 38+3=41, Resulting Numbers: [38, 41] Generated Node #0,0,4: 48:[38, 41] Operation: 38+3=41 Moving to Node #0,0,3 Current State: 48:[3, 1], Operations: ['93/31=3', '38/38=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[3, 0], Operations: ['93/31=3', '38-38=0'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[38, 41], Operations: ['93/31=3', '38+3=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[38, 41], Operations: ['93/31=3', '38+3=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,48 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[38, 35], Operations: ['93/31=3', '38-3=35'] Exploring Operation: 38*35=1330, Resulting Numbers: [1330] 1330,48 unequal: No Solution Exploring Operation: 38+35=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[38, 31, 55], Operations: ['93-38=55'] Exploring Operation: 55-31=24, Resulting Numbers: [38, 24] Generated Node #0,2,0: 48:[38, 24] Operation: 55-31=24 Exploring Operation: 31+55=86, Resulting Numbers: [38, 86] Generated Node #0,2,1: 48:[38, 86] Operation: 31+55=86 Exploring Operation: 38+31=69, Resulting Numbers: [55, 69] Generated Node #0,2,2: 48:[55, 69] Operation: 38+31=69 Exploring Operation: 38-31=7, Resulting Numbers: [55, 7] Generated Node #0,2,3: 48:[55, 7] Operation: 38-31=7 Exploring Operation: 55-38=17, Resulting Numbers: [31, 17] Generated Node #0,2,4: 48:[31, 17] Operation: 55-38=17 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[55, 7], Operations: ['93-38=55', '38-31=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[38, 93, 38, 31], Operations: [] Exploring Operation: 93-38=55, Resulting Numbers: [38, 31, 55] Generated Node #0,2: 48:[38, 31, 55] Operation: 93-38=55 Moving to Node #0,2 Current State: 48:[38, 31, 55], Operations: ['93-38=55'] Exploring Operation: 38-31=7, Resulting Numbers: [55, 7] Generated Node #0,2,3: 48:[55, 7] Operation: 38-31=7 Moving to Node #0,2,3 Current State: 48:[55, 7], Operations: ['93-38=55', '38-31=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 13, 75, 23, 77 ]
49
[ "77-75=2", "13*2=26", "23+26=49" ]
Current State: 49:[13, 75, 23, 77], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [13, 23, 2] Generated Node #2: [13, 23, 2] from Operation: 77-75=2 Current State: 49:[13, 23, 2], Operations: ['77-75=2'] Exploring Operation: 13*2=26, Resulting Numbers: [23, 26] Generated Node #3: [23, 26] from Operation: 13*2=26 Current State: 49:[23, 26], Operations: ['77-75=2', '13*2=26'] Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[13, 75, 23, 77], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [13, 23, 2] Generated Node #0,0: 49:[13, 23, 2] Operation: 77-75=2 Exploring Operation: 75-23=52, Resulting Numbers: [13, 77, 52] Generated Node #0,1: 49:[13, 77, 52] Operation: 75-23=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[13, 23, 2], Operations: ['77-75=2'] Exploring Operation: 23-13=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 49:[2, 10] Operation: 23-13=10 Exploring Operation: 23*2=46, Resulting Numbers: [13, 46] Generated Node #0,0,1: 49:[13, 46] Operation: 23*2=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[2, 10], Operations: ['77-75=2', '23-13=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[13, 46], Operations: ['77-75=2', '23*2=46'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[13, 77, 52], Operations: ['75-23=52'] Exploring Operation: 77-13=64, Resulting Numbers: [52, 64] Generated Node #0,1,0: 49:[52, 64] Operation: 77-13=64 Exploring Operation: 77-52=25, Resulting Numbers: [13, 25] Generated Node #0,1,1: 49:[13, 25] Operation: 77-52=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[52, 64], Operations: ['75-23=52', '77-13=64'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[13, 25], Operations: ['75-23=52', '77-52=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,49 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 1, 55, 49, 13 ]
84
[ "1+13=14", "55-49=6", "14*6=84" ]
Current State: 84:[1, 55, 49, 13], Operations: [] Exploring Operation: 1+13=14, Resulting Numbers: [55, 49, 14] Generated Node #2: [55, 49, 14] from Operation: 1+13=14 Current State: 84:[55, 49, 14], Operations: ['1+13=14'] Exploring Operation: 55-49=6, Resulting Numbers: [14, 6] Generated Node #3: [14, 6] from Operation: 55-49=6 Current State: 84:[14, 6], Operations: ['1+13=14', '55-49=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[1, 55, 49, 13], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [1, 13, 6] Generated Node #0,0: 84:[1, 13, 6] Operation: 55-49=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[1, 13, 6], Operations: ['55-49=6'] Exploring Operation: 1+13=14, Resulting Numbers: [6, 14] Generated Node #0,0,0: 84:[6, 14] Operation: 1+13=14 Moving to Node #0,0,0 Current State: 84:[6, 14], Operations: ['55-49=6', '1+13=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[1, 55, 49, 13], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [1, 13, 6] Generated Node #0,0: 84:[1, 13, 6] Operation: 55-49=6 Moving to Node #0,0 Current State: 84:[1, 13, 6], Operations: ['55-49=6'] Exploring Operation: 1+13=14, Resulting Numbers: [6, 14] Generated Node #0,0,0: 84:[6, 14] Operation: 1+13=14 Moving to Node #0,0,0 Current State: 84:[6, 14], Operations: ['55-49=6', '1+13=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 7, 25, 5, 42 ]
69
[ "7+25=32", "42-5=37", "32+37=69" ]
Current State: 69:[7, 25, 5, 42], Operations: [] Exploring Operation: 7+25=32, Resulting Numbers: [5, 42, 32] Generated Node #2: [5, 42, 32] from Operation: 7+25=32 Current State: 69:[5, 42, 32], Operations: ['7+25=32'] Exploring Operation: 42-5=37, Resulting Numbers: [32, 37] Generated Node #3: [32, 37] from Operation: 42-5=37 Current State: 69:[32, 37], Operations: ['7+25=32', '42-5=37'] Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[7, 25, 5, 42], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [25, 5, 6] Generated Node #0,0: 69:[25, 5, 6] Operation: 42/7=6 Exploring Operation: 25+42=67, Resulting Numbers: [7, 5, 67] Generated Node #0,1: 69:[7, 5, 67] Operation: 25+42=67 Exploring Operation: 42-25=17, Resulting Numbers: [7, 5, 17] Generated Node #0,2: 69:[7, 5, 17] Operation: 42-25=17 Exploring Operation: 42-7=35, Resulting Numbers: [25, 5, 35] Generated Node #0,3: 69:[25, 5, 35] Operation: 42-7=35 Moving to Node #0,0 Current State: 69:[25, 5, 6], Operations: ['42/7=6'] Exploring Operation: 25-5=20, Resulting Numbers: [6, 20] Generated Node #0,0,0: 69:[6, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 69:[6, 5] Operation: 25/5=5 Exploring Operation: 6-5=1, Resulting Numbers: [25, 1] Generated Node #0,0,2: 69:[25, 1] Operation: 6-5=1 Exploring Operation: 25-6=19, Resulting Numbers: [5, 19] Generated Node #0,0,3: 69:[5, 19] Operation: 25-6=19 Moving to Node #0,1 Current State: 69:[7, 5, 67], Operations: ['25+42=67'] Exploring Operation: 5+67=72, Resulting Numbers: [7, 72] Generated Node #0,1,0: 69:[7, 72] Operation: 5+67=72 Exploring Operation: 7-5=2, Resulting Numbers: [67, 2] Generated Node #0,1,1: 69:[67, 2] Operation: 7-5=2 Exploring Operation: 7+5=12, Resulting Numbers: [67, 12] Generated Node #0,1,2: 69:[67, 12] Operation: 7+5=12 Exploring Operation: 7+67=74, Resulting Numbers: [5, 74] Generated Node #0,1,3: 69:[5, 74] Operation: 7+67=74 Moving to Node #0,2 Current State: 69:[7, 5, 17], Operations: ['42-25=17'] Exploring Operation: 7+17=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 69:[5, 24] Operation: 7+17=24 Exploring Operation: 5+17=22, Resulting Numbers: [7, 22] Generated Node #0,2,1: 69:[7, 22] Operation: 5+17=22 Exploring Operation: 7-5=2, Resulting Numbers: [17, 2] Generated Node #0,2,2: 69:[17, 2] Operation: 7-5=2 Exploring Operation: 17-7=10, Resulting Numbers: [5, 10] Generated Node #0,2,3: 69:[5, 10] Operation: 17-7=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[5, 24], Operations: ['42-25=17', '7+17=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,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,1 Current State: 69:[7, 22], Operations: ['42-25=17', '5+17=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,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,2 Current State: 69:[17, 2], Operations: ['42-25=17', '7-5=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,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,3 Current State: 69:[5, 10], Operations: ['42-25=17', '17-7=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,69 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: 69:[25, 5, 35], Operations: ['42-7=35'] Exploring Operation: 25+35=60, Resulting Numbers: [5, 60] Generated Node #0,3,0: 69:[5, 60] Operation: 25+35=60 Exploring Operation: 35/5=7, Resulting Numbers: [25, 7] Generated Node #0,3,1: 69:[25, 7] Operation: 35/5=7 Exploring Operation: 35-25=10, Resulting Numbers: [5, 10] Generated Node #0,3,2: 69:[5, 10] Operation: 35-25=10 Exploring Operation: 35-5=30, Resulting Numbers: [25, 30] Generated Node #0,3,3: 69:[25, 30] Operation: 35-5=30 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[25, 7], Operations: ['42-7=35', '35/5=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,69 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[5, 10], Operations: ['42-7=35', '35-25=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,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:[25, 30], Operations: ['42-7=35', '35-5=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,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:[5, 60], Operations: ['42-7=35', '25+35=60'] Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 5*60=300, Resulting Numbers: [300] 300,69 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,69 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: 69:[67, 2], Operations: ['25+42=67', '7-5=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,69 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[7, 25, 5, 42], Operations: [] Exploring Operation: 25+42=67, Resulting Numbers: [7, 5, 67] Generated Node #0,1: 69:[7, 5, 67] Operation: 25+42=67 Moving to Node #0,1 Current State: 69:[7, 5, 67], Operations: ['25+42=67'] Exploring Operation: 7-5=2, Resulting Numbers: [67, 2] Generated Node #0,1,1: 69:[67, 2] Operation: 7-5=2 Moving to Node #0,1,1 Current State: 69:[67, 2], Operations: ['25+42=67', '7-5=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.953993
hs_4
sum_heuristic
[ 32, 4, 77, 56 ]
71
[ "56-32=24", "24/4=6", "77-6=71" ]
Current State: 71:[32, 4, 77, 56], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [4, 77, 24] Generated Node #2: [4, 77, 24] from Operation: 56-32=24 Current State: 71:[4, 77, 24], Operations: ['56-32=24'] Exploring Operation: 24/4=6, Resulting Numbers: [77, 6] Generated Node #3: [77, 6] from Operation: 24/4=6 Current State: 71:[77, 6], Operations: ['56-32=24', '24/4=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[32, 4, 77, 56], Operations: [] Exploring Operation: 32+4=36, Resulting Numbers: [77, 56, 36] Generated Node #0,0: 71:[77, 56, 36] Operation: 32+4=36 Moving to Node #0,0 Current State: 71:[77, 56, 36], Operations: ['32+4=36'] Exploring Operation: 56+36=92, Resulting Numbers: [77, 92] Generated Node #0,0,0: 71:[77, 92] Operation: 56+36=92 Moving to Node #0,0,0 Current State: 71:[77, 92], Operations: ['32+4=36', '56+36=92'] Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 52, 64, 53, 57 ]
98
[ "64-52=12", "53+57=110", "110-12=98" ]
Current State: 98:[52, 64, 53, 57], Operations: [] Exploring Operation: 64-52=12, Resulting Numbers: [53, 57, 12] Generated Node #2: [53, 57, 12] from Operation: 64-52=12 Current State: 98:[53, 57, 12], Operations: ['64-52=12'] Exploring Operation: 53+57=110, Resulting Numbers: [12, 110] Generated Node #3: [12, 110] from Operation: 53+57=110 Current State: 98:[12, 110], Operations: ['64-52=12', '53+57=110'] Exploring Operation: 110-12=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[52, 64, 53, 57], Operations: [] Exploring Operation: 64-52=12, Resulting Numbers: [53, 57, 12] Generated Node #0,0: 98:[53, 57, 12] Operation: 64-52=12 Exploring Operation: 64-57=7, Resulting Numbers: [52, 53, 7] Generated Node #0,1: 98:[52, 53, 7] Operation: 64-57=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[52, 53, 7], Operations: ['64-57=7'] Exploring Operation: 53-52=1, Resulting Numbers: [7, 1] Generated Node #0,1,0: 98:[7, 1] Operation: 53-52=1 Exploring Operation: 53-7=46, Resulting Numbers: [52, 46] Generated Node #0,1,1: 98:[52, 46] Operation: 53-7=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[7, 1], Operations: ['64-57=7', '53-52=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[52, 46], Operations: ['64-57=7', '53-7=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[52, 64, 53, 57], Operations: [] Exploring Operation: 64-57=7, Resulting Numbers: [52, 53, 7] Generated Node #0,1: 98:[52, 53, 7] Operation: 64-57=7 Moving to Node #0,1 Current State: 98:[52, 53, 7], Operations: ['64-57=7'] Exploring Operation: 53-7=46, Resulting Numbers: [52, 46] Generated Node #0,1,1: 98:[52, 46] Operation: 53-7=46 Moving to Node #0,1,1 Current State: 98:[52, 46], Operations: ['64-57=7', '53-7=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 36, 6, 18, 60 ]
20
[ "36-6=30", "60/30=2", "18+2=20" ]
Current State: 20:[36, 6, 18, 60], Operations: [] Exploring Operation: 36-6=30, Resulting Numbers: [18, 60, 30] Generated Node #2: [18, 60, 30] from Operation: 36-6=30 Current State: 20:[18, 60, 30], Operations: ['36-6=30'] Exploring Operation: 60/30=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 60/30=2 Current State: 20:[18, 2], Operations: ['36-6=30', '60/30=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[36, 6, 18, 60], Operations: [] Exploring Operation: 60-36=24, Resulting Numbers: [6, 18, 24] Generated Node #0,0: 20:[6, 18, 24] Operation: 60-36=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[6, 18, 24], Operations: ['60-36=24'] Exploring Operation: 24/6=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 20:[18, 4] Operation: 24/6=4 Moving to Node #0,0,0 Current State: 20:[18, 4], Operations: ['60-36=24', '24/6=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 44, 41, 36, 95 ]
62
[ "44-41=3", "95-36=59", "3+59=62" ]
Current State: 62:[44, 41, 36, 95], Operations: [] Exploring Operation: 44-41=3, Resulting Numbers: [36, 95, 3] Generated Node #2: [36, 95, 3] from Operation: 44-41=3 Current State: 62:[36, 95, 3], Operations: ['44-41=3'] Exploring Operation: 95-36=59, Resulting Numbers: [3, 59] Generated Node #3: [3, 59] from Operation: 95-36=59 Current State: 62:[3, 59], Operations: ['44-41=3', '95-36=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[44, 41, 36, 95], Operations: [] Exploring Operation: 95-44=51, Resulting Numbers: [41, 36, 51] Generated Node #0,0: 62:[41, 36, 51] Operation: 95-44=51 Exploring Operation: 95-41=54, Resulting Numbers: [44, 36, 54] Generated Node #0,1: 62:[44, 36, 54] Operation: 95-41=54 Moving to Node #0,0 Current State: 62:[41, 36, 51], Operations: ['95-44=51'] Exploring Operation: 41-36=5, Resulting Numbers: [51, 5] Generated Node #0,0,0: 62:[51, 5] Operation: 41-36=5 Exploring Operation: 51-41=10, Resulting Numbers: [36, 10] Generated Node #0,0,1: 62:[36, 10] Operation: 51-41=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[36, 10], Operations: ['95-44=51', '51-41=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,62 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[51, 5], Operations: ['95-44=51', '41-36=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,62 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: 62:[44, 36, 54], Operations: ['95-41=54'] Exploring Operation: 44-36=8, Resulting Numbers: [54, 8] Generated Node #0,1,0: 62:[54, 8] Operation: 44-36=8 Exploring Operation: 54-44=10, Resulting Numbers: [36, 10] Generated Node #0,1,1: 62:[36, 10] Operation: 54-44=10 Moving to Node #0,1,1 Current State: 62:[36, 10], Operations: ['95-41=54', '54-44=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,62 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[54, 8], Operations: ['95-41=54', '44-36=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[44, 41, 36, 95], Operations: [] Exploring Operation: 95-41=54, Resulting Numbers: [44, 36, 54] Generated Node #0,1: 62:[44, 36, 54] Operation: 95-41=54 Moving to Node #0,1 Current State: 62:[44, 36, 54], Operations: ['95-41=54'] Exploring Operation: 44-36=8, Resulting Numbers: [54, 8] Generated Node #0,1,0: 62:[54, 8] Operation: 44-36=8 Moving to Node #0,1,0 Current State: 62:[54, 8], Operations: ['95-41=54', '44-36=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 27, 2, 23, 71 ]
51
[ "71-23=48", "48/2=24", "27+24=51" ]
Current State: 51:[27, 2, 23, 71], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [27, 2, 48] Generated Node #2: [27, 2, 48] from Operation: 71-23=48 Current State: 51:[27, 2, 48], Operations: ['71-23=48'] Exploring Operation: 48/2=24, Resulting Numbers: [27, 24] Generated Node #3: [27, 24] from Operation: 48/2=24 Current State: 51:[27, 24], Operations: ['71-23=48', '48/2=24'] Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[27, 2, 23, 71], Operations: [] Exploring Operation: 71-27=44, Resulting Numbers: [2, 23, 44] Generated Node #0,0: 51:[2, 23, 44] Operation: 71-27=44 Exploring Operation: 71-23=48, Resulting Numbers: [27, 2, 48] Generated Node #0,1: 51:[27, 2, 48] Operation: 71-23=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[2, 23, 44], Operations: ['71-27=44'] Exploring Operation: 44-23=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 51:[2, 21] Operation: 44-23=21 Exploring Operation: 23-2=21, Resulting Numbers: [44, 21] Generated Node #0,0,1: 51:[44, 21] Operation: 23-2=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[2, 21], Operations: ['71-27=44', '44-23=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[44, 21], Operations: ['71-27=44', '23-2=21'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[27, 2, 48], Operations: ['71-23=48'] Exploring Operation: 27*2=54, Resulting Numbers: [48, 54] Generated Node #0,1,0: 51:[48, 54] Operation: 27*2=54 Exploring Operation: 48-27=21, Resulting Numbers: [2, 21] Generated Node #0,1,1: 51:[2, 21] Operation: 48-27=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[2, 21], Operations: ['71-23=48', '48-27=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,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,1,0 Current State: 51:[48, 54], Operations: ['71-23=48', '27*2=54'] Exploring Operation: 48+54=102, Resulting Numbers: [102] 102,51 unequal: No Solution Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 15, 6, 16, 45 ]
42
[ "45/15=3", "16*3=48", "48-6=42" ]
Current State: 42:[15, 6, 16, 45], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [6, 16, 3] Generated Node #2: [6, 16, 3] from Operation: 45/15=3 Current State: 42:[6, 16, 3], Operations: ['45/15=3'] Exploring Operation: 16*3=48, Resulting Numbers: [6, 48] Generated Node #3: [6, 48] from Operation: 16*3=48 Current State: 42:[6, 48], Operations: ['45/15=3', '16*3=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[15, 6, 16, 45], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [6, 16, 3] Generated Node #0,0: 42:[6, 16, 3] Operation: 45/15=3 Exploring Operation: 16-15=1, Resulting Numbers: [6, 45, 1] Generated Node #0,1: 42:[6, 45, 1] Operation: 16-15=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[6, 16, 3], Operations: ['45/15=3'] Exploring Operation: 16-3=13, Resulting Numbers: [6, 13] Generated Node #0,0,0: 42:[6, 13] Operation: 16-3=13 Exploring Operation: 6+16=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 42:[3, 22] Operation: 6+16=22 Moving to Node #0,0,0 Current State: 42:[6, 13], Operations: ['45/15=3', '16-3=13'] Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[3, 22], Operations: ['45/15=3', '6+16=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[6, 45, 1], Operations: ['16-15=1'] Exploring Operation: 6+1=7, Resulting Numbers: [45, 7] Generated Node #0,1,0: 42:[45, 7] Operation: 6+1=7 Exploring Operation: 45-1=44, Resulting Numbers: [6, 44] Generated Node #0,1,1: 42:[6, 44] Operation: 45-1=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[6, 44], Operations: ['16-15=1', '45-1=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[45, 7], Operations: ['16-15=1', '6+1=7'] Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,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 No solution found.
0
hs_2
mult_heuristic
[ 4, 47, 96, 36 ]
13
[ "96/4=24", "47-36=11", "24-11=13" ]
Current State: 13:[4, 47, 96, 36], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [47, 36, 24] Generated Node #2: [47, 36, 24] from Operation: 96/4=24 Current State: 13:[47, 36, 24], Operations: ['96/4=24'] Exploring Operation: 47-36=11, Resulting Numbers: [24, 11] Generated Node #3: [24, 11] from Operation: 47-36=11 Current State: 13:[24, 11], Operations: ['96/4=24', '47-36=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[4, 47, 96, 36], Operations: [] Exploring Operation: 96-47=49, Resulting Numbers: [4, 36, 49] Generated Node #0,0: 13:[4, 36, 49] Operation: 96-47=49 Exploring Operation: 96/4=24, Resulting Numbers: [47, 36, 24] Generated Node #0,1: 13:[47, 36, 24] Operation: 96/4=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[4, 36, 49], Operations: ['96-47=49'] Exploring Operation: 36/4=9, Resulting Numbers: [49, 9] Generated Node #0,0,0: 13:[49, 9] Operation: 36/4=9 Exploring Operation: 49-36=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 13:[4, 13] Operation: 49-36=13 Moving to Node #0,0,1 Current State: 13:[4, 13], Operations: ['96-47=49', '49-36=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[49, 9], Operations: ['96-47=49', '36/4=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[47, 36, 24], Operations: ['96/4=24'] Exploring Operation: 47-36=11, Resulting Numbers: [24, 11] Generated Node #0,1,0: 13:[24, 11] Operation: 47-36=11 Exploring Operation: 47-24=23, Resulting Numbers: [36, 23] Generated Node #0,1,1: 13:[36, 23] Operation: 47-24=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[24, 11], Operations: ['96/4=24', '47-36=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[4, 47, 96, 36], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [47, 36, 24] Generated Node #0,1: 13:[47, 36, 24] Operation: 96/4=24 Moving to Node #0,1 Current State: 13:[47, 36, 24], Operations: ['96/4=24'] Exploring Operation: 47-36=11, Resulting Numbers: [24, 11] Generated Node #0,1,0: 13:[24, 11] Operation: 47-36=11 Moving to Node #0,1,0 Current State: 13:[24, 11], Operations: ['96/4=24', '47-36=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 64, 49, 2, 88 ]
58
[ "64-49=15", "2*15=30", "88-30=58" ]
Current State: 58:[64, 49, 2, 88], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [2, 88, 15] Generated Node #2: [2, 88, 15] from Operation: 64-49=15 Current State: 58:[2, 88, 15], Operations: ['64-49=15'] Exploring Operation: 2*15=30, Resulting Numbers: [88, 30] Generated Node #3: [88, 30] from Operation: 2*15=30 Current State: 58:[88, 30], Operations: ['64-49=15', '2*15=30'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[64, 49, 2, 88], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [49, 88, 32] Generated Node #0,0: 58:[49, 88, 32] Operation: 64/2=32 Exploring Operation: 88-64=24, Resulting Numbers: [49, 2, 24] Generated Node #0,1: 58:[49, 2, 24] Operation: 88-64=24 Exploring Operation: 88/2=44, Resulting Numbers: [64, 49, 44] Generated Node #0,2: 58:[64, 49, 44] Operation: 88/2=44 Exploring Operation: 88-49=39, Resulting Numbers: [64, 2, 39] Generated Node #0,3: 58:[64, 2, 39] Operation: 88-49=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[49, 2, 24], Operations: ['88-64=24'] Exploring Operation: 49-24=25, Resulting Numbers: [2, 25] Generated Node #0,1,0: 58:[2, 25] Operation: 49-24=25 Exploring Operation: 2+24=26, Resulting Numbers: [49, 26] Generated Node #0,1,1: 58:[49, 26] Operation: 2+24=26 Exploring Operation: 49+2=51, Resulting Numbers: [24, 51] Generated Node #0,1,2: 58:[24, 51] Operation: 49+2=51 Exploring Operation: 49+24=73, Resulting Numbers: [2, 73] Generated Node #0,1,3: 58:[2, 73] Operation: 49+24=73 Moving to Node #0,1,0 Current State: 58:[2, 25], Operations: ['88-64=24', '49-24=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[24, 51], Operations: ['88-64=24', '49+2=51'] Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,58 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[49, 26], Operations: ['88-64=24', '2+24=26'] Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[2, 73], Operations: ['88-64=24', '49+24=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,58 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,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,3 Current State: 58:[64, 2, 39], Operations: ['88-49=39'] Exploring Operation: 64-2=62, Resulting Numbers: [39, 62] Generated Node #0,3,0: 58:[39, 62] Operation: 64-2=62 Exploring Operation: 64/2=32, Resulting Numbers: [39, 32] Generated Node #0,3,1: 58:[39, 32] Operation: 64/2=32 Exploring Operation: 64-39=25, Resulting Numbers: [2, 25] Generated Node #0,3,2: 58:[2, 25] Operation: 64-39=25 Exploring Operation: 39-2=37, Resulting Numbers: [64, 37] Generated Node #0,3,3: 58:[64, 37] Operation: 39-2=37 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 58:[2, 25], Operations: ['88-49=39', '64-39=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 58:[39, 32], Operations: ['88-49=39', '64/2=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 58:[39, 62], Operations: ['88-49=39', '64-2=62'] Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,58 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 58:[64, 37], Operations: ['88-49=39', '39-2=37'] Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 64+37=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 64*37=2368, Resulting Numbers: [2368] 2368,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[64, 49, 44], Operations: ['88/2=44'] Exploring Operation: 64-44=20, Resulting Numbers: [49, 20] Generated Node #0,2,0: 58:[49, 20] Operation: 64-44=20 Exploring Operation: 49-44=5, Resulting Numbers: [64, 5] Generated Node #0,2,1: 58:[64, 5] Operation: 49-44=5 Exploring Operation: 49+44=93, Resulting Numbers: [64, 93] Generated Node #0,2,2: 58:[64, 93] Operation: 49+44=93 Exploring Operation: 64-49=15, Resulting Numbers: [44, 15] Generated Node #0,2,3: 58:[44, 15] Operation: 64-49=15 Moving to Node #0,2,1 Current State: 58:[64, 5], Operations: ['88/2=44', '49-44=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,58 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[49, 20], Operations: ['88/2=44', '64-44=20'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,58 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[44, 15], Operations: ['88/2=44', '64-49=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,58 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[64, 93], Operations: ['88/2=44', '49+44=93'] Exploring Operation: 93-64=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 64*93=5952, Resulting Numbers: [5952] 5952,58 unequal: No Solution Exploring Operation: 64+93=157, Resulting Numbers: [157] 157,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[49, 88, 32], Operations: ['64/2=32'] Exploring Operation: 88-49=39, Resulting Numbers: [32, 39] Generated Node #0,0,0: 58:[32, 39] Operation: 88-49=39 Exploring Operation: 49-32=17, Resulting Numbers: [88, 17] Generated Node #0,0,1: 58:[88, 17] Operation: 49-32=17 Exploring Operation: 49+32=81, Resulting Numbers: [88, 81] Generated Node #0,0,2: 58:[88, 81] Operation: 49+32=81 Exploring Operation: 88-32=56, Resulting Numbers: [49, 56] Generated Node #0,0,3: 58:[49, 56] Operation: 88-32=56 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 58:[49, 56], Operations: ['64/2=32', '88-32=56'] Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 49*56=2744, Resulting Numbers: [2744] 2744,58 unequal: No Solution Exploring Operation: 49+56=105, Resulting Numbers: [105] 105,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[32, 39], Operations: ['64/2=32', '88-49=39'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[88, 17], Operations: ['64/2=32', '49-32=17'] Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 88*17=1496, Resulting Numbers: [1496] 1496,58 unequal: No Solution Exploring Operation: 88+17=105, Resulting Numbers: [105] 105,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[88, 81], Operations: ['64/2=32', '49+32=81'] Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 88+81=169, Resulting Numbers: [169] 169,58 unequal: No Solution Exploring Operation: 88*81=7128, Resulting Numbers: [7128] 7128,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 68, 16, 55, 88 ]
91
[ "68-16=52", "55+88=143", "143-52=91" ]
Current State: 91:[68, 16, 55, 88], Operations: [] Exploring Operation: 68-16=52, Resulting Numbers: [55, 88, 52] Generated Node #2: [55, 88, 52] from Operation: 68-16=52 Current State: 91:[55, 88, 52], Operations: ['68-16=52'] Exploring Operation: 55+88=143, Resulting Numbers: [52, 143] Generated Node #3: [52, 143] from Operation: 55+88=143 Current State: 91:[52, 143], Operations: ['68-16=52', '55+88=143'] Exploring Operation: 143-52=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[68, 16, 55, 88], Operations: [] Exploring Operation: 16+55=71, Resulting Numbers: [68, 88, 71] Generated Node #0,0: 91:[68, 88, 71] Operation: 16+55=71 Exploring Operation: 88-68=20, Resulting Numbers: [16, 55, 20] Generated Node #0,1: 91:[16, 55, 20] Operation: 88-68=20 Exploring Operation: 68+55=123, Resulting Numbers: [16, 88, 123] Generated Node #0,2: 91:[16, 88, 123] Operation: 68+55=123 Exploring Operation: 68-55=13, Resulting Numbers: [16, 88, 13] Generated Node #0,3: 91:[16, 88, 13] Operation: 68-55=13 Exploring Operation: 68+16=84, Resulting Numbers: [55, 88, 84] Generated Node #0,4: 91:[55, 88, 84] Operation: 68+16=84 Moving to Node #0,3 Current State: 91:[16, 88, 13], Operations: ['68-55=13'] Exploring Operation: 16-13=3, Resulting Numbers: [88, 3] Generated Node #0,3,0: 91:[88, 3] Operation: 16-13=3 Exploring Operation: 16+13=29, Resulting Numbers: [88, 29] Generated Node #0,3,1: 91:[88, 29] Operation: 16+13=29 Exploring Operation: 88+13=101, Resulting Numbers: [16, 101] Generated Node #0,3,2: 91:[16, 101] Operation: 88+13=101 Exploring Operation: 88-16=72, Resulting Numbers: [13, 72] Generated Node #0,3,3: 91:[13, 72] Operation: 88-16=72 Exploring Operation: 16+88=104, Resulting Numbers: [13, 104] Generated Node #0,3,4: 91:[13, 104] Operation: 16+88=104 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[88, 3], Operations: ['68-55=13', '16-13=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,91 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[68, 16, 55, 88], Operations: [] Exploring Operation: 68-55=13, Resulting Numbers: [16, 88, 13] Generated Node #0,3: 91:[16, 88, 13] Operation: 68-55=13 Moving to Node #0,3 Current State: 91:[16, 88, 13], Operations: ['68-55=13'] Exploring Operation: 16-13=3, Resulting Numbers: [88, 3] Generated Node #0,3,0: 91:[88, 3] Operation: 16-13=3 Moving to Node #0,3,0 Current State: 91:[88, 3], Operations: ['68-55=13', '16-13=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 49, 2, 63, 54 ]
80
[ "63-49=14", "54-14=40", "2*40=80" ]
Current State: 80:[49, 2, 63, 54], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [2, 54, 14] Generated Node #2: [2, 54, 14] from Operation: 63-49=14 Current State: 80:[2, 54, 14], Operations: ['63-49=14'] Exploring Operation: 54-14=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 54-14=40 Current State: 80:[2, 40], Operations: ['63-49=14', '54-14=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[49, 2, 63, 54], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [49, 2, 9] Generated Node #0,0: 80:[49, 2, 9] Operation: 63-54=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[49, 2, 9], Operations: ['63-54=9'] Exploring Operation: 49-9=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 80:[2, 40] Operation: 49-9=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[2, 40], Operations: ['63-54=9', '49-9=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[49, 2, 63, 54], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [49, 2, 9] Generated Node #0,0: 80:[49, 2, 9] Operation: 63-54=9 Moving to Node #0,0 Current State: 80:[49, 2, 9], Operations: ['63-54=9'] Exploring Operation: 49-9=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 80:[2, 40] Operation: 49-9=40 Moving to Node #0,0,0 Current State: 80:[2, 40], Operations: ['63-54=9', '49-9=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 4, 19, 14, 70 ]
12
[ "14-4=10", "70/10=7", "19-7=12" ]
Current State: 12:[4, 19, 14, 70], Operations: [] Exploring Operation: 14-4=10, Resulting Numbers: [19, 70, 10] Generated Node #2: [19, 70, 10] from Operation: 14-4=10 Current State: 12:[19, 70, 10], Operations: ['14-4=10'] Exploring Operation: 70/10=7, Resulting Numbers: [19, 7] Generated Node #3: [19, 7] from Operation: 70/10=7 Current State: 12:[19, 7], Operations: ['14-4=10', '70/10=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[4, 19, 14, 70], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [4, 19, 5] Generated Node #0,0: 12:[4, 19, 5] Operation: 70/14=5 Moving to Node #0,0 Current State: 12:[4, 19, 5], Operations: ['70/14=5'] Exploring Operation: 19-5=14, Resulting Numbers: [4, 14] Generated Node #0,0,0: 12:[4, 14] Operation: 19-5=14 Moving to Node #0,0,0 Current State: 12:[4, 14], Operations: ['70/14=5', '19-5=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,12 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 82, 78, 26, 93 ]
71
[ "82-78=4", "93-26=67", "4+67=71" ]
Current State: 71:[82, 78, 26, 93], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [26, 93, 4] Generated Node #2: [26, 93, 4] from Operation: 82-78=4 Current State: 71:[26, 93, 4], Operations: ['82-78=4'] Exploring Operation: 93-26=67, Resulting Numbers: [4, 67] Generated Node #3: [4, 67] from Operation: 93-26=67 Current State: 71:[4, 67], Operations: ['82-78=4', '93-26=67'] Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[82, 78, 26, 93], Operations: [] Exploring Operation: 82+26=108, Resulting Numbers: [78, 93, 108] Generated Node #0,0: 71:[78, 93, 108] Operation: 82+26=108 Exploring Operation: 78+26=104, Resulting Numbers: [82, 93, 104] Generated Node #0,1: 71:[82, 93, 104] Operation: 78+26=104 Exploring Operation: 78-26=52, Resulting Numbers: [82, 93, 52] Generated Node #0,2: 71:[82, 93, 52] Operation: 78-26=52 Exploring Operation: 93-26=67, Resulting Numbers: [82, 78, 67] Generated Node #0,3: 71:[82, 78, 67] Operation: 93-26=67 Exploring Operation: 82-26=56, Resulting Numbers: [78, 93, 56] Generated Node #0,4: 71:[78, 93, 56] Operation: 82-26=56 Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[82, 78, 67], Operations: ['93-26=67'] Exploring Operation: 78-67=11, Resulting Numbers: [82, 11] Generated Node #0,3,0: 71:[82, 11] Operation: 78-67=11 Exploring Operation: 82-78=4, Resulting Numbers: [67, 4] Generated Node #0,3,1: 71:[67, 4] Operation: 82-78=4 Exploring Operation: 82+67=149, Resulting Numbers: [78, 149] Generated Node #0,3,2: 71:[78, 149] Operation: 82+67=149 Exploring Operation: 82-67=15, Resulting Numbers: [78, 15] Generated Node #0,3,3: 71:[78, 15] Operation: 82-67=15 Exploring Operation: 78+67=145, Resulting Numbers: [82, 145] Generated Node #0,3,4: 71:[82, 145] Operation: 78+67=145 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 71:[78, 15], Operations: ['93-26=67', '82-67=15'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[82, 11], Operations: ['93-26=67', '78-67=11'] Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,71 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[82, 78, 26, 93], Operations: [] Exploring Operation: 93-26=67, Resulting Numbers: [82, 78, 67] Generated Node #0,3: 71:[82, 78, 67] Operation: 93-26=67 Moving to Node #0,3 Current State: 71:[82, 78, 67], Operations: ['93-26=67'] Exploring Operation: 78-67=11, Resulting Numbers: [82, 11] Generated Node #0,3,0: 71:[82, 11] Operation: 78-67=11 Moving to Node #0,3,0 Current State: 71:[82, 11], Operations: ['93-26=67', '78-67=11'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 65, 4, 16, 61 ]
15
[ "65-4=61", "61/61=1", "16-1=15" ]
Current State: 15:[65, 4, 16, 61], Operations: [] Exploring Operation: 65-4=61, Resulting Numbers: [16, 61, 61] Generated Node #2: [16, 61, 61] from Operation: 65-4=61 Current State: 15:[16, 61, 61], Operations: ['65-4=61'] Exploring Operation: 61/61=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 61/61=1 Current State: 15:[16, 1], Operations: ['65-4=61', '61/61=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[65, 4, 16, 61], Operations: [] Exploring Operation: 65-16=49, Resulting Numbers: [4, 61, 49] Generated Node #0,0: 15:[4, 61, 49] Operation: 65-16=49 Exploring Operation: 65-61=4, Resulting Numbers: [4, 16, 4] Generated Node #0,1: 15:[4, 16, 4] Operation: 65-61=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[4, 16, 4], Operations: ['65-61=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 15:[4, 4] Operation: 16/4=4 Exploring Operation: 4*4=16, Resulting Numbers: [16, 16] Generated Node #0,1,1: 15:[16, 16] Operation: 4*4=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[4, 4], Operations: ['65-61=4', '16/4=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[16, 16], Operations: ['65-61=4', '4*4=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,15 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: 15:[4, 61, 49], Operations: ['65-16=49'] Exploring Operation: 61-49=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 15:[4, 12] Operation: 61-49=12 Exploring Operation: 61-4=57, Resulting Numbers: [49, 57] Generated Node #0,0,1: 15:[49, 57] Operation: 61-4=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[4, 12], Operations: ['65-16=49', '61-49=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[49, 57], Operations: ['65-16=49', '61-4=57'] Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 49+57=106, Resulting Numbers: [106] 106,15 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
[ 44, 29, 12, 19 ]
42
[ "44+29=73", "12+19=31", "73-31=42" ]
Current State: 42:[44, 29, 12, 19], Operations: [] Exploring Operation: 44+29=73, Resulting Numbers: [12, 19, 73] Generated Node #2: [12, 19, 73] from Operation: 44+29=73 Current State: 42:[12, 19, 73], Operations: ['44+29=73'] Exploring Operation: 12+19=31, Resulting Numbers: [73, 31] Generated Node #3: [73, 31] from Operation: 12+19=31 Current State: 42:[73, 31], Operations: ['44+29=73', '12+19=31'] Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[44, 29, 12, 19], Operations: [] Exploring Operation: 29+12=41, Resulting Numbers: [44, 19, 41] Generated Node #0,0: 42:[44, 19, 41] Operation: 29+12=41 Exploring Operation: 44-29=15, Resulting Numbers: [12, 19, 15] Generated Node #0,1: 42:[12, 19, 15] Operation: 44-29=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[44, 19, 41], Operations: ['29+12=41'] Exploring Operation: 41-19=22, Resulting Numbers: [44, 22] Generated Node #0,0,0: 42:[44, 22] Operation: 41-19=22 Exploring Operation: 44-41=3, Resulting Numbers: [19, 3] Generated Node #0,0,1: 42:[19, 3] Operation: 44-41=3 Moving to Node #0,0,1 Current State: 42:[19, 3], Operations: ['29+12=41', '44-41=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[44, 22], Operations: ['29+12=41', '41-19=22'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[12, 19, 15], Operations: ['44-29=15'] Exploring Operation: 15-12=3, Resulting Numbers: [19, 3] Generated Node #0,1,0: 42:[19, 3] Operation: 15-12=3 Exploring Operation: 19-12=7, Resulting Numbers: [15, 7] Generated Node #0,1,1: 42:[15, 7] Operation: 19-12=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[15, 7], Operations: ['44-29=15', '19-12=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[19, 3], Operations: ['44-29=15', '15-12=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,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 No solution found.
0
hs_2
mult_heuristic
[ 80, 72, 75, 30 ]
48
[ "80-30=50", "72*50=3600", "3600/75=48" ]
Current State: 48:[80, 72, 75, 30], Operations: [] Exploring Operation: 80-30=50, Resulting Numbers: [72, 75, 50] Generated Node #2: [72, 75, 50] from Operation: 80-30=50 Current State: 48:[72, 75, 50], Operations: ['80-30=50'] Exploring Operation: 72*50=3600, Resulting Numbers: [75, 3600] Generated Node #3: [75, 3600] from Operation: 72*50=3600 Current State: 48:[75, 3600], Operations: ['80-30=50', '72*50=3600'] Exploring Operation: 3600/75=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[80, 72, 75, 30], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [72, 30, 5] Generated Node #0,0: 48:[72, 30, 5] Operation: 80-75=5 Exploring Operation: 80-72=8, Resulting Numbers: [75, 30, 8] Generated Node #0,1: 48:[75, 30, 8] Operation: 80-72=8 Moving to Node #0,0 Current State: 48:[72, 30, 5], Operations: ['80-75=5'] Exploring Operation: 30/5=6, Resulting Numbers: [72, 6] Generated Node #0,0,0: 48:[72, 6] Operation: 30/5=6 Exploring Operation: 72-30=42, Resulting Numbers: [5, 42] Generated Node #0,0,1: 48:[5, 42] Operation: 72-30=42 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[5, 42], Operations: ['80-75=5', '72-30=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[72, 6], Operations: ['80-75=5', '30/5=6'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,48 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 48:[75, 30, 8], Operations: ['80-72=8'] Exploring Operation: 75-8=67, Resulting Numbers: [30, 67] Generated Node #0,1,0: 48:[30, 67] Operation: 75-8=67 Exploring Operation: 75-30=45, Resulting Numbers: [8, 45] Generated Node #0,1,1: 48:[8, 45] Operation: 75-30=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[8, 45], Operations: ['80-72=8', '75-30=45'] Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[30, 67], Operations: ['80-72=8', '75-8=67'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,48 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
[ 60, 12, 58, 59 ]
72
[ "60+12=72", "59-58=1", "72*1=72" ]
Current State: 72:[60, 12, 58, 59], Operations: [] Exploring Operation: 60+12=72, Resulting Numbers: [58, 59, 72] Generated Node #2: [58, 59, 72] from Operation: 60+12=72 Current State: 72:[58, 59, 72], Operations: ['60+12=72'] Exploring Operation: 59-58=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 59-58=1 Current State: 72:[72, 1], Operations: ['60+12=72', '59-58=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[60, 12, 58, 59], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [12, 58, 1] Generated Node #0,0: 72:[12, 58, 1] Operation: 60-59=1 Exploring Operation: 60-58=2, Resulting Numbers: [12, 59, 2] Generated Node #0,1: 72:[12, 59, 2] Operation: 60-58=2 Exploring Operation: 59-58=1, Resulting Numbers: [60, 12, 1] Generated Node #0,2: 72:[60, 12, 1] Operation: 59-58=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[12, 59, 2], Operations: ['60-58=2'] Exploring Operation: 12+59=71, Resulting Numbers: [2, 71] Generated Node #0,1,0: 72:[2, 71] Operation: 12+59=71 Exploring Operation: 59+2=61, Resulting Numbers: [12, 61] Generated Node #0,1,1: 72:[12, 61] Operation: 59+2=61 Exploring Operation: 59-12=47, Resulting Numbers: [2, 47] Generated Node #0,1,2: 72:[2, 47] Operation: 59-12=47 Moving to Node #0,1,0 Current State: 72:[2, 71], Operations: ['60-58=2', '12+59=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,72 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[12, 61], Operations: ['60-58=2', '59+2=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[2, 47], Operations: ['60-58=2', '59-12=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[60, 12, 1], Operations: ['59-58=1'] Exploring Operation: 60+12=72, Resulting Numbers: [1, 72] Generated Node #0,2,0: 72:[1, 72] Operation: 60+12=72 Exploring Operation: 60/12=5, Resulting Numbers: [1, 5] Generated Node #0,2,1: 72:[1, 5] Operation: 60/12=5 Exploring Operation: 60+1=61, Resulting Numbers: [12, 61] Generated Node #0,2,2: 72:[12, 61] Operation: 60+1=61 Moving to Node #0,2,0 Current State: 72:[1, 72], Operations: ['59-58=1', '60+12=72'] Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[60, 12, 58, 59], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [60, 12, 1] Generated Node #0,2: 72:[60, 12, 1] Operation: 59-58=1 Moving to Node #0,2 Current State: 72:[60, 12, 1], Operations: ['59-58=1'] Exploring Operation: 60+12=72, Resulting Numbers: [1, 72] Generated Node #0,2,0: 72:[1, 72] Operation: 60+12=72 Moving to Node #0,2,0 Current State: 72:[1, 72], Operations: ['59-58=1', '60+12=72'] Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 16, 88, 83, 85 ]
64
[ "16+88=104", "83+85=168", "168-104=64" ]
Current State: 64:[16, 88, 83, 85], Operations: [] Exploring Operation: 16+88=104, Resulting Numbers: [83, 85, 104] Generated Node #2: [83, 85, 104] from Operation: 16+88=104 Current State: 64:[83, 85, 104], Operations: ['16+88=104'] Exploring Operation: 83+85=168, Resulting Numbers: [104, 168] Generated Node #3: [104, 168] from Operation: 83+85=168 Current State: 64:[104, 168], Operations: ['16+88=104', '83+85=168'] Exploring Operation: 168-104=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 88, 83, 85], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [16, 83, 3] Generated Node #0,0: 64:[16, 83, 3] Operation: 88-85=3 Moving to Node #0,0 Current State: 64:[16, 83, 3], Operations: ['88-85=3'] Exploring Operation: 83-16=67, Resulting Numbers: [3, 67] Generated Node #0,0,0: 64:[3, 67] Operation: 83-16=67 Moving to Node #0,0,0 Current State: 64:[3, 67], Operations: ['88-85=3', '83-16=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[16, 88, 83, 85], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [16, 83, 3] Generated Node #0,0: 64:[16, 83, 3] Operation: 88-85=3 Moving to Node #0,0 Current State: 64:[16, 83, 3], Operations: ['88-85=3'] Exploring Operation: 83-16=67, Resulting Numbers: [3, 67] Generated Node #0,0,0: 64:[3, 67] Operation: 83-16=67 Moving to Node #0,0,0 Current State: 64:[3, 67], Operations: ['88-85=3', '83-16=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 71, 71, 68, 98 ]
30
[ "71-71=0", "98-68=30", "0+30=30" ]
Current State: 30:[71, 71, 68, 98], Operations: [] Exploring Operation: 71-71=0, Resulting Numbers: [68, 98, 0] Generated Node #2: [68, 98, 0] from Operation: 71-71=0 Current State: 30:[68, 98, 0], Operations: ['71-71=0'] Exploring Operation: 98-68=30, Resulting Numbers: [0, 30] Generated Node #3: [0, 30] from Operation: 98-68=30 Current State: 30:[0, 30], Operations: ['71-71=0', '98-68=30'] Exploring Operation: 0+30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[71, 71, 68, 98], Operations: [] Exploring Operation: 71/71=1, Resulting Numbers: [68, 98, 1] Generated Node #0,0: 30:[68, 98, 1] Operation: 71/71=1 Exploring Operation: 98-71=27, Resulting Numbers: [71, 68, 27] Generated Node #0,1: 30:[71, 68, 27] Operation: 98-71=27 Exploring Operation: 98-71=27, Resulting Numbers: [71, 68, 27] Generated Node #0,2: 30:[71, 68, 27] Operation: 98-71=27 Exploring Operation: 98-68=30, Resulting Numbers: [71, 71, 30] Generated Node #0,3: 30:[71, 71, 30] Operation: 98-68=30 Moving to Node #0,1 Current State: 30:[71, 68, 27], Operations: ['98-71=27'] Exploring Operation: 71-68=3, Resulting Numbers: [27, 3] Generated Node #0,1,0: 30:[27, 3] Operation: 71-68=3 Exploring Operation: 71-27=44, Resulting Numbers: [68, 44] Generated Node #0,1,1: 30:[68, 44] Operation: 71-27=44 Exploring Operation: 68-27=41, Resulting Numbers: [71, 41] Generated Node #0,1,2: 30:[71, 41] Operation: 68-27=41 Exploring Operation: 71+27=98, Resulting Numbers: [68, 98] Generated Node #0,1,3: 30:[68, 98] Operation: 71+27=98 Moving to Node #0,3 Current State: 30:[71, 71, 30], Operations: ['98-68=30'] Exploring Operation: 71-30=41, Resulting Numbers: [71, 41] Generated Node #0,3,0: 30:[71, 41] Operation: 71-30=41 Exploring Operation: 71-30=41, Resulting Numbers: [71, 41] Generated Node #0,3,1: 30:[71, 41] Operation: 71-30=41 Exploring Operation: 71/71=1, Resulting Numbers: [30, 1] Generated Node #0,3,2: 30:[30, 1] Operation: 71/71=1 Exploring Operation: 71-71=0, Resulting Numbers: [30, 0] Generated Node #0,3,3: 30:[30, 0] Operation: 71-71=0 Moving to Node #0,2 Current State: 30:[71, 68, 27], Operations: ['98-71=27'] Exploring Operation: 71-68=3, Resulting Numbers: [27, 3] Generated Node #0,2,0: 30:[27, 3] Operation: 71-68=3 Exploring Operation: 68-27=41, Resulting Numbers: [71, 41] Generated Node #0,2,1: 30:[71, 41] Operation: 68-27=41 Exploring Operation: 71-27=44, Resulting Numbers: [68, 44] Generated Node #0,2,2: 30:[68, 44] Operation: 71-27=44 Exploring Operation: 71+27=98, Resulting Numbers: [68, 98] Generated Node #0,2,3: 30:[68, 98] Operation: 71+27=98 Moving to Node #0,0 Current State: 30:[68, 98, 1], Operations: ['71/71=1'] Exploring Operation: 98-1=97, Resulting Numbers: [68, 97] Generated Node #0,0,0: 30:[68, 97] Operation: 98-1=97 Exploring Operation: 68-1=67, Resulting Numbers: [98, 67] Generated Node #0,0,1: 30:[98, 67] Operation: 68-1=67 Exploring Operation: 98-68=30, Resulting Numbers: [1, 30] Generated Node #0,0,2: 30:[1, 30] Operation: 98-68=30 Exploring Operation: 68*1=68, Resulting Numbers: [98, 68] Generated Node #0,0,3: 30:[98, 68] Operation: 68*1=68 Moving to Node #0,3,2 Current State: 30:[30, 1], Operations: ['98-68=30', '71/71=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[71, 71, 68, 98], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [71, 71, 30] Generated Node #0,3: 30:[71, 71, 30] Operation: 98-68=30 Moving to Node #0,3 Current State: 30:[71, 71, 30], Operations: ['98-68=30'] Exploring Operation: 71/71=1, Resulting Numbers: [30, 1] Generated Node #0,3,2: 30:[30, 1] Operation: 71/71=1 Moving to Node #0,3,2 Current State: 30:[30, 1], Operations: ['98-68=30', '71/71=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.978299
hs_4
mult_heuristic
[ 97, 30, 67, 19 ]
79
[ "97+30=127", "67-19=48", "127-48=79" ]
Current State: 79:[97, 30, 67, 19], Operations: [] Exploring Operation: 97+30=127, Resulting Numbers: [67, 19, 127] Generated Node #2: [67, 19, 127] from Operation: 97+30=127 Current State: 79:[67, 19, 127], Operations: ['97+30=127'] Exploring Operation: 67-19=48, Resulting Numbers: [127, 48] Generated Node #3: [127, 48] from Operation: 67-19=48 Current State: 79:[127, 48], Operations: ['97+30=127', '67-19=48'] Exploring Operation: 127-48=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[97, 30, 67, 19], Operations: [] Exploring Operation: 30+19=49, Resulting Numbers: [97, 67, 49] Generated Node #0,0: 79:[97, 67, 49] Operation: 30+19=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[97, 67, 49], Operations: ['30+19=49'] Exploring Operation: 97-49=48, Resulting Numbers: [67, 48] Generated Node #0,0,0: 79:[67, 48] Operation: 97-49=48 Moving to Node #0,0,0 Current State: 79:[67, 48], Operations: ['30+19=49', '97-49=48'] Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 57, 80, 83, 55 ]
86
[ "57-55=2", "83*2=166", "166-80=86" ]
Current State: 86:[57, 80, 83, 55], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [80, 83, 2] Generated Node #2: [80, 83, 2] from Operation: 57-55=2 Current State: 86:[80, 83, 2], Operations: ['57-55=2'] Exploring Operation: 83*2=166, Resulting Numbers: [80, 166] Generated Node #3: [80, 166] from Operation: 83*2=166 Current State: 86:[80, 166], Operations: ['57-55=2', '83*2=166'] Exploring Operation: 166-80=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[57, 80, 83, 55], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [57, 55, 3] Generated Node #0,0: 86:[57, 55, 3] Operation: 83-80=3 Exploring Operation: 57-55=2, Resulting Numbers: [80, 83, 2] Generated Node #0,1: 86:[80, 83, 2] Operation: 57-55=2 Moving to Node #0,1 Current State: 86:[80, 83, 2], Operations: ['57-55=2'] Exploring Operation: 83-80=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 86:[2, 3] Operation: 83-80=3 Exploring Operation: 80/2=40, Resulting Numbers: [83, 40] Generated Node #0,1,1: 86:[83, 40] Operation: 80/2=40 Moving to Node #0,0 Current State: 86:[57, 55, 3], Operations: ['83-80=3'] Exploring Operation: 57-55=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 86:[3, 2] Operation: 57-55=2 Exploring Operation: 57-3=54, Resulting Numbers: [55, 54] Generated Node #0,0,1: 86:[55, 54] Operation: 57-3=54 Moving to Node #0,1,0 Current State: 86:[2, 3], Operations: ['57-55=2', '83-80=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[3, 2], Operations: ['83-80=3', '57-55=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[83, 40], Operations: ['57-55=2', '80/2=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[55, 54], Operations: ['83-80=3', '57-3=54'] Exploring Operation: 55+54=109, Resulting Numbers: [109] 109,86 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,86 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 17, 52, 42, 42 ]
52
[ "42-42=0", "17*0=0", "52+0=52" ]
Current State: 52:[17, 52, 42, 42], Operations: [] Exploring Operation: 42-42=0, Resulting Numbers: [17, 52, 0] Generated Node #2: [17, 52, 0] from Operation: 42-42=0 Current State: 52:[17, 52, 0], Operations: ['42-42=0'] Exploring Operation: 17*0=0, Resulting Numbers: [52, 0] Generated Node #3: [52, 0] from Operation: 17*0=0 Current State: 52:[52, 0], Operations: ['42-42=0', '17*0=0'] Exploring Operation: 52+0=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[17, 52, 42, 42], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [17, 52, 1] Generated Node #0,0: 52:[17, 52, 1] Operation: 42/42=1 Moving to Node #0,0 Current State: 52:[17, 52, 1], Operations: ['42/42=1'] Exploring Operation: 17-1=16, Resulting Numbers: [52, 16] Generated Node #0,0,0: 52:[52, 16] Operation: 17-1=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[52, 16], Operations: ['42/42=1', '17-1=16'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 3, 49, 82 ]
96
[ "82-49=33", "3*33=99", "99-3=96" ]
Current State: 96:[3, 3, 49, 82], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [3, 3, 33] Generated Node #2: [3, 3, 33] from Operation: 82-49=33 Current State: 96:[3, 3, 33], Operations: ['82-49=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,96 equal: Goal Reached Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[3, 3, 49, 82], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [3, 3, 33] Generated Node #0,0: 96:[3, 3, 33] Operation: 82-49=33 Exploring Operation: 3+82=85, Resulting Numbers: [3, 49, 85] Generated Node #0,1: 96:[3, 49, 85] Operation: 3+82=85 Exploring Operation: 3+82=85, Resulting Numbers: [3, 49, 85] Generated Node #0,2: 96:[3, 49, 85] Operation: 3+82=85 Moving to Node #0,0 Current State: 96:[3, 3, 33], Operations: ['82-49=33'] Exploring Operation: 33/3=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 96:[3, 11] Operation: 33/3=11 Exploring Operation: 33/3=11, Resulting Numbers: [3, 11] Generated Node #0,0,1: 96:[3, 11] Operation: 33/3=11 Exploring Operation: 3+3=6, Resulting Numbers: [33, 6] Generated Node #0,0,2: 96:[33, 6] Operation: 3+3=6 Moving to Node #0,1 Current State: 96:[3, 49, 85], Operations: ['3+82=85'] Exploring Operation: 85-49=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 96:[3, 36] Operation: 85-49=36 Exploring Operation: 49-3=46, Resulting Numbers: [85, 46] Generated Node #0,1,1: 96:[85, 46] Operation: 49-3=46 Exploring Operation: 3+85=88, Resulting Numbers: [49, 88] Generated Node #0,1,2: 96:[49, 88] Operation: 3+85=88 Moving to Node #0,2 Current State: 96:[3, 49, 85], Operations: ['3+82=85'] Exploring Operation: 85-49=36, Resulting Numbers: [3, 36] Generated Node #0,2,0: 96:[3, 36] Operation: 85-49=36 Exploring Operation: 3+85=88, Resulting Numbers: [49, 88] Generated Node #0,2,1: 96:[49, 88] Operation: 3+85=88 Exploring Operation: 49-3=46, Resulting Numbers: [85, 46] Generated Node #0,2,2: 96:[85, 46] Operation: 49-3=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[3, 36], Operations: ['3+82=85', '85-49=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[49, 88], Operations: ['3+82=85', '3+85=88'] Exploring Operation: 49*88=4312, Resulting Numbers: [4312] 4312,96 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 49+88=137, Resulting Numbers: [137] 137,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[85, 46], Operations: ['3+82=85', '49-3=46'] Exploring Operation: 85*46=3910, Resulting Numbers: [3910] 3910,96 unequal: No Solution Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,96 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,96 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: 96:[3, 11], Operations: ['82-49=33', '33/3=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[33, 6], Operations: ['82-49=33', '3+3=6'] Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[3, 11], Operations: ['82-49=33', '33/3=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[3, 36], Operations: ['3+82=85', '85-49=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[49, 88], Operations: ['3+82=85', '3+85=88'] Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 49+88=137, Resulting Numbers: [137] 137,96 unequal: No Solution Exploring Operation: 49*88=4312, Resulting Numbers: [4312] 4312,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[85, 46], Operations: ['3+82=85', '49-3=46'] Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,96 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 85*46=3910, Resulting Numbers: [3910] 3910,96 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 15, 17, 40, 55 ]
16
[ "15+40=55", "55/55=1", "17-1=16" ]
Current State: 16:[15, 17, 40, 55], Operations: [] Exploring Operation: 15+40=55, Resulting Numbers: [17, 55, 55] Generated Node #2: [17, 55, 55] from Operation: 15+40=55 Current State: 16:[17, 55, 55], Operations: ['15+40=55'] Exploring Operation: 55/55=1, Resulting Numbers: [17, 1] Generated Node #3: [17, 1] from Operation: 55/55=1 Current State: 16:[17, 1], Operations: ['15+40=55', '55/55=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[15, 17, 40, 55], Operations: [] Exploring Operation: 40-17=23, Resulting Numbers: [15, 55, 23] Generated Node #0,0: 16:[15, 55, 23] Operation: 40-17=23 Exploring Operation: 55-40=15, Resulting Numbers: [15, 17, 15] Generated Node #0,1: 16:[15, 17, 15] Operation: 55-40=15 Exploring Operation: 55-17=38, Resulting Numbers: [15, 40, 38] Generated Node #0,2: 16:[15, 40, 38] Operation: 55-17=38 Moving to Node #0,1 Current State: 16:[15, 17, 15], Operations: ['55-40=15'] Exploring Operation: 15/15=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 16:[17, 1] Operation: 15/15=1 Exploring Operation: 17-15=2, Resulting Numbers: [15, 2] Generated Node #0,1,1: 16:[15, 2] Operation: 17-15=2 Exploring Operation: 17-15=2, Resulting Numbers: [15, 2] Generated Node #0,1,2: 16:[15, 2] Operation: 17-15=2 Moving to Node #0,0 Current State: 16:[15, 55, 23], Operations: ['40-17=23'] Exploring Operation: 55-23=32, Resulting Numbers: [15, 32] Generated Node #0,0,0: 16:[15, 32] Operation: 55-23=32 Exploring Operation: 55-15=40, Resulting Numbers: [23, 40] Generated Node #0,0,1: 16:[23, 40] Operation: 55-15=40 Exploring Operation: 23-15=8, Resulting Numbers: [55, 8] Generated Node #0,0,2: 16:[55, 8] Operation: 23-15=8 Moving to Node #0,2 Current State: 16:[15, 40, 38], Operations: ['55-17=38'] Exploring Operation: 40-15=25, Resulting Numbers: [38, 25] Generated Node #0,2,0: 16:[38, 25] Operation: 40-15=25 Exploring Operation: 40-38=2, Resulting Numbers: [15, 2] Generated Node #0,2,1: 16:[15, 2] Operation: 40-38=2 Exploring Operation: 38-15=23, Resulting Numbers: [40, 23] Generated Node #0,2,2: 16:[40, 23] Operation: 38-15=23 Moving to Node #0,1,1 Current State: 16:[15, 2], Operations: ['55-40=15', '17-15=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,16 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[15, 2], Operations: ['55-17=38', '40-38=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[15, 2], Operations: ['55-40=15', '17-15=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,16 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[17, 1], Operations: ['55-40=15', '15/15=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[15, 17, 40, 55], Operations: [] Exploring Operation: 55-40=15, Resulting Numbers: [15, 17, 15] Generated Node #0,1: 16:[15, 17, 15] Operation: 55-40=15 Moving to Node #0,1 Current State: 16:[15, 17, 15], Operations: ['55-40=15'] Exploring Operation: 15/15=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 16:[17, 1] Operation: 15/15=1 Moving to Node #0,1,0 Current State: 16:[17, 1], Operations: ['55-40=15', '15/15=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 49, 11, 48, 50 ]
40
[ "49+11=60", "48*50=2400", "2400/60=40" ]
Current State: 40:[49, 11, 48, 50], Operations: [] Exploring Operation: 49+11=60, Resulting Numbers: [48, 50, 60] Generated Node #2: [48, 50, 60] from Operation: 49+11=60 Current State: 40:[48, 50, 60], Operations: ['49+11=60'] Exploring Operation: 48*50=2400, Resulting Numbers: [60, 2400] Generated Node #3: [60, 2400] from Operation: 48*50=2400 Current State: 40:[60, 2400], Operations: ['49+11=60', '48*50=2400'] Exploring Operation: 2400/60=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[49, 11, 48, 50], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [11, 48, 1] Generated Node #0,0: 40:[11, 48, 1] Operation: 50-49=1 Moving to Node #0,0 Current State: 40:[11, 48, 1], Operations: ['50-49=1'] Exploring Operation: 48-11=37, Resulting Numbers: [1, 37] Generated Node #0,0,0: 40:[1, 37] Operation: 48-11=37 Moving to Node #0,0,0 Current State: 40:[1, 37], Operations: ['50-49=1', '48-11=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,40 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 7, 64, 42 ]
47
[ "76-7=69", "64-42=22", "69-22=47" ]
Current State: 47:[76, 7, 64, 42], Operations: [] Exploring Operation: 76-7=69, Resulting Numbers: [64, 42, 69] Generated Node #2: [64, 42, 69] from Operation: 76-7=69 Current State: 47:[64, 42, 69], Operations: ['76-7=69'] Exploring Operation: 64-42=22, Resulting Numbers: [69, 22] Generated Node #3: [69, 22] from Operation: 64-42=22 Current State: 47:[69, 22], Operations: ['76-7=69', '64-42=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[76, 7, 64, 42], Operations: [] Exploring Operation: 76+7=83, Resulting Numbers: [64, 42, 83] Generated Node #0,0: 47:[64, 42, 83] Operation: 76+7=83 Exploring Operation: 7+42=49, Resulting Numbers: [76, 64, 49] Generated Node #0,1: 47:[76, 64, 49] Operation: 7+42=49 Exploring Operation: 64-7=57, Resulting Numbers: [76, 42, 57] Generated Node #0,2: 47:[76, 42, 57] Operation: 64-7=57 Exploring Operation: 76-7=69, Resulting Numbers: [64, 42, 69] Generated Node #0,3: 47:[64, 42, 69] Operation: 76-7=69 Moving to Node #0,2 Current State: 47:[76, 42, 57], Operations: ['64-7=57'] Exploring Operation: 76+42=118, Resulting Numbers: [57, 118] Generated Node #0,2,0: 47:[57, 118] Operation: 76+42=118 Exploring Operation: 76-57=19, Resulting Numbers: [42, 19] Generated Node #0,2,1: 47:[42, 19] Operation: 76-57=19 Exploring Operation: 57-42=15, Resulting Numbers: [76, 15] Generated Node #0,2,2: 47:[76, 15] Operation: 57-42=15 Exploring Operation: 76-42=34, Resulting Numbers: [57, 34] Generated Node #0,2,3: 47:[57, 34] Operation: 76-42=34 Moving to Node #0,3 Current State: 47:[64, 42, 69], Operations: ['76-7=69'] Exploring Operation: 64-42=22, Resulting Numbers: [69, 22] Generated Node #0,3,0: 47:[69, 22] Operation: 64-42=22 Exploring Operation: 64+42=106, Resulting Numbers: [69, 106] Generated Node #0,3,1: 47:[69, 106] Operation: 64+42=106 Exploring Operation: 69-64=5, Resulting Numbers: [42, 5] Generated Node #0,3,2: 47:[42, 5] Operation: 69-64=5 Exploring Operation: 69-42=27, Resulting Numbers: [64, 27] Generated Node #0,3,3: 47:[64, 27] Operation: 69-42=27 Moving to Node #0,1 Current State: 47:[76, 64, 49], Operations: ['7+42=49'] Exploring Operation: 76+64=140, Resulting Numbers: [49, 140] Generated Node #0,1,0: 47:[49, 140] Operation: 76+64=140 Exploring Operation: 76-49=27, Resulting Numbers: [64, 27] Generated Node #0,1,1: 47:[64, 27] Operation: 76-49=27 Exploring Operation: 76-64=12, Resulting Numbers: [49, 12] Generated Node #0,1,2: 47:[49, 12] Operation: 76-64=12 Exploring Operation: 64-49=15, Resulting Numbers: [76, 15] Generated Node #0,1,3: 47:[76, 15] Operation: 64-49=15 Moving to Node #0,0 Current State: 47:[64, 42, 83], Operations: ['76+7=83'] Exploring Operation: 83-42=41, Resulting Numbers: [64, 41] Generated Node #0,0,0: 47:[64, 41] Operation: 83-42=41 Exploring Operation: 83-64=19, Resulting Numbers: [42, 19] Generated Node #0,0,1: 47:[42, 19] Operation: 83-64=19 Exploring Operation: 64+42=106, Resulting Numbers: [83, 106] Generated Node #0,0,2: 47:[83, 106] Operation: 64+42=106 Exploring Operation: 64-42=22, Resulting Numbers: [83, 22] Generated Node #0,0,3: 47:[83, 22] Operation: 64-42=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[64, 41], Operations: ['76+7=83', '83-42=41'] Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,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,1 Current State: 47:[42, 19], Operations: ['76+7=83', '83-64=19'] Exploring Operation: 42*19=798, Resulting Numbers: [798] 798,47 unequal: No Solution Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,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,3 Current State: 47:[83, 22], Operations: ['76+7=83', '64-42=22'] Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,47 unequal: No Solution Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,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,2 Current State: 47:[83, 106], Operations: ['76+7=83', '64+42=106'] Exploring Operation: 83*106=8798, Resulting Numbers: [8798] 8798,47 unequal: No Solution Exploring Operation: 106-83=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 83+106=189, Resulting Numbers: [189] 189,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 47:[57, 34], Operations: ['64-7=57', '76-42=34'] Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,47 unequal: No Solution Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[42, 19], Operations: ['64-7=57', '76-57=19'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 42*19=798, Resulting Numbers: [798] 798,47 unequal: No Solution Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[64, 27], Operations: ['76-7=69', '69-42=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,47 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[49, 12], Operations: ['7+42=49', '76-64=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[64, 27], Operations: ['7+42=49', '76-49=27'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,47 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[69, 22], Operations: ['76-7=69', '64-42=22'] Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[76, 7, 64, 42], Operations: [] Exploring Operation: 76-7=69, Resulting Numbers: [64, 42, 69] Generated Node #0,3: 47:[64, 42, 69] Operation: 76-7=69 Moving to Node #0,3 Current State: 47:[64, 42, 69], Operations: ['76-7=69'] Exploring Operation: 64-42=22, Resulting Numbers: [69, 22] Generated Node #0,3,0: 47:[69, 22] Operation: 64-42=22 Moving to Node #0,3,0 Current State: 47:[69, 22], Operations: ['76-7=69', '64-42=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.953993
hs_4
mult_heuristic
[ 44, 9, 3, 5 ]
97
[ "5-3=2", "44*2=88", "9+88=97" ]
Current State: 97:[44, 9, 3, 5], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [44, 9, 2] Generated Node #2: [44, 9, 2] from Operation: 5-3=2 Current State: 97:[44, 9, 2], Operations: ['5-3=2'] Exploring Operation: 44*2=88, Resulting Numbers: [9, 88] Generated Node #3: [9, 88] from Operation: 44*2=88 Current State: 97:[9, 88], Operations: ['5-3=2', '44*2=88'] Exploring Operation: 9+88=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[44, 9, 3, 5], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [44, 5, 27] Generated Node #0,0: 97:[44, 5, 27] Operation: 9*3=27 Exploring Operation: 44*3=132, Resulting Numbers: [9, 5, 132] Generated Node #0,1: 97:[9, 5, 132] Operation: 44*3=132 Exploring Operation: 9*5=45, Resulting Numbers: [44, 3, 45] Generated Node #0,2: 97:[44, 3, 45] Operation: 9*5=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[44, 3, 45], Operations: ['9*5=45'] Exploring Operation: 3*45=135, Resulting Numbers: [44, 135] Generated Node #0,2,0: 97:[44, 135] Operation: 3*45=135 Exploring Operation: 44+3=47, Resulting Numbers: [45, 47] Generated Node #0,2,1: 97:[45, 47] Operation: 44+3=47 Exploring Operation: 44*3=132, Resulting Numbers: [45, 132] Generated Node #0,2,2: 97:[45, 132] Operation: 44*3=132 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[45, 132], Operations: ['9*5=45', '44*3=132'] Exploring Operation: 45*132=5940, Resulting Numbers: [5940] 5940,97 unequal: No Solution Exploring Operation: 132-45=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 45+132=177, Resulting Numbers: [177] 177,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:[44, 135], Operations: ['9*5=45', '3*45=135'] Exploring Operation: 135-44=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 44*135=5940, Resulting Numbers: [5940] 5940,97 unequal: No Solution Exploring Operation: 44+135=179, Resulting Numbers: [179] 179,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:[45, 47], Operations: ['9*5=45', '44+3=47'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,97 unequal: No Solution Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,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:[44, 5, 27], Operations: ['9*3=27'] Exploring Operation: 5*27=135, Resulting Numbers: [44, 135] Generated Node #0,0,0: 97:[44, 135] Operation: 5*27=135 Exploring Operation: 44+27=71, Resulting Numbers: [5, 71] Generated Node #0,0,1: 97:[5, 71] Operation: 44+27=71 Exploring Operation: 44+5=49, Resulting Numbers: [27, 49] Generated Node #0,0,2: 97:[27, 49] Operation: 44+5=49 Moving to Node #0,0,0 Current State: 97:[44, 135], Operations: ['9*3=27', '5*27=135'] Exploring Operation: 44*135=5940, Resulting Numbers: [5940] 5940,97 unequal: No Solution Exploring Operation: 135-44=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 44+135=179, Resulting Numbers: [179] 179,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[5, 71], Operations: ['9*3=27', '44+27=71'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[27, 49], Operations: ['9*3=27', '44+5=49'] Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,97 unequal: No Solution Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[9, 5, 132], Operations: ['44*3=132'] Exploring Operation: 9+5=14, Resulting Numbers: [132, 14] Generated Node #0,1,0: 97:[132, 14] Operation: 9+5=14 Exploring Operation: 9*5=45, Resulting Numbers: [132, 45] Generated Node #0,1,1: 97:[132, 45] Operation: 9*5=45 Exploring Operation: 132-9=123, Resulting Numbers: [5, 123] Generated Node #0,1,2: 97:[5, 123] Operation: 132-9=123 Moving to Node #0,1,1 Current State: 97:[132, 45], Operations: ['44*3=132', '9*5=45'] Exploring Operation: 132+45=177, Resulting Numbers: [177] 177,97 unequal: No Solution Exploring Operation: 132-45=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 132*45=5940, Resulting Numbers: [5940] 5940,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[132, 14], Operations: ['44*3=132', '9+5=14'] Exploring Operation: 132*14=1848, Resulting Numbers: [1848] 1848,97 unequal: No Solution Exploring Operation: 132+14=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 132-14=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[5, 123], Operations: ['44*3=132', '132-9=123'] Exploring Operation: 5+123=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 123-5=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 5*123=615, Resulting Numbers: [615] 615,97 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
[ 32, 68, 53, 90 ]
43
[ "32+68=100", "53+90=143", "143-100=43" ]
Current State: 43:[32, 68, 53, 90], Operations: [] Exploring Operation: 32+68=100, Resulting Numbers: [53, 90, 100] Generated Node #2: [53, 90, 100] from Operation: 32+68=100 Current State: 43:[53, 90, 100], Operations: ['32+68=100'] Exploring Operation: 53+90=143, Resulting Numbers: [100, 143] Generated Node #3: [100, 143] from Operation: 53+90=143 Current State: 43:[100, 143], Operations: ['32+68=100', '53+90=143'] Exploring Operation: 143-100=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[32, 68, 53, 90], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [32, 53, 22] Generated Node #0,0: 43:[32, 53, 22] Operation: 90-68=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[32, 53, 22], Operations: ['90-68=22'] Exploring Operation: 32+22=54, Resulting Numbers: [53, 54] Generated Node #0,0,0: 43:[53, 54] Operation: 32+22=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[53, 54], Operations: ['90-68=22', '32+22=54'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 25, 58, 67, 64 ]
48
[ "25+58=83", "67+64=131", "131-83=48" ]
Current State: 48:[25, 58, 67, 64], Operations: [] Exploring Operation: 25+58=83, Resulting Numbers: [67, 64, 83] Generated Node #2: [67, 64, 83] from Operation: 25+58=83 Current State: 48:[67, 64, 83], Operations: ['25+58=83'] Exploring Operation: 67+64=131, Resulting Numbers: [83, 131] Generated Node #3: [83, 131] from Operation: 67+64=131 Current State: 48:[83, 131], Operations: ['25+58=83', '67+64=131'] Exploring Operation: 131-83=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[25, 58, 67, 64], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [25, 64, 9] Generated Node #0,0: 48:[25, 64, 9] Operation: 67-58=9 Exploring Operation: 64-58=6, Resulting Numbers: [25, 67, 6] Generated Node #0,1: 48:[25, 67, 6] Operation: 64-58=6 Exploring Operation: 67-64=3, Resulting Numbers: [25, 58, 3] Generated Node #0,2: 48:[25, 58, 3] Operation: 67-64=3 Moving to Node #0,2 Current State: 48:[25, 58, 3], Operations: ['67-64=3'] Exploring Operation: 25-3=22, Resulting Numbers: [58, 22] Generated Node #0,2,0: 48:[58, 22] Operation: 25-3=22 Exploring Operation: 58-3=55, Resulting Numbers: [25, 55] Generated Node #0,2,1: 48:[25, 55] Operation: 58-3=55 Exploring Operation: 58-25=33, Resulting Numbers: [3, 33] Generated Node #0,2,2: 48:[3, 33] Operation: 58-25=33 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[25, 55], Operations: ['67-64=3', '58-3=55'] Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,48 unequal: No Solution Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[3, 33], Operations: ['67-64=3', '58-25=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[58, 22], Operations: ['67-64=3', '25-3=22'] Exploring Operation: 58*22=1276, Resulting Numbers: [1276] 1276,48 unequal: No Solution Exploring Operation: 58+22=80, Resulting Numbers: [80] 80,48 unequal: No Solution Exploring Operation: 58-22=36, Resulting Numbers: [36] 36,48 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: 48:[25, 64, 9], Operations: ['67-58=9'] Exploring Operation: 64-25=39, Resulting Numbers: [9, 39] Generated Node #0,0,0: 48:[9, 39] Operation: 64-25=39 Exploring Operation: 64-9=55, Resulting Numbers: [25, 55] Generated Node #0,0,1: 48:[25, 55] Operation: 64-9=55 Exploring Operation: 25-9=16, Resulting Numbers: [64, 16] Generated Node #0,0,2: 48:[64, 16] Operation: 25-9=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[25, 55], Operations: ['67-58=9', '64-9=55'] Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,48 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[9, 39], Operations: ['67-58=9', '64-25=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[25, 58, 67, 64], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [25, 64, 9] Generated Node #0,0: 48:[25, 64, 9] Operation: 67-58=9 Moving to Node #0,0 Current State: 48:[25, 64, 9], Operations: ['67-58=9'] Exploring Operation: 64-25=39, Resulting Numbers: [9, 39] Generated Node #0,0,0: 48:[9, 39] Operation: 64-25=39 Moving to Node #0,0,0 Current State: 48:[9, 39], Operations: ['67-58=9', '64-25=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 34, 85, 14, 24 ]
59
[ "85*14=1190", "1190/34=35", "24+35=59" ]
Current State: 59:[34, 85, 14, 24], Operations: [] Exploring Operation: 85*14=1190, Resulting Numbers: [34, 24, 1190] Generated Node #2: [34, 24, 1190] from Operation: 85*14=1190 Current State: 59:[34, 24, 1190], Operations: ['85*14=1190'] Exploring Operation: 1190/34=35, Resulting Numbers: [24, 35] Generated Node #3: [24, 35] from Operation: 1190/34=35 Current State: 59:[24, 35], Operations: ['85*14=1190', '1190/34=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[34, 85, 14, 24], Operations: [] Exploring Operation: 34+14=48, Resulting Numbers: [85, 24, 48] Generated Node #0,0: 59:[85, 24, 48] Operation: 34+14=48 Moving to Node #0,0 Current State: 59:[85, 24, 48], Operations: ['34+14=48'] Exploring Operation: 85-24=61, Resulting Numbers: [48, 61] Generated Node #0,0,0: 59:[48, 61] Operation: 85-24=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[48, 61], Operations: ['34+14=48', '85-24=61'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,59 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
[ 18, 51, 84, 60 ]
57
[ "51-18=33", "84-60=24", "33+24=57" ]
Current State: 57:[18, 51, 84, 60], Operations: [] Exploring Operation: 51-18=33, Resulting Numbers: [84, 60, 33] Generated Node #2: [84, 60, 33] from Operation: 51-18=33 Current State: 57:[84, 60, 33], Operations: ['51-18=33'] Exploring Operation: 84-60=24, Resulting Numbers: [33, 24] Generated Node #3: [33, 24] from Operation: 84-60=24 Current State: 57:[33, 24], Operations: ['51-18=33', '84-60=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[18, 51, 84, 60], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [18, 51, 24] Generated Node #0,0: 57:[18, 51, 24] Operation: 84-60=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[18, 51, 24], Operations: ['84-60=24'] Exploring Operation: 24-18=6, Resulting Numbers: [51, 6] Generated Node #0,0,0: 57:[51, 6] Operation: 24-18=6 Moving to Node #0,0,0 Current State: 57:[51, 6], Operations: ['84-60=24', '24-18=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[18, 51, 84, 60], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [18, 51, 24] Generated Node #0,0: 57:[18, 51, 24] Operation: 84-60=24 Moving to Node #0,0 Current State: 57:[18, 51, 24], Operations: ['84-60=24'] Exploring Operation: 24-18=6, Resulting Numbers: [51, 6] Generated Node #0,0,0: 57:[51, 6] Operation: 24-18=6 Moving to Node #0,0,0 Current State: 57:[51, 6], Operations: ['84-60=24', '24-18=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 7, 61, 43, 64 ]
64
[ "64-61=3", "7*3=21", "43+21=64" ]
Current State: 64:[7, 61, 43, 64], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [7, 43, 3] Generated Node #2: [7, 43, 3] from Operation: 64-61=3 Current State: 64:[7, 43, 3], Operations: ['64-61=3'] Exploring Operation: 7*3=21, Resulting Numbers: [43, 21] Generated Node #3: [43, 21] from Operation: 7*3=21 Current State: 64:[43, 21], Operations: ['64-61=3', '7*3=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[7, 61, 43, 64], Operations: [] Exploring Operation: 61-43=18, Resulting Numbers: [7, 64, 18] Generated Node #0,0: 64:[7, 64, 18] Operation: 61-43=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[7, 64, 18], Operations: ['61-43=18'] Exploring Operation: 18-7=11, Resulting Numbers: [64, 11] Generated Node #0,0,0: 64:[64, 11] Operation: 18-7=11 Moving to Node #0,0,0 Current State: 64:[64, 11], Operations: ['61-43=18', '18-7=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,64 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
[ 97, 78, 45, 46 ]
19
[ "97-78=19", "46-45=1", "19*1=19" ]
Current State: 19:[97, 78, 45, 46], Operations: [] Exploring Operation: 97-78=19, Resulting Numbers: [45, 46, 19] Generated Node #2: [45, 46, 19] from Operation: 97-78=19 Current State: 19:[45, 46, 19], Operations: ['97-78=19'] Exploring Operation: 46-45=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 46-45=1 Current State: 19:[19, 1], Operations: ['97-78=19', '46-45=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[97, 78, 45, 46], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [78, 45, 51] Generated Node #0,0: 19:[78, 45, 51] Operation: 97-46=51 Exploring Operation: 97-78=19, Resulting Numbers: [45, 46, 19] Generated Node #0,1: 19:[45, 46, 19] Operation: 97-78=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[45, 46, 19], Operations: ['97-78=19'] Exploring Operation: 46-45=1, Resulting Numbers: [19, 1] Generated Node #0,1,0: 19:[19, 1] Operation: 46-45=1 Exploring Operation: 45-19=26, Resulting Numbers: [46, 26] Generated Node #0,1,1: 19:[46, 26] Operation: 45-19=26 Moving to Node #0,1,0 Current State: 19:[19, 1], Operations: ['97-78=19', '46-45=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[97, 78, 45, 46], Operations: [] Exploring Operation: 97-78=19, Resulting Numbers: [45, 46, 19] Generated Node #0,1: 19:[45, 46, 19] Operation: 97-78=19 Moving to Node #0,1 Current State: 19:[45, 46, 19], Operations: ['97-78=19'] Exploring Operation: 46-45=1, Resulting Numbers: [19, 1] Generated Node #0,1,0: 19:[19, 1] Operation: 46-45=1 Moving to Node #0,1,0 Current State: 19:[19, 1], Operations: ['97-78=19', '46-45=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 65, 42, 66, 2 ]
42
[ "66-65=1", "2-1=1", "42*1=42" ]
Current State: 42:[65, 42, 66, 2], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [42, 2, 1] Generated Node #2: [42, 2, 1] from Operation: 66-65=1 Current State: 42:[42, 2, 1], Operations: ['66-65=1'] Exploring Operation: 2-1=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 2-1=1 Current State: 42:[42, 1], Operations: ['66-65=1', '2-1=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[65, 42, 66, 2], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [66, 2, 23] Generated Node #0,0: 42:[66, 2, 23] Operation: 65-42=23 Exploring Operation: 66-65=1, Resulting Numbers: [42, 2, 1] Generated Node #0,1: 42:[42, 2, 1] Operation: 66-65=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[42, 2, 1], Operations: ['66-65=1'] Exploring Operation: 42/1=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 42:[2, 42] Operation: 42/1=42 Exploring Operation: 42*1=42, Resulting Numbers: [2, 42] Generated Node #0,1,1: 42:[2, 42] Operation: 42*1=42 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[2, 42], Operations: ['66-65=1', '42/1=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,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:[2, 42], Operations: ['66-65=1', '42*1=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,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:[66, 2, 23], Operations: ['65-42=23'] Exploring Operation: 66-23=43, Resulting Numbers: [2, 43] Generated Node #0,0,0: 42:[2, 43] Operation: 66-23=43 Exploring Operation: 66/2=33, Resulting Numbers: [23, 33] Generated Node #0,0,1: 42:[23, 33] Operation: 66/2=33 Moving to Node #0,0,0 Current State: 42:[2, 43], Operations: ['65-42=23', '66-23=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[23, 33], Operations: ['65-42=23', '66/2=33'] Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,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
sum_heuristic
[ 79, 10, 61, 72 ]
64
[ "79-10=69", "61+72=133", "133-69=64" ]
Current State: 64:[79, 10, 61, 72], Operations: [] Exploring Operation: 79-10=69, Resulting Numbers: [61, 72, 69] Generated Node #2: [61, 72, 69] from Operation: 79-10=69 Current State: 64:[61, 72, 69], Operations: ['79-10=69'] Exploring Operation: 61+72=133, Resulting Numbers: [69, 133] Generated Node #3: [69, 133] from Operation: 61+72=133 Current State: 64:[69, 133], Operations: ['79-10=69', '61+72=133'] Exploring Operation: 133-69=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[79, 10, 61, 72], Operations: [] Exploring Operation: 72-61=11, Resulting Numbers: [79, 10, 11] Generated Node #0,0: 64:[79, 10, 11] Operation: 72-61=11 Exploring Operation: 72-10=62, Resulting Numbers: [79, 61, 62] Generated Node #0,1: 64:[79, 61, 62] Operation: 72-10=62 Exploring Operation: 79-61=18, Resulting Numbers: [10, 72, 18] Generated Node #0,2: 64:[10, 72, 18] Operation: 79-61=18 Exploring Operation: 79-10=69, Resulting Numbers: [61, 72, 69] Generated Node #0,3: 64:[61, 72, 69] Operation: 79-10=69 Exploring Operation: 79-72=7, Resulting Numbers: [10, 61, 7] Generated Node #0,4: 64:[10, 61, 7] Operation: 79-72=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 64:[10, 61, 7], Operations: ['79-72=7'] Exploring Operation: 61+7=68, Resulting Numbers: [10, 68] Generated Node #0,4,0: 64:[10, 68] Operation: 61+7=68 Exploring Operation: 10+61=71, Resulting Numbers: [7, 71] Generated Node #0,4,1: 64:[7, 71] Operation: 10+61=71 Exploring Operation: 10*7=70, Resulting Numbers: [61, 70] Generated Node #0,4,2: 64:[61, 70] Operation: 10*7=70 Exploring Operation: 10-7=3, Resulting Numbers: [61, 3] Generated Node #0,4,3: 64:[61, 3] Operation: 10-7=3 Exploring Operation: 10+7=17, Resulting Numbers: [61, 17] Generated Node #0,4,4: 64:[61, 17] Operation: 10+7=17 Moving to Node #0,4,3 Current State: 64:[61, 3], Operations: ['79-72=7', '10-7=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[79, 10, 61, 72], Operations: [] Exploring Operation: 79-72=7, Resulting Numbers: [10, 61, 7] Generated Node #0,4: 64:[10, 61, 7] Operation: 79-72=7 Moving to Node #0,4 Current State: 64:[10, 61, 7], Operations: ['79-72=7'] Exploring Operation: 10-7=3, Resulting Numbers: [61, 3] Generated Node #0,4,3: 64:[61, 3] Operation: 10-7=3 Moving to Node #0,4,3 Current State: 64:[61, 3], Operations: ['79-72=7', '10-7=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 89, 99, 89, 7 ]
93
[ "89/89=1", "99-7=92", "1+92=93" ]
Current State: 93:[89, 99, 89, 7], Operations: [] Exploring Operation: 89/89=1, Resulting Numbers: [99, 7, 1] Generated Node #2: [99, 7, 1] from Operation: 89/89=1 Current State: 93:[99, 7, 1], Operations: ['89/89=1'] Exploring Operation: 99-7=92, Resulting Numbers: [1, 92] Generated Node #3: [1, 92] from Operation: 99-7=92 Current State: 93:[1, 92], Operations: ['89/89=1', '99-7=92'] Exploring Operation: 1+92=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[89, 99, 89, 7], Operations: [] Exploring Operation: 99-7=92, Resulting Numbers: [89, 89, 92] Generated Node #0,0: 93:[89, 89, 92] Operation: 99-7=92 Exploring Operation: 89/89=1, Resulting Numbers: [99, 7, 1] Generated Node #0,1: 93:[99, 7, 1] Operation: 89/89=1 Moving to Node #0,0 Current State: 93:[89, 89, 92], Operations: ['99-7=92'] Exploring Operation: 89/89=1, Resulting Numbers: [92, 1] Generated Node #0,0,0: 93:[92, 1] Operation: 89/89=1 Exploring Operation: 89-89=0, Resulting Numbers: [92, 0] Generated Node #0,0,1: 93:[92, 0] Operation: 89-89=0 Moving to Node #0,1 Current State: 93:[99, 7, 1], Operations: ['89/89=1'] Exploring Operation: 99-7=92, Resulting Numbers: [1, 92] Generated Node #0,1,0: 93:[1, 92] Operation: 99-7=92 Exploring Operation: 99-1=98, Resulting Numbers: [7, 98] Generated Node #0,1,1: 93:[7, 98] Operation: 99-1=98 Moving to Node #0,0,0 Current State: 93:[92, 1], Operations: ['99-7=92', '89/89=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[89, 99, 89, 7], Operations: [] Exploring Operation: 99-7=92, Resulting Numbers: [89, 89, 92] Generated Node #0,0: 93:[89, 89, 92] Operation: 99-7=92 Moving to Node #0,0 Current State: 93:[89, 89, 92], Operations: ['99-7=92'] Exploring Operation: 89/89=1, Resulting Numbers: [92, 1] Generated Node #0,0,0: 93:[92, 1] Operation: 89/89=1 Moving to Node #0,0,0 Current State: 93:[92, 1], Operations: ['99-7=92', '89/89=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 84, 18, 28, 63 ]
78
[ "84/28=3", "18+63=81", "81-3=78" ]
Current State: 78:[84, 18, 28, 63], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [18, 63, 3] Generated Node #2: [18, 63, 3] from Operation: 84/28=3 Current State: 78:[18, 63, 3], Operations: ['84/28=3'] Exploring Operation: 18+63=81, Resulting Numbers: [3, 81] Generated Node #3: [3, 81] from Operation: 18+63=81 Current State: 78:[3, 81], Operations: ['84/28=3', '18+63=81'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[84, 18, 28, 63], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [84, 28, 45] Generated Node #0,0: 78:[84, 28, 45] Operation: 63-18=45 Exploring Operation: 84-63=21, Resulting Numbers: [18, 28, 21] Generated Node #0,1: 78:[18, 28, 21] Operation: 84-63=21 Exploring Operation: 18+63=81, Resulting Numbers: [84, 28, 81] Generated Node #0,2: 78:[84, 28, 81] Operation: 18+63=81 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[84, 28, 81], Operations: ['18+63=81'] Exploring Operation: 84-28=56, Resulting Numbers: [81, 56] Generated Node #0,2,0: 78:[81, 56] Operation: 84-28=56 Exploring Operation: 84/28=3, Resulting Numbers: [81, 3] Generated Node #0,2,1: 78:[81, 3] Operation: 84/28=3 Exploring Operation: 84-81=3, Resulting Numbers: [28, 3] Generated Node #0,2,2: 78:[28, 3] Operation: 84-81=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[28, 3], Operations: ['18+63=81', '84-81=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,78 unequal: No Solution No 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: 78:[81, 3], Operations: ['18+63=81', '84/28=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[84, 18, 28, 63], Operations: [] Exploring Operation: 18+63=81, Resulting Numbers: [84, 28, 81] Generated Node #0,2: 78:[84, 28, 81] Operation: 18+63=81 Moving to Node #0,2 Current State: 78:[84, 28, 81], Operations: ['18+63=81'] Exploring Operation: 84/28=3, Resulting Numbers: [81, 3] Generated Node #0,2,1: 78:[81, 3] Operation: 84/28=3 Moving to Node #0,2,1 Current State: 78:[81, 3], Operations: ['18+63=81', '84/28=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 58, 86, 18, 63 ]
98
[ "86-58=28", "63*28=1764", "1764/18=98" ]
Current State: 98:[58, 86, 18, 63], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [18, 63, 28] Generated Node #2: [18, 63, 28] from Operation: 86-58=28 Current State: 98:[18, 63, 28], Operations: ['86-58=28'] Exploring Operation: 63*28=1764, Resulting Numbers: [18, 1764] Generated Node #3: [18, 1764] from Operation: 63*28=1764 Current State: 98:[18, 1764], Operations: ['86-58=28', '63*28=1764'] Exploring Operation: 1764/18=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[58, 86, 18, 63], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [58, 86, 45] Generated Node #0,0: 98:[58, 86, 45] Operation: 63-18=45 Exploring Operation: 86+18=104, Resulting Numbers: [58, 63, 104] Generated Node #0,1: 98:[58, 63, 104] Operation: 86+18=104 Exploring Operation: 63-58=5, Resulting Numbers: [86, 18, 5] Generated Node #0,2: 98:[86, 18, 5] Operation: 63-58=5 Exploring Operation: 86-63=23, Resulting Numbers: [58, 18, 23] Generated Node #0,3: 98:[58, 18, 23] Operation: 86-63=23 Moving to Node #0,2 Current State: 98:[86, 18, 5], Operations: ['63-58=5'] Exploring Operation: 86+5=91, Resulting Numbers: [18, 91] Generated Node #0,2,0: 98:[18, 91] Operation: 86+5=91 Exploring Operation: 86+18=104, Resulting Numbers: [5, 104] Generated Node #0,2,1: 98:[5, 104] Operation: 86+18=104 Exploring Operation: 18-5=13, Resulting Numbers: [86, 13] Generated Node #0,2,2: 98:[86, 13] Operation: 18-5=13 Exploring Operation: 18*5=90, Resulting Numbers: [86, 90] Generated Node #0,2,3: 98:[86, 90] Operation: 18*5=90 Moving to Node #0,3 Current State: 98:[58, 18, 23], Operations: ['86-63=23'] Exploring Operation: 58-18=40, Resulting Numbers: [23, 40] Generated Node #0,3,0: 98:[23, 40] Operation: 58-18=40 Exploring Operation: 58-23=35, Resulting Numbers: [18, 35] Generated Node #0,3,1: 98:[18, 35] Operation: 58-23=35 Exploring Operation: 18+23=41, Resulting Numbers: [58, 41] Generated Node #0,3,2: 98:[58, 41] Operation: 18+23=41 Exploring Operation: 23-18=5, Resulting Numbers: [58, 5] Generated Node #0,3,3: 98:[58, 5] Operation: 23-18=5 Moving to Node #0,0 Current State: 98:[58, 86, 45], Operations: ['63-18=45'] Exploring Operation: 86-58=28, Resulting Numbers: [45, 28] Generated Node #0,0,0: 98:[45, 28] Operation: 86-58=28 Exploring Operation: 86-45=41, Resulting Numbers: [58, 41] Generated Node #0,0,1: 98:[58, 41] Operation: 86-45=41 Exploring Operation: 58-45=13, Resulting Numbers: [86, 13] Generated Node #0,0,2: 98:[86, 13] Operation: 58-45=13 Exploring Operation: 58+45=103, Resulting Numbers: [86, 103] Generated Node #0,0,3: 98:[86, 103] Operation: 58+45=103 Moving to Node #0,1 Current State: 98:[58, 63, 104], Operations: ['86+18=104'] Exploring Operation: 63-58=5, Resulting Numbers: [104, 5] Generated Node #0,1,0: 98:[104, 5] Operation: 63-58=5 Exploring Operation: 104-58=46, Resulting Numbers: [63, 46] Generated Node #0,1,1: 98:[63, 46] Operation: 104-58=46 Exploring Operation: 58+63=121, Resulting Numbers: [104, 121] Generated Node #0,1,2: 98:[104, 121] Operation: 58+63=121 Exploring Operation: 104-63=41, Resulting Numbers: [58, 41] Generated Node #0,1,3: 98:[58, 41] Operation: 104-63=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[104, 5], Operations: ['86+18=104', '63-58=5'] Exploring Operation: 104*5=520, Resulting Numbers: [520] 520,98 unequal: No Solution Exploring Operation: 104+5=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 104-5=99, Resulting Numbers: [99] 99,98 unequal: No Solution No 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: 98:[63, 46], Operations: ['86+18=104', '104-58=46'] Exploring Operation: 63+46=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 63*46=2898, Resulting Numbers: [2898] 2898,98 unequal: No Solution Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,98 unequal: No Solution No 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: 98:[58, 41], Operations: ['86+18=104', '104-63=41'] Exploring Operation: 58+41=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 58*41=2378, Resulting Numbers: [2378] 2378,98 unequal: No Solution No 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: 98:[104, 121], Operations: ['86+18=104', '58+63=121'] Exploring Operation: 104*121=12584, Resulting Numbers: [12584] 12584,98 unequal: No Solution Exploring Operation: 121-104=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 104+121=225, Resulting Numbers: [225] 225,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 98:[5, 104], Operations: ['63-58=5', '86+18=104'] Exploring Operation: 5*104=520, Resulting Numbers: [520] 520,98 unequal: No Solution Exploring Operation: 5+104=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 104-5=99, Resulting Numbers: [99] 99,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[18, 91], Operations: ['63-58=5', '86+5=91'] Exploring Operation: 18+91=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 18*91=1638, Resulting Numbers: [1638] 1638,98 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[58, 5], Operations: ['86-63=23', '23-18=5'] Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,98 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[86, 13], Operations: ['63-58=5', '18-5=13'] Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,98 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[86, 13], Operations: ['63-18=45', '58-45=13'] Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,98 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[58, 41], Operations: ['86-63=23', '18+23=41'] Exploring Operation: 58+41=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 58*41=2378, Resulting Numbers: [2378] 2378,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[58, 41], Operations: ['63-18=45', '86-45=41'] Exploring Operation: 58+41=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 58*41=2378, Resulting Numbers: [2378] 2378,98 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[86, 103], Operations: ['63-18=45', '58+45=103'] Exploring Operation: 86+103=189, Resulting Numbers: [189] 189,98 unequal: No Solution Exploring Operation: 103-86=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 86*103=8858, Resulting Numbers: [8858] 8858,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[23, 40], Operations: ['86-63=23', '58-18=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[45, 28], Operations: ['63-18=45', '86-58=28'] Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,98 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[18, 35], Operations: ['86-63=23', '58-23=35'] Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,98 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[86, 90], Operations: ['63-58=5', '18*5=90'] Exploring Operation: 86+90=176, Resulting Numbers: [176] 176,98 unequal: No Solution Exploring Operation: 86*90=7740, Resulting Numbers: [7740] 7740,98 unequal: No Solution Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,98 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 20, 41, 56, 22 ]
69
[ "22-20=2", "56/2=28", "41+28=69" ]
Current State: 69:[20, 41, 56, 22], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [41, 56, 2] Generated Node #2: [41, 56, 2] from Operation: 22-20=2 Current State: 69:[41, 56, 2], Operations: ['22-20=2'] Exploring Operation: 56/2=28, Resulting Numbers: [41, 28] Generated Node #3: [41, 28] from Operation: 56/2=28 Current State: 69:[41, 28], Operations: ['22-20=2', '56/2=28'] Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[20, 41, 56, 22], Operations: [] Exploring Operation: 41-20=21, Resulting Numbers: [56, 22, 21] Generated Node #0,0: 69:[56, 22, 21] Operation: 41-20=21 Exploring Operation: 56-41=15, Resulting Numbers: [20, 22, 15] Generated Node #0,1: 69:[20, 22, 15] Operation: 56-41=15 Exploring Operation: 41-22=19, Resulting Numbers: [20, 56, 19] Generated Node #0,2: 69:[20, 56, 19] Operation: 41-22=19 Moving to Node #0,1 Current State: 69:[20, 22, 15], Operations: ['56-41=15'] Exploring Operation: 22-15=7, Resulting Numbers: [20, 7] Generated Node #0,1,0: 69:[20, 7] Operation: 22-15=7 Exploring Operation: 20-15=5, Resulting Numbers: [22, 5] Generated Node #0,1,1: 69:[22, 5] Operation: 20-15=5 Exploring Operation: 22-20=2, Resulting Numbers: [15, 2] Generated Node #0,1,2: 69:[15, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[22, 5], Operations: ['56-41=15', '20-15=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,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,1,0 Current State: 69:[20, 7], Operations: ['56-41=15', '22-15=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,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,1,2 Current State: 69:[15, 2], Operations: ['56-41=15', '22-20=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,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:[56, 22, 21], Operations: ['41-20=21'] Exploring Operation: 56-22=34, Resulting Numbers: [21, 34] Generated Node #0,0,0: 69:[21, 34] Operation: 56-22=34 Exploring Operation: 56+21=77, Resulting Numbers: [22, 77] Generated Node #0,0,1: 69:[22, 77] Operation: 56+21=77 Exploring Operation: 56+22=78, Resulting Numbers: [21, 78] Generated Node #0,0,2: 69:[21, 78] Operation: 56+22=78 Moving to Node #0,2 Current State: 69:[20, 56, 19], Operations: ['41-22=19'] Exploring Operation: 56+19=75, Resulting Numbers: [20, 75] Generated Node #0,2,0: 69:[20, 75] Operation: 56+19=75 Exploring Operation: 20+56=76, Resulting Numbers: [19, 76] Generated Node #0,2,1: 69:[19, 76] Operation: 20+56=76 Exploring Operation: 20-19=1, Resulting Numbers: [56, 1] Generated Node #0,2,2: 69:[56, 1] Operation: 20-19=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[20, 75], Operations: ['41-22=19', '56+19=75'] Exploring Operation: 20*75=1500, Resulting Numbers: [1500] 1500,69 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 20+75=95, Resulting Numbers: [95] 95,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,1 Current State: 69:[19, 76], Operations: ['41-22=19', '20+56=76'] Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,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,2 Current State: 69:[56, 1], Operations: ['41-22=19', '20-19=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,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:[22, 77], Operations: ['41-20=21', '56+21=77'] Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,69 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[21, 78], Operations: ['41-20=21', '56+22=78'] Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,69 unequal: No Solution Exploring Operation: 21*78=1638, Resulting Numbers: [1638] 1638,69 unequal: No Solution Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[21, 34], Operations: ['41-20=21', '56-22=34'] Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 21*34=714, Resulting Numbers: [714] 714,69 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,69 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 19, 35, 21, 42 ]
28
[ "21-19=2", "35*2=70", "70-42=28" ]
Current State: 28:[19, 35, 21, 42], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [35, 42, 2] Generated Node #2: [35, 42, 2] from Operation: 21-19=2 Current State: 28:[35, 42, 2], Operations: ['21-19=2'] Exploring Operation: 35*2=70, Resulting Numbers: [42, 70] Generated Node #3: [42, 70] from Operation: 35*2=70 Current State: 28:[42, 70], Operations: ['21-19=2', '35*2=70'] Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[19, 35, 21, 42], Operations: [] Exploring Operation: 42-35=7, Resulting Numbers: [19, 21, 7] Generated Node #0,0: 28:[19, 21, 7] Operation: 42-35=7 Moving to Node #0,0 Current State: 28:[19, 21, 7], Operations: ['42-35=7'] Exploring Operation: 21-19=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 28:[7, 2] Operation: 21-19=2 Moving to Node #0,0,0 Current State: 28:[7, 2], Operations: ['42-35=7', '21-19=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,28 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 49, 13, 4, 46 ]
25
[ "49-46=3", "4*3=12", "13+12=25" ]
Current State: 25:[49, 13, 4, 46], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [13, 4, 3] Generated Node #2: [13, 4, 3] from Operation: 49-46=3 Current State: 25:[13, 4, 3], Operations: ['49-46=3'] Exploring Operation: 4*3=12, Resulting Numbers: [13, 12] Generated Node #3: [13, 12] from Operation: 4*3=12 Current State: 25:[13, 12], Operations: ['49-46=3', '4*3=12'] Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[49, 13, 4, 46], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [13, 4, 3] Generated Node #0,0: 25:[13, 4, 3] Operation: 49-46=3 Moving to Node #0,0 Current State: 25:[13, 4, 3], Operations: ['49-46=3'] Exploring Operation: 13-4=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 25:[3, 9] Operation: 13-4=9 Moving to Node #0,0,0 Current State: 25:[3, 9], Operations: ['49-46=3', '13-4=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,25 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 9, 76, 97 ]
27
[ "97-76=21", "21/7=3", "9*3=27" ]
Current State: 27:[7, 9, 76, 97], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [7, 9, 21] Generated Node #2: [7, 9, 21] from Operation: 97-76=21 Current State: 27:[7, 9, 21], Operations: ['97-76=21'] Exploring Operation: 21/7=3, Resulting Numbers: [9, 3] Generated Node #3: [9, 3] from Operation: 21/7=3 Current State: 27:[9, 3], Operations: ['97-76=21', '21/7=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[7, 9, 76, 97], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [7, 9, 21] Generated Node #0,0: 27:[7, 9, 21] Operation: 97-76=21 Exploring Operation: 76-9=67, Resulting Numbers: [7, 97, 67] Generated Node #0,1: 27:[7, 97, 67] Operation: 76-9=67 Exploring Operation: 97-9=88, Resulting Numbers: [7, 76, 88] Generated Node #0,2: 27:[7, 76, 88] Operation: 97-9=88 Exploring Operation: 97-7=90, Resulting Numbers: [9, 76, 90] Generated Node #0,3: 27:[9, 76, 90] Operation: 97-7=90 Exploring Operation: 76-7=69, Resulting Numbers: [9, 97, 69] Generated Node #0,4: 27:[9, 97, 69] Operation: 76-7=69 Moving to Node #0,0 Current State: 27:[7, 9, 21], Operations: ['97-76=21'] Exploring Operation: 21-9=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 27:[7, 12] Operation: 21-9=12 Exploring Operation: 9+21=30, Resulting Numbers: [7, 30] Generated Node #0,0,1: 27:[7, 30] Operation: 9+21=30 Exploring Operation: 7+21=28, Resulting Numbers: [9, 28] Generated Node #0,0,2: 27:[9, 28] Operation: 7+21=28 Exploring Operation: 21/7=3, Resulting Numbers: [9, 3] Generated Node #0,0,3: 27:[9, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [9, 14] Generated Node #0,0,4: 27:[9, 14] Operation: 21-7=14 Moving to Node #0,2 Current State: 27:[7, 76, 88], Operations: ['97-9=88'] Exploring Operation: 7+76=83, Resulting Numbers: [88, 83] Generated Node #0,2,0: 27:[88, 83] Operation: 7+76=83 Exploring Operation: 7+88=95, Resulting Numbers: [76, 95] Generated Node #0,2,1: 27:[76, 95] Operation: 7+88=95 Exploring Operation: 76-7=69, Resulting Numbers: [88, 69] Generated Node #0,2,2: 27:[88, 69] Operation: 76-7=69 Exploring Operation: 88-7=81, Resulting Numbers: [76, 81] Generated Node #0,2,3: 27:[76, 81] Operation: 88-7=81 Exploring Operation: 88-76=12, Resulting Numbers: [7, 12] Generated Node #0,2,4: 27:[7, 12] Operation: 88-76=12 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 27:[7, 12], Operations: ['97-9=88', '88-76=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[88, 69], Operations: ['97-9=88', '76-7=69'] Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 88*69=6072, Resulting Numbers: [6072] 6072,27 unequal: No Solution Exploring Operation: 88+69=157, Resulting Numbers: [157] 157,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[76, 81], Operations: ['97-9=88', '88-7=81'] Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 76*81=6156, Resulting Numbers: [6156] 6156,27 unequal: No Solution Exploring Operation: 76+81=157, Resulting Numbers: [157] 157,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[88, 83], Operations: ['97-9=88', '7+76=83'] Exploring Operation: 88+83=171, Resulting Numbers: [171] 171,27 unequal: No Solution Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 88*83=7304, Resulting Numbers: [7304] 7304,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[76, 95], Operations: ['97-9=88', '7+88=95'] Exploring Operation: 95-76=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 76*95=7220, Resulting Numbers: [7220] 7220,27 unequal: No Solution Exploring Operation: 76+95=171, Resulting Numbers: [171] 171,27 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: 27:[9, 97, 69], Operations: ['76-7=69'] Exploring Operation: 97-69=28, Resulting Numbers: [9, 28] Generated Node #0,4,0: 27:[9, 28] Operation: 97-69=28 Exploring Operation: 97-9=88, Resulting Numbers: [69, 88] Generated Node #0,4,1: 27:[69, 88] Operation: 97-9=88 Exploring Operation: 69-9=60, Resulting Numbers: [97, 60] Generated Node #0,4,2: 27:[97, 60] Operation: 69-9=60 Exploring Operation: 9+97=106, Resulting Numbers: [69, 106] Generated Node #0,4,3: 27:[69, 106] Operation: 9+97=106 Exploring Operation: 9+69=78, Resulting Numbers: [97, 78] Generated Node #0,4,4: 27:[97, 78] Operation: 9+69=78 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 27:[9, 28], Operations: ['76-7=69', '97-69=28'] Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,27 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 27:[69, 88], Operations: ['76-7=69', '97-9=88'] Exploring Operation: 69+88=157, Resulting Numbers: [157] 157,27 unequal: No Solution Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 69*88=6072, Resulting Numbers: [6072] 6072,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 27:[97, 60], Operations: ['76-7=69', '69-9=60'] Exploring Operation: 97*60=5820, Resulting Numbers: [5820] 5820,27 unequal: No Solution Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 97+60=157, Resulting Numbers: [157] 157,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 27:[69, 106], Operations: ['76-7=69', '9+97=106'] Exploring Operation: 106-69=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 69*106=7314, Resulting Numbers: [7314] 7314,27 unequal: No Solution Exploring Operation: 69+106=175, Resulting Numbers: [175] 175,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 27:[97, 78], Operations: ['76-7=69', '9+69=78'] Exploring Operation: 97*78=7566, Resulting Numbers: [7566] 7566,27 unequal: No Solution Exploring Operation: 97-78=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 97+78=175, Resulting Numbers: [175] 175,27 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: 27:[7, 97, 67], Operations: ['76-9=67'] Exploring Operation: 97-7=90, Resulting Numbers: [67, 90] Generated Node #0,1,0: 27:[67, 90] Operation: 97-7=90 Exploring Operation: 7+97=104, Resulting Numbers: [67, 104] Generated Node #0,1,1: 27:[67, 104] Operation: 7+97=104 Exploring Operation: 97-67=30, Resulting Numbers: [7, 30] Generated Node #0,1,2: 27:[7, 30] Operation: 97-67=30 Exploring Operation: 7+67=74, Resulting Numbers: [97, 74] Generated Node #0,1,3: 27:[97, 74] Operation: 7+67=74 Exploring Operation: 67-7=60, Resulting Numbers: [97, 60] Generated Node #0,1,4: 27:[97, 60] Operation: 67-7=60 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[7, 30], Operations: ['76-9=67', '97-67=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,27 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[67, 90], Operations: ['76-9=67', '97-7=90'] Exploring Operation: 67+90=157, Resulting Numbers: [157] 157,27 unequal: No Solution Exploring Operation: 67*90=6030, Resulting Numbers: [6030] 6030,27 unequal: No Solution Exploring Operation: 90-67=23, Resulting Numbers: [23] 23,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 27:[97, 60], Operations: ['76-9=67', '67-7=60'] Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 97+60=157, Resulting Numbers: [157] 157,27 unequal: No Solution Exploring Operation: 97*60=5820, Resulting Numbers: [5820] 5820,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[67, 104], Operations: ['76-9=67', '7+97=104'] Exploring Operation: 104-67=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 67*104=6968, Resulting Numbers: [6968] 6968,27 unequal: No Solution Exploring Operation: 67+104=171, Resulting Numbers: [171] 171,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 27:[97, 74], Operations: ['76-9=67', '7+67=74'] Exploring Operation: 97*74=7178, Resulting Numbers: [7178] 7178,27 unequal: No Solution Exploring Operation: 97+74=171, Resulting Numbers: [171] 171,27 unequal: No Solution Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,27 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: 27:[9, 76, 90], Operations: ['97-7=90'] Exploring Operation: 76-9=67, Resulting Numbers: [90, 67] Generated Node #0,3,0: 27:[90, 67] Operation: 76-9=67 Exploring Operation: 90-9=81, Resulting Numbers: [76, 81] Generated Node #0,3,1: 27:[76, 81] Operation: 90-9=81 Exploring Operation: 90-76=14, Resulting Numbers: [9, 14] Generated Node #0,3,2: 27:[9, 14] Operation: 90-76=14 Exploring Operation: 90/9=10, Resulting Numbers: [76, 10] Generated Node #0,3,3: 27:[76, 10] Operation: 90/9=10 Exploring Operation: 9+76=85, Resulting Numbers: [90, 85] Generated Node #0,3,4: 27:[90, 85] Operation: 9+76=85 Moving to Node #0,0,3 Current State: 27:[9, 3], Operations: ['97-76=21', '21/7=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[7, 9, 76, 97], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [7, 9, 21] Generated Node #0,0: 27:[7, 9, 21] Operation: 97-76=21 Moving to Node #0,0 Current State: 27:[7, 9, 21], Operations: ['97-76=21'] Exploring Operation: 21/7=3, Resulting Numbers: [9, 3] Generated Node #0,0,3: 27:[9, 3] Operation: 21/7=3 Moving to Node #0,0,3 Current State: 27:[9, 3], Operations: ['97-76=21', '21/7=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.927951
hs_5
sum_heuristic
[ 37, 76, 6, 1 ]
34
[ "76-37=39", "6-1=5", "39-5=34" ]
Current State: 34:[37, 76, 6, 1], Operations: [] Exploring Operation: 76-37=39, Resulting Numbers: [6, 1, 39] Generated Node #2: [6, 1, 39] from Operation: 76-37=39 Current State: 34:[6, 1, 39], Operations: ['76-37=39'] Exploring Operation: 6-1=5, Resulting Numbers: [39, 5] Generated Node #3: [39, 5] from Operation: 6-1=5 Current State: 34:[39, 5], Operations: ['76-37=39', '6-1=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[37, 76, 6, 1], Operations: [] Exploring Operation: 37-6=31, Resulting Numbers: [76, 1, 31] Generated Node #0,0: 34:[76, 1, 31] Operation: 37-6=31 Exploring Operation: 76-37=39, Resulting Numbers: [6, 1, 39] Generated Node #0,1: 34:[6, 1, 39] Operation: 76-37=39 Exploring Operation: 76-6=70, Resulting Numbers: [37, 1, 70] Generated Node #0,2: 34:[37, 1, 70] Operation: 76-6=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[6, 1, 39], Operations: ['76-37=39'] Exploring Operation: 39-1=38, Resulting Numbers: [6, 38] Generated Node #0,1,0: 34:[6, 38] Operation: 39-1=38 Exploring Operation: 39-6=33, Resulting Numbers: [1, 33] Generated Node #0,1,1: 34:[1, 33] Operation: 39-6=33 Exploring Operation: 6-1=5, Resulting Numbers: [39, 5] Generated Node #0,1,2: 34:[39, 5] Operation: 6-1=5 Moving to Node #0,1,1 Current State: 34:[1, 33], Operations: ['76-37=39', '39-6=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[37, 76, 6, 1], Operations: [] Exploring Operation: 76-37=39, Resulting Numbers: [6, 1, 39] Generated Node #0,1: 34:[6, 1, 39] Operation: 76-37=39 Moving to Node #0,1 Current State: 34:[6, 1, 39], Operations: ['76-37=39'] Exploring Operation: 39-6=33, Resulting Numbers: [1, 33] Generated Node #0,1,1: 34:[1, 33] Operation: 39-6=33 Moving to Node #0,1,1 Current State: 34:[1, 33], Operations: ['76-37=39', '39-6=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 70, 39, 79, 10 ]
100
[ "70-39=31", "79-10=69", "31+69=100" ]
Current State: 100:[70, 39, 79, 10], Operations: [] Exploring Operation: 70-39=31, Resulting Numbers: [79, 10, 31] Generated Node #2: [79, 10, 31] from Operation: 70-39=31 Current State: 100:[79, 10, 31], Operations: ['70-39=31'] Exploring Operation: 79-10=69, Resulting Numbers: [31, 69] Generated Node #3: [31, 69] from Operation: 79-10=69 Current State: 100:[31, 69], Operations: ['70-39=31', '79-10=69'] Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[70, 39, 79, 10], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [39, 10, 9] Generated Node #0,0: 100:[39, 10, 9] Operation: 79-70=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[39, 10, 9], Operations: ['79-70=9'] Exploring Operation: 39+10=49, Resulting Numbers: [9, 49] Generated Node #0,0,0: 100:[9, 49] Operation: 39+10=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[9, 49], Operations: ['79-70=9', '39+10=49'] Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 63, 28, 2, 93 ]
23
[ "63-28=35", "2*35=70", "93-70=23" ]
Current State: 23:[63, 28, 2, 93], Operations: [] Exploring Operation: 63-28=35, Resulting Numbers: [2, 93, 35] Generated Node #2: [2, 93, 35] from Operation: 63-28=35 Current State: 23:[2, 93, 35], Operations: ['63-28=35'] Exploring Operation: 2*35=70, Resulting Numbers: [93, 70] Generated Node #3: [93, 70] from Operation: 2*35=70 Current State: 23:[93, 70], Operations: ['63-28=35', '2*35=70'] Exploring Operation: 93-70=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[63, 28, 2, 93], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [28, 2, 30] Generated Node #0,0: 23:[28, 2, 30] Operation: 93-63=30 Exploring Operation: 93-28=65, Resulting Numbers: [63, 2, 65] Generated Node #0,1: 23:[63, 2, 65] Operation: 93-28=65 Exploring Operation: 28-2=26, Resulting Numbers: [63, 93, 26] Generated Node #0,2: 23:[63, 93, 26] Operation: 28-2=26 Exploring Operation: 63-2=61, Resulting Numbers: [28, 93, 61] Generated Node #0,3: 23:[28, 93, 61] Operation: 63-2=61 Exploring Operation: 63-28=35, Resulting Numbers: [2, 93, 35] Generated Node #0,4: 23:[2, 93, 35] Operation: 63-28=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[28, 2, 30], Operations: ['93-63=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28, 28] Generated Node #0,0,0: 23:[28, 28] Operation: 30-2=28 Exploring Operation: 2+30=32, Resulting Numbers: [28, 32] Generated Node #0,0,1: 23:[28, 32] Operation: 2+30=32 Exploring Operation: 28-2=26, Resulting Numbers: [30, 26] Generated Node #0,0,2: 23:[30, 26] Operation: 28-2=26 Exploring Operation: 28+2=30, Resulting Numbers: [30, 30] Generated Node #0,0,3: 23:[30, 30] Operation: 28+2=30 Exploring Operation: 30/2=15, Resulting Numbers: [28, 15] Generated Node #0,0,4: 23:[28, 15] Operation: 30/2=15 Moving to Node #0,0,0 Current State: 23:[28, 28], Operations: ['93-63=30', '30-2=28'] Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[30, 26], Operations: ['93-63=30', '28-2=26'] Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,23 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,23 unequal: No Solution Moving to Node #0,0,4 Current State: 23:[28, 15], Operations: ['93-63=30', '30/2=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,23 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[28, 32], Operations: ['93-63=30', '2+30=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,23 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[30, 30], Operations: ['93-63=30', '28+2=30'] Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,23 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,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:[63, 2, 65], Operations: ['93-28=65'] Exploring Operation: 63+2=65, Resulting Numbers: [65, 65] Generated Node #0,1,0: 23:[65, 65] Operation: 63+2=65 Exploring Operation: 65-63=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 23:[2, 2] Operation: 65-63=2 Exploring Operation: 65-2=63, Resulting Numbers: [63, 63] Generated Node #0,1,2: 23:[63, 63] Operation: 65-2=63 Exploring Operation: 2+65=67, Resulting Numbers: [63, 67] Generated Node #0,1,3: 23:[63, 67] Operation: 2+65=67 Exploring Operation: 63-2=61, Resulting Numbers: [65, 61] Generated Node #0,1,4: 23:[65, 61] Operation: 63-2=61 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[2, 2], Operations: ['93-28=65', '65-63=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[63, 63], Operations: ['93-28=65', '65-2=63'] Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 23:[65, 61], Operations: ['93-28=65', '63-2=61'] Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,23 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,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:[65, 65], Operations: ['93-28=65', '63+2=65'] Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,23 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,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:[63, 67], Operations: ['93-28=65', '2+65=67'] Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,23 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,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,4 Current State: 23:[2, 93, 35], Operations: ['63-28=35'] Exploring Operation: 35-2=33, Resulting Numbers: [93, 33] Generated Node #0,4,0: 23:[93, 33] Operation: 35-2=33 Exploring Operation: 2+35=37, Resulting Numbers: [93, 37] Generated Node #0,4,1: 23:[93, 37] Operation: 2+35=37 Exploring Operation: 93-35=58, Resulting Numbers: [2, 58] Generated Node #0,4,2: 23:[2, 58] Operation: 93-35=58 Exploring Operation: 93-2=91, Resulting Numbers: [35, 91] Generated Node #0,4,3: 23:[35, 91] Operation: 93-2=91 Exploring Operation: 2+93=95, Resulting Numbers: [35, 95] Generated Node #0,4,4: 23:[35, 95] Operation: 2+93=95 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 23:[2, 58], Operations: ['63-28=35', '93-35=58'] Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,23 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 23:[93, 33], Operations: ['63-28=35', '35-2=33'] Exploring Operation: 93+33=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 93*33=3069, Resulting Numbers: [3069] 3069,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 23:[35, 91], Operations: ['63-28=35', '93-2=91'] Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 35*91=3185, Resulting Numbers: [3185] 3185,23 unequal: No Solution Exploring Operation: 35+91=126, Resulting Numbers: [126] 126,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 23:[93, 37], Operations: ['63-28=35', '2+35=37'] Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,23 unequal: No Solution Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 23:[35, 95], Operations: ['63-28=35', '2+93=95'] Exploring Operation: 35+95=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 35*95=3325, Resulting Numbers: [3325] 3325,23 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,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,2 Current State: 23:[63, 93, 26], Operations: ['28-2=26'] Exploring Operation: 93-63=30, Resulting Numbers: [26, 30] Generated Node #0,2,0: 23:[26, 30] Operation: 93-63=30 Exploring Operation: 93-26=67, Resulting Numbers: [63, 67] Generated Node #0,2,1: 23:[63, 67] Operation: 93-26=67 Exploring Operation: 63-26=37, Resulting Numbers: [93, 37] Generated Node #0,2,2: 23:[93, 37] Operation: 63-26=37 Exploring Operation: 63+93=156, Resulting Numbers: [26, 156] Generated Node #0,2,3: 23:[26, 156] Operation: 63+93=156 Exploring Operation: 63+26=89, Resulting Numbers: [93, 89] Generated Node #0,2,4: 23:[93, 89] Operation: 63+26=89 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[26, 30], Operations: ['28-2=26', '93-63=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,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,2,1 Current State: 23:[63, 67], Operations: ['28-2=26', '93-26=67'] Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,23 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,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,2,2 Current State: 23:[93, 37], Operations: ['28-2=26', '63-26=37'] Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,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,2,3 Current State: 23:[26, 156], Operations: ['28-2=26', '63+93=156'] Exploring Operation: 26+156=182, Resulting Numbers: [182] 182,23 unequal: No Solution Exploring Operation: 156/26=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 156-26=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 26*156=4056, Resulting Numbers: [4056] 4056,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,2,4 Current State: 23:[93, 89], Operations: ['28-2=26', '63+26=89'] Exploring Operation: 93*89=8277, Resulting Numbers: [8277] 8277,23 unequal: No Solution Exploring Operation: 93-89=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 93+89=182, Resulting Numbers: [182] 182,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,3 Current State: 23:[28, 93, 61], Operations: ['63-2=61'] Exploring Operation: 28+61=89, Resulting Numbers: [93, 89] Generated Node #0,3,0: 23:[93, 89] Operation: 28+61=89 Exploring Operation: 61-28=33, Resulting Numbers: [93, 33] Generated Node #0,3,1: 23:[93, 33] Operation: 61-28=33 Exploring Operation: 93-61=32, Resulting Numbers: [28, 32] Generated Node #0,3,2: 23:[28, 32] Operation: 93-61=32 Exploring Operation: 93-28=65, Resulting Numbers: [61, 65] Generated Node #0,3,3: 23:[61, 65] Operation: 93-28=65 Exploring Operation: 28+93=121, Resulting Numbers: [61, 121] Generated Node #0,3,4: 23:[61, 121] Operation: 28+93=121 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[28, 32], Operations: ['63-2=61', '93-61=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,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:[93, 33], Operations: ['63-2=61', '61-28=33'] Exploring Operation: 93+33=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 93*33=3069, Resulting Numbers: [3069] 3069,23 unequal: No Solution Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,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:[61, 65], Operations: ['63-2=61', '93-28=65'] Exploring Operation: 61+65=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 61*65=3965, Resulting Numbers: [3965] 3965,23 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,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,0 Current State: 23:[93, 89], Operations: ['63-2=61', '28+61=89'] Exploring Operation: 93+89=182, Resulting Numbers: [182] 182,23 unequal: No Solution Exploring Operation: 93*89=8277, Resulting Numbers: [8277] 8277,23 unequal: No Solution Exploring Operation: 93-89=4, Resulting Numbers: [4] 4,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,4 Current State: 23:[61, 121], Operations: ['63-2=61', '28+93=121'] Exploring Operation: 61*121=7381, Resulting Numbers: [7381] 7381,23 unequal: No Solution Exploring Operation: 61+121=182, Resulting Numbers: [182] 182,23 unequal: No Solution Exploring Operation: 121-61=60, Resulting Numbers: [60] 60,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 4, 96, 69, 1 ]
33
[ "4+1=5", "96+69=165", "165/5=33" ]
Current State: 33:[4, 96, 69, 1], Operations: [] Exploring Operation: 4+1=5, Resulting Numbers: [96, 69, 5] Generated Node #2: [96, 69, 5] from Operation: 4+1=5 Current State: 33:[96, 69, 5], Operations: ['4+1=5'] Exploring Operation: 96+69=165, Resulting Numbers: [5, 165] Generated Node #3: [5, 165] from Operation: 96+69=165 Current State: 33:[5, 165], Operations: ['4+1=5', '96+69=165'] Exploring Operation: 165/5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[4, 96, 69, 1], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [4, 1, 27] Generated Node #0,0: 33:[4, 1, 27] Operation: 96-69=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[4, 1, 27], Operations: ['96-69=27'] Exploring Operation: 4+27=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 33:[1, 31] Operation: 4+27=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[1, 31], Operations: ['96-69=27', '4+27=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 54, 85, 33 ]
91
[ "54/2=27", "85+33=118", "118-27=91" ]
Current State: 91:[2, 54, 85, 33], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [85, 33, 27] Generated Node #2: [85, 33, 27] from Operation: 54/2=27 Current State: 91:[85, 33, 27], Operations: ['54/2=27'] Exploring Operation: 85+33=118, Resulting Numbers: [27, 118] Generated Node #3: [27, 118] from Operation: 85+33=118 Current State: 91:[27, 118], Operations: ['54/2=27', '85+33=118'] Exploring Operation: 118-27=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[2, 54, 85, 33], Operations: [] Exploring Operation: 54+33=87, Resulting Numbers: [2, 85, 87] Generated Node #0,0: 91:[2, 85, 87] Operation: 54+33=87 Exploring Operation: 54-33=21, Resulting Numbers: [2, 85, 21] Generated Node #0,1: 91:[2, 85, 21] Operation: 54-33=21 Moving to Node #0,0 Current State: 91:[2, 85, 87], Operations: ['54+33=87'] Exploring Operation: 2+85=87, Resulting Numbers: [87, 87] Generated Node #0,0,0: 91:[87, 87] Operation: 2+85=87 Exploring Operation: 2+87=89, Resulting Numbers: [85, 89] Generated Node #0,0,1: 91:[85, 89] Operation: 2+87=89 Moving to Node #0,1 Current State: 91:[2, 85, 21], Operations: ['54-33=21'] Exploring Operation: 21-2=19, Resulting Numbers: [85, 19] Generated Node #0,1,0: 91:[85, 19] Operation: 21-2=19 Exploring Operation: 2+85=87, Resulting Numbers: [21, 87] Generated Node #0,1,1: 91:[21, 87] Operation: 2+85=87 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[85, 19], Operations: ['54-33=21', '21-2=19'] Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,91 unequal: No Solution No 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: 91:[21, 87], Operations: ['54-33=21', '2+85=87'] Exploring Operation: 21+87=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,91 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: 91:[87, 87], Operations: ['54+33=87', '2+85=87'] Exploring Operation: 87-87=0, Resulting Numbers: [0] 0,91 unequal: No Solution Exploring Operation: 87/87=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[85, 89], Operations: ['54+33=87', '2+87=89'] Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 85+89=174, Resulting Numbers: [174] 174,91 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 26, 30, 72, 2 ]
25
[ "30+72=102", "102/2=51", "51-26=25" ]
Current State: 25:[26, 30, 72, 2], Operations: [] Exploring Operation: 30+72=102, Resulting Numbers: [26, 2, 102] Generated Node #2: [26, 2, 102] from Operation: 30+72=102 Current State: 25:[26, 2, 102], Operations: ['30+72=102'] Exploring Operation: 102/2=51, Resulting Numbers: [26, 51] Generated Node #3: [26, 51] from Operation: 102/2=51 Current State: 25:[26, 51], Operations: ['30+72=102', '102/2=51'] Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[26, 30, 72, 2], Operations: [] Exploring Operation: 72-30=42, Resulting Numbers: [26, 2, 42] Generated Node #0,0: 25:[26, 2, 42] Operation: 72-30=42 Exploring Operation: 72/2=36, Resulting Numbers: [26, 30, 36] Generated Node #0,1: 25:[26, 30, 36] Operation: 72/2=36 Exploring Operation: 72-26=46, Resulting Numbers: [30, 2, 46] Generated Node #0,2: 25:[30, 2, 46] Operation: 72-26=46 Exploring Operation: 30-2=28, Resulting Numbers: [26, 72, 28] Generated Node #0,3: 25:[26, 72, 28] Operation: 30-2=28 Exploring Operation: 30-26=4, Resulting Numbers: [72, 2, 4] Generated Node #0,4: 25:[72, 2, 4] Operation: 30-26=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[26, 30, 36], Operations: ['72/2=36'] Exploring Operation: 26+36=62, Resulting Numbers: [30, 62] Generated Node #0,1,0: 25:[30, 62] Operation: 26+36=62 Exploring Operation: 36-26=10, Resulting Numbers: [30, 10] Generated Node #0,1,1: 25:[30, 10] Operation: 36-26=10 Exploring Operation: 36-30=6, Resulting Numbers: [26, 6] Generated Node #0,1,2: 25:[26, 6] Operation: 36-30=6 Exploring Operation: 26+30=56, Resulting Numbers: [36, 56] Generated Node #0,1,3: 25:[36, 56] Operation: 26+30=56 Exploring Operation: 30-26=4, Resulting Numbers: [36, 4] Generated Node #0,1,4: 25:[36, 4] Operation: 30-26=4 Moving to Node #0,1,2 Current State: 25:[26, 6], Operations: ['72/2=36', '36-30=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[30, 10], Operations: ['72/2=36', '36-26=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,25 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,25 unequal: No Solution Moving to Node #0,1,4 Current State: 25:[36, 4], Operations: ['72/2=36', '30-26=4'] Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,25 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[30, 62], Operations: ['72/2=36', '26+36=62'] Exploring Operation: 30*62=1860, Resulting Numbers: [1860] 1860,25 unequal: No Solution Exploring Operation: 30+62=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[36, 56], Operations: ['72/2=36', '26+30=56'] Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 36*56=2016, Resulting Numbers: [2016] 2016,25 unequal: No Solution Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[26, 2, 42], Operations: ['72-30=42'] Exploring Operation: 42-2=40, Resulting Numbers: [26, 40] Generated Node #0,0,0: 25:[26, 40] Operation: 42-2=40 Exploring Operation: 42-26=16, Resulting Numbers: [2, 16] Generated Node #0,0,1: 25:[2, 16] Operation: 42-26=16 Exploring Operation: 26-2=24, Resulting Numbers: [42, 24] Generated Node #0,0,2: 25:[42, 24] Operation: 26-2=24 Exploring Operation: 42/2=21, Resulting Numbers: [26, 21] Generated Node #0,0,3: 25:[26, 21] Operation: 42/2=21 Exploring Operation: 26+2=28, Resulting Numbers: [42, 28] Generated Node #0,0,4: 25:[42, 28] Operation: 26+2=28 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 25:[26, 21], Operations: ['72-30=42', '42/2=21'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,25 unequal: No Solution Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[2, 16], Operations: ['72-30=42', '42-26=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[26, 40], Operations: ['72-30=42', '42-2=40'] Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,25 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[42, 24], Operations: ['72-30=42', '26-2=24'] Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,25 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 25:[42, 28], Operations: ['72-30=42', '26+2=28'] Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,25 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[30, 2, 46], Operations: ['72-26=46'] Exploring Operation: 46/2=23, Resulting Numbers: [30, 23] Generated Node #0,2,0: 25:[30, 23] Operation: 46/2=23 Exploring Operation: 46-2=44, Resulting Numbers: [30, 44] Generated Node #0,2,1: 25:[30, 44] Operation: 46-2=44 Exploring Operation: 30-2=28, Resulting Numbers: [46, 28] Generated Node #0,2,2: 25:[46, 28] Operation: 30-2=28 Exploring Operation: 30+2=32, Resulting Numbers: [46, 32] Generated Node #0,2,3: 25:[46, 32] Operation: 30+2=32 Exploring Operation: 46-30=16, Resulting Numbers: [2, 16] Generated Node #0,2,4: 25:[2, 16] Operation: 46-30=16 Moving to Node #0,2,0 Current State: 25:[30, 23], Operations: ['72-26=46', '46/2=23'] Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,25 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[2, 16], Operations: ['72-26=46', '46-30=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[30, 44], Operations: ['72-26=46', '46-2=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[46, 28], Operations: ['72-26=46', '30-2=28'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,25 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[46, 32], Operations: ['72-26=46', '30+2=32'] Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[26, 72, 28], Operations: ['30-2=28'] Exploring Operation: 72-26=46, Resulting Numbers: [28, 46] Generated Node #0,3,0: 25:[28, 46] Operation: 72-26=46 Exploring Operation: 26+28=54, Resulting Numbers: [72, 54] Generated Node #0,3,1: 25:[72, 54] Operation: 26+28=54 Exploring Operation: 28-26=2, Resulting Numbers: [72, 2] Generated Node #0,3,2: 25:[72, 2] Operation: 28-26=2 Exploring Operation: 26+72=98, Resulting Numbers: [28, 98] Generated Node #0,3,3: 25:[28, 98] Operation: 26+72=98 Exploring Operation: 72-28=44, Resulting Numbers: [26, 44] Generated Node #0,3,4: 25:[26, 44] Operation: 72-28=44 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 25:[26, 44], Operations: ['30-2=28', '72-28=44'] Exploring Operation: 26+44=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 26*44=1144, Resulting Numbers: [1144] 1144,25 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 25:[28, 46], Operations: ['30-2=28', '72-26=46'] Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 25:[72, 2], Operations: ['30-2=28', '28-26=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 25:[72, 54], Operations: ['30-2=28', '26+28=54'] Exploring Operation: 72*54=3888, Resulting Numbers: [3888] 3888,25 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 72+54=126, Resulting Numbers: [126] 126,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 25:[28, 98], Operations: ['30-2=28', '26+72=98'] Exploring Operation: 28*98=2744, Resulting Numbers: [2744] 2744,25 unequal: No Solution Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 28+98=126, Resulting Numbers: [126] 126,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 25:[72, 2, 4], Operations: ['30-26=4'] Exploring Operation: 72/4=18, Resulting Numbers: [2, 18] Generated Node #0,4,0: 25:[2, 18] Operation: 72/4=18 Exploring Operation: 72-2=70, Resulting Numbers: [4, 70] Generated Node #0,4,1: 25:[4, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [4, 36] Generated Node #0,4,2: 25:[4, 36] Operation: 72/2=36 Exploring Operation: 2+4=6, Resulting Numbers: [72, 6] Generated Node #0,4,3: 25:[72, 6] Operation: 2+4=6 Exploring Operation: 72-4=68, Resulting Numbers: [2, 68] Generated Node #0,4,4: 25:[2, 68] Operation: 72-4=68 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 25:[2, 18], Operations: ['30-26=4', '72/4=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 25:[4, 36], Operations: ['30-26=4', '72/2=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 25:[4, 70], Operations: ['30-26=4', '72-2=70'] Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,25 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 25:[2, 68], Operations: ['30-26=4', '72-4=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,25 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 25:[72, 6], Operations: ['30-26=4', '2+4=6'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 72+6=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 72*6=432, Resulting Numbers: [432] 432,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 53, 3, 42, 52 ]
84
[ "53-3=50", "52-50=2", "42*2=84" ]
Current State: 84:[53, 3, 42, 52], Operations: [] Exploring Operation: 53-3=50, Resulting Numbers: [42, 52, 50] Generated Node #2: [42, 52, 50] from Operation: 53-3=50 Current State: 84:[42, 52, 50], Operations: ['53-3=50'] Exploring Operation: 52-50=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 52-50=2 Current State: 84:[42, 2], Operations: ['53-3=50', '52-50=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[53, 3, 42, 52], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [3, 42, 1] Generated Node #0,0: 84:[3, 42, 1] Operation: 53-52=1 Exploring Operation: 53-42=11, Resulting Numbers: [3, 52, 11] Generated Node #0,1: 84:[3, 52, 11] Operation: 53-42=11 Moving to Node #0,0 Current State: 84:[3, 42, 1], Operations: ['53-52=1'] Exploring Operation: 3+1=4, Resulting Numbers: [42, 4] Generated Node #0,0,0: 84:[42, 4] Operation: 3+1=4 Exploring Operation: 3*1=3, Resulting Numbers: [42, 3] Generated Node #0,0,1: 84:[42, 3] Operation: 3*1=3 Moving to Node #0,1 Current State: 84:[3, 52, 11], Operations: ['53-42=11'] Exploring Operation: 52-3=49, Resulting Numbers: [11, 49] Generated Node #0,1,0: 84:[11, 49] Operation: 52-3=49 Exploring Operation: 52-11=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 84:[3, 41] Operation: 52-11=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[3, 41], Operations: ['53-42=11', '52-11=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[11, 49], Operations: ['53-42=11', '52-3=49'] Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,84 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,84 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: 84:[42, 4], Operations: ['53-52=1', '3+1=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[42, 3], Operations: ['53-52=1', '3*1=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 31, 2, 78, 48 ]
23
[ "78-31=47", "48/2=24", "47-24=23" ]
Current State: 23:[31, 2, 78, 48], Operations: [] Exploring Operation: 78-31=47, Resulting Numbers: [2, 48, 47] Generated Node #2: [2, 48, 47] from Operation: 78-31=47 Current State: 23:[2, 48, 47], Operations: ['78-31=47'] Exploring Operation: 48/2=24, Resulting Numbers: [47, 24] Generated Node #3: [47, 24] from Operation: 48/2=24 Current State: 23:[47, 24], Operations: ['78-31=47', '48/2=24'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[31, 2, 78, 48], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [31, 2, 30] Generated Node #0,0: 23:[31, 2, 30] Operation: 78-48=30 Exploring Operation: 78/2=39, Resulting Numbers: [31, 48, 39] Generated Node #0,1: 23:[31, 48, 39] Operation: 78/2=39 Moving to Node #0,0 Current State: 23:[31, 2, 30], Operations: ['78-48=30'] Exploring Operation: 30-2=28, Resulting Numbers: [31, 28] Generated Node #0,0,0: 23:[31, 28] Operation: 30-2=28 Exploring Operation: 31-2=29, Resulting Numbers: [30, 29] Generated Node #0,0,1: 23:[30, 29] Operation: 31-2=29 Moving to Node #0,1 Current State: 23:[31, 48, 39], Operations: ['78/2=39'] Exploring Operation: 48-39=9, Resulting Numbers: [31, 9] Generated Node #0,1,0: 23:[31, 9] Operation: 48-39=9 Exploring Operation: 48-31=17, Resulting Numbers: [39, 17] Generated Node #0,1,1: 23:[39, 17] Operation: 48-31=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[31, 9], Operations: ['78/2=39', '48-39=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,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:[39, 17], Operations: ['78/2=39', '48-31=17'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 23:[31, 28], Operations: ['78-48=30', '30-2=28'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[30, 29], Operations: ['78-48=30', '31-2=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,23 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 7, 28, 15, 20 ]
65
[ "28/7=4", "20*4=80", "80-15=65" ]
Current State: 65:[7, 28, 15, 20], Operations: [] Exploring Operation: 28/7=4, Resulting Numbers: [15, 20, 4] Generated Node #2: [15, 20, 4] from Operation: 28/7=4 Current State: 65:[15, 20, 4], Operations: ['28/7=4'] Exploring Operation: 20*4=80, Resulting Numbers: [15, 80] Generated Node #3: [15, 80] from Operation: 20*4=80 Current State: 65:[15, 80], Operations: ['28/7=4', '20*4=80'] Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[7, 28, 15, 20], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [7, 15, 8] Generated Node #0,0: 65:[7, 15, 8] Operation: 28-20=8 Exploring Operation: 28-15=13, Resulting Numbers: [7, 20, 13] Generated Node #0,1: 65:[7, 20, 13] Operation: 28-15=13 Moving to Node #0,0 Current State: 65:[7, 15, 8], Operations: ['28-20=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7, 7] Generated Node #0,0,0: 65:[7, 7] Operation: 15-8=7 Exploring Operation: 7+8=15, Resulting Numbers: [15, 15] Generated Node #0,0,1: 65:[15, 15] Operation: 7+8=15 Moving to Node #0,1 Current State: 65:[7, 20, 13], Operations: ['28-15=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7, 7] Generated Node #0,1,0: 65:[7, 7] Operation: 20-13=7 Exploring Operation: 20-7=13, Resulting Numbers: [13, 13] Generated Node #0,1,1: 65:[13, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[13, 13], Operations: ['28-15=13', '20-7=13'] Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,65 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[7, 7], Operations: ['28-15=13', '20-13=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,65 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: 65:[7, 7], Operations: ['28-20=8', '15-8=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[15, 15], Operations: ['28-20=8', '7+8=15'] Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,65 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 15, 75, 83, 90 ]
82
[ "15+75=90", "90/90=1", "83-1=82" ]
Current State: 82:[15, 75, 83, 90], Operations: [] Exploring Operation: 15+75=90, Resulting Numbers: [83, 90, 90] Generated Node #2: [83, 90, 90] from Operation: 15+75=90 Current State: 82:[83, 90, 90], Operations: ['15+75=90'] Exploring Operation: 90/90=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 90/90=1 Current State: 82:[83, 1], Operations: ['15+75=90', '90/90=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[15, 75, 83, 90], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [83, 90, 5] Generated Node #0,0: 82:[83, 90, 5] Operation: 75/15=5 Exploring Operation: 90/15=6, Resulting Numbers: [75, 83, 6] Generated Node #0,1: 82:[75, 83, 6] Operation: 90/15=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[83, 90, 5], Operations: ['75/15=5'] Exploring Operation: 90-5=85, Resulting Numbers: [83, 85] Generated Node #0,0,0: 82:[83, 85] Operation: 90-5=85 Exploring Operation: 90-83=7, Resulting Numbers: [5, 7] Generated Node #0,0,1: 82:[5, 7] Operation: 90-83=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[83, 85], Operations: ['75/15=5', '90-5=85'] Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 83+85=168, Resulting Numbers: [168] 168,82 unequal: No Solution No 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: 82:[5, 7], Operations: ['75/15=5', '90-83=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,82 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: 82:[75, 83, 6], Operations: ['90/15=6'] Exploring Operation: 83-75=8, Resulting Numbers: [6, 8] Generated Node #0,1,0: 82:[6, 8] Operation: 83-75=8 Exploring Operation: 75+6=81, Resulting Numbers: [83, 81] Generated Node #0,1,1: 82:[83, 81] Operation: 75+6=81 Moving to Node #0,1,1 Current State: 82:[83, 81], Operations: ['90/15=6', '75+6=81'] Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[6, 8], Operations: ['90/15=6', '83-75=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,82 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
[ 21, 44, 38, 36 ]
51
[ "44-21=23", "38+36=74", "74-23=51" ]
Current State: 51:[21, 44, 38, 36], Operations: [] Exploring Operation: 44-21=23, Resulting Numbers: [38, 36, 23] Generated Node #2: [38, 36, 23] from Operation: 44-21=23 Current State: 51:[38, 36, 23], Operations: ['44-21=23'] Exploring Operation: 38+36=74, Resulting Numbers: [23, 74] Generated Node #3: [23, 74] from Operation: 38+36=74 Current State: 51:[23, 74], Operations: ['44-21=23', '38+36=74'] Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[21, 44, 38, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [21, 44, 2] Generated Node #0,0: 51:[21, 44, 2] Operation: 38-36=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[21, 44, 2], Operations: ['38-36=2'] Exploring Operation: 44-21=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 51:[2, 23] Operation: 44-21=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[2, 23], Operations: ['38-36=2', '44-21=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 99, 53, 12, 50 ]
84
[ "99-53=46", "50-12=38", "46+38=84" ]
Current State: 84:[99, 53, 12, 50], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [12, 50, 46] Generated Node #2: [12, 50, 46] from Operation: 99-53=46 Current State: 84:[12, 50, 46], Operations: ['99-53=46'] Exploring Operation: 50-12=38, Resulting Numbers: [46, 38] Generated Node #3: [46, 38] from Operation: 50-12=38 Current State: 84:[46, 38], Operations: ['99-53=46', '50-12=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[99, 53, 12, 50], Operations: [] Exploring Operation: 99-50=49, Resulting Numbers: [53, 12, 49] Generated Node #0,0: 84:[53, 12, 49] Operation: 99-50=49 Exploring Operation: 99-53=46, Resulting Numbers: [12, 50, 46] Generated Node #0,1: 84:[12, 50, 46] Operation: 99-53=46 Exploring Operation: 53-50=3, Resulting Numbers: [99, 12, 3] Generated Node #0,2: 84:[99, 12, 3] Operation: 53-50=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[12, 50, 46], Operations: ['99-53=46'] Exploring Operation: 50-12=38, Resulting Numbers: [46, 38] Generated Node #0,1,0: 84:[46, 38] Operation: 50-12=38 Exploring Operation: 50+46=96, Resulting Numbers: [12, 96] Generated Node #0,1,1: 84:[12, 96] Operation: 50+46=96 Exploring Operation: 50-46=4, Resulting Numbers: [12, 4] Generated Node #0,1,2: 84:[12, 4] Operation: 50-46=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[12, 4], Operations: ['99-53=46', '50-46=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,84 unequal: No Solution No 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: 84:[46, 38], Operations: ['99-53=46', '50-12=38'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[99, 53, 12, 50], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [12, 50, 46] Generated Node #0,1: 84:[12, 50, 46] Operation: 99-53=46 Moving to Node #0,1 Current State: 84:[12, 50, 46], Operations: ['99-53=46'] Exploring Operation: 50-12=38, Resulting Numbers: [46, 38] Generated Node #0,1,0: 84:[46, 38] Operation: 50-12=38 Moving to Node #0,1,0 Current State: 84:[46, 38], Operations: ['99-53=46', '50-12=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 29, 27, 28, 3 ]
17
[ "29-27=2", "28/2=14", "3+14=17" ]
Current State: 17:[29, 27, 28, 3], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [28, 3, 2] Generated Node #2: [28, 3, 2] from Operation: 29-27=2 Current State: 17:[28, 3, 2], Operations: ['29-27=2'] Exploring Operation: 28/2=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 28/2=14 Current State: 17:[3, 14], Operations: ['29-27=2', '28/2=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[29, 27, 28, 3], Operations: [] Exploring Operation: 27-3=24, Resulting Numbers: [29, 28, 24] Generated Node #0,0: 17:[29, 28, 24] Operation: 27-3=24 Exploring Operation: 29-3=26, Resulting Numbers: [27, 28, 26] Generated Node #0,1: 17:[27, 28, 26] Operation: 29-3=26 Moving to Node #0,0 Current State: 17:[29, 28, 24], Operations: ['27-3=24'] Exploring Operation: 29-24=5, Resulting Numbers: [28, 5] Generated Node #0,0,0: 17:[28, 5] Operation: 29-24=5 Exploring Operation: 29-28=1, Resulting Numbers: [24, 1] Generated Node #0,0,1: 17:[24, 1] Operation: 29-28=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[28, 5], Operations: ['27-3=24', '29-24=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,17 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[24, 1], Operations: ['27-3=24', '29-28=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,17 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: 17:[27, 28, 26], Operations: ['29-3=26'] Exploring Operation: 28-26=2, Resulting Numbers: [27, 2] Generated Node #0,1,0: 17:[27, 2] Operation: 28-26=2 Exploring Operation: 28-27=1, Resulting Numbers: [26, 1] Generated Node #0,1,1: 17:[26, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[27, 2], Operations: ['29-3=26', '28-26=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[26, 1], Operations: ['29-3=26', '28-27=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,17 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
[ 52, 78, 48, 26 ]
45
[ "52-26=26", "78/26=3", "48-3=45" ]
Current State: 45:[52, 78, 48, 26], Operations: [] Exploring Operation: 52-26=26, Resulting Numbers: [78, 48, 26] Generated Node #2: [78, 48, 26] from Operation: 52-26=26 Current State: 45:[78, 48, 26], Operations: ['52-26=26'] Exploring Operation: 78/26=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 78/26=3 Current State: 45:[48, 3], Operations: ['52-26=26', '78/26=3'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[52, 78, 48, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [52, 48, 3] Generated Node #0,0: 45:[52, 48, 3] Operation: 78/26=3 Moving to Node #0,0 Current State: 45:[52, 48, 3], Operations: ['78/26=3'] Exploring Operation: 52-48=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 45:[3, 4] Operation: 52-48=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[3, 4], Operations: ['78/26=3', '52-48=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 92, 70, 90, 61 ]
82
[ "70-61=9", "90/9=10", "92-10=82" ]
Current State: 82:[92, 70, 90, 61], Operations: [] Exploring Operation: 70-61=9, Resulting Numbers: [92, 90, 9] Generated Node #2: [92, 90, 9] from Operation: 70-61=9 Current State: 82:[92, 90, 9], Operations: ['70-61=9'] Exploring Operation: 90/9=10, Resulting Numbers: [92, 10] Generated Node #3: [92, 10] from Operation: 90/9=10 Current State: 82:[92, 10], Operations: ['70-61=9', '90/9=10'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[92, 70, 90, 61], Operations: [] Exploring Operation: 90-61=29, Resulting Numbers: [92, 70, 29] Generated Node #0,0: 82:[92, 70, 29] Operation: 90-61=29 Exploring Operation: 92-90=2, Resulting Numbers: [70, 61, 2] Generated Node #0,1: 82:[70, 61, 2] Operation: 92-90=2 Exploring Operation: 92-61=31, Resulting Numbers: [70, 90, 31] Generated Node #0,2: 82:[70, 90, 31] Operation: 92-61=31 Exploring Operation: 70-61=9, Resulting Numbers: [92, 90, 9] Generated Node #0,3: 82:[92, 90, 9] Operation: 70-61=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[92, 90, 9], Operations: ['70-61=9'] Exploring Operation: 90-9=81, Resulting Numbers: [92, 81] Generated Node #0,3,0: 82:[92, 81] Operation: 90-9=81 Exploring Operation: 92-90=2, Resulting Numbers: [9, 2] Generated Node #0,3,1: 82:[9, 2] Operation: 92-90=2 Exploring Operation: 90/9=10, Resulting Numbers: [92, 10] Generated Node #0,3,2: 82:[92, 10] Operation: 90/9=10 Exploring Operation: 92-9=83, Resulting Numbers: [90, 83] Generated Node #0,3,3: 82:[90, 83] Operation: 92-9=83 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[9, 2], Operations: ['70-61=9', '92-90=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,82 unequal: No Solution No 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: 82:[90, 83], Operations: ['70-61=9', '92-9=83'] Exploring Operation: 90*83=7470, Resulting Numbers: [7470] 7470,82 unequal: No Solution Exploring Operation: 90+83=173, Resulting Numbers: [173] 173,82 unequal: No Solution Exploring Operation: 90-83=7, Resulting Numbers: [7] 7,82 unequal: No Solution No 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: 82:[92, 81], Operations: ['70-61=9', '90-9=81'] Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 92+81=173, Resulting Numbers: [173] 173,82 unequal: No Solution Exploring Operation: 92*81=7452, Resulting Numbers: [7452] 7452,82 unequal: No Solution No 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: 82:[92, 10], Operations: ['70-61=9', '90/9=10'] Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,82 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,82 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[92, 70, 90, 61], Operations: [] Exploring Operation: 70-61=9, Resulting Numbers: [92, 90, 9] Generated Node #0,3: 82:[92, 90, 9] Operation: 70-61=9 Moving to Node #0,3 Current State: 82:[92, 90, 9], Operations: ['70-61=9'] Exploring Operation: 90/9=10, Resulting Numbers: [92, 10] Generated Node #0,3,2: 82:[92, 10] Operation: 90/9=10 Moving to Node #0,3,2 Current State: 82:[92, 10], Operations: ['70-61=9', '90/9=10'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 82, 21, 73, 16 ]
59
[ "82*16=1312", "1312-73=1239", "1239/21=59" ]
Current State: 59:[82, 21, 73, 16], Operations: [] Exploring Operation: 82*16=1312, Resulting Numbers: [21, 73, 1312] Generated Node #2: [21, 73, 1312] from Operation: 82*16=1312 Current State: 59:[21, 73, 1312], Operations: ['82*16=1312'] Exploring Operation: 1312-73=1239, Resulting Numbers: [21, 1239] Generated Node #3: [21, 1239] from Operation: 1312-73=1239 Current State: 59:[21, 1239], Operations: ['82*16=1312', '1312-73=1239'] Exploring Operation: 1239/21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[82, 21, 73, 16], Operations: [] Exploring Operation: 73-16=57, Resulting Numbers: [82, 21, 57] Generated Node #0,0: 59:[82, 21, 57] Operation: 73-16=57 Exploring Operation: 82-21=61, Resulting Numbers: [73, 16, 61] Generated Node #0,1: 59:[73, 16, 61] Operation: 82-21=61 Exploring Operation: 82-16=66, Resulting Numbers: [21, 73, 66] Generated Node #0,2: 59:[21, 73, 66] Operation: 82-16=66 Exploring Operation: 21+16=37, Resulting Numbers: [82, 73, 37] Generated Node #0,3: 59:[82, 73, 37] Operation: 21+16=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[73, 16, 61], Operations: ['82-21=61'] Exploring Operation: 16+61=77, Resulting Numbers: [73, 77] Generated Node #0,1,0: 59:[73, 77] Operation: 16+61=77 Exploring Operation: 61-16=45, Resulting Numbers: [73, 45] Generated Node #0,1,1: 59:[73, 45] Operation: 61-16=45 Exploring Operation: 73+16=89, Resulting Numbers: [61, 89] Generated Node #0,1,2: 59:[61, 89] Operation: 73+16=89 Exploring Operation: 73-16=57, Resulting Numbers: [61, 57] Generated Node #0,1,3: 59:[61, 57] Operation: 73-16=57 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[61, 57], Operations: ['82-21=61', '73-16=57'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,59 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[73, 45], Operations: ['82-21=61', '61-16=45'] Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 73+45=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 73*45=3285, Resulting Numbers: [3285] 3285,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[73, 77], Operations: ['82-21=61', '16+61=77'] Exploring Operation: 73+77=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 73*77=5621, Resulting Numbers: [5621] 5621,59 unequal: No Solution Exploring Operation: 77-73=4, Resulting Numbers: [4] 4,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[61, 89], Operations: ['82-21=61', '73+16=89'] Exploring Operation: 61*89=5429, Resulting Numbers: [5429] 5429,59 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 61+89=150, Resulting Numbers: [150] 150,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[21, 73, 66], Operations: ['82-16=66'] Exploring Operation: 21+66=87, Resulting Numbers: [73, 87] Generated Node #0,2,0: 59:[73, 87] Operation: 21+66=87 Exploring Operation: 73-21=52, Resulting Numbers: [66, 52] Generated Node #0,2,1: 59:[66, 52] Operation: 73-21=52 Exploring Operation: 66-21=45, Resulting Numbers: [73, 45] Generated Node #0,2,2: 59:[73, 45] Operation: 66-21=45 Exploring Operation: 21+73=94, Resulting Numbers: [66, 94] Generated Node #0,2,3: 59:[66, 94] Operation: 21+73=94 Moving to Node #0,2,1 Current State: 59:[66, 52], Operations: ['82-16=66', '73-21=52'] Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,59 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[73, 45], Operations: ['82-16=66', '66-21=45'] Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 73+45=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 73*45=3285, Resulting Numbers: [3285] 3285,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[66, 94], Operations: ['82-16=66', '21+73=94'] Exploring Operation: 66+94=160, Resulting Numbers: [160] 160,59 unequal: No Solution Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 66*94=6204, Resulting Numbers: [6204] 6204,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[73, 87], Operations: ['82-16=66', '21+66=87'] Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 73+87=160, Resulting Numbers: [160] 160,59 unequal: No Solution Exploring Operation: 73*87=6351, Resulting Numbers: [6351] 6351,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[82, 73, 37], Operations: ['21+16=37'] Exploring Operation: 82-37=45, Resulting Numbers: [73, 45] Generated Node #0,3,0: 59:[73, 45] Operation: 82-37=45 Exploring Operation: 82-73=9, Resulting Numbers: [37, 9] Generated Node #0,3,1: 59:[37, 9] Operation: 82-73=9 Exploring Operation: 73-37=36, Resulting Numbers: [82, 36] Generated Node #0,3,2: 59:[82, 36] Operation: 73-37=36 Exploring Operation: 82+37=119, Resulting Numbers: [73, 119] Generated Node #0,3,3: 59:[73, 119] Operation: 82+37=119 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[73, 45], Operations: ['21+16=37', '82-37=45'] Exploring Operation: 73+45=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 73*45=3285, Resulting Numbers: [3285] 3285,59 unequal: No Solution Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[82, 36], Operations: ['21+16=37', '73-37=36'] Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[37, 9], Operations: ['21+16=37', '82-73=9'] Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,59 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[73, 119], Operations: ['21+16=37', '82+37=119'] Exploring Operation: 73+119=192, Resulting Numbers: [192] 192,59 unequal: No Solution Exploring Operation: 73*119=8687, Resulting Numbers: [8687] 8687,59 unequal: No Solution Exploring Operation: 119-73=46, Resulting Numbers: [46] 46,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[82, 21, 57], Operations: ['73-16=57'] Exploring Operation: 82-21=61, Resulting Numbers: [57, 61] Generated Node #0,0,0: 59:[57, 61] Operation: 82-21=61 Exploring Operation: 82+21=103, Resulting Numbers: [57, 103] Generated Node #0,0,1: 59:[57, 103] Operation: 82+21=103 Exploring Operation: 57-21=36, Resulting Numbers: [82, 36] Generated Node #0,0,2: 59:[82, 36] Operation: 57-21=36 Exploring Operation: 21+57=78, Resulting Numbers: [82, 78] Generated Node #0,0,3: 59:[82, 78] Operation: 21+57=78 Moving to Node #0,0,0 Current State: 59:[57, 61], Operations: ['73-16=57', '82-21=61'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[82, 78], Operations: ['73-16=57', '21+57=78'] Exploring Operation: 82*78=6396, Resulting Numbers: [6396] 6396,59 unequal: No Solution Exploring Operation: 82+78=160, Resulting Numbers: [160] 160,59 unequal: No Solution Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[82, 36], Operations: ['73-16=57', '57-21=36'] Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,59 unequal: No Solution Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[57, 103], Operations: ['73-16=57', '82+21=103'] Exploring Operation: 57+103=160, Resulting Numbers: [160] 160,59 unequal: No Solution Exploring Operation: 57*103=5871, Resulting Numbers: [5871] 5871,59 unequal: No Solution Exploring Operation: 103-57=46, Resulting Numbers: [46] 46,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 50, 52, 26, 14 ]
90
[ "50+52=102", "26-14=12", "102-12=90" ]
Current State: 90:[50, 52, 26, 14], Operations: [] Exploring Operation: 50+52=102, Resulting Numbers: [26, 14, 102] Generated Node #2: [26, 14, 102] from Operation: 50+52=102 Current State: 90:[26, 14, 102], Operations: ['50+52=102'] Exploring Operation: 26-14=12, Resulting Numbers: [102, 12] Generated Node #3: [102, 12] from Operation: 26-14=12 Current State: 90:[102, 12], Operations: ['50+52=102', '26-14=12'] Exploring Operation: 102-12=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[50, 52, 26, 14], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [26, 14, 2] Generated Node #0,0: 90:[26, 14, 2] Operation: 52-50=2 Exploring Operation: 52-26=26, Resulting Numbers: [50, 14, 26] Generated Node #0,1: 90:[50, 14, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [50, 14, 2] Generated Node #0,2: 90:[50, 14, 2] Operation: 52/26=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[26, 14, 2], Operations: ['52-50=2'] Exploring Operation: 26-14=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 90:[2, 12] Operation: 26-14=12 Exploring Operation: 26/2=13, Resulting Numbers: [14, 13] Generated Node #0,0,1: 90:[14, 13] Operation: 26/2=13 Exploring Operation: 26+2=28, Resulting Numbers: [14, 28] Generated Node #0,0,2: 90:[14, 28] Operation: 26+2=28 Moving to Node #0,0,0 Current State: 90:[2, 12], Operations: ['52-50=2', '26-14=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[14, 13], Operations: ['52-50=2', '26/2=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[14, 28], Operations: ['52-50=2', '26+2=28'] Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,90 unequal: No Solution No 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: 90:[50, 14, 2], Operations: ['52/26=2'] Exploring Operation: 50-2=48, Resulting Numbers: [14, 48] Generated Node #0,2,0: 90:[14, 48] Operation: 50-2=48 Exploring Operation: 50-14=36, Resulting Numbers: [2, 36] Generated Node #0,2,1: 90:[2, 36] Operation: 50-14=36 Exploring Operation: 50/2=25, Resulting Numbers: [14, 25] Generated Node #0,2,2: 90:[14, 25] Operation: 50/2=25 Moving to Node #0,2,0 Current State: 90:[14, 48], Operations: ['52/26=2', '50-2=48'] Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,90 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[2, 36], Operations: ['52/26=2', '50-14=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,90 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[14, 25], Operations: ['52/26=2', '50/2=25'] Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,90 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,90 unequal: No Solution No 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: 90:[50, 14, 26], Operations: ['52-26=26'] Exploring Operation: 50-14=36, Resulting Numbers: [26, 36] Generated Node #0,1,0: 90:[26, 36] Operation: 50-14=36 Exploring Operation: 50-26=24, Resulting Numbers: [14, 24] Generated Node #0,1,1: 90:[14, 24] Operation: 50-26=24 Exploring Operation: 26-14=12, Resulting Numbers: [50, 12] Generated Node #0,1,2: 90:[50, 12] Operation: 26-14=12 Moving to Node #0,1,1 Current State: 90:[14, 24], Operations: ['52-26=26', '50-26=24'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,90 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[50, 12], Operations: ['52-26=26', '26-14=12'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,90 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[26, 36], Operations: ['52-26=26', '50-14=36'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,90 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,90 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
[ 84, 53, 53, 65 ]
20
[ "84-65=19", "53/53=1", "19+1=20" ]
Current State: 20:[84, 53, 53, 65], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [53, 53, 19] Generated Node #2: [53, 53, 19] from Operation: 84-65=19 Current State: 20:[53, 53, 19], Operations: ['84-65=19'] Exploring Operation: 53/53=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 53/53=1 Current State: 20:[19, 1], Operations: ['84-65=19', '53/53=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[84, 53, 53, 65], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [53, 53, 19] Generated Node #0,0: 20:[53, 53, 19] Operation: 84-65=19 Moving to Node #0,0 Current State: 20:[53, 53, 19], Operations: ['84-65=19'] Exploring Operation: 53/53=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 20:[19, 1] Operation: 53/53=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[19, 1], Operations: ['84-65=19', '53/53=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[84, 53, 53, 65], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [53, 53, 19] Generated Node #0,0: 20:[53, 53, 19] Operation: 84-65=19 Moving to Node #0,0 Current State: 20:[53, 53, 19], Operations: ['84-65=19'] Exploring Operation: 53/53=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 20:[19, 1] Operation: 53/53=1 Moving to Node #0,0,0 Current State: 20:[19, 1], Operations: ['84-65=19', '53/53=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 84, 5, 80, 18 ]
82
[ "84-18=66", "80/5=16", "66+16=82" ]
Current State: 82:[84, 5, 80, 18], Operations: [] Exploring Operation: 84-18=66, Resulting Numbers: [5, 80, 66] Generated Node #2: [5, 80, 66] from Operation: 84-18=66 Current State: 82:[5, 80, 66], Operations: ['84-18=66'] Exploring Operation: 80/5=16, Resulting Numbers: [66, 16] Generated Node #3: [66, 16] from Operation: 80/5=16 Current State: 82:[66, 16], Operations: ['84-18=66', '80/5=16'] Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[84, 5, 80, 18], Operations: [] Exploring Operation: 5*18=90, Resulting Numbers: [84, 80, 90] Generated Node #0,0: 82:[84, 80, 90] Operation: 5*18=90 Exploring Operation: 84-5=79, Resulting Numbers: [80, 18, 79] Generated Node #0,1: 82:[80, 18, 79] Operation: 84-5=79 Exploring Operation: 18-5=13, Resulting Numbers: [84, 80, 13] Generated Node #0,2: 82:[84, 80, 13] Operation: 18-5=13 Exploring Operation: 84-18=66, Resulting Numbers: [5, 80, 66] Generated Node #0,3: 82:[5, 80, 66] Operation: 84-18=66 Exploring Operation: 84-80=4, Resulting Numbers: [5, 18, 4] Generated Node #0,4: 82:[5, 18, 4] Operation: 84-80=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[84, 80, 90], Operations: ['5*18=90'] Exploring Operation: 90-84=6, Resulting Numbers: [80, 6] Generated Node #0,0,0: 82:[80, 6] Operation: 90-84=6 Exploring Operation: 90-80=10, Resulting Numbers: [84, 10] Generated Node #0,0,1: 82:[84, 10] Operation: 90-80=10 Exploring Operation: 84-80=4, Resulting Numbers: [90, 4] Generated Node #0,0,2: 82:[90, 4] Operation: 84-80=4 Exploring Operation: 84+80=164, Resulting Numbers: [90, 164] Generated Node #0,0,3: 82:[90, 164] Operation: 84+80=164 Exploring Operation: 80+90=170, Resulting Numbers: [84, 170] Generated Node #0,0,4: 82:[84, 170] Operation: 80+90=170 Moving to Node #0,0,0 Current State: 82:[80, 6], Operations: ['5*18=90', '90-84=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[90, 4], Operations: ['5*18=90', '84-80=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,82 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[84, 10], Operations: ['5*18=90', '90-80=10'] Exploring Operation: 84*10=840, Resulting Numbers: [840] 840,82 unequal: No Solution Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 84+10=94, Resulting Numbers: [94] 94,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[90, 164], Operations: ['5*18=90', '84+80=164'] Exploring Operation: 90+164=254, Resulting Numbers: [254] 254,82 unequal: No Solution Exploring Operation: 164-90=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 90*164=14760, Resulting Numbers: [14760] 14760,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[84, 170], Operations: ['5*18=90', '80+90=170'] Exploring Operation: 170-84=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 84*170=14280, Resulting Numbers: [14280] 14280,82 unequal: No Solution Exploring Operation: 84+170=254, Resulting Numbers: [254] 254,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[84, 80, 13], Operations: ['18-5=13'] Exploring Operation: 84+13=97, Resulting Numbers: [80, 97] Generated Node #0,2,0: 82:[80, 97] Operation: 84+13=97 Exploring Operation: 84-13=71, Resulting Numbers: [80, 71] Generated Node #0,2,1: 82:[80, 71] Operation: 84-13=71 Exploring Operation: 80+13=93, Resulting Numbers: [84, 93] Generated Node #0,2,2: 82:[84, 93] Operation: 80+13=93 Exploring Operation: 80-13=67, Resulting Numbers: [84, 67] Generated Node #0,2,3: 82:[84, 67] Operation: 80-13=67 Exploring Operation: 84-80=4, Resulting Numbers: [13, 4] Generated Node #0,2,4: 82:[13, 4] Operation: 84-80=4 Moving to Node #0,2,1 Current State: 82:[80, 71], Operations: ['18-5=13', '84-13=71'] Exploring Operation: 80*71=5680, Resulting Numbers: [5680] 5680,82 unequal: No Solution Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 80+71=151, Resulting Numbers: [151] 151,82 unequal: No Solution Moving to Node #0,2,4 Current State: 82:[13, 4], Operations: ['18-5=13', '84-80=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[84, 93], Operations: ['18-5=13', '80+13=93'] Exploring Operation: 84*93=7812, Resulting Numbers: [7812] 7812,82 unequal: No Solution Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,82 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[80, 97], Operations: ['18-5=13', '84+13=97'] Exploring Operation: 80+97=177, Resulting Numbers: [177] 177,82 unequal: No Solution Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 80*97=7760, Resulting Numbers: [7760] 7760,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[84, 67], Operations: ['18-5=13', '80-13=67'] Exploring Operation: 84*67=5628, Resulting Numbers: [5628] 5628,82 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 84+67=151, Resulting Numbers: [151] 151,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[80, 18, 79], Operations: ['84-5=79'] Exploring Operation: 79-18=61, Resulting Numbers: [80, 61] Generated Node #0,1,0: 82:[80, 61] Operation: 79-18=61 Exploring Operation: 18+79=97, Resulting Numbers: [80, 97] Generated Node #0,1,1: 82:[80, 97] Operation: 18+79=97 Exploring Operation: 80+18=98, Resulting Numbers: [79, 98] Generated Node #0,1,2: 82:[79, 98] Operation: 80+18=98 Exploring Operation: 80-79=1, Resulting Numbers: [18, 1] Generated Node #0,1,3: 82:[18, 1] Operation: 80-79=1 Exploring Operation: 80-18=62, Resulting Numbers: [79, 62] Generated Node #0,1,4: 82:[79, 62] Operation: 80-18=62 Moving to Node #0,1,1 Current State: 82:[80, 97], Operations: ['84-5=79', '18+79=97'] Exploring Operation: 80+97=177, Resulting Numbers: [177] 177,82 unequal: No Solution Exploring Operation: 80*97=7760, Resulting Numbers: [7760] 7760,82 unequal: No Solution Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[18, 1], Operations: ['84-5=79', '80-79=1'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[79, 98], Operations: ['84-5=79', '80+18=98'] Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 79+98=177, Resulting Numbers: [177] 177,82 unequal: No Solution Exploring Operation: 79*98=7742, Resulting Numbers: [7742] 7742,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[80, 61], Operations: ['84-5=79', '79-18=61'] Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,82 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[79, 62], Operations: ['84-5=79', '80-18=62'] Exploring Operation: 79*62=4898, Resulting Numbers: [4898] 4898,82 unequal: No Solution Exploring Operation: 79-62=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 79+62=141, Resulting Numbers: [141] 141,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[5, 80, 66], Operations: ['84-18=66'] Exploring Operation: 5+80=85, Resulting Numbers: [66, 85] Generated Node #0,3,0: 82:[66, 85] Operation: 5+80=85 Exploring Operation: 80-66=14, Resulting Numbers: [5, 14] Generated Node #0,3,1: 82:[5, 14] Operation: 80-66=14 Exploring Operation: 5+66=71, Resulting Numbers: [80, 71] Generated Node #0,3,2: 82:[80, 71] Operation: 5+66=71 Exploring Operation: 80-5=75, Resulting Numbers: [66, 75] Generated Node #0,3,3: 82:[66, 75] Operation: 80-5=75 Exploring Operation: 66-5=61, Resulting Numbers: [80, 61] Generated Node #0,3,4: 82:[80, 61] Operation: 66-5=61 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[80, 71], Operations: ['84-18=66', '5+66=71'] Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 80*71=5680, Resulting Numbers: [5680] 5680,82 unequal: No Solution Exploring Operation: 80+71=151, Resulting Numbers: [151] 151,82 unequal: No Solution No 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: 82:[5, 14], Operations: ['84-18=66', '80-66=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,82 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,82 unequal: No Solution No 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: 82:[66, 85], Operations: ['84-18=66', '5+80=85'] Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 66+85=151, Resulting Numbers: [151] 151,82 unequal: No Solution Exploring Operation: 66*85=5610, Resulting Numbers: [5610] 5610,82 unequal: No Solution No 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: 82:[80, 61], Operations: ['84-18=66', '66-5=61'] Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,82 unequal: No Solution No 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: 82:[66, 75], Operations: ['84-18=66', '80-5=75'] Exploring Operation: 66+75=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 66*75=4950, Resulting Numbers: [4950] 4950,82 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[5, 18, 4], Operations: ['84-80=4'] Exploring Operation: 5-4=1, Resulting Numbers: [18, 1] Generated Node #0,4,0: 82:[18, 1] Operation: 5-4=1 Exploring Operation: 18-5=13, Resulting Numbers: [4, 13] Generated Node #0,4,1: 82:[4, 13] Operation: 18-5=13 Exploring Operation: 18*4=72, Resulting Numbers: [5, 72] Generated Node #0,4,2: 82:[5, 72] Operation: 18*4=72 Exploring Operation: 18-4=14, Resulting Numbers: [5, 14] Generated Node #0,4,3: 82:[5, 14] Operation: 18-4=14 Exploring Operation: 5*18=90, Resulting Numbers: [4, 90] Generated Node #0,4,4: 82:[4, 90] Operation: 5*18=90 Moving to Node #0,4,4 Current State: 82:[4, 90], Operations: ['84-80=4', '5*18=90'] Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,82 unequal: No Solution Moving to Node #0,4,2 Current State: 82:[5, 72], Operations: ['84-80=4', '18*4=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,82 unequal: No Solution Moving to Node #0,4,1 Current State: 82:[4, 13], Operations: ['84-80=4', '18-5=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[5, 14], Operations: ['84-80=4', '18-4=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,82 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,82 unequal: No Solution Moving to Node #0,4,0 Current State: 82:[18, 1], Operations: ['84-80=4', '5-4=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 27, 45, 83, 60 ]
42
[ "83-27=56", "45*56=2520", "2520/60=42" ]
Current State: 42:[27, 45, 83, 60], Operations: [] Exploring Operation: 83-27=56, Resulting Numbers: [45, 60, 56] Generated Node #2: [45, 60, 56] from Operation: 83-27=56 Current State: 42:[45, 60, 56], Operations: ['83-27=56'] Exploring Operation: 45*56=2520, Resulting Numbers: [60, 2520] Generated Node #3: [60, 2520] from Operation: 45*56=2520 Current State: 42:[60, 2520], Operations: ['83-27=56', '45*56=2520'] Exploring Operation: 2520/60=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[27, 45, 83, 60], Operations: [] Exploring Operation: 83-27=56, Resulting Numbers: [45, 60, 56] Generated Node #0,0: 42:[45, 60, 56] Operation: 83-27=56 Exploring Operation: 60-45=15, Resulting Numbers: [27, 83, 15] Generated Node #0,1: 42:[27, 83, 15] Operation: 60-45=15 Exploring Operation: 83-45=38, Resulting Numbers: [27, 60, 38] Generated Node #0,2: 42:[27, 60, 38] Operation: 83-45=38 Exploring Operation: 83-60=23, Resulting Numbers: [27, 45, 23] Generated Node #0,3: 42:[27, 45, 23] Operation: 83-60=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[27, 45, 23], Operations: ['83-60=23'] Exploring Operation: 27-23=4, Resulting Numbers: [45, 4] Generated Node #0,3,0: 42:[45, 4] Operation: 27-23=4 Exploring Operation: 27+23=50, Resulting Numbers: [45, 50] Generated Node #0,3,1: 42:[45, 50] Operation: 27+23=50 Exploring Operation: 45-27=18, Resulting Numbers: [23, 18] Generated Node #0,3,2: 42:[23, 18] Operation: 45-27=18 Exploring Operation: 45-23=22, Resulting Numbers: [27, 22] Generated Node #0,3,3: 42:[27, 22] Operation: 45-23=22 Moving to Node #0,3,0 Current State: 42:[45, 4], Operations: ['83-60=23', '27-23=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[23, 18], Operations: ['83-60=23', '45-27=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,42 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[27, 22], Operations: ['83-60=23', '45-23=22'] Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,42 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[45, 50], Operations: ['83-60=23', '27+23=50'] Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,42 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[27, 60, 38], Operations: ['83-45=38'] Exploring Operation: 60-38=22, Resulting Numbers: [27, 22] Generated Node #0,2,0: 42:[27, 22] Operation: 60-38=22 Exploring Operation: 27+38=65, Resulting Numbers: [60, 65] Generated Node #0,2,1: 42:[60, 65] Operation: 27+38=65 Exploring Operation: 60-27=33, Resulting Numbers: [38, 33] Generated Node #0,2,2: 42:[38, 33] Operation: 60-27=33 Exploring Operation: 38-27=11, Resulting Numbers: [60, 11] Generated Node #0,2,3: 42:[60, 11] Operation: 38-27=11 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[27, 22], Operations: ['83-45=38', '60-38=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,42 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,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,2,2 Current State: 42:[38, 33], Operations: ['83-45=38', '60-27=33'] Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,42 unequal: No Solution Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,42 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,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,2,3 Current State: 42:[60, 11], Operations: ['83-45=38', '38-27=11'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,42 unequal: No Solution Exploring Operation: 60*11=660, Resulting Numbers: [660] 660,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,2,1 Current State: 42:[60, 65], Operations: ['83-45=38', '27+38=65'] Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,42 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,42 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,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:[45, 60, 56], Operations: ['83-27=56'] Exploring Operation: 45+60=105, Resulting Numbers: [56, 105] Generated Node #0,0,0: 42:[56, 105] Operation: 45+60=105 Exploring Operation: 60-56=4, Resulting Numbers: [45, 4] Generated Node #0,0,1: 42:[45, 4] Operation: 60-56=4 Exploring Operation: 60-45=15, Resulting Numbers: [56, 15] Generated Node #0,0,2: 42:[56, 15] Operation: 60-45=15 Exploring Operation: 56-45=11, Resulting Numbers: [60, 11] Generated Node #0,0,3: 42:[60, 11] Operation: 56-45=11 Moving to Node #0,0,1 Current State: 42:[45, 4], Operations: ['83-27=56', '60-56=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,42 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[56, 15], Operations: ['83-27=56', '60-45=15'] Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,42 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[60, 11], Operations: ['83-27=56', '56-45=11'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,42 unequal: No Solution Exploring Operation: 60*11=660, Resulting Numbers: [660] 660,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[56, 105], Operations: ['83-27=56', '45+60=105'] Exploring Operation: 56+105=161, Resulting Numbers: [161] 161,42 unequal: No Solution Exploring Operation: 105-56=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 56*105=5880, Resulting Numbers: [5880] 5880,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[27, 83, 15], Operations: ['60-45=15'] Exploring Operation: 83-15=68, Resulting Numbers: [27, 68] Generated Node #0,1,0: 42:[27, 68] Operation: 83-15=68 Exploring Operation: 27-15=12, Resulting Numbers: [83, 12] Generated Node #0,1,1: 42:[83, 12] Operation: 27-15=12 Exploring Operation: 83-27=56, Resulting Numbers: [15, 56] Generated Node #0,1,2: 42:[15, 56] Operation: 83-27=56 Exploring Operation: 27+15=42, Resulting Numbers: [83, 42] Generated Node #0,1,3: 42:[83, 42] Operation: 27+15=42 Moving to Node #0,1,2 Current State: 42:[15, 56], Operations: ['60-45=15', '83-27=56'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 15*56=840, Resulting Numbers: [840] 840,42 unequal: No Solution Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[27, 68], Operations: ['60-45=15', '83-15=68'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[83, 42], Operations: ['60-45=15', '27+15=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 83*42=3486, Resulting Numbers: [3486] 3486,42 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[83, 12], Operations: ['60-45=15', '27-15=12'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,42 unequal: No Solution Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,42 unequal: No Solution Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,42 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
[ 76, 90, 34, 24 ]
85
[ "34-24=10", "90/10=9", "76+9=85" ]
Current State: 85:[76, 90, 34, 24], Operations: [] Exploring Operation: 34-24=10, Resulting Numbers: [76, 90, 10] Generated Node #2: [76, 90, 10] from Operation: 34-24=10 Current State: 85:[76, 90, 10], Operations: ['34-24=10'] Exploring Operation: 90/10=9, Resulting Numbers: [76, 9] Generated Node #3: [76, 9] from Operation: 90/10=9 Current State: 85:[76, 9], Operations: ['34-24=10', '90/10=9'] Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[76, 90, 34, 24], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [34, 24, 14] Generated Node #0,0: 85:[34, 24, 14] Operation: 90-76=14 Exploring Operation: 34-24=10, Resulting Numbers: [76, 90, 10] Generated Node #0,1: 85:[76, 90, 10] Operation: 34-24=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[76, 90, 10], Operations: ['34-24=10'] Exploring Operation: 76+10=86, Resulting Numbers: [90, 86] Generated Node #0,1,0: 85:[90, 86] Operation: 76+10=86 Exploring Operation: 90-76=14, Resulting Numbers: [10, 14] Generated Node #0,1,1: 85:[10, 14] Operation: 90-76=14 Moving to Node #0,1,0 Current State: 85:[90, 86], Operations: ['34-24=10', '76+10=86'] Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 90+86=176, Resulting Numbers: [176] 176,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[10, 14], Operations: ['34-24=10', '90-76=14'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,85 unequal: No Solution No 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: 85:[34, 24, 14], Operations: ['90-76=14'] Exploring Operation: 34-24=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 85:[14, 10] Operation: 34-24=10 Exploring Operation: 34-14=20, Resulting Numbers: [24, 20] Generated Node #0,0,1: 85:[24, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 85:[14, 10], Operations: ['90-76=14', '34-24=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[24, 20], Operations: ['90-76=14', '34-14=20'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,85 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
[ 39, 6, 48, 90 ]
37
[ "6+90=96", "96/48=2", "39-2=37" ]
Current State: 37:[39, 6, 48, 90], Operations: [] Exploring Operation: 6+90=96, Resulting Numbers: [39, 48, 96] Generated Node #2: [39, 48, 96] from Operation: 6+90=96 Current State: 37:[39, 48, 96], Operations: ['6+90=96'] Exploring Operation: 96/48=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 96/48=2 Current State: 37:[39, 2], Operations: ['6+90=96', '96/48=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[39, 6, 48, 90], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [6, 48, 51] Generated Node #0,0: 37:[6, 48, 51] Operation: 90-39=51 Exploring Operation: 90-48=42, Resulting Numbers: [39, 6, 42] Generated Node #0,1: 37:[39, 6, 42] Operation: 90-48=42 Exploring Operation: 48-6=42, Resulting Numbers: [39, 90, 42] Generated Node #0,2: 37:[39, 90, 42] Operation: 48-6=42 Exploring Operation: 90/6=15, Resulting Numbers: [39, 48, 15] Generated Node #0,3: 37:[39, 48, 15] Operation: 90/6=15 Moving to Node #0,3 Current State: 37:[39, 48, 15], Operations: ['90/6=15'] Exploring Operation: 48+15=63, Resulting Numbers: [39, 63] Generated Node #0,3,0: 37:[39, 63] Operation: 48+15=63 Exploring Operation: 39+15=54, Resulting Numbers: [48, 54] Generated Node #0,3,1: 37:[48, 54] Operation: 39+15=54 Exploring Operation: 48-15=33, Resulting Numbers: [39, 33] Generated Node #0,3,2: 37:[39, 33] Operation: 48-15=33 Exploring Operation: 39-15=24, Resulting Numbers: [48, 24] Generated Node #0,3,3: 37:[48, 24] Operation: 39-15=24 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[39, 33], Operations: ['90/6=15', '48-15=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,37 unequal: No Solution No 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: 37:[48, 24], Operations: ['90/6=15', '39-15=24'] Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 48*24=1152, Resulting Numbers: [1152] 1152,37 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,37 unequal: No Solution No 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: 37:[39, 63], Operations: ['90/6=15', '48+15=63'] Exploring Operation: 39+63=102, Resulting Numbers: [102] 102,37 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 39*63=2457, Resulting Numbers: [2457] 2457,37 unequal: No Solution No 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: 37:[48, 54], Operations: ['90/6=15', '39+15=54'] Exploring Operation: 48*54=2592, Resulting Numbers: [2592] 2592,37 unequal: No Solution Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 48+54=102, Resulting Numbers: [102] 102,37 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: 37:[39, 6, 42], Operations: ['90-48=42'] Exploring Operation: 6+42=48, Resulting Numbers: [39, 48] Generated Node #0,1,0: 37:[39, 48] Operation: 6+42=48 Exploring Operation: 39-6=33, Resulting Numbers: [42, 33] Generated Node #0,1,1: 37:[42, 33] Operation: 39-6=33 Exploring Operation: 42-6=36, Resulting Numbers: [39, 36] Generated Node #0,1,2: 37:[39, 36] Operation: 42-6=36 Exploring Operation: 39+6=45, Resulting Numbers: [42, 45] Generated Node #0,1,3: 37:[42, 45] Operation: 39+6=45 Moving to Node #0,0 Current State: 37:[6, 48, 51], Operations: ['90-39=51'] Exploring Operation: 51-6=45, Resulting Numbers: [48, 45] Generated Node #0,0,0: 37:[48, 45] Operation: 51-6=45 Exploring Operation: 6+51=57, Resulting Numbers: [48, 57] Generated Node #0,0,1: 37:[48, 57] Operation: 6+51=57 Exploring Operation: 48-6=42, Resulting Numbers: [51, 42] Generated Node #0,0,2: 37:[51, 42] Operation: 48-6=42 Exploring Operation: 6+48=54, Resulting Numbers: [51, 54] Generated Node #0,0,3: 37:[51, 54] Operation: 6+48=54 Moving to Node #0,2 Current State: 37:[39, 90, 42], Operations: ['48-6=42'] Exploring Operation: 90-39=51, Resulting Numbers: [42, 51] Generated Node #0,2,0: 37:[42, 51] Operation: 90-39=51 Exploring Operation: 39+90=129, Resulting Numbers: [42, 129] Generated Node #0,2,1: 37:[42, 129] Operation: 39+90=129 Exploring Operation: 42-39=3, Resulting Numbers: [90, 3] Generated Node #0,2,2: 37:[90, 3] Operation: 42-39=3 Exploring Operation: 90-42=48, Resulting Numbers: [39, 48] Generated Node #0,2,3: 37:[39, 48] Operation: 90-42=48 Moving to Node #0,1,2 Current State: 37:[39, 36], Operations: ['90-48=42', '42-6=36'] Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[42, 33], Operations: ['90-48=42', '39-6=33'] Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 42*33=1386, Resulting Numbers: [1386] 1386,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[39, 48], Operations: ['90-48=42', '6+42=48'] Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,37 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,37 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[42, 45], Operations: ['90-48=42', '39+6=45'] Exploring Operation: 42*45=1890, Resulting Numbers: [1890] 1890,37 unequal: No Solution Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,37 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[39, 48], Operations: ['48-6=42', '90-42=48'] Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,37 unequal: No Solution Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[51, 42], Operations: ['90-39=51', '48-6=42'] Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[48, 45], Operations: ['90-39=51', '51-6=45'] Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[42, 51], Operations: ['48-6=42', '90-39=51'] Exploring Operation: 42*51=2142, Resulting Numbers: [2142] 2142,37 unequal: No Solution Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[48, 57], Operations: ['90-39=51', '6+51=57'] Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,37 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[51, 54], Operations: ['90-39=51', '6+48=54'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 51*54=2754, Resulting Numbers: [2754] 2754,37 unequal: No Solution Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[90, 3], Operations: ['48-6=42', '42-39=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,37 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 90*3=270, Resulting Numbers: [270] 270,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[42, 129], Operations: ['48-6=42', '39+90=129'] Exploring Operation: 129-42=87, Resulting Numbers: [87] 87,37 unequal: No Solution Exploring Operation: 42+129=171, Resulting Numbers: [171] 171,37 unequal: No Solution Exploring Operation: 42*129=5418, Resulting Numbers: [5418] 5418,37 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 98, 44, 77, 35 ]
21
[ "98*44=4312", "4312/77=56", "56-35=21" ]
Current State: 21:[98, 44, 77, 35], Operations: [] Exploring Operation: 98*44=4312, Resulting Numbers: [77, 35, 4312] Generated Node #2: [77, 35, 4312] from Operation: 98*44=4312 Current State: 21:[77, 35, 4312], Operations: ['98*44=4312'] Exploring Operation: 4312/77=56, Resulting Numbers: [35, 56] Generated Node #3: [35, 56] from Operation: 4312/77=56 Current State: 21:[35, 56], Operations: ['98*44=4312', '4312/77=56'] Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[98, 44, 77, 35], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [44, 35, 21] Generated Node #0,0: 21:[44, 35, 21] Operation: 98-77=21 Exploring Operation: 98-44=54, Resulting Numbers: [77, 35, 54] Generated Node #0,1: 21:[77, 35, 54] Operation: 98-44=54 Moving to Node #0,0 Current State: 21:[44, 35, 21], Operations: ['98-77=21'] Exploring Operation: 44-35=9, Resulting Numbers: [21, 9] Generated Node #0,0,0: 21:[21, 9] Operation: 44-35=9 Exploring Operation: 44-21=23, Resulting Numbers: [35, 23] Generated Node #0,0,1: 21:[35, 23] Operation: 44-21=23 Moving to Node #0,1 Current State: 21:[77, 35, 54], Operations: ['98-44=54'] Exploring Operation: 77-35=42, Resulting Numbers: [54, 42] Generated Node #0,1,0: 21:[54, 42] Operation: 77-35=42 Exploring Operation: 77-54=23, Resulting Numbers: [35, 23] Generated Node #0,1,1: 21:[35, 23] Operation: 77-54=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[35, 23], Operations: ['98-44=54', '77-54=23'] Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,21 unequal: No Solution Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[54, 42], Operations: ['98-44=54', '77-35=42'] Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,21 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,21 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: 21:[21, 9], Operations: ['98-77=21', '44-35=9'] Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[35, 23], Operations: ['98-77=21', '44-21=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,21 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 76, 26, 50, 75 ]
25
[ "76-26=50", "75-50=25", "50-25=25" ]
Current State: 25:[76, 26, 50, 75], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [50, 75, 50] Generated Node #2: [50, 75, 50] from Operation: 76-26=50 Current State: 25:[50, 75, 50], Operations: ['76-26=50'] Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[76, 26, 50, 75], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [26, 50, 1] Generated Node #0,0: 25:[26, 50, 1] Operation: 76-75=1 Exploring Operation: 76-50=26, Resulting Numbers: [26, 75, 26] Generated Node #0,1: 25:[26, 75, 26] Operation: 76-50=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[26, 50, 1], Operations: ['76-75=1'] Exploring Operation: 26-1=25, Resulting Numbers: [50, 25] Generated Node #0,0,0: 25:[50, 25] Operation: 26-1=25 Exploring Operation: 50-26=24, Resulting Numbers: [1, 24] Generated Node #0,0,1: 25:[1, 24] Operation: 50-26=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[1, 24], Operations: ['76-75=1', '50-26=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[76, 26, 50, 75], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [26, 50, 1] Generated Node #0,0: 25:[26, 50, 1] Operation: 76-75=1 Moving to Node #0,0 Current State: 25:[26, 50, 1], Operations: ['76-75=1'] Exploring Operation: 50-26=24, Resulting Numbers: [1, 24] Generated Node #0,0,1: 25:[1, 24] Operation: 50-26=24 Moving to Node #0,0,1 Current State: 25:[1, 24], Operations: ['76-75=1', '50-26=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 11, 72, 81, 59 ]
57
[ "11+72=83", "81+59=140", "140-83=57" ]
Current State: 57:[11, 72, 81, 59], Operations: [] Exploring Operation: 11+72=83, Resulting Numbers: [81, 59, 83] Generated Node #2: [81, 59, 83] from Operation: 11+72=83 Current State: 57:[81, 59, 83], Operations: ['11+72=83'] Exploring Operation: 81+59=140, Resulting Numbers: [83, 140] Generated Node #3: [83, 140] from Operation: 81+59=140 Current State: 57:[83, 140], Operations: ['11+72=83', '81+59=140'] Exploring Operation: 140-83=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[11, 72, 81, 59], Operations: [] Exploring Operation: 81-11=70, Resulting Numbers: [72, 59, 70] Generated Node #0,0: 57:[72, 59, 70] Operation: 81-11=70 Exploring Operation: 81-72=9, Resulting Numbers: [11, 59, 9] Generated Node #0,1: 57:[11, 59, 9] Operation: 81-72=9 Exploring Operation: 72-11=61, Resulting Numbers: [81, 59, 61] Generated Node #0,2: 57:[81, 59, 61] Operation: 72-11=61 Exploring Operation: 81-59=22, Resulting Numbers: [11, 72, 22] Generated Node #0,3: 57:[11, 72, 22] Operation: 81-59=22 Moving to Node #0,1 Current State: 57:[11, 59, 9], Operations: ['81-72=9'] Exploring Operation: 59-11=48, Resulting Numbers: [9, 48] Generated Node #0,1,0: 57:[9, 48] Operation: 59-11=48 Exploring Operation: 11-9=2, Resulting Numbers: [59, 2] Generated Node #0,1,1: 57:[59, 2] Operation: 11-9=2 Exploring Operation: 59-9=50, Resulting Numbers: [11, 50] Generated Node #0,1,2: 57:[11, 50] Operation: 59-9=50 Exploring Operation: 11+9=20, Resulting Numbers: [59, 20] Generated Node #0,1,3: 57:[59, 20] Operation: 11+9=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[59, 2], Operations: ['81-72=9', '11-9=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[11, 72, 81, 59], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [11, 59, 9] Generated Node #0,1: 57:[11, 59, 9] Operation: 81-72=9 Moving to Node #0,1 Current State: 57:[11, 59, 9], Operations: ['81-72=9'] Exploring Operation: 11-9=2, Resulting Numbers: [59, 2] Generated Node #0,1,1: 57:[59, 2] Operation: 11-9=2 Moving to Node #0,1,1 Current State: 57:[59, 2], Operations: ['81-72=9', '11-9=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 34, 2, 38, 34 ]
32
[ "34+2=36", "38-34=4", "36-4=32" ]
Current State: 32:[34, 2, 38, 34], Operations: [] Exploring Operation: 34+2=36, Resulting Numbers: [38, 36] Generated Node #2: [38, 36] from Operation: 34+2=36 Current State: 32:[38, 36], Operations: ['34+2=36'] Exploring Operation: 38-34=4, Resulting Numbers: [36, 4] Generated Node #3: [36, 4] from Operation: 38-34=4 Current State: 32:[36, 4], Operations: ['34+2=36', '38-34=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[34, 2, 38, 34], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [34, 2, 4] Generated Node #0,0: 32:[34, 2, 4] Operation: 38-34=4 Exploring Operation: 38-34=4, Resulting Numbers: [2, 34, 4] Generated Node #0,1: 32:[2, 34, 4] Operation: 38-34=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[34, 2, 4], Operations: ['38-34=4'] Exploring Operation: 34/2=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 32:[4, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [4, 32] Generated Node #0,0,1: 32:[4, 32] Operation: 34-2=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[4, 32], Operations: ['38-34=4', '34-2=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[4, 17], Operations: ['38-34=4', '34/2=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[2, 34, 4], Operations: ['38-34=4'] Exploring Operation: 34/2=17, Resulting Numbers: [4, 17] Generated Node #0,1,0: 32:[4, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [4, 32] Generated Node #0,1,1: 32:[4, 32] Operation: 34-2=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[4, 32], Operations: ['38-34=4', '34-2=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[4, 17], Operations: ['38-34=4', '34/2=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 42, 51, 4, 69 ]
82
[ "51-42=9", "4+69=73", "9+73=82" ]
Current State: 82:[42, 51, 4, 69], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [4, 69, 9] Generated Node #2: [4, 69, 9] from Operation: 51-42=9 Current State: 82:[4, 69, 9], Operations: ['51-42=9'] Exploring Operation: 4+69=73, Resulting Numbers: [9, 73] Generated Node #3: [9, 73] from Operation: 4+69=73 Current State: 82:[9, 73], Operations: ['51-42=9', '4+69=73'] Exploring Operation: 9+73=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[42, 51, 4, 69], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [42, 4, 18] Generated Node #0,0: 82:[42, 4, 18] Operation: 69-51=18 Exploring Operation: 51-4=47, Resulting Numbers: [42, 69, 47] Generated Node #0,1: 82:[42, 69, 47] Operation: 51-4=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[42, 4, 18], Operations: ['69-51=18'] Exploring Operation: 18-4=14, Resulting Numbers: [42, 14] Generated Node #0,0,0: 82:[42, 14] Operation: 18-4=14 Exploring Operation: 4*18=72, Resulting Numbers: [42, 72] Generated Node #0,0,1: 82:[42, 72] Operation: 4*18=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[42, 72], Operations: ['69-51=18', '4*18=72'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,82 unequal: No Solution No 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: 82:[42, 14], Operations: ['69-51=18', '18-4=14'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,82 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: 82:[42, 69, 47], Operations: ['51-4=47'] Exploring Operation: 47-42=5, Resulting Numbers: [69, 5] Generated Node #0,1,0: 82:[69, 5] Operation: 47-42=5 Exploring Operation: 69-42=27, Resulting Numbers: [47, 27] Generated Node #0,1,1: 82:[47, 27] Operation: 69-42=27 Moving to Node #0,1,0 Current State: 82:[69, 5], Operations: ['51-4=47', '47-42=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,82 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[47, 27], Operations: ['51-4=47', '69-42=27'] Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,82 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
[ 5, 71, 64, 47 ]
49
[ "71-5=66", "64-47=17", "66-17=49" ]
Current State: 49:[5, 71, 64, 47], Operations: [] Exploring Operation: 71-5=66, Resulting Numbers: [64, 47, 66] Generated Node #2: [64, 47, 66] from Operation: 71-5=66 Current State: 49:[64, 47, 66], Operations: ['71-5=66'] Exploring Operation: 64-47=17, Resulting Numbers: [66, 17] Generated Node #3: [66, 17] from Operation: 64-47=17 Current State: 49:[66, 17], Operations: ['71-5=66', '64-47=17'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[5, 71, 64, 47], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [5, 47, 7] Generated Node #0,0: 49:[5, 47, 7] Operation: 71-64=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[5, 47, 7], Operations: ['71-64=7'] Exploring Operation: 5+47=52, Resulting Numbers: [7, 52] Generated Node #0,0,0: 49:[7, 52] Operation: 5+47=52 Moving to Node #0,0,0 Current State: 49:[7, 52], Operations: ['71-64=7', '5+47=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 73, 42, 33, 97 ]
99
[ "73-42=31", "33+97=130", "130-31=99" ]
Current State: 99:[73, 42, 33, 97], Operations: [] Exploring Operation: 73-42=31, Resulting Numbers: [33, 97, 31] Generated Node #2: [33, 97, 31] from Operation: 73-42=31 Current State: 99:[33, 97, 31], Operations: ['73-42=31'] Exploring Operation: 33+97=130, Resulting Numbers: [31, 130] Generated Node #3: [31, 130] from Operation: 33+97=130 Current State: 99:[31, 130], Operations: ['73-42=31', '33+97=130'] Exploring Operation: 130-31=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[73, 42, 33, 97], Operations: [] Exploring Operation: 73+42=115, Resulting Numbers: [33, 97, 115] Generated Node #0,0: 99:[33, 97, 115] Operation: 73+42=115 Exploring Operation: 73-42=31, Resulting Numbers: [33, 97, 31] Generated Node #0,1: 99:[33, 97, 31] Operation: 73-42=31 Exploring Operation: 73+33=106, Resulting Numbers: [42, 97, 106] Generated Node #0,2: 99:[42, 97, 106] Operation: 73+33=106 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[33, 97, 31], Operations: ['73-42=31'] Exploring Operation: 97+31=128, Resulting Numbers: [33, 128] Generated Node #0,1,0: 99:[33, 128] Operation: 97+31=128 Exploring Operation: 33-31=2, Resulting Numbers: [97, 2] Generated Node #0,1,1: 99:[97, 2] Operation: 33-31=2 Exploring Operation: 33+97=130, Resulting Numbers: [31, 130] Generated Node #0,1,2: 99:[31, 130] Operation: 33+97=130 Moving to Node #0,1,1 Current State: 99:[97, 2], Operations: ['73-42=31', '33-31=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[73, 42, 33, 97], Operations: [] Exploring Operation: 73-42=31, Resulting Numbers: [33, 97, 31] Generated Node #0,1: 99:[33, 97, 31] Operation: 73-42=31 Moving to Node #0,1 Current State: 99:[33, 97, 31], Operations: ['73-42=31'] Exploring Operation: 33-31=2, Resulting Numbers: [97, 2] Generated Node #0,1,1: 99:[97, 2] Operation: 33-31=2 Moving to Node #0,1,1 Current State: 99:[97, 2], Operations: ['73-42=31', '33-31=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 56, 35, 77, 92 ]
69
[ "77-35=42", "92*42=3864", "3864/56=69" ]
Current State: 69:[56, 35, 77, 92], Operations: [] Exploring Operation: 77-35=42, Resulting Numbers: [56, 92, 42] Generated Node #2: [56, 92, 42] from Operation: 77-35=42 Current State: 69:[56, 92, 42], Operations: ['77-35=42'] Exploring Operation: 92*42=3864, Resulting Numbers: [56, 3864] Generated Node #3: [56, 3864] from Operation: 92*42=3864 Current State: 69:[56, 3864], Operations: ['77-35=42', '92*42=3864'] Exploring Operation: 3864/56=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[56, 35, 77, 92], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [77, 92, 21] Generated Node #0,0: 69:[77, 92, 21] Operation: 56-35=21 Moving to Node #0,0 Current State: 69:[77, 92, 21], Operations: ['56-35=21'] Exploring Operation: 92-77=15, Resulting Numbers: [21, 15] Generated Node #0,0,0: 69:[21, 15] Operation: 92-77=15 Moving to Node #0,0,0 Current State: 69:[21, 15], Operations: ['56-35=21', '92-77=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 42, 21, 4, 63 ]
11
[ "42*4=168", "63+168=231", "231/21=11" ]
Current State: 11:[42, 21, 4, 63], Operations: [] Exploring Operation: 42*4=168, Resulting Numbers: [21, 63, 168] Generated Node #2: [21, 63, 168] from Operation: 42*4=168 Current State: 11:[21, 63, 168], Operations: ['42*4=168'] Exploring Operation: 63+168=231, Resulting Numbers: [21, 231] Generated Node #3: [21, 231] from Operation: 63+168=231 Current State: 11:[21, 231], Operations: ['42*4=168', '63+168=231'] Exploring Operation: 231/21=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[42, 21, 4, 63], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [21, 4, 21] Generated Node #0,0: 11:[21, 4, 21] Operation: 63-42=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[21, 4, 21], Operations: ['63-42=21'] Exploring Operation: 21-4=17, Resulting Numbers: [21, 17] Generated Node #0,0,0: 11:[21, 17] Operation: 21-4=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[21, 17], Operations: ['63-42=21', '21-4=17'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 48, 45, 17, 75 ]
95
[ "48-45=3", "17+75=92", "3+92=95" ]
Current State: 95:[48, 45, 17, 75], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [17, 75, 3] Generated Node #2: [17, 75, 3] from Operation: 48-45=3 Current State: 95:[17, 75, 3], Operations: ['48-45=3'] Exploring Operation: 17+75=92, Resulting Numbers: [3, 92] Generated Node #3: [3, 92] from Operation: 17+75=92 Current State: 95:[3, 92], Operations: ['48-45=3', '17+75=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[48, 45, 17, 75], Operations: [] Exploring Operation: 48+45=93, Resulting Numbers: [17, 75, 93] Generated Node #0,0: 95:[17, 75, 93] Operation: 48+45=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[17, 75, 93], Operations: ['48+45=93'] Exploring Operation: 93-75=18, Resulting Numbers: [17, 18] Generated Node #0,0,0: 95:[17, 18] Operation: 93-75=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[17, 18], Operations: ['48+45=93', '93-75=18'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,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
[ 12, 21, 19, 56 ]
29
[ "19-12=7", "56/7=8", "21+8=29" ]
Current State: 29:[12, 21, 19, 56], Operations: [] Exploring Operation: 19-12=7, Resulting Numbers: [21, 56, 7] Generated Node #2: [21, 56, 7] from Operation: 19-12=7 Current State: 29:[21, 56, 7], Operations: ['19-12=7'] Exploring Operation: 56/7=8, Resulting Numbers: [21, 8] Generated Node #3: [21, 8] from Operation: 56/7=8 Current State: 29:[21, 8], Operations: ['19-12=7', '56/7=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[12, 21, 19, 56], Operations: [] Exploring Operation: 56-12=44, Resulting Numbers: [21, 19, 44] Generated Node #0,0: 29:[21, 19, 44] Operation: 56-12=44 Exploring Operation: 56-21=35, Resulting Numbers: [12, 19, 35] Generated Node #0,1: 29:[12, 19, 35] Operation: 56-21=35 Moving to Node #0,0 Current State: 29:[21, 19, 44], Operations: ['56-12=44'] Exploring Operation: 44-19=25, Resulting Numbers: [21, 25] Generated Node #0,0,0: 29:[21, 25] Operation: 44-19=25 Exploring Operation: 44-21=23, Resulting Numbers: [19, 23] Generated Node #0,0,1: 29:[19, 23] Operation: 44-21=23 Moving to Node #0,1 Current State: 29:[12, 19, 35], Operations: ['56-21=35'] Exploring Operation: 12+19=31, Resulting Numbers: [35, 31] Generated Node #0,1,0: 29:[35, 31] Operation: 12+19=31 Exploring Operation: 35-12=23, Resulting Numbers: [19, 23] Generated Node #0,1,1: 29:[19, 23] Operation: 35-12=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[35, 31], Operations: ['56-21=35', '12+19=31'] Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,29 unequal: No Solution No 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: 29:[19, 23], Operations: ['56-21=35', '35-12=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,29 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: 29:[21, 25], Operations: ['56-12=44', '44-19=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[19, 23], Operations: ['56-12=44', '44-21=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,29 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 62, 92, 64, 85 ]
14
[ "64-62=2", "92-85=7", "2*7=14" ]
Current State: 14:[62, 92, 64, 85], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [92, 85, 2] Generated Node #2: [92, 85, 2] from Operation: 64-62=2 Current State: 14:[92, 85, 2], Operations: ['64-62=2'] Exploring Operation: 92-85=7, Resulting Numbers: [2, 7] Generated Node #3: [2, 7] from Operation: 92-85=7 Current State: 14:[2, 7], Operations: ['64-62=2', '92-85=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[62, 92, 64, 85], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [62, 64, 7] Generated Node #0,0: 14:[62, 64, 7] Operation: 92-85=7 Exploring Operation: 92-64=28, Resulting Numbers: [62, 85, 28] Generated Node #0,1: 14:[62, 85, 28] Operation: 92-64=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[62, 64, 7], Operations: ['92-85=7'] Exploring Operation: 62-7=55, Resulting Numbers: [64, 55] Generated Node #0,0,0: 14:[64, 55] Operation: 62-7=55 Exploring Operation: 64-62=2, Resulting Numbers: [7, 2] Generated Node #0,0,1: 14:[7, 2] Operation: 64-62=2 Moving to Node #0,0,1 Current State: 14:[7, 2], Operations: ['92-85=7', '64-62=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[62, 92, 64, 85], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [62, 64, 7] Generated Node #0,0: 14:[62, 64, 7] Operation: 92-85=7 Moving to Node #0,0 Current State: 14:[62, 64, 7], Operations: ['92-85=7'] Exploring Operation: 64-62=2, Resulting Numbers: [7, 2] Generated Node #0,0,1: 14:[7, 2] Operation: 64-62=2 Moving to Node #0,0,1 Current State: 14:[7, 2], Operations: ['92-85=7', '64-62=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 65, 29, 78, 80 ]
67
[ "78*80=6240", "6240/65=96", "96-29=67" ]
Current State: 67:[65, 29, 78, 80], Operations: [] Exploring Operation: 78*80=6240, Resulting Numbers: [65, 29, 6240] Generated Node #2: [65, 29, 6240] from Operation: 78*80=6240 Current State: 67:[65, 29, 6240], Operations: ['78*80=6240'] Exploring Operation: 6240/65=96, Resulting Numbers: [29, 96] Generated Node #3: [29, 96] from Operation: 6240/65=96 Current State: 67:[29, 96], Operations: ['78*80=6240', '6240/65=96'] Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[65, 29, 78, 80], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [65, 78, 51] Generated Node #0,0: 67:[65, 78, 51] Operation: 80-29=51 Exploring Operation: 65+29=94, Resulting Numbers: [78, 80, 94] Generated Node #0,1: 67:[78, 80, 94] Operation: 65+29=94 Exploring Operation: 78-29=49, Resulting Numbers: [65, 80, 49] Generated Node #0,2: 67:[65, 80, 49] Operation: 78-29=49 Moving to Node #0,0 Current State: 67:[65, 78, 51], Operations: ['80-29=51'] Exploring Operation: 78-51=27, Resulting Numbers: [65, 27] Generated Node #0,0,0: 67:[65, 27] Operation: 78-51=27 Exploring Operation: 65-51=14, Resulting Numbers: [78, 14] Generated Node #0,0,1: 67:[78, 14] Operation: 65-51=14 Exploring Operation: 65+51=116, Resulting Numbers: [78, 116] Generated Node #0,0,2: 67:[78, 116] Operation: 65+51=116 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[65, 27], Operations: ['80-29=51', '78-51=27'] Exploring Operation: 65+27=92, Resulting Numbers: [92] 92,67 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 65*27=1755, Resulting Numbers: [1755] 1755,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[78, 116], Operations: ['80-29=51', '65+51=116'] Exploring Operation: 116-78=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 78*116=9048, Resulting Numbers: [9048] 9048,67 unequal: No Solution Exploring Operation: 78+116=194, Resulting Numbers: [194] 194,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[78, 14], Operations: ['80-29=51', '65-51=14'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,67 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,67 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: 67:[65, 80, 49], Operations: ['78-29=49'] Exploring Operation: 65+49=114, Resulting Numbers: [80, 114] Generated Node #0,2,0: 67:[80, 114] Operation: 65+49=114 Exploring Operation: 80-49=31, Resulting Numbers: [65, 31] Generated Node #0,2,1: 67:[65, 31] Operation: 80-49=31 Exploring Operation: 65-49=16, Resulting Numbers: [80, 16] Generated Node #0,2,2: 67:[80, 16] Operation: 65-49=16 Moving to Node #0,1 Current State: 67:[78, 80, 94], Operations: ['65+29=94'] Exploring Operation: 94-78=16, Resulting Numbers: [80, 16] Generated Node #0,1,0: 67:[80, 16] Operation: 94-78=16 Exploring Operation: 94-80=14, Resulting Numbers: [78, 14] Generated Node #0,1,1: 67:[78, 14] Operation: 94-80=14 Exploring Operation: 80-78=2, Resulting Numbers: [94, 2] Generated Node #0,1,2: 67:[94, 2] Operation: 80-78=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[80, 16], Operations: ['65+29=94', '94-78=16'] Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[78, 14], Operations: ['65+29=94', '94-80=14'] Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,67 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[94, 2], Operations: ['65+29=94', '80-78=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 67:[65, 31], Operations: ['78-29=49', '80-49=31'] Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,67 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[80, 114], Operations: ['78-29=49', '65+49=114'] Exploring Operation: 80+114=194, Resulting Numbers: [194] 194,67 unequal: No Solution Exploring Operation: 114-80=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 80*114=9120, Resulting Numbers: [9120] 9120,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[80, 16], Operations: ['78-29=49', '65-49=16'] Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,67 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 17, 5, 72, 55 ]
68
[ "17*5=85", "72-55=17", "85-17=68" ]
Current State: 68:[17, 5, 72, 55], Operations: [] Exploring Operation: 17*5=85, Resulting Numbers: [72, 55, 85] Generated Node #2: [72, 55, 85] from Operation: 17*5=85 Current State: 68:[72, 55, 85], Operations: ['17*5=85'] Exploring Operation: 72-55=17, Resulting Numbers: [85, 17] Generated Node #3: [85, 17] from Operation: 72-55=17 Current State: 68:[85, 17], Operations: ['17*5=85', '72-55=17'] Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[17, 5, 72, 55], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [17, 5, 17] Generated Node #0,0: 68:[17, 5, 17] Operation: 72-55=17 Exploring Operation: 55-17=38, Resulting Numbers: [5, 72, 38] Generated Node #0,1: 68:[5, 72, 38] Operation: 55-17=38 Exploring Operation: 17+55=72, Resulting Numbers: [5, 72, 72] Generated Node #0,2: 68:[5, 72, 72] Operation: 17+55=72 Moving to Node #0,0 Current State: 68:[17, 5, 17], Operations: ['72-55=17'] Exploring Operation: 17-17=0, Resulting Numbers: [5, 0] Generated Node #0,0,0: 68:[5, 0] Operation: 17-17=0 Exploring Operation: 17+17=34, Resulting Numbers: [5, 34] Generated Node #0,0,1: 68:[5, 34] Operation: 17+17=34 Exploring Operation: 17/17=1, Resulting Numbers: [5, 1] Generated Node #0,0,2: 68:[5, 1] Operation: 17/17=1 Moving to Node #0,1 Current State: 68:[5, 72, 38], Operations: ['55-17=38'] Exploring Operation: 38-5=33, Resulting Numbers: [72, 33] Generated Node #0,1,0: 68:[72, 33] Operation: 38-5=33 Exploring Operation: 72-5=67, Resulting Numbers: [38, 67] Generated Node #0,1,1: 68:[38, 67] Operation: 72-5=67 Exploring Operation: 72-38=34, Resulting Numbers: [5, 34] Generated Node #0,1,2: 68:[5, 34] Operation: 72-38=34 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[5, 34], Operations: ['55-17=38', '72-38=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,68 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,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,0 Current State: 68:[72, 33], Operations: ['55-17=38', '38-5=33'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 72*33=2376, Resulting Numbers: [2376] 2376,68 unequal: No Solution Exploring Operation: 72+33=105, Resulting Numbers: [105] 105,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,1 Current State: 68:[38, 67], Operations: ['55-17=38', '72-5=67'] Exploring Operation: 38+67=105, Resulting Numbers: [105] 105,68 unequal: No Solution Exploring Operation: 38*67=2546, Resulting Numbers: [2546] 2546,68 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,68 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: 68:[5, 72, 72], Operations: ['17+55=72'] Exploring Operation: 72/72=1, Resulting Numbers: [5, 1] Generated Node #0,2,0: 68:[5, 1] Operation: 72/72=1 Exploring Operation: 72-5=67, Resulting Numbers: [72, 67] Generated Node #0,2,1: 68:[72, 67] Operation: 72-5=67 Exploring Operation: 72-72=0, Resulting Numbers: [5, 0] Generated Node #0,2,2: 68:[5, 0] Operation: 72-72=0 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[5, 1], Operations: ['17+55=72', '72/72=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,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,2,2 Current State: 68:[5, 0], Operations: ['17+55=72', '72-72=0'] Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,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,2,1 Current State: 68:[72, 67], Operations: ['17+55=72', '72-5=67'] Exploring Operation: 72+67=139, Resulting Numbers: [139] 139,68 unequal: No Solution Exploring Operation: 72*67=4824, Resulting Numbers: [4824] 4824,68 unequal: No Solution Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,68 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: 68:[5, 34], Operations: ['72-55=17', '17+17=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[5, 1], Operations: ['72-55=17', '17/17=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[5, 0], Operations: ['72-55=17', '17-17=0'] Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,68 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 81, 28, 93, 2 ]
80
[ "81-28=53", "93-53=40", "2*40=80" ]
Current State: 80:[81, 28, 93, 2], Operations: [] Exploring Operation: 81-28=53, Resulting Numbers: [93, 2, 53] Generated Node #2: [93, 2, 53] from Operation: 81-28=53 Current State: 80:[93, 2, 53], Operations: ['81-28=53'] Exploring Operation: 93-53=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 93-53=40 Current State: 80:[2, 40], Operations: ['81-28=53', '93-53=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[81, 28, 93, 2], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [28, 2, 12] Generated Node #0,0: 80:[28, 2, 12] Operation: 93-81=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[28, 2, 12], Operations: ['93-81=12'] Exploring Operation: 28+12=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 80:[2, 40] Operation: 28+12=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[2, 40], Operations: ['93-81=12', '28+12=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[81, 28, 93, 2], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [28, 2, 12] Generated Node #0,0: 80:[28, 2, 12] Operation: 93-81=12 Moving to Node #0,0 Current State: 80:[28, 2, 12], Operations: ['93-81=12'] Exploring Operation: 28+12=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 80:[2, 40] Operation: 28+12=40 Moving to Node #0,0,0 Current State: 80:[2, 40], Operations: ['93-81=12', '28+12=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic