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
[ 46, 43, 75, 71 ]
41
[ "46*71=3266", "43*75=3225", "3266-3225=41" ]
Current State: 41:[46, 43, 75, 71], Operations: [] Exploring Operation: 46*71=3266, Resulting Numbers: [43, 75, 3266] Generated Node #2: [43, 75, 3266] from Operation: 46*71=3266 Current State: 41:[43, 75, 3266], Operations: ['46*71=3266'] Exploring Operation: 43*75=3225, Resulting Numbers: [3266, 3225] Generated Node #3: [3266, 3225] from Operation: 43*75=3225 Current State: 41:[3266, 3225], Operations: ['46*71=3266', '43*75=3225'] Exploring Operation: 3266-3225=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[46, 43, 75, 71], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [46, 43, 4] Generated Node #0,0: 41:[46, 43, 4] Operation: 75-71=4 Exploring Operation: 71-43=28, Resulting Numbers: [46, 75, 28] Generated Node #0,1: 41:[46, 75, 28] Operation: 71-43=28 Exploring Operation: 75-46=29, Resulting Numbers: [43, 71, 29] Generated Node #0,2: 41:[43, 71, 29] Operation: 75-46=29 Exploring Operation: 71-46=25, Resulting Numbers: [43, 75, 25] Generated Node #0,3: 41:[43, 75, 25] Operation: 71-46=25 Exploring Operation: 75-43=32, Resulting Numbers: [46, 71, 32] Generated Node #0,4: 41:[46, 71, 32] Operation: 75-43=32 Moving to Node #0,0 Current State: 41:[46, 43, 4], Operations: ['75-71=4'] Exploring Operation: 46-4=42, Resulting Numbers: [43, 42] Generated Node #0,0,0: 41:[43, 42] Operation: 46-4=42 Exploring Operation: 43+4=47, Resulting Numbers: [46, 47] Generated Node #0,0,1: 41:[46, 47] Operation: 43+4=47 Exploring Operation: 46+4=50, Resulting Numbers: [43, 50] Generated Node #0,0,2: 41:[43, 50] Operation: 46+4=50 Exploring Operation: 43-4=39, Resulting Numbers: [46, 39] Generated Node #0,0,3: 41:[46, 39] Operation: 43-4=39 Exploring Operation: 46-43=3, Resulting Numbers: [4, 3] Generated Node #0,0,4: 41:[4, 3] Operation: 46-43=3 Moving to Node #0,4 Current State: 41:[46, 71, 32], Operations: ['75-43=32'] Exploring Operation: 46-32=14, Resulting Numbers: [71, 14] Generated Node #0,4,0: 41:[71, 14] Operation: 46-32=14 Exploring Operation: 71-46=25, Resulting Numbers: [32, 25] Generated Node #0,4,1: 41:[32, 25] Operation: 71-46=25 Exploring Operation: 46+32=78, Resulting Numbers: [71, 78] Generated Node #0,4,2: 41:[71, 78] Operation: 46+32=78 Exploring Operation: 71-32=39, Resulting Numbers: [46, 39] Generated Node #0,4,3: 41:[46, 39] Operation: 71-32=39 Exploring Operation: 71+32=103, Resulting Numbers: [46, 103] Generated Node #0,4,4: 41:[46, 103] Operation: 71+32=103 Moving to Node #0,2 Current State: 41:[43, 71, 29], Operations: ['75-46=29'] Exploring Operation: 71+29=100, Resulting Numbers: [43, 100] Generated Node #0,2,0: 41:[43, 100] Operation: 71+29=100 Exploring Operation: 71-29=42, Resulting Numbers: [43, 42] Generated Node #0,2,1: 41:[43, 42] Operation: 71-29=42 Exploring Operation: 71-43=28, Resulting Numbers: [29, 28] Generated Node #0,2,2: 41:[29, 28] Operation: 71-43=28 Exploring Operation: 43+29=72, Resulting Numbers: [71, 72] Generated Node #0,2,3: 41:[71, 72] Operation: 43+29=72 Exploring Operation: 43-29=14, Resulting Numbers: [71, 14] Generated Node #0,2,4: 41:[71, 14] Operation: 43-29=14 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[43, 42], Operations: ['75-46=29', '71-29=42'] Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,41 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[29, 28], Operations: ['75-46=29', '71-43=28'] Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 41:[71, 14], Operations: ['75-46=29', '43-29=14'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 71*14=994, Resulting Numbers: [994] 994,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[43, 100], Operations: ['75-46=29', '71+29=100'] Exploring Operation: 43+100=143, Resulting Numbers: [143] 143,41 unequal: No Solution Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 43*100=4300, Resulting Numbers: [4300] 4300,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[71, 72], Operations: ['75-46=29', '43+29=72'] Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,41 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,41 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: 41:[46, 75, 28], Operations: ['71-43=28'] Exploring Operation: 75+28=103, Resulting Numbers: [46, 103] Generated Node #0,1,0: 41:[46, 103] Operation: 75+28=103 Exploring Operation: 46-28=18, Resulting Numbers: [75, 18] Generated Node #0,1,1: 41:[75, 18] Operation: 46-28=18 Exploring Operation: 75-46=29, Resulting Numbers: [28, 29] Generated Node #0,1,2: 41:[28, 29] Operation: 75-46=29 Exploring Operation: 46+28=74, Resulting Numbers: [75, 74] Generated Node #0,1,3: 41:[75, 74] Operation: 46+28=74 Exploring Operation: 75-28=47, Resulting Numbers: [46, 47] Generated Node #0,1,4: 41:[46, 47] Operation: 75-28=47 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 41:[46, 47], Operations: ['71-43=28', '75-28=47'] Exploring Operation: 46+47=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 46*47=2162, Resulting Numbers: [2162] 2162,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[28, 29], Operations: ['71-43=28', '75-46=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[75, 18], Operations: ['71-43=28', '46-28=18'] Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 75*18=1350, Resulting Numbers: [1350] 1350,41 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[46, 103], Operations: ['71-43=28', '75+28=103'] Exploring Operation: 103-46=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 46*103=4738, Resulting Numbers: [4738] 4738,41 unequal: No Solution Exploring Operation: 46+103=149, Resulting Numbers: [149] 149,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[75, 74], Operations: ['71-43=28', '46+28=74'] Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 75+74=149, Resulting Numbers: [149] 149,41 unequal: No Solution Exploring Operation: 75*74=5550, Resulting Numbers: [5550] 5550,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 41:[43, 75, 25], Operations: ['71-46=25'] Exploring Operation: 43-25=18, Resulting Numbers: [75, 18] Generated Node #0,3,0: 41:[75, 18] Operation: 43-25=18 Exploring Operation: 75-43=32, Resulting Numbers: [25, 32] Generated Node #0,3,1: 41:[25, 32] Operation: 75-43=32 Exploring Operation: 43+25=68, Resulting Numbers: [75, 68] Generated Node #0,3,2: 41:[75, 68] Operation: 43+25=68 Exploring Operation: 75-25=50, Resulting Numbers: [43, 50] Generated Node #0,3,3: 41:[43, 50] Operation: 75-25=50 Exploring Operation: 75/25=3, Resulting Numbers: [43, 3] Generated Node #0,3,4: 41:[43, 3] Operation: 75/25=3 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[43, 50], Operations: ['71-46=25', '75-25=50'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[25, 32], Operations: ['71-46=25', '75-43=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,41 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 41:[43, 3], Operations: ['71-46=25', '75/25=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[75, 18], Operations: ['71-46=25', '43-25=18'] Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 75*18=1350, Resulting Numbers: [1350] 1350,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[75, 68], Operations: ['71-46=25', '43+25=68'] Exploring Operation: 75+68=143, Resulting Numbers: [143] 143,41 unequal: No Solution Exploring Operation: 75*68=5100, Resulting Numbers: [5100] 5100,41 unequal: No Solution Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,41 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: 41:[43, 42], Operations: ['75-71=4', '46-4=42'] Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[46, 39], Operations: ['75-43=32', '71-32=39'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 46+39=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 46*39=1794, Resulting Numbers: [1794] 1794,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[46, 39], Operations: ['75-71=4', '43-4=39'] Exploring Operation: 46+39=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 46*39=1794, Resulting Numbers: [1794] 1794,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[46, 47], Operations: ['75-71=4', '43+4=47'] Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 46*47=2162, Resulting Numbers: [2162] 2162,41 unequal: No Solution Exploring Operation: 46+47=93, Resulting Numbers: [93] 93,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[43, 50], Operations: ['75-71=4', '46+4=50'] Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,41 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[32, 25], Operations: ['75-43=32', '71-46=25'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,41 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[71, 14], Operations: ['75-43=32', '46-32=14'] Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 71*14=994, Resulting Numbers: [994] 994,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[71, 78], Operations: ['75-43=32', '46+32=78'] Exploring Operation: 71*78=5538, Resulting Numbers: [5538] 5538,41 unequal: No Solution Exploring Operation: 71+78=149, Resulting Numbers: [149] 149,41 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[46, 103], Operations: ['75-43=32', '71+32=103'] Exploring Operation: 103-46=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 46*103=4738, Resulting Numbers: [4738] 4738,41 unequal: No Solution Exploring Operation: 46+103=149, Resulting Numbers: [149] 149,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[4, 3], Operations: ['75-71=4', '46-43=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,41 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 63, 91, 78, 42 ]
18
[ "63-42=21", "78*21=1638", "1638/91=18" ]
Current State: 18:[63, 91, 78, 42], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [91, 78, 21] Generated Node #2: [91, 78, 21] from Operation: 63-42=21 Current State: 18:[91, 78, 21], Operations: ['63-42=21'] Exploring Operation: 78*21=1638, Resulting Numbers: [91, 1638] Generated Node #3: [91, 1638] from Operation: 78*21=1638 Current State: 18:[91, 1638], Operations: ['63-42=21', '78*21=1638'] Exploring Operation: 1638/91=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[63, 91, 78, 42], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [78, 42, 28] Generated Node #0,0: 18:[78, 42, 28] Operation: 91-63=28 Exploring Operation: 91-78=13, Resulting Numbers: [63, 42, 13] Generated Node #0,1: 18:[63, 42, 13] Operation: 91-78=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[63, 42, 13], Operations: ['91-78=13'] Exploring Operation: 63-13=50, Resulting Numbers: [42, 50] Generated Node #0,1,0: 18:[42, 50] Operation: 63-13=50 Exploring Operation: 63-42=21, Resulting Numbers: [13, 21] Generated Node #0,1,1: 18:[13, 21] Operation: 63-42=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 18:[13, 21], Operations: ['91-78=13', '63-42=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 18:[42, 50], Operations: ['91-78=13', '63-13=50'] Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,18 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[78, 42, 28], Operations: ['91-63=28'] Exploring Operation: 78-42=36, Resulting Numbers: [28, 36] Generated Node #0,0,0: 18:[28, 36] Operation: 78-42=36 Exploring Operation: 78-28=50, Resulting Numbers: [42, 50] Generated Node #0,0,1: 18:[42, 50] Operation: 78-28=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[28, 36], Operations: ['91-63=28', '78-42=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,18 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[42, 50], Operations: ['91-63=28', '78-28=50'] Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,18 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 8, 71, 15, 87 ]
39
[ "71-8=63", "15+87=102", "102-63=39" ]
Current State: 39:[8, 71, 15, 87], Operations: [] Exploring Operation: 71-8=63, Resulting Numbers: [15, 87, 63] Generated Node #2: [15, 87, 63] from Operation: 71-8=63 Current State: 39:[15, 87, 63], Operations: ['71-8=63'] Exploring Operation: 15+87=102, Resulting Numbers: [63, 102] Generated Node #3: [63, 102] from Operation: 15+87=102 Current State: 39:[63, 102], Operations: ['71-8=63', '15+87=102'] Exploring Operation: 102-63=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[8, 71, 15, 87], Operations: [] Exploring Operation: 71-15=56, Resulting Numbers: [8, 87, 56] Generated Node #0,0: 39:[8, 87, 56] Operation: 71-15=56 Exploring Operation: 87-71=16, Resulting Numbers: [8, 15, 16] Generated Node #0,1: 39:[8, 15, 16] Operation: 87-71=16 Exploring Operation: 87-15=72, Resulting Numbers: [8, 71, 72] Generated Node #0,2: 39:[8, 71, 72] Operation: 87-15=72 Moving to Node #0,1 Current State: 39:[8, 15, 16], Operations: ['87-71=16'] Exploring Operation: 15-8=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 39:[16, 7] Operation: 15-8=7 Exploring Operation: 16-8=8, Resulting Numbers: [15, 8] Generated Node #0,1,1: 39:[15, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [15, 2] Generated Node #0,1,2: 39:[15, 2] Operation: 16/8=2 Moving to Node #0,0 Current State: 39:[8, 87, 56], Operations: ['71-15=56'] Exploring Operation: 87-56=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 39:[8, 31] Operation: 87-56=31 Exploring Operation: 87-8=79, Resulting Numbers: [56, 79] Generated Node #0,0,1: 39:[56, 79] Operation: 87-8=79 Exploring Operation: 56/8=7, Resulting Numbers: [87, 7] Generated Node #0,0,2: 39:[87, 7] Operation: 56/8=7 Moving to Node #0,2 Current State: 39:[8, 71, 72], Operations: ['87-15=72'] Exploring Operation: 72/8=9, Resulting Numbers: [71, 9] Generated Node #0,2,0: 39:[71, 9] Operation: 72/8=9 Exploring Operation: 72-71=1, Resulting Numbers: [8, 1] Generated Node #0,2,1: 39:[8, 1] Operation: 72-71=1 Exploring Operation: 71-8=63, Resulting Numbers: [72, 63] Generated Node #0,2,2: 39:[72, 63] Operation: 71-8=63 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[8, 1], Operations: ['87-15=72', '72-71=1'] Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[71, 9], Operations: ['87-15=72', '72/8=9'] Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 71*9=639, Resulting Numbers: [639] 639,39 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[72, 63], Operations: ['87-15=72', '71-8=63'] Exploring Operation: 72+63=135, Resulting Numbers: [135] 135,39 unequal: No Solution Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 72*63=4536, Resulting Numbers: [4536] 4536,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 39:[15, 2], Operations: ['87-71=16', '16/8=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[15, 8], Operations: ['87-71=16', '16-8=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,39 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[16, 7], Operations: ['87-71=16', '15-8=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,39 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[8, 31], Operations: ['71-15=56', '87-56=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,39 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[8, 71, 15, 87], Operations: [] Exploring Operation: 71-15=56, Resulting Numbers: [8, 87, 56] Generated Node #0,0: 39:[8, 87, 56] Operation: 71-15=56 Moving to Node #0,0 Current State: 39:[8, 87, 56], Operations: ['71-15=56'] Exploring Operation: 87-56=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 39:[8, 31] Operation: 87-56=31 Moving to Node #0,0,0 Current State: 39:[8, 31], Operations: ['71-15=56', '87-56=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 8, 73, 93, 78 ]
47
[ "93-78=15", "8*15=120", "120-73=47" ]
Current State: 47:[8, 73, 93, 78], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [8, 73, 15] Generated Node #2: [8, 73, 15] from Operation: 93-78=15 Current State: 47:[8, 73, 15], Operations: ['93-78=15'] Exploring Operation: 8*15=120, Resulting Numbers: [73, 120] Generated Node #3: [73, 120] from Operation: 8*15=120 Current State: 47:[73, 120], Operations: ['93-78=15', '8*15=120'] Exploring Operation: 120-73=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[8, 73, 93, 78], Operations: [] Exploring Operation: 78-8=70, Resulting Numbers: [73, 93, 70] Generated Node #0,0: 47:[73, 93, 70] Operation: 78-8=70 Exploring Operation: 73-8=65, Resulting Numbers: [93, 78, 65] Generated Node #0,1: 47:[93, 78, 65] Operation: 73-8=65 Exploring Operation: 93-8=85, Resulting Numbers: [73, 78, 85] Generated Node #0,2: 47:[73, 78, 85] Operation: 93-8=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[73, 93, 70], Operations: ['78-8=70'] Exploring Operation: 73-70=3, Resulting Numbers: [93, 3] Generated Node #0,0,0: 47:[93, 3] Operation: 73-70=3 Exploring Operation: 93-73=20, Resulting Numbers: [70, 20] Generated Node #0,0,1: 47:[70, 20] Operation: 93-73=20 Exploring Operation: 93-70=23, Resulting Numbers: [73, 23] Generated Node #0,0,2: 47:[73, 23] Operation: 93-70=23 Moving to Node #0,0,1 Current State: 47:[70, 20], Operations: ['78-8=70', '93-73=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[73, 23], Operations: ['78-8=70', '93-70=23'] Exploring Operation: 73+23=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 73*23=1679, Resulting Numbers: [1679] 1679,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[93, 3], Operations: ['78-8=70', '73-70=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[93, 78, 65], Operations: ['73-8=65'] Exploring Operation: 93-78=15, Resulting Numbers: [65, 15] Generated Node #0,1,0: 47:[65, 15] Operation: 93-78=15 Exploring Operation: 93-65=28, Resulting Numbers: [78, 28] Generated Node #0,1,1: 47:[78, 28] Operation: 93-65=28 Exploring Operation: 78-65=13, Resulting Numbers: [93, 13] Generated Node #0,1,2: 47:[93, 13] Operation: 78-65=13 Moving to Node #0,1,0 Current State: 47:[65, 15], Operations: ['73-8=65', '93-78=15'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[78, 28], Operations: ['73-8=65', '93-65=28'] Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,47 unequal: No Solution Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[93, 13], Operations: ['73-8=65', '78-65=13'] Exploring Operation: 93+13=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 93*13=1209, Resulting Numbers: [1209] 1209,47 unequal: No Solution Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[73, 78, 85], Operations: ['93-8=85'] Exploring Operation: 85-73=12, Resulting Numbers: [78, 12] Generated Node #0,2,0: 47:[78, 12] Operation: 85-73=12 Exploring Operation: 78-73=5, Resulting Numbers: [85, 5] Generated Node #0,2,1: 47:[85, 5] Operation: 78-73=5 Exploring Operation: 85-78=7, Resulting Numbers: [73, 7] Generated Node #0,2,2: 47:[73, 7] Operation: 85-78=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[78, 12], Operations: ['93-8=85', '85-73=12'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[73, 7], Operations: ['93-8=85', '85-78=7'] Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,47 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[85, 5], Operations: ['93-8=85', '78-73=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 65, 36, 93, 41 ]
80
[ "41-36=5", "65/5=13", "93-13=80" ]
Current State: 80:[65, 36, 93, 41], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [65, 93, 5] Generated Node #2: [65, 93, 5] from Operation: 41-36=5 Current State: 80:[65, 93, 5], Operations: ['41-36=5'] Exploring Operation: 65/5=13, Resulting Numbers: [93, 13] Generated Node #3: [93, 13] from Operation: 65/5=13 Current State: 80:[93, 13], Operations: ['41-36=5', '65/5=13'] Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[65, 36, 93, 41], Operations: [] Exploring Operation: 93-65=28, Resulting Numbers: [36, 41, 28] Generated Node #0,0: 80:[36, 41, 28] Operation: 93-65=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[36, 41, 28], Operations: ['93-65=28'] Exploring Operation: 36-28=8, Resulting Numbers: [41, 8] Generated Node #0,0,0: 80:[41, 8] Operation: 36-28=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[41, 8], Operations: ['93-65=28', '36-28=8'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 67, 24, 57, 1 ]
33
[ "67+24=91", "57+1=58", "91-58=33" ]
Current State: 33:[67, 24, 57, 1], Operations: [] Exploring Operation: 67+24=91, Resulting Numbers: [57, 1, 91] Generated Node #2: [57, 1, 91] from Operation: 67+24=91 Current State: 33:[57, 1, 91], Operations: ['67+24=91'] Exploring Operation: 57+1=58, Resulting Numbers: [91, 58] Generated Node #3: [91, 58] from Operation: 57+1=58 Current State: 33:[91, 58], Operations: ['67+24=91', '57+1=58'] Exploring Operation: 91-58=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[67, 24, 57, 1], Operations: [] Exploring Operation: 67-57=10, Resulting Numbers: [24, 1, 10] Generated Node #0,0: 33:[24, 1, 10] Operation: 67-57=10 Exploring Operation: 67-1=66, Resulting Numbers: [24, 57, 66] Generated Node #0,1: 33:[24, 57, 66] Operation: 67-1=66 Exploring Operation: 67-24=43, Resulting Numbers: [57, 1, 43] Generated Node #0,2: 33:[57, 1, 43] Operation: 67-24=43 Exploring Operation: 57-24=33, Resulting Numbers: [67, 1, 33] Generated Node #0,3: 33:[67, 1, 33] Operation: 57-24=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[24, 1, 10], Operations: ['67-57=10'] Exploring Operation: 24+1=25, Resulting Numbers: [10, 25] Generated Node #0,0,0: 33:[10, 25] Operation: 24+1=25 Exploring Operation: 1+10=11, Resulting Numbers: [24, 11] Generated Node #0,0,1: 33:[24, 11] Operation: 1+10=11 Exploring Operation: 24+10=34, Resulting Numbers: [1, 34] Generated Node #0,0,2: 33:[1, 34] Operation: 24+10=34 Exploring Operation: 24-10=14, Resulting Numbers: [1, 14] Generated Node #0,0,3: 33:[1, 14] Operation: 24-10=14 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[1, 34], Operations: ['67-57=10', '24+10=34'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[67, 24, 57, 1], Operations: [] Exploring Operation: 67-57=10, Resulting Numbers: [24, 1, 10] Generated Node #0,0: 33:[24, 1, 10] Operation: 67-57=10 Moving to Node #0,0 Current State: 33:[24, 1, 10], Operations: ['67-57=10'] Exploring Operation: 24+10=34, Resulting Numbers: [1, 34] Generated Node #0,0,2: 33:[1, 34] Operation: 24+10=34 Moving to Node #0,0,2 Current State: 33:[1, 34], Operations: ['67-57=10', '24+10=34'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 92, 43, 35, 29 ]
33
[ "43*29=1247", "1247-92=1155", "1155/35=33" ]
Current State: 33:[92, 43, 35, 29], Operations: [] Exploring Operation: 43*29=1247, Resulting Numbers: [92, 35, 1247] Generated Node #2: [92, 35, 1247] from Operation: 43*29=1247 Current State: 33:[92, 35, 1247], Operations: ['43*29=1247'] Exploring Operation: 1247-92=1155, Resulting Numbers: [35, 1155] Generated Node #3: [35, 1155] from Operation: 1247-92=1155 Current State: 33:[35, 1155], Operations: ['43*29=1247', '1247-92=1155'] Exploring Operation: 1155/35=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[92, 43, 35, 29], Operations: [] Exploring Operation: 92-35=57, Resulting Numbers: [43, 29, 57] Generated Node #0,0: 33:[43, 29, 57] Operation: 92-35=57 Exploring Operation: 92-29=63, Resulting Numbers: [43, 35, 63] Generated Node #0,1: 33:[43, 35, 63] Operation: 92-29=63 Exploring Operation: 92-43=49, Resulting Numbers: [35, 29, 49] Generated Node #0,2: 33:[35, 29, 49] Operation: 92-43=49 Moving to Node #0,2 Current State: 33:[35, 29, 49], Operations: ['92-43=49'] Exploring Operation: 49-29=20, Resulting Numbers: [35, 20] Generated Node #0,2,0: 33:[35, 20] Operation: 49-29=20 Exploring Operation: 49-35=14, Resulting Numbers: [29, 14] Generated Node #0,2,1: 33:[29, 14] Operation: 49-35=14 Exploring Operation: 35-29=6, Resulting Numbers: [49, 6] Generated Node #0,2,2: 33:[49, 6] Operation: 35-29=6 Moving to Node #0,0 Current State: 33:[43, 29, 57], Operations: ['92-35=57'] Exploring Operation: 57-43=14, Resulting Numbers: [29, 14] Generated Node #0,0,0: 33:[29, 14] Operation: 57-43=14 Exploring Operation: 57-29=28, Resulting Numbers: [43, 28] Generated Node #0,0,1: 33:[43, 28] Operation: 57-29=28 Exploring Operation: 43-29=14, Resulting Numbers: [57, 14] Generated Node #0,0,2: 33:[57, 14] Operation: 43-29=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[29, 14], Operations: ['92-35=57', '57-43=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,33 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[43, 28], Operations: ['92-35=57', '57-29=28'] Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,33 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[57, 14], Operations: ['92-35=57', '43-29=14'] Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,33 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: 33:[43, 35, 63], Operations: ['92-29=63'] Exploring Operation: 43-35=8, Resulting Numbers: [63, 8] Generated Node #0,1,0: 33:[63, 8] Operation: 43-35=8 Exploring Operation: 63-35=28, Resulting Numbers: [43, 28] Generated Node #0,1,1: 33:[43, 28] Operation: 63-35=28 Exploring Operation: 63-43=20, Resulting Numbers: [35, 20] Generated Node #0,1,2: 33:[35, 20] Operation: 63-43=20 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[35, 20], Operations: ['92-29=63', '63-43=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[43, 28], Operations: ['92-29=63', '63-35=28'] Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,33 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[63, 8], Operations: ['92-29=63', '43-35=8'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,33 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,33 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: 33:[29, 14], Operations: ['92-43=49', '49-35=14'] Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,33 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[35, 20], Operations: ['92-43=49', '49-29=20'] Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,33 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[49, 6], Operations: ['92-43=49', '35-29=6'] Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,33 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,33 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 6, 70, 70, 66 ]
16
[ "70-6=64", "70-66=4", "64/4=16" ]
Current State: 16:[6, 70, 70, 66], Operations: [] Exploring Operation: 70-6=64, Resulting Numbers: [66, 64] Generated Node #2: [66, 64] from Operation: 70-6=64 Current State: 16:[66, 64], Operations: ['70-6=64'] Exploring Operation: 70-66=4, Resulting Numbers: [64, 4] Generated Node #3: [64, 4] from Operation: 70-66=4 Current State: 16:[64, 4], Operations: ['70-6=64', '70-66=4'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[6, 70, 70, 66], Operations: [] Exploring Operation: 70/70=1, Resulting Numbers: [6, 66, 1] Generated Node #0,0: 16:[6, 66, 1] Operation: 70/70=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[6, 66, 1], Operations: ['70/70=1'] Exploring Operation: 66/6=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 16:[1, 11] Operation: 66/6=11 Moving to Node #0,0,0 Current State: 16:[1, 11], Operations: ['70/70=1', '66/6=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 35, 55, 70, 99 ]
22
[ "70/35=2", "99-55=44", "44/2=22" ]
Current State: 22:[35, 55, 70, 99], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [55, 99, 2] Generated Node #2: [55, 99, 2] from Operation: 70/35=2 Current State: 22:[55, 99, 2], Operations: ['70/35=2'] Exploring Operation: 99-55=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 99-55=44 Current State: 22:[2, 44], Operations: ['70/35=2', '99-55=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[35, 55, 70, 99], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [35, 55, 29] Generated Node #0,0: 22:[35, 55, 29] Operation: 99-70=29 Moving to Node #0,0 Current State: 22:[35, 55, 29], Operations: ['99-70=29'] Exploring Operation: 55-35=20, Resulting Numbers: [29, 20] Generated Node #0,0,0: 22:[29, 20] Operation: 55-35=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[29, 20], Operations: ['99-70=29', '55-35=20'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 67, 35, 15, 59 ]
85
[ "67-59=8", "15*8=120", "120-35=85" ]
Current State: 85:[67, 35, 15, 59], Operations: [] Exploring Operation: 67-59=8, Resulting Numbers: [35, 15, 8] Generated Node #2: [35, 15, 8] from Operation: 67-59=8 Current State: 85:[35, 15, 8], Operations: ['67-59=8'] Exploring Operation: 15*8=120, Resulting Numbers: [35, 120] Generated Node #3: [35, 120] from Operation: 15*8=120 Current State: 85:[35, 120], Operations: ['67-59=8', '15*8=120'] Exploring Operation: 120-35=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[67, 35, 15, 59], Operations: [] Exploring Operation: 35+59=94, Resulting Numbers: [67, 15, 94] Generated Node #0,0: 85:[67, 15, 94] Operation: 35+59=94 Exploring Operation: 59-35=24, Resulting Numbers: [67, 15, 24] Generated Node #0,1: 85:[67, 15, 24] Operation: 59-35=24 Exploring Operation: 67-59=8, Resulting Numbers: [35, 15, 8] Generated Node #0,2: 85:[35, 15, 8] Operation: 67-59=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[35, 15, 8], Operations: ['67-59=8'] Exploring Operation: 35-15=20, Resulting Numbers: [8, 20] Generated Node #0,2,0: 85:[8, 20] Operation: 35-15=20 Exploring Operation: 35-8=27, Resulting Numbers: [15, 27] Generated Node #0,2,1: 85:[15, 27] Operation: 35-8=27 Exploring Operation: 15-8=7, Resulting Numbers: [35, 7] Generated Node #0,2,2: 85:[35, 7] Operation: 15-8=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[8, 20], Operations: ['67-59=8', '35-15=20'] Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,85 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[15, 27], Operations: ['67-59=8', '35-8=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,85 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[35, 7], Operations: ['67-59=8', '15-8=7'] Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[67, 15, 24], Operations: ['59-35=24'] Exploring Operation: 67+15=82, Resulting Numbers: [24, 82] Generated Node #0,1,0: 85:[24, 82] Operation: 67+15=82 Exploring Operation: 67+24=91, Resulting Numbers: [15, 91] Generated Node #0,1,1: 85:[15, 91] Operation: 67+24=91 Exploring Operation: 24-15=9, Resulting Numbers: [67, 9] Generated Node #0,1,2: 85:[67, 9] Operation: 24-15=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[15, 91], Operations: ['59-35=24', '67+24=91'] Exploring Operation: 15+91=106, Resulting Numbers: [106] 106,85 unequal: No Solution Exploring Operation: 15*91=1365, Resulting Numbers: [1365] 1365,85 unequal: No Solution Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[24, 82], Operations: ['59-35=24', '67+15=82'] Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,85 unequal: No Solution Exploring Operation: 24+82=106, Resulting Numbers: [106] 106,85 unequal: No Solution Exploring Operation: 24*82=1968, Resulting Numbers: [1968] 1968,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[67, 9], Operations: ['59-35=24', '24-15=9'] Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,85 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[67, 15, 94], Operations: ['35+59=94'] Exploring Operation: 94-67=27, Resulting Numbers: [15, 27] Generated Node #0,0,0: 85:[15, 27] Operation: 94-67=27 Exploring Operation: 67+15=82, Resulting Numbers: [94, 82] Generated Node #0,0,1: 85:[94, 82] Operation: 67+15=82 Exploring Operation: 94-15=79, Resulting Numbers: [67, 79] Generated Node #0,0,2: 85:[67, 79] Operation: 94-15=79 Moving to Node #0,0,0 Current State: 85:[15, 27], Operations: ['35+59=94', '94-67=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[94, 82], Operations: ['35+59=94', '67+15=82'] Exploring Operation: 94+82=176, Resulting Numbers: [176] 176,85 unequal: No Solution Exploring Operation: 94*82=7708, Resulting Numbers: [7708] 7708,85 unequal: No Solution Exploring Operation: 94-82=12, Resulting Numbers: [12] 12,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[67, 79], Operations: ['35+59=94', '94-15=79'] Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 67*79=5293, Resulting Numbers: [5293] 5293,85 unequal: No Solution Exploring Operation: 67+79=146, Resulting Numbers: [146] 146,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 53, 40, 40, 46 ]
73
[ "53-40=13", "40+46=86", "86-13=73" ]
Current State: 73:[53, 40, 40, 46], Operations: [] Exploring Operation: 53-40=13, Resulting Numbers: [46, 13] Generated Node #2: [46, 13] from Operation: 53-40=13 Current State: 73:[46, 13], Operations: ['53-40=13'] Exploring Operation: 40+46=86, Resulting Numbers: [13, 86] Generated Node #3: [13, 86] from Operation: 40+46=86 Current State: 73:[13, 86], Operations: ['53-40=13', '40+46=86'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[53, 40, 40, 46], Operations: [] Exploring Operation: 40+46=86, Resulting Numbers: [53, 40, 86] Generated Node #0,0: 73:[53, 40, 86] Operation: 40+46=86 Exploring Operation: 40+40=80, Resulting Numbers: [53, 46, 80] Generated Node #0,1: 73:[53, 46, 80] Operation: 40+40=80 Exploring Operation: 40+46=86, Resulting Numbers: [53, 40, 86] Generated Node #0,2: 73:[53, 40, 86] Operation: 40+46=86 Moving to Node #0,1 Current State: 73:[53, 46, 80], Operations: ['40+40=80'] Exploring Operation: 53+46=99, Resulting Numbers: [80, 99] Generated Node #0,1,0: 73:[80, 99] Operation: 53+46=99 Exploring Operation: 53-46=7, Resulting Numbers: [80, 7] Generated Node #0,1,1: 73:[80, 7] Operation: 53-46=7 Exploring Operation: 80-46=34, Resulting Numbers: [53, 34] Generated Node #0,1,2: 73:[53, 34] Operation: 80-46=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[80, 99], Operations: ['40+40=80', '53+46=99'] Exploring Operation: 99-80=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 80*99=7920, Resulting Numbers: [7920] 7920,73 unequal: No Solution Exploring Operation: 80+99=179, Resulting Numbers: [179] 179,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[53, 34], Operations: ['40+40=80', '80-46=34'] Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 53+34=87, Resulting Numbers: [87] 87,73 unequal: No Solution Exploring Operation: 53*34=1802, Resulting Numbers: [1802] 1802,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[80, 7], Operations: ['40+40=80', '53-46=7'] Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,73 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[53, 40, 40, 46], Operations: [] Exploring Operation: 40+40=80, Resulting Numbers: [53, 46, 80] Generated Node #0,1: 73:[53, 46, 80] Operation: 40+40=80 Moving to Node #0,1 Current State: 73:[53, 46, 80], Operations: ['40+40=80'] Exploring Operation: 53-46=7, Resulting Numbers: [80, 7] Generated Node #0,1,1: 73:[80, 7] Operation: 53-46=7 Moving to Node #0,1,1 Current State: 73:[80, 7], Operations: ['40+40=80', '53-46=7'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 79, 30, 89, 76 ]
99
[ "79-76=3", "30/3=10", "89+10=99" ]
Current State: 99:[79, 30, 89, 76], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [30, 89, 3] Generated Node #2: [30, 89, 3] from Operation: 79-76=3 Current State: 99:[30, 89, 3], Operations: ['79-76=3'] Exploring Operation: 30/3=10, Resulting Numbers: [89, 10] Generated Node #3: [89, 10] from Operation: 30/3=10 Current State: 99:[89, 10], Operations: ['79-76=3', '30/3=10'] Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[79, 30, 89, 76], Operations: [] Exploring Operation: 30+76=106, Resulting Numbers: [79, 89, 106] Generated Node #0,0: 99:[79, 89, 106] Operation: 30+76=106 Exploring Operation: 89-79=10, Resulting Numbers: [30, 76, 10] Generated Node #0,1: 99:[30, 76, 10] Operation: 89-79=10 Exploring Operation: 79-76=3, Resulting Numbers: [30, 89, 3] Generated Node #0,2: 99:[30, 89, 3] Operation: 79-76=3 Exploring Operation: 89-76=13, Resulting Numbers: [79, 30, 13] Generated Node #0,3: 99:[79, 30, 13] Operation: 89-76=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[30, 89, 3], Operations: ['79-76=3'] Exploring Operation: 89+3=92, Resulting Numbers: [30, 92] Generated Node #0,2,0: 99:[30, 92] Operation: 89+3=92 Exploring Operation: 30/3=10, Resulting Numbers: [89, 10] Generated Node #0,2,1: 99:[89, 10] Operation: 30/3=10 Exploring Operation: 30+3=33, Resulting Numbers: [89, 33] Generated Node #0,2,2: 99:[89, 33] Operation: 30+3=33 Exploring Operation: 30-3=27, Resulting Numbers: [89, 27] Generated Node #0,2,3: 99:[89, 27] Operation: 30-3=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[30, 92], Operations: ['79-76=3', '89+3=92'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 30+92=122, Resulting Numbers: [122] 122,99 unequal: No Solution Exploring Operation: 30*92=2760, Resulting Numbers: [2760] 2760,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[89, 33], Operations: ['79-76=3', '30+3=33'] Exploring Operation: 89+33=122, Resulting Numbers: [122] 122,99 unequal: No Solution Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,99 unequal: No Solution Exploring Operation: 89*33=2937, Resulting Numbers: [2937] 2937,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[89, 10], Operations: ['79-76=3', '30/3=10'] Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[79, 30, 89, 76], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [30, 89, 3] Generated Node #0,2: 99:[30, 89, 3] Operation: 79-76=3 Moving to Node #0,2 Current State: 99:[30, 89, 3], Operations: ['79-76=3'] Exploring Operation: 30/3=10, Resulting Numbers: [89, 10] Generated Node #0,2,1: 99:[89, 10] Operation: 30/3=10 Moving to Node #0,2,1 Current State: 99:[89, 10], Operations: ['79-76=3', '30/3=10'] Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 27, 96, 47, 21 ]
96
[ "47-27=20", "21-20=1", "96*1=96" ]
Current State: 96:[27, 96, 47, 21], Operations: [] Exploring Operation: 47-27=20, Resulting Numbers: [96, 21, 20] Generated Node #2: [96, 21, 20] from Operation: 47-27=20 Current State: 96:[96, 21, 20], Operations: ['47-27=20'] Exploring Operation: 21-20=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 21-20=1 Current State: 96:[96, 1], Operations: ['47-27=20', '21-20=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[27, 96, 47, 21], Operations: [] Exploring Operation: 47-27=20, Resulting Numbers: [96, 21, 20] Generated Node #0,0: 96:[96, 21, 20] Operation: 47-27=20 Exploring Operation: 47-21=26, Resulting Numbers: [27, 96, 26] Generated Node #0,1: 96:[27, 96, 26] Operation: 47-21=26 Exploring Operation: 27-21=6, Resulting Numbers: [96, 47, 6] Generated Node #0,2: 96:[96, 47, 6] Operation: 27-21=6 Exploring Operation: 27+21=48, Resulting Numbers: [96, 47, 48] Generated Node #0,3: 96:[96, 47, 48] Operation: 27+21=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[96, 47, 6], Operations: ['27-21=6'] Exploring Operation: 96/6=16, Resulting Numbers: [47, 16] Generated Node #0,2,0: 96:[47, 16] Operation: 96/6=16 Exploring Operation: 96-47=49, Resulting Numbers: [6, 49] Generated Node #0,2,1: 96:[6, 49] Operation: 96-47=49 Exploring Operation: 47+6=53, Resulting Numbers: [96, 53] Generated Node #0,2,2: 96:[96, 53] Operation: 47+6=53 Exploring Operation: 96+6=102, Resulting Numbers: [47, 102] Generated Node #0,2,3: 96:[47, 102] Operation: 96+6=102 Moving to Node #0,2,0 Current State: 96:[47, 16], Operations: ['27-21=6', '96/6=16'] Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,96 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,96 unequal: No Solution Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[6, 49], Operations: ['27-21=6', '96-47=49'] Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,96 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[96, 53], Operations: ['27-21=6', '47+6=53'] Exploring Operation: 96-53=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 96+53=149, Resulting Numbers: [149] 149,96 unequal: No Solution Exploring Operation: 96*53=5088, Resulting Numbers: [5088] 5088,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[47, 102], Operations: ['27-21=6', '96+6=102'] Exploring Operation: 102-47=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 47*102=4794, Resulting Numbers: [4794] 4794,96 unequal: No Solution Exploring Operation: 47+102=149, Resulting Numbers: [149] 149,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,3 Current State: 96:[96, 47, 48], Operations: ['27+21=48'] Exploring Operation: 96-48=48, Resulting Numbers: [47, 48] Generated Node #0,3,0: 96:[47, 48] Operation: 96-48=48 Exploring Operation: 47+48=95, Resulting Numbers: [96, 95] Generated Node #0,3,1: 96:[96, 95] Operation: 47+48=95 Exploring Operation: 96/48=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 96:[47, 2] Operation: 96/48=2 Exploring Operation: 96-47=49, Resulting Numbers: [48, 49] Generated Node #0,3,3: 96:[48, 49] Operation: 96-47=49 Moving to Node #0,3,0 Current State: 96:[47, 48], Operations: ['27+21=48', '96-48=48'] Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,96 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[47, 2], Operations: ['27+21=48', '96/48=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,96 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[96, 95], Operations: ['27+21=48', '47+48=95'] Exploring Operation: 96*95=9120, Resulting Numbers: [9120] 9120,96 unequal: No Solution Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,96 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[48, 49], Operations: ['27+21=48', '96-47=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,96 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[27, 96, 26], Operations: ['47-21=26'] Exploring Operation: 27-26=1, Resulting Numbers: [96, 1] Generated Node #0,1,0: 96:[96, 1] Operation: 27-26=1 Exploring Operation: 96-27=69, Resulting Numbers: [26, 69] Generated Node #0,1,1: 96:[26, 69] Operation: 96-27=69 Exploring Operation: 96-26=70, Resulting Numbers: [27, 70] Generated Node #0,1,2: 96:[27, 70] Operation: 96-26=70 Exploring Operation: 27+26=53, Resulting Numbers: [96, 53] Generated Node #0,1,3: 96:[96, 53] Operation: 27+26=53 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[96, 1], Operations: ['47-21=26', '27-26=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[27, 96, 47, 21], Operations: [] Exploring Operation: 47-21=26, Resulting Numbers: [27, 96, 26] Generated Node #0,1: 96:[27, 96, 26] Operation: 47-21=26 Moving to Node #0,1 Current State: 96:[27, 96, 26], Operations: ['47-21=26'] Exploring Operation: 27-26=1, Resulting Numbers: [96, 1] Generated Node #0,1,0: 96:[96, 1] Operation: 27-26=1 Moving to Node #0,1,0 Current State: 96:[96, 1], Operations: ['47-21=26', '27-26=1'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_4
sum_heuristic
[ 79, 93, 10, 94 ]
68
[ "79+93=172", "10+94=104", "172-104=68" ]
Current State: 68:[79, 93, 10, 94], Operations: [] Exploring Operation: 79+93=172, Resulting Numbers: [10, 94, 172] Generated Node #2: [10, 94, 172] from Operation: 79+93=172 Current State: 68:[10, 94, 172], Operations: ['79+93=172'] Exploring Operation: 10+94=104, Resulting Numbers: [172, 104] Generated Node #3: [172, 104] from Operation: 10+94=104 Current State: 68:[172, 104], Operations: ['79+93=172', '10+94=104'] Exploring Operation: 172-104=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[79, 93, 10, 94], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [93, 10, 15] Generated Node #0,0: 68:[93, 10, 15] Operation: 94-79=15 Exploring Operation: 94-93=1, Resulting Numbers: [79, 10, 1] Generated Node #0,1: 68:[79, 10, 1] Operation: 94-93=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[79, 10, 1], Operations: ['94-93=1'] Exploring Operation: 79-10=69, Resulting Numbers: [1, 69] Generated Node #0,1,0: 68:[1, 69] Operation: 79-10=69 Exploring Operation: 79-1=78, Resulting Numbers: [10, 78] Generated Node #0,1,1: 68:[10, 78] Operation: 79-1=78 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[1, 69], Operations: ['94-93=1', '79-10=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[79, 93, 10, 94], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [79, 10, 1] Generated Node #0,1: 68:[79, 10, 1] Operation: 94-93=1 Moving to Node #0,1 Current State: 68:[79, 10, 1], Operations: ['94-93=1'] Exploring Operation: 79-10=69, Resulting Numbers: [1, 69] Generated Node #0,1,0: 68:[1, 69] Operation: 79-10=69 Moving to Node #0,1,0 Current State: 68:[1, 69], Operations: ['94-93=1', '79-10=69'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 46, 65, 27, 9 ]
16
[ "65-46=19", "27/9=3", "19-3=16" ]
Current State: 16:[46, 65, 27, 9], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [27, 9, 19] Generated Node #2: [27, 9, 19] from Operation: 65-46=19 Current State: 16:[27, 9, 19], Operations: ['65-46=19'] Exploring Operation: 27/9=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 27/9=3 Current State: 16:[19, 3], Operations: ['65-46=19', '27/9=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[46, 65, 27, 9], Operations: [] Exploring Operation: 46-27=19, Resulting Numbers: [65, 9, 19] Generated Node #0,0: 16:[65, 9, 19] Operation: 46-27=19 Exploring Operation: 65-27=38, Resulting Numbers: [46, 9, 38] Generated Node #0,1: 16:[46, 9, 38] Operation: 65-27=38 Exploring Operation: 65-46=19, Resulting Numbers: [27, 9, 19] Generated Node #0,2: 16:[27, 9, 19] Operation: 65-46=19 Exploring Operation: 27/9=3, Resulting Numbers: [46, 65, 3] Generated Node #0,3: 16:[46, 65, 3] Operation: 27/9=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[27, 9, 19], Operations: ['65-46=19'] Exploring Operation: 19-9=10, Resulting Numbers: [27, 10] Generated Node #0,2,0: 16:[27, 10] Operation: 19-9=10 Exploring Operation: 27-9=18, Resulting Numbers: [19, 18] Generated Node #0,2,1: 16:[19, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [19, 3] Generated Node #0,2,2: 16:[19, 3] Operation: 27/9=3 Exploring Operation: 27-19=8, Resulting Numbers: [9, 8] Generated Node #0,2,3: 16:[9, 8] Operation: 27-19=8 Moving to Node #0,2,3 Current State: 16:[9, 8], Operations: ['65-46=19', '27-19=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[19, 3], Operations: ['65-46=19', '27/9=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[46, 65, 27, 9], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [27, 9, 19] Generated Node #0,2: 16:[27, 9, 19] Operation: 65-46=19 Moving to Node #0,2 Current State: 16:[27, 9, 19], Operations: ['65-46=19'] Exploring Operation: 27/9=3, Resulting Numbers: [19, 3] Generated Node #0,2,2: 16:[19, 3] Operation: 27/9=3 Moving to Node #0,2,2 Current State: 16:[19, 3], Operations: ['65-46=19', '27/9=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 1, 6, 81, 30 ]
87
[ "6-1=5", "30/5=6", "81+6=87" ]
Current State: 87:[1, 6, 81, 30], Operations: [] Exploring Operation: 6-1=5, Resulting Numbers: [81, 30, 5] Generated Node #2: [81, 30, 5] from Operation: 6-1=5 Current State: 87:[81, 30, 5], Operations: ['6-1=5'] Exploring Operation: 30/5=6, Resulting Numbers: [81, 6] Generated Node #3: [81, 6] from Operation: 30/5=6 Current State: 87:[81, 6], Operations: ['6-1=5', '30/5=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[1, 6, 81, 30], Operations: [] Exploring Operation: 6+81=87, Resulting Numbers: [1, 30, 87] Generated Node #0,0: 87:[1, 30, 87] Operation: 6+81=87 Moving to Node #0,0 Current State: 87:[1, 30, 87], Operations: ['6+81=87'] Exploring Operation: 30-1=29, Resulting Numbers: [87, 29] Generated Node #0,0,0: 87:[87, 29] Operation: 30-1=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[87, 29], Operations: ['6+81=87', '30-1=29'] Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,87 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
[ 16, 93, 87, 14 ]
81
[ "16-14=2", "87*2=174", "174-93=81" ]
Current State: 81:[16, 93, 87, 14], Operations: [] Exploring Operation: 16-14=2, Resulting Numbers: [93, 87, 2] Generated Node #2: [93, 87, 2] from Operation: 16-14=2 Current State: 81:[93, 87, 2], Operations: ['16-14=2'] Exploring Operation: 87*2=174, Resulting Numbers: [93, 174] Generated Node #3: [93, 174] from Operation: 87*2=174 Current State: 81:[93, 174], Operations: ['16-14=2', '87*2=174'] Exploring Operation: 174-93=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[16, 93, 87, 14], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [87, 14, 77] Generated Node #0,0: 81:[87, 14, 77] Operation: 93-16=77 Exploring Operation: 93-87=6, Resulting Numbers: [16, 14, 6] Generated Node #0,1: 81:[16, 14, 6] Operation: 93-87=6 Moving to Node #0,0 Current State: 81:[87, 14, 77], Operations: ['93-16=77'] Exploring Operation: 87-14=73, Resulting Numbers: [77, 73] Generated Node #0,0,0: 81:[77, 73] Operation: 87-14=73 Exploring Operation: 87-77=10, Resulting Numbers: [14, 10] Generated Node #0,0,1: 81:[14, 10] Operation: 87-77=10 Moving to Node #0,1 Current State: 81:[16, 14, 6], Operations: ['93-87=6'] Exploring Operation: 16-14=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 81:[6, 2] Operation: 16-14=2 Exploring Operation: 16+14=30, Resulting Numbers: [6, 30] Generated Node #0,1,1: 81:[6, 30] Operation: 16+14=30 Moving to Node #0,1,0 Current State: 81:[6, 2], Operations: ['93-87=6', '16-14=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[14, 10], Operations: ['93-16=77', '87-77=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[6, 30], Operations: ['93-87=6', '16+14=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[77, 73], Operations: ['93-16=77', '87-14=73'] Exploring Operation: 77+73=150, Resulting Numbers: [150] 150,81 unequal: No Solution Exploring Operation: 77-73=4, Resulting Numbers: [4] 4,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 17, 50, 74, 4 ]
28
[ "17+50=67", "74-67=7", "4*7=28" ]
Current State: 28:[17, 50, 74, 4], Operations: [] Exploring Operation: 17+50=67, Resulting Numbers: [74, 4, 67] Generated Node #2: [74, 4, 67] from Operation: 17+50=67 Current State: 28:[74, 4, 67], Operations: ['17+50=67'] Exploring Operation: 74-67=7, Resulting Numbers: [4, 7] Generated Node #3: [4, 7] from Operation: 74-67=7 Current State: 28:[4, 7], Operations: ['17+50=67', '74-67=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[17, 50, 74, 4], Operations: [] Exploring Operation: 50-17=33, Resulting Numbers: [74, 4, 33] Generated Node #0,0: 28:[74, 4, 33] Operation: 50-17=33 Exploring Operation: 74-50=24, Resulting Numbers: [17, 4, 24] Generated Node #0,1: 28:[17, 4, 24] Operation: 74-50=24 Exploring Operation: 74-17=57, Resulting Numbers: [50, 4, 57] Generated Node #0,2: 28:[50, 4, 57] Operation: 74-17=57 Moving to Node #0,1 Current State: 28:[17, 4, 24], Operations: ['74-50=24'] Exploring Operation: 24/4=6, Resulting Numbers: [17, 6] Generated Node #0,1,0: 28:[17, 6] Operation: 24/4=6 Exploring Operation: 4+24=28, Resulting Numbers: [17, 28] Generated Node #0,1,1: 28:[17, 28] Operation: 4+24=28 Exploring Operation: 24-17=7, Resulting Numbers: [4, 7] Generated Node #0,1,2: 28:[4, 7] Operation: 24-17=7 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[4, 7], Operations: ['74-50=24', '24-17=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[17, 50, 74, 4], Operations: [] Exploring Operation: 74-50=24, Resulting Numbers: [17, 4, 24] Generated Node #0,1: 28:[17, 4, 24] Operation: 74-50=24 Moving to Node #0,1 Current State: 28:[17, 4, 24], Operations: ['74-50=24'] Exploring Operation: 24-17=7, Resulting Numbers: [4, 7] Generated Node #0,1,2: 28:[4, 7] Operation: 24-17=7 Moving to Node #0,1,2 Current State: 28:[4, 7], Operations: ['74-50=24', '24-17=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 58, 2, 54, 44 ]
66
[ "58-2=56", "54-44=10", "56+10=66" ]
Current State: 66:[58, 2, 54, 44], Operations: [] Exploring Operation: 58-2=56, Resulting Numbers: [54, 44, 56] Generated Node #2: [54, 44, 56] from Operation: 58-2=56 Current State: 66:[54, 44, 56], Operations: ['58-2=56'] Exploring Operation: 54-44=10, Resulting Numbers: [56, 10] Generated Node #3: [56, 10] from Operation: 54-44=10 Current State: 66:[56, 10], Operations: ['58-2=56', '54-44=10'] Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[58, 2, 54, 44], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [58, 2, 10] Generated Node #0,0: 66:[58, 2, 10] Operation: 54-44=10 Exploring Operation: 58-54=4, Resulting Numbers: [2, 44, 4] Generated Node #0,1: 66:[2, 44, 4] Operation: 58-54=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[58, 2, 10], Operations: ['54-44=10'] Exploring Operation: 58/2=29, Resulting Numbers: [10, 29] Generated Node #0,0,0: 66:[10, 29] Operation: 58/2=29 Exploring Operation: 58+10=68, Resulting Numbers: [2, 68] Generated Node #0,0,1: 66:[2, 68] Operation: 58+10=68 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[2, 68], Operations: ['54-44=10', '58+10=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[58, 2, 54, 44], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [58, 2, 10] Generated Node #0,0: 66:[58, 2, 10] Operation: 54-44=10 Moving to Node #0,0 Current State: 66:[58, 2, 10], Operations: ['54-44=10'] Exploring Operation: 58+10=68, Resulting Numbers: [2, 68] Generated Node #0,0,1: 66:[2, 68] Operation: 58+10=68 Moving to Node #0,0,1 Current State: 66:[2, 68], Operations: ['54-44=10', '58+10=68'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 90, 56, 68, 2 ]
15
[ "90*2=180", "68-56=12", "180/12=15" ]
Current State: 15:[90, 56, 68, 2], Operations: [] Exploring Operation: 90*2=180, Resulting Numbers: [56, 68, 180] Generated Node #2: [56, 68, 180] from Operation: 90*2=180 Current State: 15:[56, 68, 180], Operations: ['90*2=180'] Exploring Operation: 68-56=12, Resulting Numbers: [180, 12] Generated Node #3: [180, 12] from Operation: 68-56=12 Current State: 15:[180, 12], Operations: ['90*2=180', '68-56=12'] Exploring Operation: 180/12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[90, 56, 68, 2], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [68, 2, 34] Generated Node #0,0: 15:[68, 2, 34] Operation: 90-56=34 Exploring Operation: 68-56=12, Resulting Numbers: [90, 2, 12] Generated Node #0,1: 15:[90, 2, 12] Operation: 68-56=12 Exploring Operation: 90-68=22, Resulting Numbers: [56, 2, 22] Generated Node #0,2: 15:[56, 2, 22] Operation: 90-68=22 Exploring Operation: 90/2=45, Resulting Numbers: [56, 68, 45] Generated Node #0,3: 15:[56, 68, 45] Operation: 90/2=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[56, 2, 22], Operations: ['90-68=22'] Exploring Operation: 56-22=34, Resulting Numbers: [2, 34] Generated Node #0,2,0: 15:[2, 34] Operation: 56-22=34 Exploring Operation: 22/2=11, Resulting Numbers: [56, 11] Generated Node #0,2,1: 15:[56, 11] Operation: 22/2=11 Exploring Operation: 56/2=28, Resulting Numbers: [22, 28] Generated Node #0,2,2: 15:[22, 28] Operation: 56/2=28 Exploring Operation: 56-2=54, Resulting Numbers: [22, 54] Generated Node #0,2,3: 15:[22, 54] Operation: 56-2=54 Moving to Node #0,2,0 Current State: 15:[2, 34], Operations: ['90-68=22', '56-22=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[22, 28], Operations: ['90-68=22', '56/2=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,15 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[56, 11], Operations: ['90-68=22', '22/2=11'] Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[22, 54], Operations: ['90-68=22', '56-2=54'] Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,15 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[68, 2, 34], Operations: ['90-56=34'] Exploring Operation: 68/2=34, Resulting Numbers: [34, 34] Generated Node #0,0,0: 15:[34, 34] Operation: 68/2=34 Exploring Operation: 34/2=17, Resulting Numbers: [68, 17] Generated Node #0,0,1: 15:[68, 17] Operation: 34/2=17 Exploring Operation: 68-34=34, Resulting Numbers: [2, 34] Generated Node #0,0,2: 15:[2, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [2, 2] Generated Node #0,0,3: 15:[2, 2] Operation: 68/34=2 Moving to Node #0,0,3 Current State: 15:[2, 2], Operations: ['90-56=34', '68/34=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[2, 34], Operations: ['90-56=34', '68-34=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[34, 34], Operations: ['90-56=34', '68/2=34'] Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,15 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[68, 17], Operations: ['90-56=34', '34/2=17'] Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 68+17=85, Resulting Numbers: [85] 85,15 unequal: No Solution Exploring Operation: 68*17=1156, Resulting Numbers: [1156] 1156,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[90, 2, 12], Operations: ['68-56=12'] Exploring Operation: 90-2=88, Resulting Numbers: [12, 88] Generated Node #0,1,0: 15:[12, 88] Operation: 90-2=88 Exploring Operation: 2+12=14, Resulting Numbers: [90, 14] Generated Node #0,1,1: 15:[90, 14] Operation: 2+12=14 Exploring Operation: 90/2=45, Resulting Numbers: [12, 45] Generated Node #0,1,2: 15:[12, 45] Operation: 90/2=45 Exploring Operation: 90-12=78, Resulting Numbers: [2, 78] Generated Node #0,1,3: 15:[2, 78] Operation: 90-12=78 Moving to Node #0,1,2 Current State: 15:[12, 45], Operations: ['68-56=12', '90/2=45'] Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,15 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[2, 78], Operations: ['68-56=12', '90-12=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 2*78=156, Resulting Numbers: [156] 156,15 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[90, 14], Operations: ['68-56=12', '2+12=14'] Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,15 unequal: No Solution Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,15 unequal: No Solution Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[12, 88], Operations: ['68-56=12', '90-2=88'] Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,15 unequal: No Solution Exploring Operation: 12*88=1056, Resulting Numbers: [1056] 1056,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[56, 68, 45], Operations: ['90/2=45'] Exploring Operation: 56+68=124, Resulting Numbers: [45, 124] Generated Node #0,3,0: 15:[45, 124] Operation: 56+68=124 Exploring Operation: 56-45=11, Resulting Numbers: [68, 11] Generated Node #0,3,1: 15:[68, 11] Operation: 56-45=11 Exploring Operation: 68-56=12, Resulting Numbers: [45, 12] Generated Node #0,3,2: 15:[45, 12] Operation: 68-56=12 Exploring Operation: 68-45=23, Resulting Numbers: [56, 23] Generated Node #0,3,3: 15:[56, 23] Operation: 68-45=23 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 15:[45, 12], Operations: ['90/2=45', '68-56=12'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,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,3,3 Current State: 15:[56, 23], Operations: ['90/2=45', '68-45=23'] Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,15 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,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,3,1 Current State: 15:[68, 11], Operations: ['90/2=45', '56-45=11'] Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,15 unequal: No Solution Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,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,3,0 Current State: 15:[45, 124], Operations: ['90/2=45', '56+68=124'] Exploring Operation: 45+124=169, Resulting Numbers: [169] 169,15 unequal: No Solution Exploring Operation: 124-45=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 45*124=5580, Resulting Numbers: [5580] 5580,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_4
mult_heuristic
[ 3, 42, 39, 51 ]
42
[ "42-39=3", "3*3=9", "51-9=42" ]
Current State: 42:[3, 42, 39, 51], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [3, 51, 3] Generated Node #2: [3, 51, 3] from Operation: 42-39=3 Current State: 42:[3, 51, 3], Operations: ['42-39=3'] Exploring Operation: 3*3=9, Resulting Numbers: [51, 9] Generated Node #3: [51, 9] from Operation: 3*3=9 Current State: 42:[51, 9], Operations: ['42-39=3', '3*3=9'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[3, 42, 39, 51], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [3, 42, 12] Generated Node #0,0: 42:[3, 42, 12] Operation: 51-39=12 Exploring Operation: 3+39=42, Resulting Numbers: [42, 51, 42] Generated Node #0,1: 42:[42, 51, 42] Operation: 3+39=42 Exploring Operation: 51-42=9, Resulting Numbers: [3, 39, 9] Generated Node #0,2: 42:[3, 39, 9] Operation: 51-42=9 Exploring Operation: 51/3=17, Resulting Numbers: [42, 39, 17] Generated Node #0,3: 42:[42, 39, 17] Operation: 51/3=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[3, 42, 12], Operations: ['51-39=12'] Exploring Operation: 3+12=15, Resulting Numbers: [42, 15] Generated Node #0,0,0: 42:[42, 15] Operation: 3+12=15 Exploring Operation: 42/3=14, Resulting Numbers: [12, 14] Generated Node #0,0,1: 42:[12, 14] Operation: 42/3=14 Exploring Operation: 12-3=9, Resulting Numbers: [42, 9] Generated Node #0,0,2: 42:[42, 9] Operation: 12-3=9 Exploring Operation: 12/3=4, Resulting Numbers: [42, 4] Generated Node #0,0,3: 42:[42, 4] Operation: 12/3=4 Moving to Node #0,0,0 Current State: 42:[42, 15], Operations: ['51-39=12', '3+12=15'] Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,42 unequal: No Solution Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,42 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[42, 4], Operations: ['51-39=12', '12/3=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[42, 9], Operations: ['51-39=12', '12-3=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,42 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[12, 14], Operations: ['51-39=12', '42/3=14'] Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,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:[3, 39, 9], Operations: ['51-42=9'] Exploring Operation: 9/3=3, Resulting Numbers: [39, 3] Generated Node #0,2,0: 42:[39, 3] Operation: 9/3=3 Exploring Operation: 39/3=13, Resulting Numbers: [9, 13] Generated Node #0,2,1: 42:[9, 13] Operation: 39/3=13 Exploring Operation: 9-3=6, Resulting Numbers: [39, 6] Generated Node #0,2,2: 42:[39, 6] Operation: 9-3=6 Exploring Operation: 3+39=42, Resulting Numbers: [9, 42] Generated Node #0,2,3: 42:[9, 42] Operation: 3+39=42 Moving to Node #0,2,3 Current State: 42:[9, 42], Operations: ['51-42=9', '3+39=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[9, 13], Operations: ['51-42=9', '39/3=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,42 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[39, 3], Operations: ['51-42=9', '9/3=3'] Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,42 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[3, 42, 39, 51], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [3, 39, 9] Generated Node #0,2: 42:[3, 39, 9] Operation: 51-42=9 Moving to Node #0,2 Current State: 42:[3, 39, 9], Operations: ['51-42=9'] Exploring Operation: 9/3=3, Resulting Numbers: [39, 3] Generated Node #0,2,0: 42:[39, 3] Operation: 9/3=3 Moving to Node #0,2,0 Current State: 42:[39, 3], Operations: ['51-42=9', '9/3=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 14, 49, 36, 91 ]
98
[ "14*91=1274", "49-36=13", "1274/13=98" ]
Current State: 98:[14, 49, 36, 91], Operations: [] Exploring Operation: 14*91=1274, Resulting Numbers: [49, 36, 1274] Generated Node #2: [49, 36, 1274] from Operation: 14*91=1274 Current State: 98:[49, 36, 1274], Operations: ['14*91=1274'] Exploring Operation: 49-36=13, Resulting Numbers: [1274, 13] Generated Node #3: [1274, 13] from Operation: 49-36=13 Current State: 98:[1274, 13], Operations: ['14*91=1274', '49-36=13'] Exploring Operation: 1274/13=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[14, 49, 36, 91], Operations: [] Exploring Operation: 91-36=55, Resulting Numbers: [14, 49, 55] Generated Node #0,0: 98:[14, 49, 55] Operation: 91-36=55 Moving to Node #0,0 Current State: 98:[14, 49, 55], Operations: ['91-36=55'] Exploring Operation: 55-49=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 98:[14, 6] Operation: 55-49=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[14, 6], Operations: ['91-36=55', '55-49=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 35, 81, 12, 79 ]
94
[ "35+12=47", "81-79=2", "47*2=94" ]
Current State: 94:[35, 81, 12, 79], Operations: [] Exploring Operation: 35+12=47, Resulting Numbers: [81, 79, 47] Generated Node #2: [81, 79, 47] from Operation: 35+12=47 Current State: 94:[81, 79, 47], Operations: ['35+12=47'] Exploring Operation: 81-79=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 81-79=2 Current State: 94:[47, 2], Operations: ['35+12=47', '81-79=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[35, 81, 12, 79], Operations: [] Exploring Operation: 79-35=44, Resulting Numbers: [81, 12, 44] Generated Node #0,0: 94:[81, 12, 44] Operation: 79-35=44 Exploring Operation: 81-35=46, Resulting Numbers: [12, 79, 46] Generated Node #0,1: 94:[12, 79, 46] Operation: 81-35=46 Exploring Operation: 81-79=2, Resulting Numbers: [35, 12, 2] Generated Node #0,2: 94:[35, 12, 2] Operation: 81-79=2 Moving to Node #0,2 Current State: 94:[35, 12, 2], Operations: ['81-79=2'] Exploring Operation: 12/2=6, Resulting Numbers: [35, 6] Generated Node #0,2,0: 94:[35, 6] Operation: 12/2=6 Exploring Operation: 35+12=47, Resulting Numbers: [2, 47] Generated Node #0,2,1: 94:[2, 47] Operation: 35+12=47 Exploring Operation: 35+2=37, Resulting Numbers: [12, 37] Generated Node #0,2,2: 94:[12, 37] Operation: 35+2=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[2, 47], Operations: ['81-79=2', '35+12=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[35, 81, 12, 79], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [35, 12, 2] Generated Node #0,2: 94:[35, 12, 2] Operation: 81-79=2 Moving to Node #0,2 Current State: 94:[35, 12, 2], Operations: ['81-79=2'] Exploring Operation: 35+12=47, Resulting Numbers: [2, 47] Generated Node #0,2,1: 94:[2, 47] Operation: 35+12=47 Moving to Node #0,2,1 Current State: 94:[2, 47], Operations: ['81-79=2', '35+12=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 16, 62, 93, 13 ]
53
[ "16*13=208", "62+93=155", "208-155=53" ]
Current State: 53:[16, 62, 93, 13], Operations: [] Exploring Operation: 16*13=208, Resulting Numbers: [62, 93, 208] Generated Node #2: [62, 93, 208] from Operation: 16*13=208 Current State: 53:[62, 93, 208], Operations: ['16*13=208'] Exploring Operation: 62+93=155, Resulting Numbers: [208, 155] Generated Node #3: [208, 155] from Operation: 62+93=155 Current State: 53:[208, 155], Operations: ['16*13=208', '62+93=155'] Exploring Operation: 208-155=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[16, 62, 93, 13], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [62, 13, 77] Generated Node #0,0: 53:[62, 13, 77] Operation: 93-16=77 Moving to Node #0,0 Current State: 53:[62, 13, 77], Operations: ['93-16=77'] Exploring Operation: 77-13=64, Resulting Numbers: [62, 64] Generated Node #0,0,0: 53:[62, 64] Operation: 77-13=64 Moving to Node #0,0,0 Current State: 53:[62, 64], Operations: ['93-16=77', '77-13=64'] Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,53 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 72, 15, 98, 94 ]
83
[ "72+15=87", "98-94=4", "87-4=83" ]
Current State: 83:[72, 15, 98, 94], Operations: [] Exploring Operation: 72+15=87, Resulting Numbers: [98, 94, 87] Generated Node #2: [98, 94, 87] from Operation: 72+15=87 Current State: 83:[98, 94, 87], Operations: ['72+15=87'] Exploring Operation: 98-94=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 98-94=4 Current State: 83:[87, 4], Operations: ['72+15=87', '98-94=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[72, 15, 98, 94], Operations: [] Exploring Operation: 98-15=83, Resulting Numbers: [72, 94, 83] Generated Node #0,0: 83:[72, 94, 83] Operation: 98-15=83 Exploring Operation: 94-15=79, Resulting Numbers: [72, 98, 79] Generated Node #0,1: 83:[72, 98, 79] Operation: 94-15=79 Exploring Operation: 15+98=113, Resulting Numbers: [72, 94, 113] Generated Node #0,2: 83:[72, 94, 113] Operation: 15+98=113 Exploring Operation: 72-15=57, Resulting Numbers: [98, 94, 57] Generated Node #0,3: 83:[98, 94, 57] Operation: 72-15=57 Exploring Operation: 72+15=87, Resulting Numbers: [98, 94, 87] Generated Node #0,4: 83:[98, 94, 87] Operation: 72+15=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[72, 94, 83], Operations: ['98-15=83'] Exploring Operation: 94-72=22, Resulting Numbers: [83, 22] Generated Node #0,0,0: 83:[83, 22] Operation: 94-72=22 Exploring Operation: 83-72=11, Resulting Numbers: [94, 11] Generated Node #0,0,1: 83:[94, 11] Operation: 83-72=11 Exploring Operation: 72+94=166, Resulting Numbers: [83, 166] Generated Node #0,0,2: 83:[83, 166] Operation: 72+94=166 Exploring Operation: 94-83=11, Resulting Numbers: [72, 11] Generated Node #0,0,3: 83:[72, 11] Operation: 94-83=11 Exploring Operation: 72+83=155, Resulting Numbers: [94, 155] Generated Node #0,0,4: 83:[94, 155] Operation: 72+83=155 Moving to Node #0,0,0 Current State: 83:[83, 22], Operations: ['98-15=83', '94-72=22'] Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,83 unequal: No Solution Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[83, 166], Operations: ['98-15=83', '72+94=166'] Exploring Operation: 83*166=13778, Resulting Numbers: [13778] 13778,83 unequal: No Solution Exploring Operation: 166-83=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[72, 15, 98, 94], Operations: [] Exploring Operation: 98-15=83, Resulting Numbers: [72, 94, 83] Generated Node #0,0: 83:[72, 94, 83] Operation: 98-15=83 Moving to Node #0,0 Current State: 83:[72, 94, 83], Operations: ['98-15=83'] Exploring Operation: 72+94=166, Resulting Numbers: [83, 166] Generated Node #0,0,2: 83:[83, 166] Operation: 72+94=166 Moving to Node #0,0,2 Current State: 83:[83, 166], Operations: ['98-15=83', '72+94=166'] Exploring Operation: 166-83=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 7, 80, 79, 82 ]
75
[ "82-7=75", "80-79=1", "75*1=75" ]
Current State: 75:[7, 80, 79, 82], Operations: [] Exploring Operation: 82-7=75, Resulting Numbers: [80, 79, 75] Generated Node #2: [80, 79, 75] from Operation: 82-7=75 Current State: 75:[80, 79, 75], Operations: ['82-7=75'] Exploring Operation: 80-79=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 80-79=1 Current State: 75:[75, 1], Operations: ['82-7=75', '80-79=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[7, 80, 79, 82], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [7, 80, 3] Generated Node #0,0: 75:[7, 80, 3] Operation: 82-79=3 Exploring Operation: 82-80=2, Resulting Numbers: [7, 79, 2] Generated Node #0,1: 75:[7, 79, 2] Operation: 82-80=2 Exploring Operation: 80-79=1, Resulting Numbers: [7, 82, 1] Generated Node #0,2: 75:[7, 82, 1] Operation: 80-79=1 Exploring Operation: 82-7=75, Resulting Numbers: [80, 79, 75] Generated Node #0,3: 75:[80, 79, 75] Operation: 82-7=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[7, 80, 3], Operations: ['82-79=3'] Exploring Operation: 80-7=73, Resulting Numbers: [3, 73] Generated Node #0,0,0: 75:[3, 73] Operation: 80-7=73 Exploring Operation: 7-3=4, Resulting Numbers: [80, 4] Generated Node #0,0,1: 75:[80, 4] Operation: 7-3=4 Exploring Operation: 7*3=21, Resulting Numbers: [80, 21] Generated Node #0,0,2: 75:[80, 21] Operation: 7*3=21 Exploring Operation: 80-3=77, Resulting Numbers: [7, 77] Generated Node #0,0,3: 75:[7, 77] Operation: 80-3=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[3, 73], Operations: ['82-79=3', '80-7=73'] Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,75 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[7, 77], Operations: ['82-79=3', '80-3=77'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 7*77=539, Resulting Numbers: [539] 539,75 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[80, 4], Operations: ['82-79=3', '7-3=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 80*4=320, Resulting Numbers: [320] 320,75 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[80, 21], Operations: ['82-79=3', '7*3=21'] Exploring Operation: 80*21=1680, Resulting Numbers: [1680] 1680,75 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 80+21=101, Resulting Numbers: [101] 101,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[7, 79, 2], Operations: ['82-80=2'] Exploring Operation: 79-2=77, Resulting Numbers: [7, 77] Generated Node #0,1,0: 75:[7, 77] Operation: 79-2=77 Exploring Operation: 7-2=5, Resulting Numbers: [79, 5] Generated Node #0,1,1: 75:[79, 5] Operation: 7-2=5 Exploring Operation: 7*2=14, Resulting Numbers: [79, 14] Generated Node #0,1,2: 75:[79, 14] Operation: 7*2=14 Exploring Operation: 79-7=72, Resulting Numbers: [2, 72] Generated Node #0,1,3: 75:[2, 72] Operation: 79-7=72 Moving to Node #0,1,0 Current State: 75:[7, 77], Operations: ['82-80=2', '79-2=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,75 unequal: No Solution Exploring Operation: 7*77=539, Resulting Numbers: [539] 539,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[2, 72], Operations: ['82-80=2', '79-7=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,75 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[79, 5], Operations: ['82-80=2', '7-2=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,75 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[79, 14], Operations: ['82-80=2', '7*2=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[80, 79, 75], Operations: ['82-7=75'] Exploring Operation: 80+79=159, Resulting Numbers: [75, 159] Generated Node #0,3,0: 75:[75, 159] Operation: 80+79=159 Exploring Operation: 80-75=5, Resulting Numbers: [79, 5] Generated Node #0,3,1: 75:[79, 5] Operation: 80-75=5 Exploring Operation: 79-75=4, Resulting Numbers: [80, 4] Generated Node #0,3,2: 75:[80, 4] Operation: 79-75=4 Exploring Operation: 80-79=1, Resulting Numbers: [75, 1] Generated Node #0,3,3: 75:[75, 1] Operation: 80-79=1 Moving to Node #0,3,3 Current State: 75:[75, 1], Operations: ['82-7=75', '80-79=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[7, 80, 79, 82], Operations: [] Exploring Operation: 82-7=75, Resulting Numbers: [80, 79, 75] Generated Node #0,3: 75:[80, 79, 75] Operation: 82-7=75 Moving to Node #0,3 Current State: 75:[80, 79, 75], Operations: ['82-7=75'] Exploring Operation: 80-79=1, Resulting Numbers: [75, 1] Generated Node #0,3,3: 75:[75, 1] Operation: 80-79=1 Moving to Node #0,3,3 Current State: 75:[75, 1], Operations: ['82-7=75', '80-79=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 89, 27, 98, 59 ]
23
[ "89-27=62", "98-59=39", "62-39=23" ]
Current State: 23:[89, 27, 98, 59], Operations: [] Exploring Operation: 89-27=62, Resulting Numbers: [98, 59, 62] Generated Node #2: [98, 59, 62] from Operation: 89-27=62 Current State: 23:[98, 59, 62], Operations: ['89-27=62'] Exploring Operation: 98-59=39, Resulting Numbers: [62, 39] Generated Node #3: [62, 39] from Operation: 98-59=39 Current State: 23:[62, 39], Operations: ['89-27=62', '98-59=39'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[89, 27, 98, 59], Operations: [] Exploring Operation: 98-89=9, Resulting Numbers: [27, 59, 9] Generated Node #0,0: 23:[27, 59, 9] Operation: 98-89=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[27, 59, 9], Operations: ['98-89=9'] Exploring Operation: 59-27=32, Resulting Numbers: [9, 32] Generated Node #0,0,0: 23:[9, 32] Operation: 59-27=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[9, 32], Operations: ['98-89=9', '59-27=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[89, 27, 98, 59], Operations: [] Exploring Operation: 98-89=9, Resulting Numbers: [27, 59, 9] Generated Node #0,0: 23:[27, 59, 9] Operation: 98-89=9 Moving to Node #0,0 Current State: 23:[27, 59, 9], Operations: ['98-89=9'] Exploring Operation: 59-27=32, Resulting Numbers: [9, 32] Generated Node #0,0,0: 23:[9, 32] Operation: 59-27=32 Moving to Node #0,0,0 Current State: 23:[9, 32], Operations: ['98-89=9', '59-27=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 62, 92, 98, 60 ]
95
[ "62-60=2", "92+98=190", "190/2=95" ]
Current State: 95:[62, 92, 98, 60], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [92, 98, 2] Generated Node #2: [92, 98, 2] from Operation: 62-60=2 Current State: 95:[92, 98, 2], Operations: ['62-60=2'] Exploring Operation: 92+98=190, Resulting Numbers: [2, 190] Generated Node #3: [2, 190] from Operation: 92+98=190 Current State: 95:[2, 190], Operations: ['62-60=2', '92+98=190'] Exploring Operation: 190/2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[62, 92, 98, 60], Operations: [] Exploring Operation: 92-60=32, Resulting Numbers: [62, 98, 32] Generated Node #0,0: 95:[62, 98, 32] Operation: 92-60=32 Exploring Operation: 92-62=30, Resulting Numbers: [98, 60, 30] Generated Node #0,1: 95:[98, 60, 30] Operation: 92-62=30 Exploring Operation: 62+60=122, Resulting Numbers: [92, 98, 122] Generated Node #0,2: 95:[92, 98, 122] Operation: 62+60=122 Exploring Operation: 62-60=2, Resulting Numbers: [92, 98, 2] Generated Node #0,3: 95:[92, 98, 2] Operation: 62-60=2 Exploring Operation: 98-62=36, Resulting Numbers: [92, 60, 36] Generated Node #0,4: 95:[92, 60, 36] Operation: 98-62=36 Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[92, 98, 2], Operations: ['62-60=2'] Exploring Operation: 98+2=100, Resulting Numbers: [92, 100] Generated Node #0,3,0: 95:[92, 100] Operation: 98+2=100 Exploring Operation: 92-2=90, Resulting Numbers: [98, 90] Generated Node #0,3,1: 95:[98, 90] Operation: 92-2=90 Exploring Operation: 92+2=94, Resulting Numbers: [98, 94] Generated Node #0,3,2: 95:[98, 94] Operation: 92+2=94 Exploring Operation: 98-92=6, Resulting Numbers: [2, 6] Generated Node #0,3,3: 95:[2, 6] Operation: 98-92=6 Exploring Operation: 98-2=96, Resulting Numbers: [92, 96] Generated Node #0,3,4: 95:[92, 96] Operation: 98-2=96 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 95:[98, 94], Operations: ['62-60=2', '92+2=94'] Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 98*94=9212, Resulting Numbers: [9212] 9212,95 unequal: No Solution Exploring Operation: 98+94=192, Resulting Numbers: [192] 192,95 unequal: No Solution No 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: 95:[2, 6], Operations: ['62-60=2', '98-92=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,95 unequal: No Solution No 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: 95:[92, 96], Operations: ['62-60=2', '98-2=96'] Exploring Operation: 92+96=188, Resulting Numbers: [188] 188,95 unequal: No Solution Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 92*96=8832, Resulting Numbers: [8832] 8832,95 unequal: No Solution No 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: 95:[92, 100], Operations: ['62-60=2', '98+2=100'] Exploring Operation: 100-92=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 92+100=192, Resulting Numbers: [192] 192,95 unequal: No Solution Exploring Operation: 92*100=9200, Resulting Numbers: [9200] 9200,95 unequal: No Solution No 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: 95:[98, 90], Operations: ['62-60=2', '92-2=90'] Exploring Operation: 98*90=8820, Resulting Numbers: [8820] 8820,95 unequal: No Solution Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 98+90=188, Resulting Numbers: [188] 188,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[92, 98, 122], Operations: ['62+60=122'] Exploring Operation: 92+98=190, Resulting Numbers: [122, 190] Generated Node #0,2,0: 95:[122, 190] Operation: 92+98=190 Exploring Operation: 122-98=24, Resulting Numbers: [92, 24] Generated Node #0,2,1: 95:[92, 24] Operation: 122-98=24 Exploring Operation: 98-92=6, Resulting Numbers: [122, 6] Generated Node #0,2,2: 95:[122, 6] Operation: 98-92=6 Exploring Operation: 122-92=30, Resulting Numbers: [98, 30] Generated Node #0,2,3: 95:[98, 30] Operation: 122-92=30 Exploring Operation: 92+122=214, Resulting Numbers: [98, 214] Generated Node #0,2,4: 95:[98, 214] Operation: 92+122=214 Moving to Node #0,2,1 Current State: 95:[92, 24], Operations: ['62+60=122', '122-98=24'] Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,95 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[98, 30], Operations: ['62+60=122', '122-92=30'] Exploring Operation: 98*30=2940, Resulting Numbers: [2940] 2940,95 unequal: No Solution Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 98+30=128, Resulting Numbers: [128] 128,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[122, 6], Operations: ['62+60=122', '98-92=6'] Exploring Operation: 122*6=732, Resulting Numbers: [732] 732,95 unequal: No Solution Exploring Operation: 122-6=116, Resulting Numbers: [116] 116,95 unequal: No Solution Exploring Operation: 122+6=128, Resulting Numbers: [128] 128,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[122, 190], Operations: ['62+60=122', '92+98=190'] Exploring Operation: 122+190=312, Resulting Numbers: [312] 312,95 unequal: No Solution Exploring Operation: 122*190=23180, Resulting Numbers: [23180] 23180,95 unequal: No Solution Exploring Operation: 190-122=68, Resulting Numbers: [68] 68,95 unequal: No Solution Moving to Node #0,2,4 Current State: 95:[98, 214], Operations: ['62+60=122', '92+122=214'] Exploring Operation: 98*214=20972, Resulting Numbers: [20972] 20972,95 unequal: No Solution Exploring Operation: 214-98=116, Resulting Numbers: [116] 116,95 unequal: No Solution Exploring Operation: 98+214=312, Resulting Numbers: [312] 312,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[62, 98, 32], Operations: ['92-60=32'] Exploring Operation: 98-32=66, Resulting Numbers: [62, 66] Generated Node #0,0,0: 95:[62, 66] Operation: 98-32=66 Exploring Operation: 98+32=130, Resulting Numbers: [62, 130] Generated Node #0,0,1: 95:[62, 130] Operation: 98+32=130 Exploring Operation: 62+32=94, Resulting Numbers: [98, 94] Generated Node #0,0,2: 95:[98, 94] Operation: 62+32=94 Exploring Operation: 62-32=30, Resulting Numbers: [98, 30] Generated Node #0,0,3: 95:[98, 30] Operation: 62-32=30 Exploring Operation: 98-62=36, Resulting Numbers: [32, 36] Generated Node #0,0,4: 95:[32, 36] Operation: 98-62=36 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[98, 94], Operations: ['92-60=32', '62+32=94'] Exploring Operation: 98+94=192, Resulting Numbers: [192] 192,95 unequal: No Solution Exploring Operation: 98*94=9212, Resulting Numbers: [9212] 9212,95 unequal: No Solution Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,95 unequal: No Solution No 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: 95:[98, 30], Operations: ['92-60=32', '62-32=30'] Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 98+30=128, Resulting Numbers: [128] 128,95 unequal: No Solution Exploring Operation: 98*30=2940, Resulting Numbers: [2940] 2940,95 unequal: No Solution No 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: 95:[32, 36], Operations: ['92-60=32', '98-62=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,95 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,95 unequal: No Solution No 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: 95:[62, 66], Operations: ['92-60=32', '98-32=66'] Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,95 unequal: No Solution Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,95 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,95 unequal: No Solution No 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: 95:[62, 130], Operations: ['92-60=32', '98+32=130'] Exploring Operation: 130-62=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 62+130=192, Resulting Numbers: [192] 192,95 unequal: No Solution Exploring Operation: 62*130=8060, Resulting Numbers: [8060] 8060,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[98, 60, 30], Operations: ['92-62=30'] Exploring Operation: 98-30=68, Resulting Numbers: [60, 68] Generated Node #0,1,0: 95:[60, 68] Operation: 98-30=68 Exploring Operation: 60-30=30, Resulting Numbers: [98, 30] Generated Node #0,1,1: 95:[98, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [98, 2] Generated Node #0,1,2: 95:[98, 2] Operation: 60/30=2 Exploring Operation: 98-60=38, Resulting Numbers: [30, 38] Generated Node #0,1,3: 95:[30, 38] Operation: 98-60=38 Exploring Operation: 60+30=90, Resulting Numbers: [98, 90] Generated Node #0,1,4: 95:[98, 90] Operation: 60+30=90 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[98, 2], Operations: ['92-62=30', '60/30=2'] Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,95 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,95 unequal: No Solution No 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: 95:[98, 90], Operations: ['92-62=30', '60+30=90'] Exploring Operation: 98*90=8820, Resulting Numbers: [8820] 8820,95 unequal: No Solution Exploring Operation: 98+90=188, Resulting Numbers: [188] 188,95 unequal: No Solution Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,95 unequal: No Solution No 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: 95:[98, 30], Operations: ['92-62=30', '60-30=30'] Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 98+30=128, Resulting Numbers: [128] 128,95 unequal: No Solution Exploring Operation: 98*30=2940, Resulting Numbers: [2940] 2940,95 unequal: No Solution No 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: 95:[30, 38], Operations: ['92-62=30', '98-60=38'] Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,95 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,95 unequal: No Solution No 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: 95:[60, 68], Operations: ['92-62=30', '98-30=68'] Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 60*68=4080, Resulting Numbers: [4080] 4080,95 unequal: No Solution Exploring Operation: 60+68=128, Resulting Numbers: [128] 128,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 95:[92, 60, 36], Operations: ['98-62=36'] Exploring Operation: 92-36=56, Resulting Numbers: [60, 56] Generated Node #0,4,0: 95:[60, 56] Operation: 92-36=56 Exploring Operation: 60+36=96, Resulting Numbers: [92, 96] Generated Node #0,4,1: 95:[92, 96] Operation: 60+36=96 Exploring Operation: 92-60=32, Resulting Numbers: [36, 32] Generated Node #0,4,2: 95:[36, 32] Operation: 92-60=32 Exploring Operation: 60-36=24, Resulting Numbers: [92, 24] Generated Node #0,4,3: 95:[92, 24] Operation: 60-36=24 Exploring Operation: 92+36=128, Resulting Numbers: [60, 128] Generated Node #0,4,4: 95:[60, 128] Operation: 92+36=128 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 95:[92, 96], Operations: ['98-62=36', '60+36=96'] Exploring Operation: 92+96=188, Resulting Numbers: [188] 188,95 unequal: No Solution Exploring Operation: 92*96=8832, Resulting Numbers: [8832] 8832,95 unequal: No Solution Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,95 unequal: No Solution No 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: 95:[92, 24], Operations: ['98-62=36', '60-36=24'] Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,95 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,95 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,95 unequal: No Solution No 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: 95:[36, 32], Operations: ['98-62=36', '92-60=32'] Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,95 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,95 unequal: No Solution No 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: 95:[60, 128], Operations: ['98-62=36', '92+36=128'] Exploring Operation: 128-60=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 60+128=188, Resulting Numbers: [188] 188,95 unequal: No Solution Exploring Operation: 60*128=7680, Resulting Numbers: [7680] 7680,95 unequal: No Solution No 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: 95:[60, 56], Operations: ['98-62=36', '92-36=56'] Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,95 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,95 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,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_5
mult_heuristic
[ 7, 22, 5, 16 ]
67
[ "16-7=9", "5*9=45", "22+45=67" ]
Current State: 67:[7, 22, 5, 16], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [22, 5, 9] Generated Node #2: [22, 5, 9] from Operation: 16-7=9 Current State: 67:[22, 5, 9], Operations: ['16-7=9'] Exploring Operation: 5*9=45, Resulting Numbers: [22, 45] Generated Node #3: [22, 45] from Operation: 5*9=45 Current State: 67:[22, 45], Operations: ['16-7=9', '5*9=45'] Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[7, 22, 5, 16], Operations: [] Exploring Operation: 7+16=23, Resulting Numbers: [22, 5, 23] Generated Node #0,0: 67:[22, 5, 23] Operation: 7+16=23 Exploring Operation: 7+22=29, Resulting Numbers: [5, 16, 29] Generated Node #0,1: 67:[5, 16, 29] Operation: 7+22=29 Exploring Operation: 7*5=35, Resulting Numbers: [22, 16, 35] Generated Node #0,2: 67:[22, 16, 35] Operation: 7*5=35 Exploring Operation: 5*16=80, Resulting Numbers: [7, 22, 80] Generated Node #0,3: 67:[7, 22, 80] Operation: 5*16=80 Exploring Operation: 7+5=12, Resulting Numbers: [22, 16, 12] Generated Node #0,4: 67:[22, 16, 12] Operation: 7+5=12 Moving to Node #0,3 Current State: 67:[7, 22, 80], Operations: ['5*16=80'] Exploring Operation: 80-22=58, Resulting Numbers: [7, 58] Generated Node #0,3,0: 67:[7, 58] Operation: 80-22=58 Exploring Operation: 80-7=73, Resulting Numbers: [22, 73] Generated Node #0,3,1: 67:[22, 73] Operation: 80-7=73 Exploring Operation: 7+22=29, Resulting Numbers: [80, 29] Generated Node #0,3,2: 67:[80, 29] Operation: 7+22=29 Exploring Operation: 7+80=87, Resulting Numbers: [22, 87] Generated Node #0,3,3: 67:[22, 87] Operation: 7+80=87 Exploring Operation: 22-7=15, Resulting Numbers: [80, 15] Generated Node #0,3,4: 67:[80, 15] Operation: 22-7=15 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[22, 73], Operations: ['5*16=80', '80-7=73'] Exploring Operation: 22+73=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 22*73=1606, Resulting Numbers: [1606] 1606,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,3,2 Current State: 67:[80, 29], Operations: ['5*16=80', '7+22=29'] Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,67 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,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,3,3 Current State: 67:[22, 87], Operations: ['5*16=80', '7+80=87'] Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,67 unequal: No Solution Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,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,3,4 Current State: 67:[80, 15], Operations: ['5*16=80', '22-7=15'] Exploring Operation: 80*15=1200, Resulting Numbers: [1200] 1200,67 unequal: No Solution Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,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,3,0 Current State: 67:[7, 58], Operations: ['5*16=80', '80-22=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,67 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,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:[22, 16, 35], Operations: ['7*5=35'] Exploring Operation: 22+35=57, Resulting Numbers: [16, 57] Generated Node #0,2,0: 67:[16, 57] Operation: 22+35=57 Exploring Operation: 16+35=51, Resulting Numbers: [22, 51] Generated Node #0,2,1: 67:[22, 51] Operation: 16+35=51 Exploring Operation: 35-16=19, Resulting Numbers: [22, 19] Generated Node #0,2,2: 67:[22, 19] Operation: 35-16=19 Exploring Operation: 22+16=38, Resulting Numbers: [35, 38] Generated Node #0,2,3: 67:[35, 38] Operation: 22+16=38 Exploring Operation: 22-16=6, Resulting Numbers: [35, 6] Generated Node #0,2,4: 67:[35, 6] Operation: 22-16=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[16, 57], Operations: ['7*5=35', '22+35=57'] Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,67 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,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,2,1 Current State: 67:[22, 51], Operations: ['7*5=35', '16+35=51'] Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,67 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 22*51=1122, Resulting Numbers: [1122] 1122,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,2,3 Current State: 67:[35, 38], Operations: ['7*5=35', '22+16=38'] Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,67 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,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,2,2 Current State: 67:[22, 19], Operations: ['7*5=35', '35-16=19'] Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,67 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,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,2,4 Current State: 67:[35, 6], Operations: ['7*5=35', '22-16=6'] Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,67 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,67 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: 67:[22, 5, 23], Operations: ['7+16=23'] Exploring Operation: 5+23=28, Resulting Numbers: [22, 28] Generated Node #0,0,0: 67:[22, 28] Operation: 5+23=28 Exploring Operation: 22+23=45, Resulting Numbers: [5, 45] Generated Node #0,0,1: 67:[5, 45] Operation: 22+23=45 Exploring Operation: 22+5=27, Resulting Numbers: [23, 27] Generated Node #0,0,2: 67:[23, 27] Operation: 22+5=27 Exploring Operation: 5*23=115, Resulting Numbers: [22, 115] Generated Node #0,0,3: 67:[22, 115] Operation: 5*23=115 Exploring Operation: 22*5=110, Resulting Numbers: [23, 110] Generated Node #0,0,4: 67:[23, 110] Operation: 22*5=110 Moving to Node #0,1 Current State: 67:[5, 16, 29], Operations: ['7+22=29'] Exploring Operation: 16-5=11, Resulting Numbers: [29, 11] Generated Node #0,1,0: 67:[29, 11] Operation: 16-5=11 Exploring Operation: 16+29=45, Resulting Numbers: [5, 45] Generated Node #0,1,1: 67:[5, 45] Operation: 16+29=45 Exploring Operation: 5*16=80, Resulting Numbers: [29, 80] Generated Node #0,1,2: 67:[29, 80] Operation: 5*16=80 Exploring Operation: 5+16=21, Resulting Numbers: [29, 21] Generated Node #0,1,3: 67:[29, 21] Operation: 5+16=21 Exploring Operation: 5+29=34, Resulting Numbers: [16, 34] Generated Node #0,1,4: 67:[16, 34] Operation: 5+29=34 Moving to Node #0,4 Current State: 67:[22, 16, 12], Operations: ['7+5=12'] Exploring Operation: 22+12=34, Resulting Numbers: [16, 34] Generated Node #0,4,0: 67:[16, 34] Operation: 22+12=34 Exploring Operation: 22+16=38, Resulting Numbers: [12, 38] Generated Node #0,4,1: 67:[12, 38] Operation: 22+16=38 Exploring Operation: 16+12=28, Resulting Numbers: [22, 28] Generated Node #0,4,2: 67:[22, 28] Operation: 16+12=28 Exploring Operation: 16-12=4, Resulting Numbers: [22, 4] Generated Node #0,4,3: 67:[22, 4] Operation: 16-12=4 Exploring Operation: 22-12=10, Resulting Numbers: [16, 10] Generated Node #0,4,4: 67:[16, 10] Operation: 22-12=10 Moving to Node #0,1,2 Current State: 67:[29, 80], Operations: ['7+22=29', '5*16=80'] Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[22, 28], Operations: ['7+16=23', '5+23=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,67 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[5, 45], Operations: ['7+22=29', '16+29=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,67 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[23, 27], Operations: ['7+16=23', '22+5=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[22, 28], Operations: ['7+5=12', '16+12=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,67 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[12, 38], Operations: ['7+5=12', '22+16=38'] Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,67 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[5, 45], Operations: ['7+16=23', '22+23=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,67 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,67 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[16, 34], Operations: ['7+5=12', '22+12=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[29, 21], Operations: ['7+22=29', '5+16=21'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,67 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[16, 34], Operations: ['7+22=29', '5+29=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,67 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[23, 110], Operations: ['7+16=23', '22*5=110'] Exploring Operation: 23+110=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 110-23=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 23*110=2530, Resulting Numbers: [2530] 2530,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[22, 115], Operations: ['7+16=23', '5*23=115'] Exploring Operation: 115-22=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 22*115=2530, Resulting Numbers: [2530] 2530,67 unequal: No Solution Exploring Operation: 22+115=137, Resulting Numbers: [137] 137,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[29, 11], Operations: ['7+22=29', '16-5=11'] Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,67 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[22, 4], Operations: ['7+5=12', '16-12=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[16, 10], Operations: ['7+5=12', '22-12=10'] Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,67 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 43, 76, 62, 12 ]
45
[ "43+76=119", "62+12=74", "119-74=45" ]
Current State: 45:[43, 76, 62, 12], Operations: [] Exploring Operation: 43+76=119, Resulting Numbers: [62, 12, 119] Generated Node #2: [62, 12, 119] from Operation: 43+76=119 Current State: 45:[62, 12, 119], Operations: ['43+76=119'] Exploring Operation: 62+12=74, Resulting Numbers: [119, 74] Generated Node #3: [119, 74] from Operation: 62+12=74 Current State: 45:[119, 74], Operations: ['43+76=119', '62+12=74'] Exploring Operation: 119-74=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[43, 76, 62, 12], Operations: [] Exploring Operation: 62-43=19, Resulting Numbers: [76, 12, 19] Generated Node #0,0: 45:[76, 12, 19] Operation: 62-43=19 Exploring Operation: 76-62=14, Resulting Numbers: [43, 12, 14] Generated Node #0,1: 45:[43, 12, 14] Operation: 76-62=14 Exploring Operation: 76-43=33, Resulting Numbers: [62, 12, 33] Generated Node #0,2: 45:[62, 12, 33] Operation: 76-43=33 Moving to Node #0,1 Current State: 45:[43, 12, 14], Operations: ['76-62=14'] Exploring Operation: 12+14=26, Resulting Numbers: [43, 26] Generated Node #0,1,0: 45:[43, 26] Operation: 12+14=26 Exploring Operation: 43+12=55, Resulting Numbers: [14, 55] Generated Node #0,1,1: 45:[14, 55] Operation: 43+12=55 Exploring Operation: 14-12=2, Resulting Numbers: [43, 2] Generated Node #0,1,2: 45:[43, 2] Operation: 14-12=2 Moving to Node #0,2 Current State: 45:[62, 12, 33], Operations: ['76-43=33'] Exploring Operation: 12+33=45, Resulting Numbers: [62, 45] Generated Node #0,2,0: 45:[62, 45] Operation: 12+33=45 Exploring Operation: 62-33=29, Resulting Numbers: [12, 29] Generated Node #0,2,1: 45:[12, 29] Operation: 62-33=29 Exploring Operation: 62-12=50, Resulting Numbers: [33, 50] Generated Node #0,2,2: 45:[33, 50] Operation: 62-12=50 Moving to Node #0,0 Current State: 45:[76, 12, 19], Operations: ['62-43=19'] Exploring Operation: 76-19=57, Resulting Numbers: [12, 57] Generated Node #0,0,0: 45:[12, 57] Operation: 76-19=57 Exploring Operation: 76/19=4, Resulting Numbers: [12, 4] Generated Node #0,0,1: 45:[12, 4] Operation: 76/19=4 Exploring Operation: 76-12=64, Resulting Numbers: [19, 64] Generated Node #0,0,2: 45:[19, 64] Operation: 76-12=64 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[12, 4], Operations: ['62-43=19', '76/19=4'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[12, 57], Operations: ['62-43=19', '76-19=57'] Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,45 unequal: No Solution Exploring Operation: 12*57=684, Resulting Numbers: [684] 684,45 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[43, 76, 62, 12], Operations: [] Exploring Operation: 62-43=19, Resulting Numbers: [76, 12, 19] Generated Node #0,0: 45:[76, 12, 19] Operation: 62-43=19 Moving to Node #0,0 Current State: 45:[76, 12, 19], Operations: ['62-43=19'] Exploring Operation: 76-19=57, Resulting Numbers: [12, 57] Generated Node #0,0,0: 45:[12, 57] Operation: 76-19=57 Moving to Node #0,0,0 Current State: 45:[12, 57], Operations: ['62-43=19', '76-19=57'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
mult_heuristic
[ 73, 96, 28, 56 ]
51
[ "96-73=23", "56-28=28", "23+28=51" ]
Current State: 51:[73, 96, 28, 56], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [28, 56, 23] Generated Node #2: [28, 56, 23] from Operation: 96-73=23 Current State: 51:[28, 56, 23], Operations: ['96-73=23'] Exploring Operation: 56-28=28, Resulting Numbers: [23, 28] Generated Node #3: [23, 28] from Operation: 56-28=28 Current State: 51:[23, 28], Operations: ['96-73=23', '56-28=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[73, 96, 28, 56], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [28, 56, 23] Generated Node #0,0: 51:[28, 56, 23] Operation: 96-73=23 Exploring Operation: 96-56=40, Resulting Numbers: [73, 28, 40] Generated Node #0,1: 51:[73, 28, 40] Operation: 96-56=40 Exploring Operation: 73-56=17, Resulting Numbers: [96, 28, 17] Generated Node #0,2: 51:[96, 28, 17] Operation: 73-56=17 Exploring Operation: 96-28=68, Resulting Numbers: [73, 56, 68] Generated Node #0,3: 51:[73, 56, 68] Operation: 96-28=68 Exploring Operation: 73-28=45, Resulting Numbers: [96, 56, 45] Generated Node #0,4: 51:[96, 56, 45] Operation: 73-28=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[28, 56, 23], Operations: ['96-73=23'] Exploring Operation: 56-23=33, Resulting Numbers: [28, 33] Generated Node #0,0,0: 51:[28, 33] Operation: 56-23=33 Exploring Operation: 28-23=5, Resulting Numbers: [56, 5] Generated Node #0,0,1: 51:[56, 5] Operation: 28-23=5 Exploring Operation: 56-28=28, Resulting Numbers: [23, 28] Generated Node #0,0,2: 51:[23, 28] Operation: 56-28=28 Exploring Operation: 28+23=51, Resulting Numbers: [56, 51] Generated Node #0,0,3: 51:[56, 51] Operation: 28+23=51 Exploring Operation: 56/28=2, Resulting Numbers: [23, 2] Generated Node #0,0,4: 51:[23, 2] Operation: 56/28=2 Moving to Node #0,0,3 Current State: 51:[56, 51], Operations: ['96-73=23', '28+23=51'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 56+51=107, Resulting Numbers: [107] 107,51 unequal: No Solution Exploring Operation: 56*51=2856, Resulting Numbers: [2856] 2856,51 unequal: No Solution Moving to Node #0,0,4 Current State: 51:[23, 2], Operations: ['96-73=23', '56/28=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[56, 5], Operations: ['96-73=23', '28-23=5'] Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,51 unequal: No Solution Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,51 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[73, 96, 28, 56], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [28, 56, 23] Generated Node #0,0: 51:[28, 56, 23] Operation: 96-73=23 Moving to Node #0,0 Current State: 51:[28, 56, 23], Operations: ['96-73=23'] Exploring Operation: 28-23=5, Resulting Numbers: [56, 5] Generated Node #0,0,1: 51:[56, 5] Operation: 28-23=5 Moving to Node #0,0,1 Current State: 51:[56, 5], Operations: ['96-73=23', '28-23=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 3, 37, 93, 63 ]
47
[ "93-63=30", "30/3=10", "37+10=47" ]
Current State: 47:[3, 37, 93, 63], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [3, 37, 30] Generated Node #2: [3, 37, 30] from Operation: 93-63=30 Current State: 47:[3, 37, 30], Operations: ['93-63=30'] Exploring Operation: 30/3=10, Resulting Numbers: [37, 10] Generated Node #3: [37, 10] from Operation: 30/3=10 Current State: 47:[37, 10], Operations: ['93-63=30', '30/3=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[3, 37, 93, 63], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [37, 63, 31] Generated Node #0,0: 47:[37, 63, 31] Operation: 93/3=31 Exploring Operation: 3+37=40, Resulting Numbers: [93, 63, 40] Generated Node #0,1: 47:[93, 63, 40] Operation: 3+37=40 Moving to Node #0,0 Current State: 47:[37, 63, 31], Operations: ['93/3=31'] Exploring Operation: 63-31=32, Resulting Numbers: [37, 32] Generated Node #0,0,0: 47:[37, 32] Operation: 63-31=32 Exploring Operation: 63-37=26, Resulting Numbers: [31, 26] Generated Node #0,0,1: 47:[31, 26] Operation: 63-37=26 Moving to Node #0,1 Current State: 47:[93, 63, 40], Operations: ['3+37=40'] Exploring Operation: 93-40=53, Resulting Numbers: [63, 53] Generated Node #0,1,0: 47:[63, 53] Operation: 93-40=53 Exploring Operation: 93-63=30, Resulting Numbers: [40, 30] Generated Node #0,1,1: 47:[40, 30] Operation: 93-63=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[63, 53], Operations: ['3+37=40', '93-40=53'] Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[40, 30], Operations: ['3+37=40', '93-63=30'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,47 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: 47:[37, 32], Operations: ['93/3=31', '63-31=32'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,47 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[31, 26], Operations: ['93/3=31', '63-37=26'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,47 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,47 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 17, 2, 87, 68 ]
34
[ "17-2=15", "87-68=19", "15+19=34" ]
Current State: 34:[17, 2, 87, 68], Operations: [] Exploring Operation: 17-2=15, Resulting Numbers: [87, 68, 15] Generated Node #2: [87, 68, 15] from Operation: 17-2=15 Current State: 34:[87, 68, 15], Operations: ['17-2=15'] Exploring Operation: 87-68=19, Resulting Numbers: [15, 19] Generated Node #3: [15, 19] from Operation: 87-68=19 Current State: 34:[15, 19], Operations: ['17-2=15', '87-68=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[17, 2, 87, 68], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [2, 87, 4] Generated Node #0,0: 34:[2, 87, 4] Operation: 68/17=4 Exploring Operation: 87-68=19, Resulting Numbers: [17, 2, 19] Generated Node #0,1: 34:[17, 2, 19] Operation: 87-68=19 Exploring Operation: 68/2=34, Resulting Numbers: [17, 87, 34] Generated Node #0,2: 34:[17, 87, 34] Operation: 68/2=34 Moving to Node #0,1 Current State: 34:[17, 2, 19], Operations: ['87-68=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 34:[2, 2] Operation: 19-17=2 Exploring Operation: 17*2=34, Resulting Numbers: [19, 34] Generated Node #0,1,1: 34:[19, 34] Operation: 17*2=34 Exploring Operation: 19-2=17, Resulting Numbers: [17, 17] Generated Node #0,1,2: 34:[17, 17] Operation: 19-2=17 Moving to Node #0,2 Current State: 34:[17, 87, 34], Operations: ['68/2=34'] Exploring Operation: 87-17=70, Resulting Numbers: [34, 70] Generated Node #0,2,0: 34:[34, 70] Operation: 87-17=70 Exploring Operation: 87-34=53, Resulting Numbers: [17, 53] Generated Node #0,2,1: 34:[17, 53] Operation: 87-34=53 Exploring Operation: 34-17=17, Resulting Numbers: [87, 17] Generated Node #0,2,2: 34:[87, 17] Operation: 34-17=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[17, 53], Operations: ['68/2=34', '87-34=53'] Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,34 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,34 unequal: No Solution No 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: 34:[34, 70], Operations: ['68/2=34', '87-17=70'] Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,34 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,34 unequal: No Solution No 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: 34:[87, 17], Operations: ['68/2=34', '34-17=17'] Exploring Operation: 87+17=104, Resulting Numbers: [104] 104,34 unequal: No Solution Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 87*17=1479, Resulting Numbers: [1479] 1479,34 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: 34:[2, 87, 4], Operations: ['68/17=4'] Exploring Operation: 87-4=83, Resulting Numbers: [2, 83] Generated Node #0,0,0: 34:[2, 83] Operation: 87-4=83 Exploring Operation: 87-2=85, Resulting Numbers: [4, 85] Generated Node #0,0,1: 34:[4, 85] Operation: 87-2=85 Exploring Operation: 4-2=2, Resulting Numbers: [87, 2] Generated Node #0,0,2: 34:[87, 2] Operation: 4-2=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[2, 83], Operations: ['68/17=4', '87-4=83'] Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,34 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,34 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,34 unequal: No Solution No 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: 34:[4, 85], Operations: ['68/17=4', '87-2=85'] Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,34 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,34 unequal: No Solution Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,34 unequal: No Solution No 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: 34:[87, 2], Operations: ['68/17=4', '4-2=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,34 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,34 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 34:[2, 2], Operations: ['87-68=19', '19-17=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[17, 17], Operations: ['87-68=19', '19-2=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[17, 2, 87, 68], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [17, 2, 19] Generated Node #0,1: 34:[17, 2, 19] Operation: 87-68=19 Moving to Node #0,1 Current State: 34:[17, 2, 19], Operations: ['87-68=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17, 17] Generated Node #0,1,2: 34:[17, 17] Operation: 19-2=17 Moving to Node #0,1,2 Current State: 34:[17, 17], Operations: ['87-68=19', '19-2=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 55, 14, 11, 85 ]
64
[ "14+85=99", "99/11=9", "55+9=64" ]
Current State: 64:[55, 14, 11, 85], Operations: [] Exploring Operation: 14+85=99, Resulting Numbers: [55, 11, 99] Generated Node #2: [55, 11, 99] from Operation: 14+85=99 Current State: 64:[55, 11, 99], Operations: ['14+85=99'] Exploring Operation: 99/11=9, Resulting Numbers: [55, 9] Generated Node #3: [55, 9] from Operation: 99/11=9 Current State: 64:[55, 9], Operations: ['14+85=99', '99/11=9'] Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[55, 14, 11, 85], Operations: [] Exploring Operation: 85-14=71, Resulting Numbers: [55, 11, 71] Generated Node #0,0: 64:[55, 11, 71] Operation: 85-14=71 Exploring Operation: 85-55=30, Resulting Numbers: [14, 11, 30] Generated Node #0,1: 64:[14, 11, 30] Operation: 85-55=30 Exploring Operation: 55/11=5, Resulting Numbers: [14, 85, 5] Generated Node #0,2: 64:[14, 85, 5] Operation: 55/11=5 Exploring Operation: 85-11=74, Resulting Numbers: [55, 14, 74] Generated Node #0,3: 64:[55, 14, 74] Operation: 85-11=74 Exploring Operation: 55+11=66, Resulting Numbers: [14, 85, 66] Generated Node #0,4: 64:[14, 85, 66] Operation: 55+11=66 Moving to Node #0,1 Current State: 64:[14, 11, 30], Operations: ['85-55=30'] Exploring Operation: 11+30=41, Resulting Numbers: [14, 41] Generated Node #0,1,0: 64:[14, 41] Operation: 11+30=41 Exploring Operation: 30-11=19, Resulting Numbers: [14, 19] Generated Node #0,1,1: 64:[14, 19] Operation: 30-11=19 Exploring Operation: 30-14=16, Resulting Numbers: [11, 16] Generated Node #0,1,2: 64:[11, 16] Operation: 30-14=16 Exploring Operation: 14-11=3, Resulting Numbers: [30, 3] Generated Node #0,1,3: 64:[30, 3] Operation: 14-11=3 Exploring Operation: 14+11=25, Resulting Numbers: [30, 25] Generated Node #0,1,4: 64:[30, 25] Operation: 14+11=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[11, 16], Operations: ['85-55=30', '30-14=16'] Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,64 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[30, 3], Operations: ['85-55=30', '14-11=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,64 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[14, 19], Operations: ['85-55=30', '30-11=19'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 64:[30, 25], Operations: ['85-55=30', '14+11=25'] Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,64 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[14, 41], Operations: ['85-55=30', '11+30=41'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 64:[55, 11, 71], Operations: ['85-14=71'] Exploring Operation: 71-11=60, Resulting Numbers: [55, 60] Generated Node #0,0,0: 64:[55, 60] Operation: 71-11=60 Exploring Operation: 55/11=5, Resulting Numbers: [71, 5] Generated Node #0,0,1: 64:[71, 5] Operation: 55/11=5 Exploring Operation: 55+11=66, Resulting Numbers: [71, 66] Generated Node #0,0,2: 64:[71, 66] Operation: 55+11=66 Exploring Operation: 71-55=16, Resulting Numbers: [11, 16] Generated Node #0,0,3: 64:[11, 16] Operation: 71-55=16 Exploring Operation: 55-11=44, Resulting Numbers: [71, 44] Generated Node #0,0,4: 64:[71, 44] Operation: 55-11=44 Moving to Node #0,3 Current State: 64:[55, 14, 74], Operations: ['85-11=74'] Exploring Operation: 14+74=88, Resulting Numbers: [55, 88] Generated Node #0,3,0: 64:[55, 88] Operation: 14+74=88 Exploring Operation: 55-14=41, Resulting Numbers: [74, 41] Generated Node #0,3,1: 64:[74, 41] Operation: 55-14=41 Exploring Operation: 74-55=19, Resulting Numbers: [14, 19] Generated Node #0,3,2: 64:[14, 19] Operation: 74-55=19 Exploring Operation: 74-14=60, Resulting Numbers: [55, 60] Generated Node #0,3,3: 64:[55, 60] Operation: 74-14=60 Exploring Operation: 55+14=69, Resulting Numbers: [74, 69] Generated Node #0,3,4: 64:[74, 69] Operation: 55+14=69 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[14, 19], Operations: ['85-11=74', '74-55=19'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,64 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[55, 60], Operations: ['85-11=74', '74-14=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 64:[74, 69], Operations: ['85-11=74', '55+14=69'] Exploring Operation: 74*69=5106, Resulting Numbers: [5106] 5106,64 unequal: No Solution Exploring Operation: 74+69=143, Resulting Numbers: [143] 143,64 unequal: No Solution Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[74, 41], Operations: ['85-11=74', '55-14=41'] Exploring Operation: 74+41=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 74*41=3034, Resulting Numbers: [3034] 3034,64 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[55, 88], Operations: ['85-11=74', '14+74=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,64 unequal: No Solution Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,64 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: 64:[14, 85, 5], Operations: ['55/11=5'] Exploring Operation: 85-5=80, Resulting Numbers: [14, 80] Generated Node #0,2,0: 64:[14, 80] Operation: 85-5=80 Exploring Operation: 85-14=71, Resulting Numbers: [5, 71] Generated Node #0,2,1: 64:[5, 71] Operation: 85-14=71 Exploring Operation: 14-5=9, Resulting Numbers: [85, 9] Generated Node #0,2,2: 64:[85, 9] Operation: 14-5=9 Exploring Operation: 14+5=19, Resulting Numbers: [85, 19] Generated Node #0,2,3: 64:[85, 19] Operation: 14+5=19 Exploring Operation: 85/5=17, Resulting Numbers: [14, 17] Generated Node #0,2,4: 64:[14, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 64:[14, 17], Operations: ['55/11=5', '85/5=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,64 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[5, 71], Operations: ['55/11=5', '85-14=71'] Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,64 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[14, 80], Operations: ['55/11=5', '85-5=80'] Exploring Operation: 14*80=1120, Resulting Numbers: [1120] 1120,64 unequal: No Solution Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[85, 9], Operations: ['55/11=5', '14-5=9'] Exploring Operation: 85*9=765, Resulting Numbers: [765] 765,64 unequal: No Solution Exploring Operation: 85+9=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[85, 19], Operations: ['55/11=5', '14+5=19'] Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,64 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,64 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: 64:[14, 85, 66], Operations: ['55+11=66'] Exploring Operation: 85-66=19, Resulting Numbers: [14, 19] Generated Node #0,4,0: 64:[14, 19] Operation: 85-66=19 Exploring Operation: 85-14=71, Resulting Numbers: [66, 71] Generated Node #0,4,1: 64:[66, 71] Operation: 85-14=71 Exploring Operation: 66-14=52, Resulting Numbers: [85, 52] Generated Node #0,4,2: 64:[85, 52] Operation: 66-14=52 Exploring Operation: 14+85=99, Resulting Numbers: [66, 99] Generated Node #0,4,3: 64:[66, 99] Operation: 14+85=99 Exploring Operation: 14+66=80, Resulting Numbers: [85, 80] Generated Node #0,4,4: 64:[85, 80] Operation: 14+66=80 Moving to Node #0,0,3 Current State: 64:[11, 16], Operations: ['85-14=71', '71-55=16'] Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,64 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[14, 19], Operations: ['55+11=66', '85-66=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,64 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[71, 5], Operations: ['85-14=71', '55/11=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,64 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[66, 71], Operations: ['55+11=66', '85-14=71'] Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,64 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[71, 66], Operations: ['85-14=71', '55+11=66'] Exploring Operation: 71+66=137, Resulting Numbers: [137] 137,64 unequal: No Solution Exploring Operation: 71*66=4686, Resulting Numbers: [4686] 4686,64 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[55, 60], Operations: ['85-14=71', '71-11=60'] Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,64 unequal: No Solution Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[71, 44], Operations: ['85-14=71', '55-11=44'] Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,64 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[85, 52], Operations: ['55+11=66', '66-14=52'] Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,64 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[85, 80], Operations: ['55+11=66', '14+66=80'] Exploring Operation: 85+80=165, Resulting Numbers: [165] 165,64 unequal: No Solution Exploring Operation: 85*80=6800, Resulting Numbers: [6800] 6800,64 unequal: No Solution Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,64 unequal: No Solution Moving to Node #0,4,3 Current State: 64:[66, 99], Operations: ['55+11=66', '14+85=99'] Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,64 unequal: No Solution Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,64 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 28, 1, 77, 6 ]
17
[ "1+6=7", "77/7=11", "28-11=17" ]
Current State: 17:[28, 1, 77, 6], Operations: [] Exploring Operation: 1+6=7, Resulting Numbers: [28, 77, 7] Generated Node #2: [28, 77, 7] from Operation: 1+6=7 Current State: 17:[28, 77, 7], Operations: ['1+6=7'] Exploring Operation: 77/7=11, Resulting Numbers: [28, 11] Generated Node #3: [28, 11] from Operation: 77/7=11 Current State: 17:[28, 11], Operations: ['1+6=7', '77/7=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[28, 1, 77, 6], Operations: [] Exploring Operation: 77-28=49, Resulting Numbers: [1, 6, 49] Generated Node #0,0: 17:[1, 6, 49] Operation: 77-28=49 Exploring Operation: 28-1=27, Resulting Numbers: [77, 6, 27] Generated Node #0,1: 17:[77, 6, 27] Operation: 28-1=27 Exploring Operation: 77-1=76, Resulting Numbers: [28, 6, 76] Generated Node #0,2: 17:[28, 6, 76] Operation: 77-1=76 Exploring Operation: 28-6=22, Resulting Numbers: [1, 77, 22] Generated Node #0,3: 17:[1, 77, 22] Operation: 28-6=22 Moving to Node #0,0 Current State: 17:[1, 6, 49], Operations: ['77-28=49'] Exploring Operation: 1*6=6, Resulting Numbers: [49, 6] Generated Node #0,0,0: 17:[49, 6] Operation: 1*6=6 Exploring Operation: 49-6=43, Resulting Numbers: [1, 43] Generated Node #0,0,1: 17:[1, 43] Operation: 49-6=43 Exploring Operation: 49-1=48, Resulting Numbers: [6, 48] Generated Node #0,0,2: 17:[6, 48] Operation: 49-1=48 Exploring Operation: 1+6=7, Resulting Numbers: [49, 7] Generated Node #0,0,3: 17:[49, 7] Operation: 1+6=7 Moving to Node #0,2 Current State: 17:[28, 6, 76], Operations: ['77-1=76'] Exploring Operation: 76-6=70, Resulting Numbers: [28, 70] Generated Node #0,2,0: 17:[28, 70] Operation: 76-6=70 Exploring Operation: 28-6=22, Resulting Numbers: [76, 22] Generated Node #0,2,1: 17:[76, 22] Operation: 28-6=22 Exploring Operation: 28+6=34, Resulting Numbers: [76, 34] Generated Node #0,2,2: 17:[76, 34] Operation: 28+6=34 Exploring Operation: 76-28=48, Resulting Numbers: [6, 48] Generated Node #0,2,3: 17:[6, 48] Operation: 76-28=48 Moving to Node #0,1 Current State: 17:[77, 6, 27], Operations: ['28-1=27'] Exploring Operation: 77-27=50, Resulting Numbers: [6, 50] Generated Node #0,1,0: 17:[6, 50] Operation: 77-27=50 Exploring Operation: 27-6=21, Resulting Numbers: [77, 21] Generated Node #0,1,1: 17:[77, 21] Operation: 27-6=21 Exploring Operation: 77+6=83, Resulting Numbers: [27, 83] Generated Node #0,1,2: 17:[27, 83] Operation: 77+6=83 Exploring Operation: 77-6=71, Resulting Numbers: [27, 71] Generated Node #0,1,3: 17:[27, 71] Operation: 77-6=71 Moving to Node #0,3 Current State: 17:[1, 77, 22], Operations: ['28-6=22'] Exploring Operation: 77-1=76, Resulting Numbers: [22, 76] Generated Node #0,3,0: 17:[22, 76] Operation: 77-1=76 Exploring Operation: 22-1=21, Resulting Numbers: [77, 21] Generated Node #0,3,1: 17:[77, 21] Operation: 22-1=21 Exploring Operation: 1*77=77, Resulting Numbers: [22, 77] Generated Node #0,3,2: 17:[22, 77] Operation: 1*77=77 Exploring Operation: 77-22=55, Resulting Numbers: [1, 55] Generated Node #0,3,3: 17:[1, 55] Operation: 77-22=55 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[1, 55], Operations: ['28-6=22', '77-22=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[22, 76], Operations: ['28-6=22', '77-1=76'] Exploring Operation: 22+76=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 22*76=1672, Resulting Numbers: [1672] 1672,17 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[77, 21], Operations: ['28-6=22', '22-1=21'] Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,17 unequal: No Solution Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[22, 77], Operations: ['28-6=22', '1*77=77'] Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,17 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,17 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: 17:[1, 43], Operations: ['77-28=49', '49-6=43'] Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[49, 7], Operations: ['77-28=49', '1+6=7'] Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,17 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[6, 48], Operations: ['77-28=49', '49-1=48'] Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,17 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[6, 48], Operations: ['77-1=76', '76-28=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[49, 6], Operations: ['77-28=49', '1*6=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[6, 50], Operations: ['28-1=27', '77-27=50'] Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,17 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[76, 22], Operations: ['77-1=76', '28-6=22'] Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[28, 70], Operations: ['77-1=76', '76-6=70'] Exploring Operation: 28*70=1960, Resulting Numbers: [1960] 1960,17 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[77, 21], Operations: ['28-1=27', '27-6=21'] Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[27, 71], Operations: ['28-1=27', '77-6=71'] Exploring Operation: 27*71=1917, Resulting Numbers: [1917] 1917,17 unequal: No Solution Exploring Operation: 27+71=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[76, 34], Operations: ['77-1=76', '28+6=34'] Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,17 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[27, 83], Operations: ['28-1=27', '77+6=83'] Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,17 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 88, 7, 3, 95 ]
52
[ "95-88=7", "7*7=49", "3+49=52" ]
Current State: 52:[88, 7, 3, 95], Operations: [] Exploring Operation: 95-88=7, Resulting Numbers: [7, 3, 7] Generated Node #2: [7, 3, 7] from Operation: 95-88=7 Current State: 52:[7, 3, 7], Operations: ['95-88=7'] Exploring Operation: 7*7=49, Resulting Numbers: [3, 49] Generated Node #3: [3, 49] from Operation: 7*7=49 Current State: 52:[3, 49], Operations: ['95-88=7', '7*7=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[88, 7, 3, 95], Operations: [] Exploring Operation: 95-88=7, Resulting Numbers: [7, 3, 7] Generated Node #0,0: 52:[7, 3, 7] Operation: 95-88=7 Exploring Operation: 7-3=4, Resulting Numbers: [88, 95, 4] Generated Node #0,1: 52:[88, 95, 4] Operation: 7-3=4 Exploring Operation: 88-3=85, Resulting Numbers: [7, 95, 85] Generated Node #0,2: 52:[7, 95, 85] Operation: 88-3=85 Exploring Operation: 95-7=88, Resulting Numbers: [88, 3, 88] Generated Node #0,3: 52:[88, 3, 88] Operation: 95-7=88 Exploring Operation: 88-7=81, Resulting Numbers: [3, 95, 81] Generated Node #0,4: 52:[3, 95, 81] Operation: 88-7=81 Moving to Node #0,0 Current State: 52:[7, 3, 7], Operations: ['95-88=7'] Exploring Operation: 7-3=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 52:[7, 4] Operation: 7-3=4 Exploring Operation: 7-7=0, Resulting Numbers: [3, 0] Generated Node #0,0,1: 52:[3, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [3, 1] Generated Node #0,0,2: 52:[3, 1] Operation: 7/7=1 Exploring Operation: 7-3=4, Resulting Numbers: [7, 4] Generated Node #0,0,3: 52:[7, 4] Operation: 7-3=4 Exploring Operation: 7+7=14, Resulting Numbers: [3, 14] Generated Node #0,0,4: 52:[3, 14] Operation: 7+7=14 Moving to Node #0,4 Current State: 52:[3, 95, 81], Operations: ['88-7=81'] Exploring Operation: 95-81=14, Resulting Numbers: [3, 14] Generated Node #0,4,0: 52:[3, 14] Operation: 95-81=14 Exploring Operation: 81-3=78, Resulting Numbers: [95, 78] Generated Node #0,4,1: 52:[95, 78] Operation: 81-3=78 Exploring Operation: 95-3=92, Resulting Numbers: [81, 92] Generated Node #0,4,2: 52:[81, 92] Operation: 95-3=92 Exploring Operation: 81/3=27, Resulting Numbers: [95, 27] Generated Node #0,4,3: 52:[95, 27] Operation: 81/3=27 Exploring Operation: 3+95=98, Resulting Numbers: [81, 98] Generated Node #0,4,4: 52:[81, 98] Operation: 3+95=98 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 52:[3, 14], Operations: ['88-7=81', '95-81=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,52 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 52:[95, 27], Operations: ['88-7=81', '81/3=27'] Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,52 unequal: No Solution Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,52 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 52:[95, 78], Operations: ['88-7=81', '81-3=78'] Exploring Operation: 95+78=173, Resulting Numbers: [173] 173,52 unequal: No Solution Exploring Operation: 95-78=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 95*78=7410, Resulting Numbers: [7410] 7410,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 52:[81, 92], Operations: ['88-7=81', '95-3=92'] Exploring Operation: 81+92=173, Resulting Numbers: [173] 173,52 unequal: No Solution Exploring Operation: 81*92=7452, Resulting Numbers: [7452] 7452,52 unequal: No Solution Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 52:[81, 98], Operations: ['88-7=81', '3+95=98'] Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,52 unequal: No Solution Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,52 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,52 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: 52:[88, 3, 88], Operations: ['95-7=88'] Exploring Operation: 88-88=0, Resulting Numbers: [3, 0] Generated Node #0,3,0: 52:[3, 0] Operation: 88-88=0 Exploring Operation: 88-3=85, Resulting Numbers: [88, 85] Generated Node #0,3,1: 52:[88, 85] Operation: 88-3=85 Exploring Operation: 88-3=85, Resulting Numbers: [88, 85] Generated Node #0,3,2: 52:[88, 85] Operation: 88-3=85 Exploring Operation: 88/88=1, Resulting Numbers: [3, 1] Generated Node #0,3,3: 52:[3, 1] Operation: 88/88=1 Exploring Operation: 88+3=91, Resulting Numbers: [88, 91] Generated Node #0,3,4: 52:[88, 91] Operation: 88+3=91 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[3, 1], Operations: ['95-7=88', '88/88=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[3, 0], Operations: ['95-7=88', '88-88=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[88, 85], Operations: ['95-7=88', '88-3=85'] Exploring Operation: 88+85=173, Resulting Numbers: [173] 173,52 unequal: No Solution Exploring Operation: 88*85=7480, Resulting Numbers: [7480] 7480,52 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[88, 85], Operations: ['95-7=88', '88-3=85'] Exploring Operation: 88*85=7480, Resulting Numbers: [7480] 7480,52 unequal: No Solution Exploring Operation: 88+85=173, Resulting Numbers: [173] 173,52 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 52:[88, 91], Operations: ['95-7=88', '88+3=91'] Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,52 unequal: No Solution Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 52:[88, 95, 4], Operations: ['7-3=4'] Exploring Operation: 88+4=92, Resulting Numbers: [95, 92] Generated Node #0,1,0: 52:[95, 92] Operation: 88+4=92 Exploring Operation: 88/4=22, Resulting Numbers: [95, 22] Generated Node #0,1,1: 52:[95, 22] Operation: 88/4=22 Exploring Operation: 95-4=91, Resulting Numbers: [88, 91] Generated Node #0,1,2: 52:[88, 91] Operation: 95-4=91 Exploring Operation: 88-4=84, Resulting Numbers: [95, 84] Generated Node #0,1,3: 52:[95, 84] Operation: 88-4=84 Exploring Operation: 95-88=7, Resulting Numbers: [4, 7] Generated Node #0,1,4: 52:[4, 7] Operation: 95-88=7 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 52:[4, 7], Operations: ['7-3=4', '95-88=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[95, 22], Operations: ['7-3=4', '88/4=22'] Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,52 unequal: No Solution Exploring Operation: 95+22=117, Resulting Numbers: [117] 117,52 unequal: No Solution Exploring Operation: 95*22=2090, Resulting Numbers: [2090] 2090,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[88, 91], Operations: ['7-3=4', '95-4=91'] Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,52 unequal: No Solution Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,52 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[95, 84], Operations: ['7-3=4', '88-4=84'] Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 95*84=7980, Resulting Numbers: [7980] 7980,52 unequal: No Solution Exploring Operation: 95+84=179, Resulting Numbers: [179] 179,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[95, 92], Operations: ['7-3=4', '88+4=92'] Exploring Operation: 95+92=187, Resulting Numbers: [187] 187,52 unequal: No Solution Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 95*92=8740, Resulting Numbers: [8740] 8740,52 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: 52:[7, 95, 85], Operations: ['88-3=85'] Exploring Operation: 7+85=92, Resulting Numbers: [95, 92] Generated Node #0,2,0: 52:[95, 92] Operation: 7+85=92 Exploring Operation: 7+95=102, Resulting Numbers: [85, 102] Generated Node #0,2,1: 52:[85, 102] Operation: 7+95=102 Exploring Operation: 85-7=78, Resulting Numbers: [95, 78] Generated Node #0,2,2: 52:[95, 78] Operation: 85-7=78 Exploring Operation: 95-85=10, Resulting Numbers: [7, 10] Generated Node #0,2,3: 52:[7, 10] Operation: 95-85=10 Exploring Operation: 95-7=88, Resulting Numbers: [85, 88] Generated Node #0,2,4: 52:[85, 88] Operation: 95-7=88 Moving to Node #0,0,2 Current State: 52:[3, 1], Operations: ['95-88=7', '7/7=1'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[3, 14], Operations: ['95-88=7', '7+7=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,52 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[7, 4], Operations: ['95-88=7', '7-3=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[7, 4], Operations: ['95-88=7', '7-3=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[3, 0], Operations: ['95-88=7', '7-7=0'] Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[7, 10], Operations: ['88-3=85', '95-85=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[85, 88], Operations: ['88-3=85', '95-7=88'] Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,52 unequal: No Solution Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[95, 78], Operations: ['88-3=85', '85-7=78'] Exploring Operation: 95+78=173, Resulting Numbers: [173] 173,52 unequal: No Solution Exploring Operation: 95-78=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 95*78=7410, Resulting Numbers: [7410] 7410,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[85, 102], Operations: ['88-3=85', '7+95=102'] Exploring Operation: 85+102=187, Resulting Numbers: [187] 187,52 unequal: No Solution Exploring Operation: 102-85=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 85*102=8670, Resulting Numbers: [8670] 8670,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[95, 92], Operations: ['88-3=85', '7+85=92'] Exploring Operation: 95+92=187, Resulting Numbers: [187] 187,52 unequal: No Solution Exploring Operation: 95*92=8740, Resulting Numbers: [8740] 8740,52 unequal: No Solution Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,52 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 89, 58, 3, 23 ]
62
[ "89+3=92", "92/23=4", "58+4=62" ]
Current State: 62:[89, 58, 3, 23], Operations: [] Exploring Operation: 89+3=92, Resulting Numbers: [58, 23, 92] Generated Node #2: [58, 23, 92] from Operation: 89+3=92 Current State: 62:[58, 23, 92], Operations: ['89+3=92'] Exploring Operation: 92/23=4, Resulting Numbers: [58, 4] Generated Node #3: [58, 4] from Operation: 92/23=4 Current State: 62:[58, 4], Operations: ['89+3=92', '92/23=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[89, 58, 3, 23], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [89, 3, 35] Generated Node #0,0: 62:[89, 3, 35] Operation: 58-23=35 Exploring Operation: 58+3=61, Resulting Numbers: [89, 23, 61] Generated Node #0,1: 62:[89, 23, 61] Operation: 58+3=61 Exploring Operation: 89-3=86, Resulting Numbers: [58, 23, 86] Generated Node #0,2: 62:[58, 23, 86] Operation: 89-3=86 Exploring Operation: 89-58=31, Resulting Numbers: [3, 23, 31] Generated Node #0,3: 62:[3, 23, 31] Operation: 89-58=31 Exploring Operation: 89-23=66, Resulting Numbers: [58, 3, 66] Generated Node #0,4: 62:[58, 3, 66] Operation: 89-23=66 Moving to Node #0,3 Current State: 62:[3, 23, 31], Operations: ['89-58=31'] Exploring Operation: 3+23=26, Resulting Numbers: [31, 26] Generated Node #0,3,0: 62:[31, 26] Operation: 3+23=26 Exploring Operation: 3*23=69, Resulting Numbers: [31, 69] Generated Node #0,3,1: 62:[31, 69] Operation: 3*23=69 Exploring Operation: 23+31=54, Resulting Numbers: [3, 54] Generated Node #0,3,2: 62:[3, 54] Operation: 23+31=54 Exploring Operation: 31-23=8, Resulting Numbers: [3, 8] Generated Node #0,3,3: 62:[3, 8] Operation: 31-23=8 Exploring Operation: 23-3=20, Resulting Numbers: [31, 20] Generated Node #0,3,4: 62:[31, 20] Operation: 23-3=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[31, 26], Operations: ['89-58=31', '3+23=26'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,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,3,1 Current State: 62:[31, 69], Operations: ['89-58=31', '3*23=69'] Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,62 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,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,3,3 Current State: 62:[3, 8], Operations: ['89-58=31', '31-23=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,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,3,2 Current State: 62:[3, 54], Operations: ['89-58=31', '23+31=54'] Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,62 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,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,3,4 Current State: 62:[31, 20], Operations: ['89-58=31', '23-3=20'] Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,62 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,62 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: 62:[58, 3, 66], Operations: ['89-23=66'] Exploring Operation: 58+3=61, Resulting Numbers: [66, 61] Generated Node #0,4,0: 62:[66, 61] Operation: 58+3=61 Exploring Operation: 58-3=55, Resulting Numbers: [66, 55] Generated Node #0,4,1: 62:[66, 55] Operation: 58-3=55 Exploring Operation: 3+66=69, Resulting Numbers: [58, 69] Generated Node #0,4,2: 62:[58, 69] Operation: 3+66=69 Exploring Operation: 66-3=63, Resulting Numbers: [58, 63] Generated Node #0,4,3: 62:[58, 63] Operation: 66-3=63 Exploring Operation: 66-58=8, Resulting Numbers: [3, 8] Generated Node #0,4,4: 62:[3, 8] Operation: 66-58=8 Moving to Node #0,0 Current State: 62:[89, 3, 35], Operations: ['58-23=35'] Exploring Operation: 35-3=32, Resulting Numbers: [89, 32] Generated Node #0,0,0: 62:[89, 32] Operation: 35-3=32 Exploring Operation: 89+3=92, Resulting Numbers: [35, 92] Generated Node #0,0,1: 62:[35, 92] Operation: 89+3=92 Exploring Operation: 89-35=54, Resulting Numbers: [3, 54] Generated Node #0,0,2: 62:[3, 54] Operation: 89-35=54 Exploring Operation: 3+35=38, Resulting Numbers: [89, 38] Generated Node #0,0,3: 62:[89, 38] Operation: 3+35=38 Exploring Operation: 89-3=86, Resulting Numbers: [35, 86] Generated Node #0,0,4: 62:[35, 86] Operation: 89-3=86 Moving to Node #0,1 Current State: 62:[89, 23, 61], Operations: ['58+3=61'] Exploring Operation: 61-23=38, Resulting Numbers: [89, 38] Generated Node #0,1,0: 62:[89, 38] Operation: 61-23=38 Exploring Operation: 89-23=66, Resulting Numbers: [61, 66] Generated Node #0,1,1: 62:[61, 66] Operation: 89-23=66 Exploring Operation: 89+23=112, Resulting Numbers: [61, 112] Generated Node #0,1,2: 62:[61, 112] Operation: 89+23=112 Exploring Operation: 89-61=28, Resulting Numbers: [23, 28] Generated Node #0,1,3: 62:[23, 28] Operation: 89-61=28 Exploring Operation: 23+61=84, Resulting Numbers: [89, 84] Generated Node #0,1,4: 62:[89, 84] Operation: 23+61=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[61, 66], Operations: ['58+3=61', '89-23=66'] Exploring Operation: 61*66=4026, Resulting Numbers: [4026] 4026,62 unequal: No Solution Exploring Operation: 61+66=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,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,1,3 Current State: 62:[23, 28], Operations: ['58+3=61', '89-61=28'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,62 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,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,1,0 Current State: 62:[89, 38], Operations: ['58+3=61', '61-23=38'] Exploring Operation: 89+38=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 89*38=3382, Resulting Numbers: [3382] 3382,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,1,4 Current State: 62:[89, 84], Operations: ['58+3=61', '23+61=84'] Exploring Operation: 89*84=7476, Resulting Numbers: [7476] 7476,62 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 89+84=173, Resulting Numbers: [173] 173,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,1,2 Current State: 62:[61, 112], Operations: ['58+3=61', '89+23=112'] Exploring Operation: 61+112=173, Resulting Numbers: [173] 173,62 unequal: No Solution Exploring Operation: 112-61=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 61*112=6832, Resulting Numbers: [6832] 6832,62 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: 62:[58, 23, 86], Operations: ['89-3=86'] Exploring Operation: 23+86=109, Resulting Numbers: [58, 109] Generated Node #0,2,0: 62:[58, 109] Operation: 23+86=109 Exploring Operation: 86-23=63, Resulting Numbers: [58, 63] Generated Node #0,2,1: 62:[58, 63] Operation: 86-23=63 Exploring Operation: 58-23=35, Resulting Numbers: [86, 35] Generated Node #0,2,2: 62:[86, 35] Operation: 58-23=35 Exploring Operation: 58+23=81, Resulting Numbers: [86, 81] Generated Node #0,2,3: 62:[86, 81] Operation: 58+23=81 Exploring Operation: 86-58=28, Resulting Numbers: [23, 28] Generated Node #0,2,4: 62:[23, 28] Operation: 86-58=28 Moving to Node #0,4,0 Current State: 62:[66, 61], Operations: ['89-23=66', '58+3=61'] Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,62 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,62 unequal: No Solution Moving to Node #0,4,3 Current State: 62:[58, 63], Operations: ['89-23=66', '66-3=63'] Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 58+63=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 58*63=3654, Resulting Numbers: [3654] 3654,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[58, 63], Operations: ['89-3=86', '86-23=63'] Exploring Operation: 58+63=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 58*63=3654, Resulting Numbers: [3654] 3654,62 unequal: No Solution Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,4,4 Current State: 62:[3, 8], Operations: ['89-23=66', '66-58=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[3, 54], Operations: ['58-23=35', '89-35=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[23, 28], Operations: ['89-3=86', '86-58=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,62 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,4,2 Current State: 62:[58, 69], Operations: ['89-23=66', '3+66=69'] Exploring Operation: 58*69=4002, Resulting Numbers: [4002] 4002,62 unequal: No Solution Exploring Operation: 58+69=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,62 unequal: No Solution Moving to Node #0,4,1 Current State: 62:[66, 55], Operations: ['89-23=66', '58-3=55'] Exploring Operation: 66*55=3630, Resulting Numbers: [3630] 3630,62 unequal: No Solution Exploring Operation: 66-55=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 66+55=121, Resulting Numbers: [121] 121,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[89, 32], Operations: ['58-23=35', '35-3=32'] Exploring Operation: 89*32=2848, Resulting Numbers: [2848] 2848,62 unequal: No Solution Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[86, 35], Operations: ['89-3=86', '58-23=35'] Exploring Operation: 86*35=3010, Resulting Numbers: [3010] 3010,62 unequal: No Solution Exploring Operation: 86+35=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,62 unequal: No Solution Moving to Node #0,0,4 Current State: 62:[35, 86], Operations: ['58-23=35', '89-3=86'] Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,62 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[89, 38], Operations: ['58-23=35', '3+35=38'] Exploring Operation: 89*38=3382, Resulting Numbers: [3382] 3382,62 unequal: No Solution Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 89+38=127, Resulting Numbers: [127] 127,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[35, 92], Operations: ['58-23=35', '89+3=92'] Exploring Operation: 35+92=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 92-35=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 35*92=3220, Resulting Numbers: [3220] 3220,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[86, 81], Operations: ['89-3=86', '58+23=81'] Exploring Operation: 86*81=6966, Resulting Numbers: [6966] 6966,62 unequal: No Solution Exploring Operation: 86+81=167, Resulting Numbers: [167] 167,62 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[58, 109], Operations: ['89-3=86', '23+86=109'] Exploring Operation: 58+109=167, Resulting Numbers: [167] 167,62 unequal: No Solution Exploring Operation: 109-58=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 58*109=6322, Resulting Numbers: [6322] 6322,62 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 20, 25, 75, 74 ]
59
[ "25-20=5", "75/5=15", "74-15=59" ]
Current State: 59:[20, 25, 75, 74], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [75, 74, 5] Generated Node #2: [75, 74, 5] from Operation: 25-20=5 Current State: 59:[75, 74, 5], Operations: ['25-20=5'] Exploring Operation: 75/5=15, Resulting Numbers: [74, 15] Generated Node #3: [74, 15] from Operation: 75/5=15 Current State: 59:[74, 15], Operations: ['25-20=5', '75/5=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[20, 25, 75, 74], Operations: [] Exploring Operation: 75-20=55, Resulting Numbers: [25, 74, 55] Generated Node #0,0: 59:[25, 74, 55] Operation: 75-20=55 Exploring Operation: 75-25=50, Resulting Numbers: [20, 74, 50] Generated Node #0,1: 59:[20, 74, 50] Operation: 75-25=50 Exploring Operation: 74-20=54, Resulting Numbers: [25, 75, 54] Generated Node #0,2: 59:[25, 75, 54] Operation: 74-20=54 Exploring Operation: 20+25=45, Resulting Numbers: [75, 74, 45] Generated Node #0,3: 59:[75, 74, 45] Operation: 20+25=45 Exploring Operation: 74-25=49, Resulting Numbers: [20, 75, 49] Generated Node #0,4: 59:[20, 75, 49] Operation: 74-25=49 Moving to Node #0,3 Current State: 59:[75, 74, 45], Operations: ['20+25=45'] Exploring Operation: 75+45=120, Resulting Numbers: [74, 120] Generated Node #0,3,0: 59:[74, 120] Operation: 75+45=120 Exploring Operation: 75-74=1, Resulting Numbers: [45, 1] Generated Node #0,3,1: 59:[45, 1] Operation: 75-74=1 Exploring Operation: 75-45=30, Resulting Numbers: [74, 30] Generated Node #0,3,2: 59:[74, 30] Operation: 75-45=30 Exploring Operation: 74-45=29, Resulting Numbers: [75, 29] Generated Node #0,3,3: 59:[75, 29] Operation: 74-45=29 Exploring Operation: 74+45=119, Resulting Numbers: [75, 119] Generated Node #0,3,4: 59:[75, 119] Operation: 74+45=119 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[74, 30], Operations: ['20+25=45', '75-45=30'] Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,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,3 Current State: 59:[75, 29], Operations: ['20+25=45', '74-45=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 75*29=2175, Resulting Numbers: [2175] 2175,59 unequal: No Solution Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,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,1 Current State: 59:[45, 1], Operations: ['20+25=45', '75-74=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,59 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,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,0 Current State: 59:[74, 120], Operations: ['20+25=45', '75+45=120'] Exploring Operation: 74+120=194, Resulting Numbers: [194] 194,59 unequal: No Solution Exploring Operation: 120-74=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 74*120=8880, Resulting Numbers: [8880] 8880,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,4 Current State: 59:[75, 119], Operations: ['20+25=45', '74+45=119'] Exploring Operation: 75+119=194, Resulting Numbers: [194] 194,59 unequal: No Solution Exploring Operation: 119-75=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 75*119=8925, Resulting Numbers: [8925] 8925,59 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: 59:[25, 74, 55], Operations: ['75-20=55'] Exploring Operation: 55-25=30, Resulting Numbers: [74, 30] Generated Node #0,0,0: 59:[74, 30] Operation: 55-25=30 Exploring Operation: 25+55=80, Resulting Numbers: [74, 80] Generated Node #0,0,1: 59:[74, 80] Operation: 25+55=80 Exploring Operation: 74-25=49, Resulting Numbers: [55, 49] Generated Node #0,0,2: 59:[55, 49] Operation: 74-25=49 Exploring Operation: 74-55=19, Resulting Numbers: [25, 19] Generated Node #0,0,3: 59:[25, 19] Operation: 74-55=19 Exploring Operation: 25+74=99, Resulting Numbers: [55, 99] Generated Node #0,0,4: 59:[55, 99] Operation: 25+74=99 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[55, 49], Operations: ['75-20=55', '74-25=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,59 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[74, 80], Operations: ['75-20=55', '25+55=80'] Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 74*80=5920, Resulting Numbers: [5920] 5920,59 unequal: No Solution Exploring Operation: 74+80=154, Resulting Numbers: [154] 154,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[74, 30], Operations: ['75-20=55', '55-25=30'] Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,59 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[55, 99], Operations: ['75-20=55', '25+74=99'] Exploring Operation: 99-55=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 55+99=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 55*99=5445, Resulting Numbers: [5445] 5445,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[25, 19], Operations: ['75-20=55', '74-55=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 25*19=475, Resulting Numbers: [475] 475,59 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,59 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: 59:[25, 75, 54], Operations: ['74-20=54'] Exploring Operation: 75-25=50, Resulting Numbers: [54, 50] Generated Node #0,2,0: 59:[54, 50] Operation: 75-25=50 Exploring Operation: 75/25=3, Resulting Numbers: [54, 3] Generated Node #0,2,1: 59:[54, 3] Operation: 75/25=3 Exploring Operation: 54-25=29, Resulting Numbers: [75, 29] Generated Node #0,2,2: 59:[75, 29] Operation: 54-25=29 Exploring Operation: 25+75=100, Resulting Numbers: [54, 100] Generated Node #0,2,3: 59:[54, 100] Operation: 25+75=100 Exploring Operation: 25+54=79, Resulting Numbers: [75, 79] Generated Node #0,2,4: 59:[75, 79] Operation: 25+54=79 Moving to Node #0,1 Current State: 59:[20, 74, 50], Operations: ['75-25=50'] Exploring Operation: 20+50=70, Resulting Numbers: [74, 70] Generated Node #0,1,0: 59:[74, 70] Operation: 20+50=70 Exploring Operation: 74-50=24, Resulting Numbers: [20, 24] Generated Node #0,1,1: 59:[20, 24] Operation: 74-50=24 Exploring Operation: 20+74=94, Resulting Numbers: [50, 94] Generated Node #0,1,2: 59:[50, 94] Operation: 20+74=94 Exploring Operation: 74-20=54, Resulting Numbers: [50, 54] Generated Node #0,1,3: 59:[50, 54] Operation: 74-20=54 Exploring Operation: 50-20=30, Resulting Numbers: [74, 30] Generated Node #0,1,4: 59:[74, 30] Operation: 50-20=30 Moving to Node #0,4 Current State: 59:[20, 75, 49], Operations: ['74-25=49'] Exploring Operation: 75-49=26, Resulting Numbers: [20, 26] Generated Node #0,4,0: 59:[20, 26] Operation: 75-49=26 Exploring Operation: 75-20=55, Resulting Numbers: [49, 55] Generated Node #0,4,1: 59:[49, 55] Operation: 75-20=55 Exploring Operation: 49-20=29, Resulting Numbers: [75, 29] Generated Node #0,4,2: 59:[75, 29] Operation: 49-20=29 Exploring Operation: 20+75=95, Resulting Numbers: [49, 95] Generated Node #0,4,3: 59:[49, 95] Operation: 20+75=95 Exploring Operation: 20+49=69, Resulting Numbers: [75, 69] Generated Node #0,4,4: 59:[75, 69] Operation: 20+49=69 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[49, 55], Operations: ['74-25=49', '75-20=55'] Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,59 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,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,4,4 Current State: 59:[75, 69], Operations: ['74-25=49', '20+49=69'] Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,59 unequal: No Solution Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,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,4,2 Current State: 59:[75, 29], Operations: ['74-25=49', '49-20=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 75*29=2175, Resulting Numbers: [2175] 2175,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,4,3 Current State: 59:[49, 95], Operations: ['74-25=49', '20+75=95'] Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 49*95=4655, Resulting Numbers: [4655] 4655,59 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,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,4,0 Current State: 59:[20, 26], Operations: ['74-25=49', '75-49=26'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,59 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 59:[54, 50], Operations: ['74-20=54', '75-25=50'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,59 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[50, 54], Operations: ['75-25=50', '74-20=54'] Exploring Operation: 50+54=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 50*54=2700, Resulting Numbers: [2700] 2700,59 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[74, 70], Operations: ['75-25=50', '20+50=70'] Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 74*70=5180, Resulting Numbers: [5180] 5180,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[75, 79], Operations: ['74-20=54', '25+54=79'] Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,59 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[74, 30], Operations: ['75-25=50', '50-20=30'] Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,59 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[50, 94], Operations: ['75-25=50', '20+74=94'] Exploring Operation: 50*94=4700, Resulting Numbers: [4700] 4700,59 unequal: No Solution Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 50+94=144, Resulting Numbers: [144] 144,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[75, 29], Operations: ['74-20=54', '54-25=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 75*29=2175, Resulting Numbers: [2175] 2175,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[54, 100], Operations: ['74-20=54', '25+75=100'] Exploring Operation: 54+100=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 100-54=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 54*100=5400, Resulting Numbers: [5400] 5400,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[54, 3], Operations: ['74-20=54', '75/25=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[20, 24], Operations: ['75-25=50', '74-50=24'] Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,59 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,59 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 34, 61, 6, 49 ]
52
[ "34+61=95", "49-6=43", "95-43=52" ]
Current State: 52:[34, 61, 6, 49], Operations: [] Exploring Operation: 34+61=95, Resulting Numbers: [6, 49, 95] Generated Node #2: [6, 49, 95] from Operation: 34+61=95 Current State: 52:[6, 49, 95], Operations: ['34+61=95'] Exploring Operation: 49-6=43, Resulting Numbers: [95, 43] Generated Node #3: [95, 43] from Operation: 49-6=43 Current State: 52:[95, 43], Operations: ['34+61=95', '49-6=43'] Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[34, 61, 6, 49], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [61, 6, 15] Generated Node #0,0: 52:[61, 6, 15] Operation: 49-34=15 Exploring Operation: 61-49=12, Resulting Numbers: [34, 6, 12] Generated Node #0,1: 52:[34, 6, 12] Operation: 61-49=12 Exploring Operation: 61-34=27, Resulting Numbers: [6, 49, 27] Generated Node #0,2: 52:[6, 49, 27] Operation: 61-34=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[6, 49, 27], Operations: ['61-34=27'] Exploring Operation: 49-27=22, Resulting Numbers: [6, 22] Generated Node #0,2,0: 52:[6, 22] Operation: 49-27=22 Exploring Operation: 6+49=55, Resulting Numbers: [27, 55] Generated Node #0,2,1: 52:[27, 55] Operation: 6+49=55 Exploring Operation: 27-6=21, Resulting Numbers: [49, 21] Generated Node #0,2,2: 52:[49, 21] Operation: 27-6=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[27, 55], Operations: ['61-34=27', '6+49=55'] Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,52 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,52 unequal: No Solution No 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: 52:[6, 22], Operations: ['61-34=27', '49-27=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,52 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,52 unequal: No Solution No 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: 52:[49, 21], Operations: ['61-34=27', '27-6=21'] Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,52 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,52 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: 52:[34, 6, 12], Operations: ['61-49=12'] Exploring Operation: 34+12=46, Resulting Numbers: [6, 46] Generated Node #0,1,0: 52:[6, 46] Operation: 34+12=46 Exploring Operation: 34-12=22, Resulting Numbers: [6, 22] Generated Node #0,1,1: 52:[6, 22] Operation: 34-12=22 Exploring Operation: 34-6=28, Resulting Numbers: [12, 28] Generated Node #0,1,2: 52:[12, 28] Operation: 34-6=28 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[12, 28], Operations: ['61-49=12', '34-6=28'] Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,52 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,52 unequal: No Solution No 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: 52:[6, 22], Operations: ['61-49=12', '34-12=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,52 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,52 unequal: No Solution No 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: 52:[6, 46], Operations: ['61-49=12', '34+12=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[34, 61, 6, 49], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [34, 6, 12] Generated Node #0,1: 52:[34, 6, 12] Operation: 61-49=12 Moving to Node #0,1 Current State: 52:[34, 6, 12], Operations: ['61-49=12'] Exploring Operation: 34+12=46, Resulting Numbers: [6, 46] Generated Node #0,1,0: 52:[6, 46] Operation: 34+12=46 Moving to Node #0,1,0 Current State: 52:[6, 46], Operations: ['61-49=12', '34+12=46'] Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_3
mult_heuristic
[ 28, 63, 59, 68 ]
92
[ "63-28=35", "59+68=127", "127-35=92" ]
Current State: 92:[28, 63, 59, 68], Operations: [] Exploring Operation: 63-28=35, Resulting Numbers: [59, 68, 35] Generated Node #2: [59, 68, 35] from Operation: 63-28=35 Current State: 92:[59, 68, 35], Operations: ['63-28=35'] Exploring Operation: 59+68=127, Resulting Numbers: [35, 127] Generated Node #3: [35, 127] from Operation: 59+68=127 Current State: 92:[35, 127], Operations: ['63-28=35', '59+68=127'] Exploring Operation: 127-35=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[28, 63, 59, 68], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [28, 59, 5] Generated Node #0,0: 92:[28, 59, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 92:[28, 59, 5], Operations: ['68-63=5'] Exploring Operation: 28+59=87, Resulting Numbers: [5, 87] Generated Node #0,0,0: 92:[5, 87] Operation: 28+59=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[5, 87], Operations: ['68-63=5', '28+59=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[28, 63, 59, 68], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [28, 59, 5] Generated Node #0,0: 92:[28, 59, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 92:[28, 59, 5], Operations: ['68-63=5'] Exploring Operation: 28+59=87, Resulting Numbers: [5, 87] Generated Node #0,0,0: 92:[5, 87] Operation: 28+59=87 Moving to Node #0,0,0 Current State: 92:[5, 87], Operations: ['68-63=5', '28+59=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 17, 85, 60, 35 ]
67
[ "85/17=5", "35/5=7", "60+7=67" ]
Current State: 67:[17, 85, 60, 35], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [60, 35, 5] Generated Node #2: [60, 35, 5] from Operation: 85/17=5 Current State: 67:[60, 35, 5], Operations: ['85/17=5'] Exploring Operation: 35/5=7, Resulting Numbers: [60, 7] Generated Node #3: [60, 7] from Operation: 35/5=7 Current State: 67:[60, 7], Operations: ['85/17=5', '35/5=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[17, 85, 60, 35], Operations: [] Exploring Operation: 17+60=77, Resulting Numbers: [85, 35, 77] Generated Node #0,0: 67:[85, 35, 77] Operation: 17+60=77 Exploring Operation: 60-17=43, Resulting Numbers: [85, 35, 43] Generated Node #0,1: 67:[85, 35, 43] Operation: 60-17=43 Exploring Operation: 85-17=68, Resulting Numbers: [60, 35, 68] Generated Node #0,2: 67:[60, 35, 68] Operation: 85-17=68 Exploring Operation: 17+85=102, Resulting Numbers: [60, 35, 102] Generated Node #0,3: 67:[60, 35, 102] Operation: 17+85=102 Exploring Operation: 17+35=52, Resulting Numbers: [85, 60, 52] Generated Node #0,4: 67:[85, 60, 52] Operation: 17+35=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[60, 35, 68], Operations: ['85-17=68'] Exploring Operation: 68-35=33, Resulting Numbers: [60, 33] Generated Node #0,2,0: 67:[60, 33] Operation: 68-35=33 Exploring Operation: 60-35=25, Resulting Numbers: [68, 25] Generated Node #0,2,1: 67:[68, 25] Operation: 60-35=25 Exploring Operation: 60+35=95, Resulting Numbers: [68, 95] Generated Node #0,2,2: 67:[68, 95] Operation: 60+35=95 Exploring Operation: 35+68=103, Resulting Numbers: [60, 103] Generated Node #0,2,3: 67:[60, 103] Operation: 35+68=103 Exploring Operation: 68-60=8, Resulting Numbers: [35, 8] Generated Node #0,2,4: 67:[35, 8] Operation: 68-60=8 Moving to Node #0,2,2 Current State: 67:[68, 95], Operations: ['85-17=68', '60+35=95'] Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 68*95=6460, Resulting Numbers: [6460] 6460,67 unequal: No Solution Exploring Operation: 68+95=163, Resulting Numbers: [163] 163,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[60, 33], Operations: ['85-17=68', '68-35=33'] Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,67 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[68, 25], Operations: ['85-17=68', '60-35=25'] Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[60, 103], Operations: ['85-17=68', '35+68=103'] Exploring Operation: 60*103=6180, Resulting Numbers: [6180] 6180,67 unequal: No Solution Exploring Operation: 60+103=163, Resulting Numbers: [163] 163,67 unequal: No Solution Exploring Operation: 103-60=43, Resulting Numbers: [43] 43,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[35, 8], Operations: ['85-17=68', '68-60=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,67 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,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,4 Current State: 67:[85, 60, 52], Operations: ['17+35=52'] Exploring Operation: 85-52=33, Resulting Numbers: [60, 33] Generated Node #0,4,0: 67:[60, 33] Operation: 85-52=33 Exploring Operation: 85-60=25, Resulting Numbers: [52, 25] Generated Node #0,4,1: 67:[52, 25] Operation: 85-60=25 Exploring Operation: 60-52=8, Resulting Numbers: [85, 8] Generated Node #0,4,2: 67:[85, 8] Operation: 60-52=8 Exploring Operation: 85+52=137, Resulting Numbers: [60, 137] Generated Node #0,4,3: 67:[60, 137] Operation: 85+52=137 Exploring Operation: 60+52=112, Resulting Numbers: [85, 112] Generated Node #0,4,4: 67:[85, 112] Operation: 60+52=112 Moving to Node #0,4,0 Current State: 67:[60, 33], Operations: ['17+35=52', '85-52=33'] Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,67 unequal: No Solution Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[52, 25], Operations: ['17+35=52', '85-60=25'] Exploring Operation: 52*25=1300, Resulting Numbers: [1300] 1300,67 unequal: No Solution Exploring Operation: 52+25=77, Resulting Numbers: [77] 77,67 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[85, 112], Operations: ['17+35=52', '60+52=112'] Exploring Operation: 85*112=9520, Resulting Numbers: [9520] 9520,67 unequal: No Solution Exploring Operation: 85+112=197, Resulting Numbers: [197] 197,67 unequal: No Solution Exploring Operation: 112-85=27, Resulting Numbers: [27] 27,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[85, 8], Operations: ['17+35=52', '60-52=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,67 unequal: No Solution Exploring Operation: 85*8=680, Resulting Numbers: [680] 680,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[60, 137], Operations: ['17+35=52', '85+52=137'] Exploring Operation: 137-60=77, Resulting Numbers: [77] 77,67 unequal: No Solution Exploring Operation: 60*137=8220, Resulting Numbers: [8220] 8220,67 unequal: No Solution Exploring Operation: 60+137=197, Resulting Numbers: [197] 197,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 Current State: 67:[85, 35, 77], Operations: ['17+60=77'] Exploring Operation: 85-35=50, Resulting Numbers: [77, 50] Generated Node #0,0,0: 67:[77, 50] Operation: 85-35=50 Exploring Operation: 85-77=8, Resulting Numbers: [35, 8] Generated Node #0,0,1: 67:[35, 8] Operation: 85-77=8 Exploring Operation: 35+77=112, Resulting Numbers: [85, 112] Generated Node #0,0,2: 67:[85, 112] Operation: 35+77=112 Exploring Operation: 85+35=120, Resulting Numbers: [77, 120] Generated Node #0,0,3: 67:[77, 120] Operation: 85+35=120 Exploring Operation: 77-35=42, Resulting Numbers: [85, 42] Generated Node #0,0,4: 67:[85, 42] Operation: 77-35=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[77, 50], Operations: ['17+60=77', '85-35=50'] Exploring Operation: 77*50=3850, Resulting Numbers: [3850] 3850,67 unequal: No Solution Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 77+50=127, Resulting Numbers: [127] 127,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 67:[85, 42], Operations: ['17+60=77', '77-35=42'] Exploring Operation: 85*42=3570, Resulting Numbers: [3570] 3570,67 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[85, 112], Operations: ['17+60=77', '35+77=112'] Exploring Operation: 85*112=9520, Resulting Numbers: [9520] 9520,67 unequal: No Solution Exploring Operation: 85+112=197, Resulting Numbers: [197] 197,67 unequal: No Solution Exploring Operation: 112-85=27, Resulting Numbers: [27] 27,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 67:[77, 120], Operations: ['17+60=77', '85+35=120'] Exploring Operation: 77*120=9240, Resulting Numbers: [9240] 9240,67 unequal: No Solution Exploring Operation: 77+120=197, Resulting Numbers: [197] 197,67 unequal: No Solution Exploring Operation: 120-77=43, Resulting Numbers: [43] 43,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[35, 8], Operations: ['17+60=77', '85-77=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[85, 35, 43], Operations: ['60-17=43'] Exploring Operation: 85+35=120, Resulting Numbers: [43, 120] Generated Node #0,1,0: 67:[43, 120] Operation: 85+35=120 Exploring Operation: 85-35=50, Resulting Numbers: [43, 50] Generated Node #0,1,1: 67:[43, 50] Operation: 85-35=50 Exploring Operation: 43-35=8, Resulting Numbers: [85, 8] Generated Node #0,1,2: 67:[85, 8] Operation: 43-35=8 Exploring Operation: 85-43=42, Resulting Numbers: [35, 42] Generated Node #0,1,3: 67:[35, 42] Operation: 85-43=42 Exploring Operation: 35+43=78, Resulting Numbers: [85, 78] Generated Node #0,1,4: 67:[85, 78] Operation: 35+43=78 Moving to Node #0,1,4 Current State: 67:[85, 78], Operations: ['60-17=43', '35+43=78'] Exploring Operation: 85*78=6630, Resulting Numbers: [6630] 6630,67 unequal: No Solution Exploring Operation: 85+78=163, Resulting Numbers: [163] 163,67 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[43, 50], Operations: ['60-17=43', '85-35=50'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,67 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[35, 42], Operations: ['60-17=43', '85-43=42'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,67 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[43, 120], Operations: ['60-17=43', '85+35=120'] Exploring Operation: 120-43=77, Resulting Numbers: [77] 77,67 unequal: No Solution Exploring Operation: 43*120=5160, Resulting Numbers: [5160] 5160,67 unequal: No Solution Exploring Operation: 43+120=163, Resulting Numbers: [163] 163,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[85, 8], Operations: ['60-17=43', '43-35=8'] Exploring Operation: 85*8=680, Resulting Numbers: [680] 680,67 unequal: No Solution Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,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,3 Current State: 67:[60, 35, 102], Operations: ['17+85=102'] Exploring Operation: 60-35=25, Resulting Numbers: [102, 25] Generated Node #0,3,0: 67:[102, 25] Operation: 60-35=25 Exploring Operation: 102-35=67, Resulting Numbers: [60, 67] Generated Node #0,3,1: 67:[60, 67] Operation: 102-35=67 Exploring Operation: 102-60=42, Resulting Numbers: [35, 42] Generated Node #0,3,2: 67:[35, 42] Operation: 102-60=42 Exploring Operation: 60+35=95, Resulting Numbers: [102, 95] Generated Node #0,3,3: 67:[102, 95] Operation: 60+35=95 Exploring Operation: 35+102=137, Resulting Numbers: [60, 137] Generated Node #0,3,4: 67:[60, 137] Operation: 35+102=137 Moving to Node #0,3,1 Current State: 67:[60, 67], Operations: ['17+85=102', '102-35=67'] Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,67 unequal: No Solution Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[35, 42], Operations: ['17+85=102', '102-60=42'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,67 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[102, 95], Operations: ['17+85=102', '60+35=95'] Exploring Operation: 102-95=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 102+95=197, Resulting Numbers: [197] 197,67 unequal: No Solution Exploring Operation: 102*95=9690, Resulting Numbers: [9690] 9690,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[102, 25], Operations: ['17+85=102', '60-35=25'] Exploring Operation: 102+25=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 102*25=2550, Resulting Numbers: [2550] 2550,67 unequal: No Solution Exploring Operation: 102-25=77, Resulting Numbers: [77] 77,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[60, 137], Operations: ['17+85=102', '35+102=137'] Exploring Operation: 137-60=77, Resulting Numbers: [77] 77,67 unequal: No Solution Exploring Operation: 60*137=8220, Resulting Numbers: [8220] 8220,67 unequal: No Solution Exploring Operation: 60+137=197, Resulting Numbers: [197] 197,67 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
[ 12, 55, 80, 11 ]
97
[ "12+80=92", "55/11=5", "92+5=97" ]
Current State: 97:[12, 55, 80, 11], Operations: [] Exploring Operation: 12+80=92, Resulting Numbers: [55, 11, 92] Generated Node #2: [55, 11, 92] from Operation: 12+80=92 Current State: 97:[55, 11, 92], Operations: ['12+80=92'] Exploring Operation: 55/11=5, Resulting Numbers: [92, 5] Generated Node #3: [92, 5] from Operation: 55/11=5 Current State: 97:[92, 5], Operations: ['12+80=92', '55/11=5'] Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[12, 55, 80, 11], Operations: [] Exploring Operation: 12*11=132, Resulting Numbers: [55, 80, 132] Generated Node #0,0: 97:[55, 80, 132] Operation: 12*11=132 Moving to Node #0,0 Current State: 97:[55, 80, 132], Operations: ['12*11=132'] Exploring Operation: 132-55=77, Resulting Numbers: [80, 77] Generated Node #0,0,0: 97:[80, 77] Operation: 132-55=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[80, 77], Operations: ['12*11=132', '132-55=77'] Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,97 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
[ 32, 30, 1, 28 ]
54
[ "32-30=2", "28-1=27", "2*27=54" ]
Current State: 54:[32, 30, 1, 28], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [1, 28, 2] Generated Node #2: [1, 28, 2] from Operation: 32-30=2 Current State: 54:[1, 28, 2], Operations: ['32-30=2'] Exploring Operation: 28-1=27, Resulting Numbers: [2, 27] Generated Node #3: [2, 27] from Operation: 28-1=27 Current State: 54:[2, 27], Operations: ['32-30=2', '28-1=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[32, 30, 1, 28], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [1, 28, 2] Generated Node #0,0: 54:[1, 28, 2] Operation: 32-30=2 Exploring Operation: 32-28=4, Resulting Numbers: [30, 1, 4] Generated Node #0,1: 54:[30, 1, 4] Operation: 32-28=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[1, 28, 2], Operations: ['32-30=2'] Exploring Operation: 28-1=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 54:[2, 27] Operation: 28-1=27 Exploring Operation: 1*28=28, Resulting Numbers: [2, 28] Generated Node #0,0,1: 54:[2, 28] Operation: 1*28=28 Moving to Node #0,0,0 Current State: 54:[2, 27], Operations: ['32-30=2', '28-1=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[32, 30, 1, 28], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [1, 28, 2] Generated Node #0,0: 54:[1, 28, 2] Operation: 32-30=2 Moving to Node #0,0 Current State: 54:[1, 28, 2], Operations: ['32-30=2'] Exploring Operation: 28-1=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 54:[2, 27] Operation: 28-1=27 Moving to Node #0,0,0 Current State: 54:[2, 27], Operations: ['32-30=2', '28-1=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 74, 62, 87, 72 ]
23
[ "74+62=136", "87+72=159", "159-136=23" ]
Current State: 23:[74, 62, 87, 72], Operations: [] Exploring Operation: 74+62=136, Resulting Numbers: [87, 72, 136] Generated Node #2: [87, 72, 136] from Operation: 74+62=136 Current State: 23:[87, 72, 136], Operations: ['74+62=136'] Exploring Operation: 87+72=159, Resulting Numbers: [136, 159] Generated Node #3: [136, 159] from Operation: 87+72=159 Current State: 23:[136, 159], Operations: ['74+62=136', '87+72=159'] Exploring Operation: 159-136=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[74, 62, 87, 72], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [62, 72, 13] Generated Node #0,0: 23:[62, 72, 13] Operation: 87-74=13 Exploring Operation: 87-72=15, Resulting Numbers: [74, 62, 15] Generated Node #0,1: 23:[74, 62, 15] Operation: 87-72=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[62, 72, 13], Operations: ['87-74=13'] Exploring Operation: 72-62=10, Resulting Numbers: [13, 10] Generated Node #0,0,0: 23:[13, 10] Operation: 72-62=10 Exploring Operation: 62-13=49, Resulting Numbers: [72, 49] Generated Node #0,0,1: 23:[72, 49] Operation: 62-13=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[13, 10], Operations: ['87-74=13', '72-62=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[74, 62, 87, 72], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [62, 72, 13] Generated Node #0,0: 23:[62, 72, 13] Operation: 87-74=13 Moving to Node #0,0 Current State: 23:[62, 72, 13], Operations: ['87-74=13'] Exploring Operation: 72-62=10, Resulting Numbers: [13, 10] Generated Node #0,0,0: 23:[13, 10] Operation: 72-62=10 Moving to Node #0,0,0 Current State: 23:[13, 10], Operations: ['87-74=13', '72-62=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 91, 48, 25, 90 ]
74
[ "91+48=139", "90-25=65", "139-65=74" ]
Current State: 74:[91, 48, 25, 90], Operations: [] Exploring Operation: 91+48=139, Resulting Numbers: [25, 90, 139] Generated Node #2: [25, 90, 139] from Operation: 91+48=139 Current State: 74:[25, 90, 139], Operations: ['91+48=139'] Exploring Operation: 90-25=65, Resulting Numbers: [139, 65] Generated Node #3: [139, 65] from Operation: 90-25=65 Current State: 74:[139, 65], Operations: ['91+48=139', '90-25=65'] Exploring Operation: 139-65=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[91, 48, 25, 90], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [91, 25, 42] Generated Node #0,0: 74:[91, 25, 42] Operation: 90-48=42 Exploring Operation: 91-48=43, Resulting Numbers: [25, 90, 43] Generated Node #0,1: 74:[25, 90, 43] Operation: 91-48=43 Exploring Operation: 91-90=1, Resulting Numbers: [48, 25, 1] Generated Node #0,2: 74:[48, 25, 1] Operation: 91-90=1 Exploring Operation: 91-25=66, Resulting Numbers: [48, 90, 66] Generated Node #0,3: 74:[48, 90, 66] Operation: 91-25=66 Exploring Operation: 48+25=73, Resulting Numbers: [91, 90, 73] Generated Node #0,4: 74:[91, 90, 73] Operation: 48+25=73 Moving to Node #0,2 Current State: 74:[48, 25, 1], Operations: ['91-90=1'] Exploring Operation: 25+1=26, Resulting Numbers: [48, 26] Generated Node #0,2,0: 74:[48, 26] Operation: 25+1=26 Exploring Operation: 48-25=23, Resulting Numbers: [1, 23] Generated Node #0,2,1: 74:[1, 23] Operation: 48-25=23 Exploring Operation: 48-1=47, Resulting Numbers: [25, 47] Generated Node #0,2,2: 74:[25, 47] Operation: 48-1=47 Exploring Operation: 48+25=73, Resulting Numbers: [1, 73] Generated Node #0,2,3: 74:[1, 73] Operation: 48+25=73 Exploring Operation: 48*1=48, Resulting Numbers: [25, 48] Generated Node #0,2,4: 74:[25, 48] Operation: 48*1=48 Moving to Node #0,1 Current State: 74:[25, 90, 43], Operations: ['91-48=43'] Exploring Operation: 25+90=115, Resulting Numbers: [43, 115] Generated Node #0,1,0: 74:[43, 115] Operation: 25+90=115 Exploring Operation: 25+43=68, Resulting Numbers: [90, 68] Generated Node #0,1,1: 74:[90, 68] Operation: 25+43=68 Exploring Operation: 90-25=65, Resulting Numbers: [43, 65] Generated Node #0,1,2: 74:[43, 65] Operation: 90-25=65 Exploring Operation: 90-43=47, Resulting Numbers: [25, 47] Generated Node #0,1,3: 74:[25, 47] Operation: 90-43=47 Exploring Operation: 43-25=18, Resulting Numbers: [90, 18] Generated Node #0,1,4: 74:[90, 18] Operation: 43-25=18 Moving to Node #0,0 Current State: 74:[91, 25, 42], Operations: ['90-48=42'] Exploring Operation: 91-25=66, Resulting Numbers: [42, 66] Generated Node #0,0,0: 74:[42, 66] Operation: 91-25=66 Exploring Operation: 91+25=116, Resulting Numbers: [42, 116] Generated Node #0,0,1: 74:[42, 116] Operation: 91+25=116 Exploring Operation: 42-25=17, Resulting Numbers: [91, 17] Generated Node #0,0,2: 74:[91, 17] Operation: 42-25=17 Exploring Operation: 25+42=67, Resulting Numbers: [91, 67] Generated Node #0,0,3: 74:[91, 67] Operation: 25+42=67 Exploring Operation: 91-42=49, Resulting Numbers: [25, 49] Generated Node #0,0,4: 74:[25, 49] Operation: 91-42=49 Moving to Node #0,4 Current State: 74:[91, 90, 73], Operations: ['48+25=73'] Exploring Operation: 90-73=17, Resulting Numbers: [91, 17] Generated Node #0,4,0: 74:[91, 17] Operation: 90-73=17 Exploring Operation: 90+73=163, Resulting Numbers: [91, 163] Generated Node #0,4,1: 74:[91, 163] Operation: 90+73=163 Exploring Operation: 91-90=1, Resulting Numbers: [73, 1] Generated Node #0,4,2: 74:[73, 1] Operation: 91-90=1 Exploring Operation: 91+73=164, Resulting Numbers: [90, 164] Generated Node #0,4,3: 74:[90, 164] Operation: 91+73=164 Exploring Operation: 91-73=18, Resulting Numbers: [90, 18] Generated Node #0,4,4: 74:[90, 18] Operation: 91-73=18 Moving to Node #0,3 Current State: 74:[48, 90, 66], Operations: ['91-25=66'] Exploring Operation: 90-48=42, Resulting Numbers: [66, 42] Generated Node #0,3,0: 74:[66, 42] Operation: 90-48=42 Exploring Operation: 48+66=114, Resulting Numbers: [90, 114] Generated Node #0,3,1: 74:[90, 114] Operation: 48+66=114 Exploring Operation: 48+90=138, Resulting Numbers: [66, 138] Generated Node #0,3,2: 74:[66, 138] Operation: 48+90=138 Exploring Operation: 66-48=18, Resulting Numbers: [90, 18] Generated Node #0,3,3: 74:[90, 18] Operation: 66-48=18 Exploring Operation: 90-66=24, Resulting Numbers: [48, 24] Generated Node #0,3,4: 74:[48, 24] Operation: 90-66=24 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[66, 42], Operations: ['91-25=66', '90-48=42'] Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,74 unequal: No Solution Exploring Operation: 66*42=2772, Resulting Numbers: [2772] 2772,74 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 74:[48, 24], Operations: ['91-25=66', '90-66=24'] Exploring Operation: 48*24=1152, Resulting Numbers: [1152] 1152,74 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,74 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[90, 18], Operations: ['91-25=66', '66-48=18'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,74 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,74 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[90, 114], Operations: ['91-25=66', '48+66=114'] Exploring Operation: 114-90=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 90*114=10260, Resulting Numbers: [10260] 10260,74 unequal: No Solution Exploring Operation: 90+114=204, Resulting Numbers: [204] 204,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[66, 138], Operations: ['91-25=66', '48+90=138'] Exploring Operation: 66*138=9108, Resulting Numbers: [9108] 9108,74 unequal: No Solution Exploring Operation: 66+138=204, Resulting Numbers: [204] 204,74 unequal: No Solution Exploring Operation: 138-66=72, Resulting Numbers: [72] 72,74 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: 74:[1, 73], Operations: ['91-90=1', '48+25=73'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[91, 48, 25, 90], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [48, 25, 1] Generated Node #0,2: 74:[48, 25, 1] Operation: 91-90=1 Moving to Node #0,2 Current State: 74:[48, 25, 1], Operations: ['91-90=1'] Exploring Operation: 48+25=73, Resulting Numbers: [1, 73] Generated Node #0,2,3: 74:[1, 73] Operation: 48+25=73 Moving to Node #0,2,3 Current State: 74:[1, 73], Operations: ['91-90=1', '48+25=73'] Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.953993
hs_5
mult_heuristic
[ 89, 3, 63, 50 ]
50
[ "89+50=139", "3*63=189", "189-139=50" ]
Current State: 50:[89, 3, 63, 50], Operations: [] Exploring Operation: 89+50=139, Resulting Numbers: [3, 63, 139] Generated Node #2: [3, 63, 139] from Operation: 89+50=139 Current State: 50:[3, 63, 139], Operations: ['89+50=139'] Exploring Operation: 3*63=189, Resulting Numbers: [139, 189] Generated Node #3: [139, 189] from Operation: 3*63=189 Current State: 50:[139, 189], Operations: ['89+50=139', '3*63=189'] Exploring Operation: 189-139=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[89, 3, 63, 50], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [3, 50, 26] Generated Node #0,0: 50:[3, 50, 26] Operation: 89-63=26 Exploring Operation: 89-3=86, Resulting Numbers: [63, 50, 86] Generated Node #0,1: 50:[63, 50, 86] Operation: 89-3=86 Exploring Operation: 63/3=21, Resulting Numbers: [89, 50, 21] Generated Node #0,2: 50:[89, 50, 21] Operation: 63/3=21 Exploring Operation: 89-50=39, Resulting Numbers: [3, 63, 39] Generated Node #0,3: 50:[3, 63, 39] Operation: 89-50=39 Exploring Operation: 63-50=13, Resulting Numbers: [89, 3, 13] Generated Node #0,4: 50:[89, 3, 13] Operation: 63-50=13 Moving to Node #0,0 Current State: 50:[3, 50, 26], Operations: ['89-63=26'] Exploring Operation: 26-3=23, Resulting Numbers: [50, 23] Generated Node #0,0,0: 50:[50, 23] Operation: 26-3=23 Exploring Operation: 50-26=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 50:[3, 24] Operation: 50-26=24 Exploring Operation: 3+26=29, Resulting Numbers: [50, 29] Generated Node #0,0,2: 50:[50, 29] Operation: 3+26=29 Exploring Operation: 3+50=53, Resulting Numbers: [26, 53] Generated Node #0,0,3: 50:[26, 53] Operation: 3+50=53 Exploring Operation: 50-3=47, Resulting Numbers: [26, 47] Generated Node #0,0,4: 50:[26, 47] Operation: 50-3=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[50, 23], Operations: ['89-63=26', '26-3=23'] Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,50 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[3, 24], Operations: ['89-63=26', '50-26=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[50, 29], Operations: ['89-63=26', '3+26=29'] Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 50*29=1450, Resulting Numbers: [1450] 1450,50 unequal: No Solution Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[26, 53], Operations: ['89-63=26', '3+50=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,50 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 50:[26, 47], Operations: ['89-63=26', '50-3=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,50 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 50:[3, 63, 39], Operations: ['89-50=39'] Exploring Operation: 63-39=24, Resulting Numbers: [3, 24] Generated Node #0,3,0: 50:[3, 24] Operation: 63-39=24 Exploring Operation: 63/3=21, Resulting Numbers: [39, 21] Generated Node #0,3,1: 50:[39, 21] Operation: 63/3=21 Exploring Operation: 63-3=60, Resulting Numbers: [39, 60] Generated Node #0,3,2: 50:[39, 60] Operation: 63-3=60 Exploring Operation: 39/3=13, Resulting Numbers: [63, 13] Generated Node #0,3,3: 50:[63, 13] Operation: 39/3=13 Exploring Operation: 3+39=42, Resulting Numbers: [63, 42] Generated Node #0,3,4: 50:[63, 42] Operation: 3+39=42 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[3, 24], Operations: ['89-50=39', '63-39=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[39, 21], Operations: ['89-50=39', '63/3=21'] Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,50 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 50:[63, 13], Operations: ['89-50=39', '39/3=13'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[89, 3, 63, 50], Operations: [] Exploring Operation: 89-50=39, Resulting Numbers: [3, 63, 39] Generated Node #0,3: 50:[3, 63, 39] Operation: 89-50=39 Moving to Node #0,3 Current State: 50:[3, 63, 39], Operations: ['89-50=39'] Exploring Operation: 39/3=13, Resulting Numbers: [63, 13] Generated Node #0,3,3: 50:[63, 13] Operation: 39/3=13 Moving to Node #0,3,3 Current State: 50:[63, 13], Operations: ['89-50=39', '39/3=13'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
sum_heuristic
[ 83, 73, 22, 97 ]
65
[ "83-73=10", "97-22=75", "75-10=65" ]
Current State: 65:[83, 73, 22, 97], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [22, 97, 10] Generated Node #2: [22, 97, 10] from Operation: 83-73=10 Current State: 65:[22, 97, 10], Operations: ['83-73=10'] Exploring Operation: 97-22=75, Resulting Numbers: [10, 75] Generated Node #3: [10, 75] from Operation: 97-22=75 Current State: 65:[10, 75], Operations: ['83-73=10', '97-22=75'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[83, 73, 22, 97], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [83, 22, 24] Generated Node #0,0: 65:[83, 22, 24] Operation: 97-73=24 Exploring Operation: 97-83=14, Resulting Numbers: [73, 22, 14] Generated Node #0,1: 65:[73, 22, 14] Operation: 97-83=14 Exploring Operation: 97-22=75, Resulting Numbers: [83, 73, 75] Generated Node #0,2: 65:[83, 73, 75] Operation: 97-22=75 Exploring Operation: 83-73=10, Resulting Numbers: [22, 97, 10] Generated Node #0,3: 65:[22, 97, 10] Operation: 83-73=10 Moving to Node #0,1 Current State: 65:[73, 22, 14], Operations: ['97-83=14'] Exploring Operation: 22-14=8, Resulting Numbers: [73, 8] Generated Node #0,1,0: 65:[73, 8] Operation: 22-14=8 Exploring Operation: 73+22=95, Resulting Numbers: [14, 95] Generated Node #0,1,1: 65:[14, 95] Operation: 73+22=95 Exploring Operation: 73-14=59, Resulting Numbers: [22, 59] Generated Node #0,1,2: 65:[22, 59] Operation: 73-14=59 Exploring Operation: 73-22=51, Resulting Numbers: [14, 51] Generated Node #0,1,3: 65:[14, 51] Operation: 73-22=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[73, 8], Operations: ['97-83=14', '22-14=8'] Exploring Operation: 73*8=584, Resulting Numbers: [584] 584,65 unequal: No Solution Exploring Operation: 73+8=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[83, 73, 22, 97], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [73, 22, 14] Generated Node #0,1: 65:[73, 22, 14] Operation: 97-83=14 Moving to Node #0,1 Current State: 65:[73, 22, 14], Operations: ['97-83=14'] Exploring Operation: 22-14=8, Resulting Numbers: [73, 8] Generated Node #0,1,0: 65:[73, 8] Operation: 22-14=8 Moving to Node #0,1,0 Current State: 65:[73, 8], Operations: ['97-83=14', '22-14=8'] Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 80, 81, 2, 34 ]
17
[ "81-80=1", "34/2=17", "1*17=17" ]
Current State: 17:[80, 81, 2, 34], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [2, 34, 1] Generated Node #2: [2, 34, 1] from Operation: 81-80=1 Current State: 17:[2, 34, 1], Operations: ['81-80=1'] Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #3: [1, 17] from Operation: 34/2=17 Current State: 17:[1, 17], Operations: ['81-80=1', '34/2=17'] Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[80, 81, 2, 34], Operations: [] Exploring Operation: 81-34=47, Resulting Numbers: [80, 2, 47] Generated Node #0,0: 17:[80, 2, 47] Operation: 81-34=47 Exploring Operation: 34/2=17, Resulting Numbers: [80, 81, 17] Generated Node #0,1: 17:[80, 81, 17] Operation: 34/2=17 Exploring Operation: 80-34=46, Resulting Numbers: [81, 2, 46] Generated Node #0,2: 17:[81, 2, 46] Operation: 80-34=46 Exploring Operation: 81-80=1, Resulting Numbers: [2, 34, 1] Generated Node #0,3: 17:[2, 34, 1] Operation: 81-80=1 Exploring Operation: 80/2=40, Resulting Numbers: [81, 34, 40] Generated Node #0,4: 17:[81, 34, 40] Operation: 80/2=40 Moving to Node #0,3 Current State: 17:[2, 34, 1], Operations: ['81-80=1'] Exploring Operation: 2*1=2, Resulting Numbers: [34, 2] Generated Node #0,3,0: 17:[34, 2] Operation: 2*1=2 Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #0,3,1: 17:[1, 17] Operation: 34/2=17 Exploring Operation: 34-1=33, Resulting Numbers: [2, 33] Generated Node #0,3,2: 17:[2, 33] Operation: 34-1=33 Exploring Operation: 34-2=32, Resulting Numbers: [1, 32] Generated Node #0,3,3: 17:[1, 32] Operation: 34-2=32 Exploring Operation: 2+1=3, Resulting Numbers: [34, 3] Generated Node #0,3,4: 17:[34, 3] Operation: 2+1=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[1, 17], Operations: ['81-80=1', '34/2=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[80, 81, 2, 34], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [2, 34, 1] Generated Node #0,3: 17:[2, 34, 1] Operation: 81-80=1 Moving to Node #0,3 Current State: 17:[2, 34, 1], Operations: ['81-80=1'] Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #0,3,1: 17:[1, 17] Operation: 34/2=17 Moving to Node #0,3,1 Current State: 17:[1, 17], Operations: ['81-80=1', '34/2=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 96, 22, 91, 42 ]
59
[ "96-22=74", "91+42=133", "133-74=59" ]
Current State: 59:[96, 22, 91, 42], Operations: [] Exploring Operation: 96-22=74, Resulting Numbers: [91, 42, 74] Generated Node #2: [91, 42, 74] from Operation: 96-22=74 Current State: 59:[91, 42, 74], Operations: ['96-22=74'] Exploring Operation: 91+42=133, Resulting Numbers: [74, 133] Generated Node #3: [74, 133] from Operation: 91+42=133 Current State: 59:[74, 133], Operations: ['96-22=74', '91+42=133'] Exploring Operation: 133-74=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[96, 22, 91, 42], Operations: [] Exploring Operation: 96-22=74, Resulting Numbers: [91, 42, 74] Generated Node #0,0: 59:[91, 42, 74] Operation: 96-22=74 Exploring Operation: 96-42=54, Resulting Numbers: [22, 91, 54] Generated Node #0,1: 59:[22, 91, 54] Operation: 96-42=54 Exploring Operation: 91-22=69, Resulting Numbers: [96, 42, 69] Generated Node #0,2: 59:[96, 42, 69] Operation: 91-22=69 Exploring Operation: 22+42=64, Resulting Numbers: [96, 91, 64] Generated Node #0,3: 59:[96, 91, 64] Operation: 22+42=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[91, 42, 74], Operations: ['96-22=74'] Exploring Operation: 91-74=17, Resulting Numbers: [42, 17] Generated Node #0,0,0: 59:[42, 17] Operation: 91-74=17 Exploring Operation: 91+42=133, Resulting Numbers: [74, 133] Generated Node #0,0,1: 59:[74, 133] Operation: 91+42=133 Exploring Operation: 91-42=49, Resulting Numbers: [74, 49] Generated Node #0,0,2: 59:[74, 49] Operation: 91-42=49 Exploring Operation: 74-42=32, Resulting Numbers: [91, 32] Generated Node #0,0,3: 59:[91, 32] Operation: 74-42=32 Moving to Node #0,0,2 Current State: 59:[74, 49], Operations: ['96-22=74', '91-42=49'] Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,59 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[91, 32], Operations: ['96-22=74', '74-42=32'] Exploring Operation: 91*32=2912, Resulting Numbers: [2912] 2912,59 unequal: No Solution Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[96, 22, 91, 42], Operations: [] Exploring Operation: 96-22=74, Resulting Numbers: [91, 42, 74] Generated Node #0,0: 59:[91, 42, 74] Operation: 96-22=74 Moving to Node #0,0 Current State: 59:[91, 42, 74], Operations: ['96-22=74'] Exploring Operation: 74-42=32, Resulting Numbers: [91, 32] Generated Node #0,0,3: 59:[91, 32] Operation: 74-42=32 Moving to Node #0,0,3 Current State: 59:[91, 32], Operations: ['96-22=74', '74-42=32'] Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 25, 4, 56, 32 ]
19
[ "56-32=24", "24/4=6", "25-6=19" ]
Current State: 19:[25, 4, 56, 32], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [25, 4, 24] Generated Node #2: [25, 4, 24] from Operation: 56-32=24 Current State: 19:[25, 4, 24], Operations: ['56-32=24'] Exploring Operation: 24/4=6, Resulting Numbers: [25, 6] Generated Node #3: [25, 6] from Operation: 24/4=6 Current State: 19:[25, 6], Operations: ['56-32=24', '24/4=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[25, 4, 56, 32], Operations: [] Exploring Operation: 56/4=14, Resulting Numbers: [25, 32, 14] Generated Node #0,0: 19:[25, 32, 14] Operation: 56/4=14 Exploring Operation: 56-32=24, Resulting Numbers: [25, 4, 24] Generated Node #0,1: 19:[25, 4, 24] Operation: 56-32=24 Exploring Operation: 56-25=31, Resulting Numbers: [4, 32, 31] Generated Node #0,2: 19:[4, 32, 31] Operation: 56-25=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[25, 32, 14], Operations: ['56/4=14'] Exploring Operation: 32-25=7, Resulting Numbers: [14, 7] Generated Node #0,0,0: 19:[14, 7] Operation: 32-25=7 Exploring Operation: 32-14=18, Resulting Numbers: [25, 18] Generated Node #0,0,1: 19:[25, 18] Operation: 32-14=18 Exploring Operation: 25-14=11, Resulting Numbers: [32, 11] Generated Node #0,0,2: 19:[32, 11] Operation: 25-14=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[25, 18], Operations: ['56/4=14', '32-14=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,19 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[14, 7], Operations: ['56/4=14', '32-25=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[32, 11], Operations: ['56/4=14', '25-14=11'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,19 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[25, 4, 24], Operations: ['56-32=24'] Exploring Operation: 25-4=21, Resulting Numbers: [24, 21] Generated Node #0,1,0: 19:[24, 21] Operation: 25-4=21 Exploring Operation: 25+4=29, Resulting Numbers: [24, 29] Generated Node #0,1,1: 19:[24, 29] Operation: 25+4=29 Exploring Operation: 24-4=20, Resulting Numbers: [25, 20] Generated Node #0,1,2: 19:[25, 20] Operation: 24-4=20 Moving to Node #0,1,0 Current State: 19:[24, 21], Operations: ['56-32=24', '25-4=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,19 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[25, 20], Operations: ['56-32=24', '24-4=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,19 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[24, 29], Operations: ['56-32=24', '25+4=29'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,19 unequal: No Solution Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[4, 32, 31], Operations: ['56-25=31'] Exploring Operation: 32-4=28, Resulting Numbers: [31, 28] Generated Node #0,2,0: 19:[31, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [31, 8] Generated Node #0,2,1: 19:[31, 8] Operation: 32/4=8 Exploring Operation: 31-4=27, Resulting Numbers: [32, 27] Generated Node #0,2,2: 19:[32, 27] Operation: 31-4=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[31, 28], Operations: ['56-25=31', '32-4=28'] Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,19 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[32, 27], Operations: ['56-25=31', '31-4=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,19 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[31, 8], Operations: ['56-25=31', '32/4=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,19 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 13, 25, 38, 7 ]
22
[ "25+38=63", "63/7=9", "13+9=22" ]
Current State: 22:[13, 25, 38, 7], Operations: [] Exploring Operation: 25+38=63, Resulting Numbers: [13, 7, 63] Generated Node #2: [13, 7, 63] from Operation: 25+38=63 Current State: 22:[13, 7, 63], Operations: ['25+38=63'] Exploring Operation: 63/7=9, Resulting Numbers: [13, 9] Generated Node #3: [13, 9] from Operation: 63/7=9 Current State: 22:[13, 9], Operations: ['25+38=63', '63/7=9'] Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[13, 25, 38, 7], Operations: [] Exploring Operation: 38-25=13, Resulting Numbers: [13, 7, 13] Generated Node #0,0: 22:[13, 7, 13] Operation: 38-25=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[13, 7, 13], Operations: ['38-25=13'] Exploring Operation: 13+7=20, Resulting Numbers: [13, 20] Generated Node #0,0,0: 22:[13, 20] Operation: 13+7=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[13, 20], Operations: ['38-25=13', '13+7=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,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 No solution found.
0
hs_1
mult_heuristic
[ 90, 42, 63, 16 ]
95
[ "90-42=48", "63-16=47", "48+47=95" ]
Current State: 95:[90, 42, 63, 16], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [63, 16, 48] Generated Node #2: [63, 16, 48] from Operation: 90-42=48 Current State: 95:[63, 16, 48], Operations: ['90-42=48'] Exploring Operation: 63-16=47, Resulting Numbers: [48, 47] Generated Node #3: [48, 47] from Operation: 63-16=47 Current State: 95:[48, 47], Operations: ['90-42=48', '63-16=47'] Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[90, 42, 63, 16], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [90, 16, 21] Generated Node #0,0: 95:[90, 16, 21] Operation: 63-42=21 Exploring Operation: 42-16=26, Resulting Numbers: [90, 63, 26] Generated Node #0,1: 95:[90, 63, 26] Operation: 42-16=26 Exploring Operation: 90-63=27, Resulting Numbers: [42, 16, 27] Generated Node #0,2: 95:[42, 16, 27] Operation: 90-63=27 Exploring Operation: 63+16=79, Resulting Numbers: [90, 42, 79] Generated Node #0,3: 95:[90, 42, 79] Operation: 63+16=79 Exploring Operation: 42+63=105, Resulting Numbers: [90, 16, 105] Generated Node #0,4: 95:[90, 16, 105] Operation: 42+63=105 Moving to Node #0,0 Current State: 95:[90, 16, 21], Operations: ['63-42=21'] Exploring Operation: 16+21=37, Resulting Numbers: [90, 37] Generated Node #0,0,0: 95:[90, 37] Operation: 16+21=37 Exploring Operation: 90+16=106, Resulting Numbers: [21, 106] Generated Node #0,0,1: 95:[21, 106] Operation: 90+16=106 Exploring Operation: 90-16=74, Resulting Numbers: [21, 74] Generated Node #0,0,2: 95:[21, 74] Operation: 90-16=74 Exploring Operation: 90+21=111, Resulting Numbers: [16, 111] Generated Node #0,0,3: 95:[16, 111] Operation: 90+21=111 Exploring Operation: 21-16=5, Resulting Numbers: [90, 5] Generated Node #0,0,4: 95:[90, 5] Operation: 21-16=5 Moving to Node #0,4 Current State: 95:[90, 16, 105], Operations: ['42+63=105'] Exploring Operation: 90+16=106, Resulting Numbers: [105, 106] Generated Node #0,4,0: 95:[105, 106] Operation: 90+16=106 Exploring Operation: 16+105=121, Resulting Numbers: [90, 121] Generated Node #0,4,1: 95:[90, 121] Operation: 16+105=121 Exploring Operation: 105-90=15, Resulting Numbers: [16, 15] Generated Node #0,4,2: 95:[16, 15] Operation: 105-90=15 Exploring Operation: 105-16=89, Resulting Numbers: [90, 89] Generated Node #0,4,3: 95:[90, 89] Operation: 105-16=89 Exploring Operation: 90-16=74, Resulting Numbers: [105, 74] Generated Node #0,4,4: 95:[105, 74] Operation: 90-16=74 Moving to Node #0,2 Current State: 95:[42, 16, 27], Operations: ['90-63=27'] Exploring Operation: 42+16=58, Resulting Numbers: [27, 58] Generated Node #0,2,0: 95:[27, 58] Operation: 42+16=58 Exploring Operation: 27-16=11, Resulting Numbers: [42, 11] Generated Node #0,2,1: 95:[42, 11] Operation: 27-16=11 Exploring Operation: 42+27=69, Resulting Numbers: [16, 69] Generated Node #0,2,2: 95:[16, 69] Operation: 42+27=69 Exploring Operation: 42-16=26, Resulting Numbers: [27, 26] Generated Node #0,2,3: 95:[27, 26] Operation: 42-16=26 Exploring Operation: 42-27=15, Resulting Numbers: [16, 15] Generated Node #0,2,4: 95:[16, 15] Operation: 42-27=15 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 95:[16, 15], Operations: ['90-63=27', '42-27=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[27, 26], Operations: ['90-63=27', '42-16=26'] Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[42, 11], Operations: ['90-63=27', '27-16=11'] Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,95 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[16, 69], Operations: ['90-63=27', '42+27=69'] Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,95 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,95 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[27, 58], Operations: ['90-63=27', '42+16=58'] Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,95 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,95 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,95 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: 95:[90, 63, 26], Operations: ['42-16=26'] Exploring Operation: 90-26=64, Resulting Numbers: [63, 64] Generated Node #0,1,0: 95:[63, 64] Operation: 90-26=64 Exploring Operation: 63+26=89, Resulting Numbers: [90, 89] Generated Node #0,1,1: 95:[90, 89] Operation: 63+26=89 Exploring Operation: 90+26=116, Resulting Numbers: [63, 116] Generated Node #0,1,2: 95:[63, 116] Operation: 90+26=116 Exploring Operation: 63-26=37, Resulting Numbers: [90, 37] Generated Node #0,1,3: 95:[90, 37] Operation: 63-26=37 Exploring Operation: 90-63=27, Resulting Numbers: [26, 27] Generated Node #0,1,4: 95:[26, 27] Operation: 90-63=27 Moving to Node #0,3 Current State: 95:[90, 42, 79], Operations: ['63+16=79'] Exploring Operation: 90-79=11, Resulting Numbers: [42, 11] Generated Node #0,3,0: 95:[42, 11] Operation: 90-79=11 Exploring Operation: 42+79=121, Resulting Numbers: [90, 121] Generated Node #0,3,1: 95:[90, 121] Operation: 42+79=121 Exploring Operation: 90-42=48, Resulting Numbers: [79, 48] Generated Node #0,3,2: 95:[79, 48] Operation: 90-42=48 Exploring Operation: 79-42=37, Resulting Numbers: [90, 37] Generated Node #0,3,3: 95:[90, 37] Operation: 79-42=37 Exploring Operation: 90+42=132, Resulting Numbers: [79, 132] Generated Node #0,3,4: 95:[79, 132] Operation: 90+42=132 Moving to Node #0,0,4 Current State: 95:[90, 5], Operations: ['63-42=21', '21-16=5'] Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[90, 42, 63, 16], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [90, 16, 21] Generated Node #0,0: 95:[90, 16, 21] Operation: 63-42=21 Moving to Node #0,0 Current State: 95:[90, 16, 21], Operations: ['63-42=21'] Exploring Operation: 21-16=5, Resulting Numbers: [90, 5] Generated Node #0,0,4: 95:[90, 5] Operation: 21-16=5 Moving to Node #0,0,4 Current State: 95:[90, 5], Operations: ['63-42=21', '21-16=5'] Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.956597
hs_5
mult_heuristic
[ 36, 27, 77, 21 ]
35
[ "36+27=63", "77+21=98", "98-63=35" ]
Current State: 35:[36, 27, 77, 21], Operations: [] Exploring Operation: 36+27=63, Resulting Numbers: [77, 21, 63] Generated Node #2: [77, 21, 63] from Operation: 36+27=63 Current State: 35:[77, 21, 63], Operations: ['36+27=63'] Exploring Operation: 77+21=98, Resulting Numbers: [63, 98] Generated Node #3: [63, 98] from Operation: 77+21=98 Current State: 35:[63, 98], Operations: ['36+27=63', '77+21=98'] Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[36, 27, 77, 21], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [27, 21, 41] Generated Node #0,0: 35:[27, 21, 41] Operation: 77-36=41 Moving to Node #0,0 Current State: 35:[27, 21, 41], Operations: ['77-36=41'] Exploring Operation: 27-21=6, Resulting Numbers: [41, 6] Generated Node #0,0,0: 35:[41, 6] Operation: 27-21=6 Moving to Node #0,0,0 Current State: 35:[41, 6], Operations: ['77-36=41', '27-21=6'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[36, 27, 77, 21], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [27, 21, 41] Generated Node #0,0: 35:[27, 21, 41] Operation: 77-36=41 Moving to Node #0,0 Current State: 35:[27, 21, 41], Operations: ['77-36=41'] Exploring Operation: 27-21=6, Resulting Numbers: [41, 6] Generated Node #0,0,0: 35:[41, 6] Operation: 27-21=6 Moving to Node #0,0,0 Current State: 35:[41, 6], Operations: ['77-36=41', '27-21=6'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 9, 83, 4, 14 ]
13
[ "9-4=5", "14*5=70", "83-70=13" ]
Current State: 13:[9, 83, 4, 14], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [83, 14, 5] Generated Node #2: [83, 14, 5] from Operation: 9-4=5 Current State: 13:[83, 14, 5], Operations: ['9-4=5'] Exploring Operation: 14*5=70, Resulting Numbers: [83, 70] Generated Node #3: [83, 70] from Operation: 14*5=70 Current State: 13:[83, 70], Operations: ['9-4=5', '14*5=70'] Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[9, 83, 4, 14], Operations: [] Exploring Operation: 83-14=69, Resulting Numbers: [9, 4, 69] Generated Node #0,0: 13:[9, 4, 69] Operation: 83-14=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[9, 4, 69], Operations: ['83-14=69'] Exploring Operation: 9+4=13, Resulting Numbers: [69, 13] Generated Node #0,0,0: 13:[69, 13] Operation: 9+4=13 Moving to Node #0,0,0 Current State: 13:[69, 13], Operations: ['83-14=69', '9+4=13'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 74, 48, 14, 65 ]
35
[ "74-48=26", "14*65=910", "910/26=35" ]
Current State: 35:[74, 48, 14, 65], Operations: [] Exploring Operation: 74-48=26, Resulting Numbers: [14, 65, 26] Generated Node #2: [14, 65, 26] from Operation: 74-48=26 Current State: 35:[14, 65, 26], Operations: ['74-48=26'] Exploring Operation: 14*65=910, Resulting Numbers: [26, 910] Generated Node #3: [26, 910] from Operation: 14*65=910 Current State: 35:[26, 910], Operations: ['74-48=26', '14*65=910'] Exploring Operation: 910/26=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[74, 48, 14, 65], Operations: [] Exploring Operation: 74-65=9, Resulting Numbers: [48, 14, 9] Generated Node #0,0: 35:[48, 14, 9] Operation: 74-65=9 Exploring Operation: 74-48=26, Resulting Numbers: [14, 65, 26] Generated Node #0,1: 35:[14, 65, 26] Operation: 74-48=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[48, 14, 9], Operations: ['74-65=9'] Exploring Operation: 48-9=39, Resulting Numbers: [14, 39] Generated Node #0,0,0: 35:[14, 39] Operation: 48-9=39 Exploring Operation: 48-14=34, Resulting Numbers: [9, 34] Generated Node #0,0,1: 35:[9, 34] Operation: 48-14=34 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[9, 34], Operations: ['74-65=9', '48-14=34'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[14, 39], Operations: ['74-65=9', '48-9=39'] Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,35 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[14, 65, 26], Operations: ['74-48=26'] Exploring Operation: 65-26=39, Resulting Numbers: [14, 39] Generated Node #0,1,0: 35:[14, 39] Operation: 65-26=39 Exploring Operation: 65-14=51, Resulting Numbers: [26, 51] Generated Node #0,1,1: 35:[26, 51] Operation: 65-14=51 Moving to Node #0,1,0 Current State: 35:[14, 39], Operations: ['74-48=26', '65-26=39'] Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,35 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[26, 51], Operations: ['74-48=26', '65-14=51'] Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,35 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,35 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
[ 43, 58, 70, 92 ]
67
[ "43*92=3956", "3956-70=3886", "3886/58=67" ]
Current State: 67:[43, 58, 70, 92], Operations: [] Exploring Operation: 43*92=3956, Resulting Numbers: [58, 70, 3956] Generated Node #2: [58, 70, 3956] from Operation: 43*92=3956 Current State: 67:[58, 70, 3956], Operations: ['43*92=3956'] Exploring Operation: 3956-70=3886, Resulting Numbers: [58, 3886] Generated Node #3: [58, 3886] from Operation: 3956-70=3886 Current State: 67:[58, 3886], Operations: ['43*92=3956', '3956-70=3886'] Exploring Operation: 3886/58=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[43, 58, 70, 92], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [43, 70, 34] Generated Node #0,0: 67:[43, 70, 34] Operation: 92-58=34 Exploring Operation: 92-43=49, Resulting Numbers: [58, 70, 49] Generated Node #0,1: 67:[58, 70, 49] Operation: 92-43=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[58, 70, 49], Operations: ['92-43=49'] Exploring Operation: 70-49=21, Resulting Numbers: [58, 21] Generated Node #0,1,0: 67:[58, 21] Operation: 70-49=21 Exploring Operation: 58+49=107, Resulting Numbers: [70, 107] Generated Node #0,1,1: 67:[70, 107] Operation: 58+49=107 Moving to Node #0,1,1 Current State: 67:[70, 107], Operations: ['92-43=49', '58+49=107'] Exploring Operation: 70+107=177, Resulting Numbers: [177] 177,67 unequal: No Solution Exploring Operation: 107-70=37, Resulting Numbers: [37] 37,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[58, 21], Operations: ['92-43=49', '70-49=21'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,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 Current State: 67:[43, 70, 34], Operations: ['92-58=34'] Exploring Operation: 70-34=36, Resulting Numbers: [43, 36] Generated Node #0,0,0: 67:[43, 36] Operation: 70-34=36 Exploring Operation: 43+34=77, Resulting Numbers: [70, 77] Generated Node #0,0,1: 67:[70, 77] Operation: 43+34=77 Moving to Node #0,0,1 Current State: 67:[70, 77], Operations: ['92-58=34', '43+34=77'] Exploring Operation: 77-70=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 70+77=147, Resulting Numbers: [147] 147,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[43, 36], Operations: ['92-58=34', '70-34=36'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,67 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
[ 90, 65, 5, 30 ]
67
[ "90/30=3", "65+5=70", "70-3=67" ]
Current State: 67:[90, 65, 5, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [65, 5, 3] Generated Node #2: [65, 5, 3] from Operation: 90/30=3 Current State: 67:[65, 5, 3], Operations: ['90/30=3'] Exploring Operation: 65+5=70, Resulting Numbers: [3, 70] Generated Node #3: [3, 70] from Operation: 65+5=70 Current State: 67:[3, 70], Operations: ['90/30=3', '65+5=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[90, 65, 5, 30], Operations: [] Exploring Operation: 90-5=85, Resulting Numbers: [65, 30, 85] Generated Node #0,0: 67:[65, 30, 85] Operation: 90-5=85 Exploring Operation: 5+30=35, Resulting Numbers: [90, 65, 35] Generated Node #0,1: 67:[90, 65, 35] Operation: 5+30=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[65, 30, 85], Operations: ['90-5=85'] Exploring Operation: 85-30=55, Resulting Numbers: [65, 55] Generated Node #0,0,0: 67:[65, 55] Operation: 85-30=55 Exploring Operation: 65+30=95, Resulting Numbers: [85, 95] Generated Node #0,0,1: 67:[85, 95] Operation: 65+30=95 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[65, 55], Operations: ['90-5=85', '85-30=55'] Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[85, 95], Operations: ['90-5=85', '65+30=95'] Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 85+95=180, Resulting Numbers: [180] 180,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[90, 65, 35], Operations: ['5+30=35'] Exploring Operation: 90-35=55, Resulting Numbers: [65, 55] Generated Node #0,1,0: 67:[65, 55] Operation: 90-35=55 Exploring Operation: 65+35=100, Resulting Numbers: [90, 100] Generated Node #0,1,1: 67:[90, 100] Operation: 65+35=100 Moving to Node #0,1,0 Current State: 67:[65, 55], Operations: ['5+30=35', '90-35=55'] Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[90, 100], Operations: ['5+30=35', '65+35=100'] Exploring Operation: 90+100=190, Resulting Numbers: [190] 190,67 unequal: No Solution Exploring Operation: 100-90=10, Resulting Numbers: [10] 10,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 56, 4, 61, 16 ]
97
[ "56-4=52", "61-16=45", "52+45=97" ]
Current State: 97:[56, 4, 61, 16], Operations: [] Exploring Operation: 56-4=52, Resulting Numbers: [61, 16, 52] Generated Node #2: [61, 16, 52] from Operation: 56-4=52 Current State: 97:[61, 16, 52], Operations: ['56-4=52'] Exploring Operation: 61-16=45, Resulting Numbers: [52, 45] Generated Node #3: [52, 45] from Operation: 61-16=45 Current State: 97:[52, 45], Operations: ['56-4=52', '61-16=45'] Exploring Operation: 52+45=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[56, 4, 61, 16], Operations: [] Exploring Operation: 56+16=72, Resulting Numbers: [4, 61, 72] Generated Node #0,0: 97:[4, 61, 72] Operation: 56+16=72 Exploring Operation: 4+61=65, Resulting Numbers: [56, 16, 65] Generated Node #0,1: 97:[56, 16, 65] Operation: 4+61=65 Exploring Operation: 4*16=64, Resulting Numbers: [56, 61, 64] Generated Node #0,2: 97:[56, 61, 64] Operation: 4*16=64 Exploring Operation: 56+4=60, Resulting Numbers: [61, 16, 60] Generated Node #0,3: 97:[61, 16, 60] Operation: 56+4=60 Moving to Node #0,2 Current State: 97:[56, 61, 64], Operations: ['4*16=64'] Exploring Operation: 61-56=5, Resulting Numbers: [64, 5] Generated Node #0,2,0: 97:[64, 5] Operation: 61-56=5 Exploring Operation: 56+64=120, Resulting Numbers: [61, 120] Generated Node #0,2,1: 97:[61, 120] Operation: 56+64=120 Exploring Operation: 61+64=125, Resulting Numbers: [56, 125] Generated Node #0,2,2: 97:[56, 125] Operation: 61+64=125 Exploring Operation: 56+61=117, Resulting Numbers: [64, 117] Generated Node #0,2,3: 97:[64, 117] Operation: 56+61=117 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[64, 117], Operations: ['4*16=64', '56+61=117'] Exploring Operation: 117-64=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 64+117=181, Resulting Numbers: [181] 181,97 unequal: No Solution Exploring Operation: 64*117=7488, Resulting Numbers: [7488] 7488,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[61, 120], Operations: ['4*16=64', '56+64=120'] Exploring Operation: 61+120=181, Resulting Numbers: [181] 181,97 unequal: No Solution Exploring Operation: 120-61=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 61*120=7320, Resulting Numbers: [7320] 7320,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[56, 125], Operations: ['4*16=64', '61+64=125'] Exploring Operation: 125-56=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 56*125=7000, Resulting Numbers: [7000] 7000,97 unequal: No Solution Exploring Operation: 56+125=181, Resulting Numbers: [181] 181,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[64, 5], Operations: ['4*16=64', '61-56=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[56, 16, 65], Operations: ['4+61=65'] Exploring Operation: 65-16=49, Resulting Numbers: [56, 49] Generated Node #0,1,0: 97:[56, 49] Operation: 65-16=49 Exploring Operation: 56-16=40, Resulting Numbers: [65, 40] Generated Node #0,1,1: 97:[65, 40] Operation: 56-16=40 Exploring Operation: 16+65=81, Resulting Numbers: [56, 81] Generated Node #0,1,2: 97:[56, 81] Operation: 16+65=81 Exploring Operation: 56+16=72, Resulting Numbers: [65, 72] Generated Node #0,1,3: 97:[65, 72] Operation: 56+16=72 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[56, 81], Operations: ['4+61=65', '16+65=81'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 56+81=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 56*81=4536, Resulting Numbers: [4536] 4536,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,3 Current State: 97:[65, 72], Operations: ['4+61=65', '56+16=72'] Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,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,0 Current State: 97:[56, 49], Operations: ['4+61=65', '65-16=49'] Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,97 unequal: No Solution Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,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,1 Current State: 97:[65, 40], Operations: ['4+61=65', '56-16=40'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,97 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,97 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: 97:[4, 61, 72], Operations: ['56+16=72'] Exploring Operation: 4+72=76, Resulting Numbers: [61, 76] Generated Node #0,0,0: 97:[61, 76] Operation: 4+72=76 Exploring Operation: 72-4=68, Resulting Numbers: [61, 68] Generated Node #0,0,1: 97:[61, 68] Operation: 72-4=68 Exploring Operation: 61-4=57, Resulting Numbers: [72, 57] Generated Node #0,0,2: 97:[72, 57] Operation: 61-4=57 Exploring Operation: 4+61=65, Resulting Numbers: [72, 65] Generated Node #0,0,3: 97:[72, 65] Operation: 4+61=65 Moving to Node #0,3 Current State: 97:[61, 16, 60], Operations: ['56+4=60'] Exploring Operation: 61-16=45, Resulting Numbers: [60, 45] Generated Node #0,3,0: 97:[60, 45] Operation: 61-16=45 Exploring Operation: 61+16=77, Resulting Numbers: [60, 77] Generated Node #0,3,1: 97:[60, 77] Operation: 61+16=77 Exploring Operation: 60-16=44, Resulting Numbers: [61, 44] Generated Node #0,3,2: 97:[61, 44] Operation: 60-16=44 Exploring Operation: 16+60=76, Resulting Numbers: [61, 76] Generated Node #0,3,3: 97:[61, 76] Operation: 16+60=76 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[60, 77], Operations: ['56+4=60', '61+16=77'] Exploring Operation: 60*77=4620, Resulting Numbers: [4620] 4620,97 unequal: No Solution Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,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,3,3 Current State: 97:[61, 76], Operations: ['56+4=60', '16+60=76'] Exploring Operation: 61+76=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 76-61=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 61*76=4636, Resulting Numbers: [4636] 4636,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,3,0 Current State: 97:[60, 45], Operations: ['56+4=60', '61-16=45'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,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,3,2 Current State: 97:[61, 44], Operations: ['56+4=60', '60-16=44'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,97 unequal: No Solution Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 97:[61, 76], Operations: ['56+16=72', '4+72=76'] Exploring Operation: 76-61=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 61+76=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 61*76=4636, Resulting Numbers: [4636] 4636,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[72, 65], Operations: ['56+16=72', '4+61=65'] Exploring Operation: 72+65=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 72*65=4680, Resulting Numbers: [4680] 4680,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[72, 57], Operations: ['56+16=72', '61-4=57'] Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,97 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[61, 68], Operations: ['56+16=72', '72-4=68'] Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,97 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,97 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 60, 49, 38, 92 ]
12
[ "49+38=87", "92-87=5", "60/5=12" ]
Current State: 12:[60, 49, 38, 92], Operations: [] Exploring Operation: 49+38=87, Resulting Numbers: [60, 92, 87] Generated Node #2: [60, 92, 87] from Operation: 49+38=87 Current State: 12:[60, 92, 87], Operations: ['49+38=87'] Exploring Operation: 92-87=5, Resulting Numbers: [60, 5] Generated Node #3: [60, 5] from Operation: 92-87=5 Current State: 12:[60, 5], Operations: ['49+38=87', '92-87=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[60, 49, 38, 92], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [49, 92, 22] Generated Node #0,0: 12:[49, 92, 22] Operation: 60-38=22 Exploring Operation: 60-49=11, Resulting Numbers: [38, 92, 11] Generated Node #0,1: 12:[38, 92, 11] Operation: 60-49=11 Exploring Operation: 92-60=32, Resulting Numbers: [49, 38, 32] Generated Node #0,2: 12:[49, 38, 32] Operation: 92-60=32 Exploring Operation: 92-49=43, Resulting Numbers: [60, 38, 43] Generated Node #0,3: 12:[60, 38, 43] Operation: 92-49=43 Moving to Node #0,2 Current State: 12:[49, 38, 32], Operations: ['92-60=32'] Exploring Operation: 49-38=11, Resulting Numbers: [32, 11] Generated Node #0,2,0: 12:[32, 11] Operation: 49-38=11 Exploring Operation: 38-32=6, Resulting Numbers: [49, 6] Generated Node #0,2,1: 12:[49, 6] Operation: 38-32=6 Exploring Operation: 49-32=17, Resulting Numbers: [38, 17] Generated Node #0,2,2: 12:[38, 17] Operation: 49-32=17 Exploring Operation: 49+38=87, Resulting Numbers: [32, 87] Generated Node #0,2,3: 12:[32, 87] Operation: 49+38=87 Moving to Node #0,3 Current State: 12:[60, 38, 43], Operations: ['92-49=43'] Exploring Operation: 60-38=22, Resulting Numbers: [43, 22] Generated Node #0,3,0: 12:[43, 22] Operation: 60-38=22 Exploring Operation: 60-43=17, Resulting Numbers: [38, 17] Generated Node #0,3,1: 12:[38, 17] Operation: 60-43=17 Exploring Operation: 60+38=98, Resulting Numbers: [43, 98] Generated Node #0,3,2: 12:[43, 98] Operation: 60+38=98 Exploring Operation: 43-38=5, Resulting Numbers: [60, 5] Generated Node #0,3,3: 12:[60, 5] Operation: 43-38=5 Moving to Node #0,1 Current State: 12:[38, 92, 11], Operations: ['60-49=11'] Exploring Operation: 92-11=81, Resulting Numbers: [38, 81] Generated Node #0,1,0: 12:[38, 81] Operation: 92-11=81 Exploring Operation: 38-11=27, Resulting Numbers: [92, 27] Generated Node #0,1,1: 12:[92, 27] Operation: 38-11=27 Exploring Operation: 92-38=54, Resulting Numbers: [11, 54] Generated Node #0,1,2: 12:[11, 54] Operation: 92-38=54 Exploring Operation: 38+11=49, Resulting Numbers: [92, 49] Generated Node #0,1,3: 12:[92, 49] Operation: 38+11=49 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[11, 54], Operations: ['60-49=11', '92-38=54'] Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 11*54=594, Resulting Numbers: [594] 594,12 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[38, 81], Operations: ['60-49=11', '92-11=81'] Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 38+81=119, Resulting Numbers: [119] 119,12 unequal: No Solution Exploring Operation: 38*81=3078, Resulting Numbers: [3078] 3078,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[92, 27], Operations: ['60-49=11', '38-11=27'] Exploring Operation: 92+27=119, Resulting Numbers: [119] 119,12 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 92*27=2484, Resulting Numbers: [2484] 2484,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[92, 49], Operations: ['60-49=11', '38+11=49'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,12 unequal: No Solution Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,12 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: 12:[49, 92, 22], Operations: ['60-38=22'] Exploring Operation: 49-22=27, Resulting Numbers: [92, 27] Generated Node #0,0,0: 12:[92, 27] Operation: 49-22=27 Exploring Operation: 92-22=70, Resulting Numbers: [49, 70] Generated Node #0,0,1: 12:[49, 70] Operation: 92-22=70 Exploring Operation: 92-49=43, Resulting Numbers: [22, 43] Generated Node #0,0,2: 12:[22, 43] Operation: 92-49=43 Exploring Operation: 49+92=141, Resulting Numbers: [22, 141] Generated Node #0,0,3: 12:[22, 141] Operation: 49+92=141 Moving to Node #0,2,0 Current State: 12:[32, 11], Operations: ['92-60=32', '49-38=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,12 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[38, 17], Operations: ['92-60=32', '49-32=17'] Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,12 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[38, 17], Operations: ['92-49=43', '60-43=17'] Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,12 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[49, 6], Operations: ['92-60=32', '38-32=6'] Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,12 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[43, 22], Operations: ['92-49=43', '60-38=22'] Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,12 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[22, 43], Operations: ['60-38=22', '92-49=43'] Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 22*43=946, Resulting Numbers: [946] 946,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[60, 5], Operations: ['92-49=43', '43-38=5'] Exploring Operation: 60*5=300, Resulting Numbers: [300] 300,12 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[60, 49, 38, 92], Operations: [] Exploring Operation: 92-49=43, Resulting Numbers: [60, 38, 43] Generated Node #0,3: 12:[60, 38, 43] Operation: 92-49=43 Moving to Node #0,3 Current State: 12:[60, 38, 43], Operations: ['92-49=43'] Exploring Operation: 43-38=5, Resulting Numbers: [60, 5] Generated Node #0,3,3: 12:[60, 5] Operation: 43-38=5 Moving to Node #0,3,3 Current State: 12:[60, 5], Operations: ['92-49=43', '43-38=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.951389
hs_4
sum_heuristic
[ 43, 52, 4, 13 ]
35
[ "43-4=39", "52/13=4", "39-4=35" ]
Current State: 35:[43, 52, 4, 13], Operations: [] Exploring Operation: 43-4=39, Resulting Numbers: [52, 13, 39] Generated Node #2: [52, 13, 39] from Operation: 43-4=39 Current State: 35:[52, 13, 39], Operations: ['43-4=39'] Exploring Operation: 52/13=4, Resulting Numbers: [39, 4] Generated Node #3: [39, 4] from Operation: 52/13=4 Current State: 35:[39, 4], Operations: ['43-4=39', '52/13=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[43, 52, 4, 13], Operations: [] Exploring Operation: 52-13=39, Resulting Numbers: [43, 4, 39] Generated Node #0,0: 35:[43, 4, 39] Operation: 52-13=39 Exploring Operation: 52-43=9, Resulting Numbers: [4, 13, 9] Generated Node #0,1: 35:[4, 13, 9] Operation: 52-43=9 Exploring Operation: 52/4=13, Resulting Numbers: [43, 13, 13] Generated Node #0,2: 35:[43, 13, 13] Operation: 52/4=13 Exploring Operation: 52/13=4, Resulting Numbers: [43, 4, 4] Generated Node #0,3: 35:[43, 4, 4] Operation: 52/13=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[4, 13, 9], Operations: ['52-43=9'] Exploring Operation: 13-4=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 35:[9, 9] Operation: 13-4=9 Exploring Operation: 13-9=4, Resulting Numbers: [4, 4] Generated Node #0,1,1: 35:[4, 4] Operation: 13-9=4 Exploring Operation: 4*9=36, Resulting Numbers: [13, 36] Generated Node #0,1,2: 35:[13, 36] Operation: 4*9=36 Exploring Operation: 9-4=5, Resulting Numbers: [13, 5] Generated Node #0,1,3: 35:[13, 5] Operation: 9-4=5 Moving to Node #0,1,1 Current State: 35:[4, 4], Operations: ['52-43=9', '13-9=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[9, 9], Operations: ['52-43=9', '13-4=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[13, 5], Operations: ['52-43=9', '9-4=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,35 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[13, 36], Operations: ['52-43=9', '4*9=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,35 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[43, 4, 4], Operations: ['52/13=4'] Exploring Operation: 43-4=39, Resulting Numbers: [4, 39] Generated Node #0,3,0: 35:[4, 39] Operation: 43-4=39 Exploring Operation: 4/4=1, Resulting Numbers: [43, 1] Generated Node #0,3,1: 35:[43, 1] Operation: 4/4=1 Exploring Operation: 4+4=8, Resulting Numbers: [43, 8] Generated Node #0,3,2: 35:[43, 8] Operation: 4+4=8 Exploring Operation: 43-4=39, Resulting Numbers: [4, 39] Generated Node #0,3,3: 35:[4, 39] Operation: 43-4=39 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[4, 39], Operations: ['52/13=4', '43-4=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[43, 52, 4, 13], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [43, 4, 4] Generated Node #0,3: 35:[43, 4, 4] Operation: 52/13=4 Moving to Node #0,3 Current State: 35:[43, 4, 4], Operations: ['52/13=4'] Exploring Operation: 43-4=39, Resulting Numbers: [4, 39] Generated Node #0,3,0: 35:[4, 39] Operation: 43-4=39 Moving to Node #0,3,0 Current State: 35:[4, 39], Operations: ['52/13=4', '43-4=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 28, 84, 32, 35 ]
25
[ "28+32=60", "35*60=2100", "2100/84=25" ]
Current State: 25:[28, 84, 32, 35], Operations: [] Exploring Operation: 28+32=60, Resulting Numbers: [84, 35, 60] Generated Node #2: [84, 35, 60] from Operation: 28+32=60 Current State: 25:[84, 35, 60], Operations: ['28+32=60'] Exploring Operation: 35*60=2100, Resulting Numbers: [84, 2100] Generated Node #3: [84, 2100] from Operation: 35*60=2100 Current State: 25:[84, 2100], Operations: ['28+32=60', '35*60=2100'] Exploring Operation: 2100/84=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[28, 84, 32, 35], Operations: [] Exploring Operation: 84-28=56, Resulting Numbers: [32, 35, 56] Generated Node #0,0: 25:[32, 35, 56] Operation: 84-28=56 Exploring Operation: 35-32=3, Resulting Numbers: [28, 84, 3] Generated Node #0,1: 25:[28, 84, 3] Operation: 35-32=3 Exploring Operation: 84-35=49, Resulting Numbers: [28, 32, 49] Generated Node #0,2: 25:[28, 32, 49] Operation: 84-35=49 Exploring Operation: 84/28=3, Resulting Numbers: [32, 35, 3] Generated Node #0,3: 25:[32, 35, 3] Operation: 84/28=3 Exploring Operation: 84-32=52, Resulting Numbers: [28, 35, 52] Generated Node #0,4: 25:[28, 35, 52] Operation: 84-32=52 Moving to Node #0,3 Current State: 25:[32, 35, 3], Operations: ['84/28=3'] Exploring Operation: 35-32=3, Resulting Numbers: [3, 3] Generated Node #0,3,0: 25:[3, 3] Operation: 35-32=3 Exploring Operation: 35-3=32, Resulting Numbers: [32, 32] Generated Node #0,3,1: 25:[32, 32] Operation: 35-3=32 Exploring Operation: 35+3=38, Resulting Numbers: [32, 38] Generated Node #0,3,2: 25:[32, 38] Operation: 35+3=38 Exploring Operation: 32+3=35, Resulting Numbers: [35, 35] Generated Node #0,3,3: 25:[35, 35] Operation: 32+3=35 Exploring Operation: 32-3=29, Resulting Numbers: [35, 29] Generated Node #0,3,4: 25:[35, 29] Operation: 32-3=29 Moving to Node #0,2 Current State: 25:[28, 32, 49], Operations: ['84-35=49'] Exploring Operation: 49-32=17, Resulting Numbers: [28, 17] Generated Node #0,2,0: 25:[28, 17] Operation: 49-32=17 Exploring Operation: 28+49=77, Resulting Numbers: [32, 77] Generated Node #0,2,1: 25:[32, 77] Operation: 28+49=77 Exploring Operation: 32-28=4, Resulting Numbers: [49, 4] Generated Node #0,2,2: 25:[49, 4] Operation: 32-28=4 Exploring Operation: 49-28=21, Resulting Numbers: [32, 21] Generated Node #0,2,3: 25:[32, 21] Operation: 49-28=21 Exploring Operation: 28+32=60, Resulting Numbers: [49, 60] Generated Node #0,2,4: 25:[49, 60] Operation: 28+32=60 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[28, 17], Operations: ['84-35=49', '49-32=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,25 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,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,2,3 Current State: 25:[32, 21], Operations: ['84-35=49', '49-28=21'] Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,25 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,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,2,2 Current State: 25:[49, 4], Operations: ['84-35=49', '32-28=4'] Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,25 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,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,2,1 Current State: 25:[32, 77], Operations: ['84-35=49', '28+49=77'] Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,25 unequal: No Solution Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,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,2,4 Current State: 25:[49, 60], Operations: ['84-35=49', '28+32=60'] Exploring Operation: 49*60=2940, Resulting Numbers: [2940] 2940,25 unequal: No Solution Exploring Operation: 49+60=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,25 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: 25:[28, 35, 52], Operations: ['84-32=52'] Exploring Operation: 28+35=63, Resulting Numbers: [52, 63] Generated Node #0,4,0: 25:[52, 63] Operation: 28+35=63 Exploring Operation: 52-35=17, Resulting Numbers: [28, 17] Generated Node #0,4,1: 25:[28, 17] Operation: 52-35=17 Exploring Operation: 35-28=7, Resulting Numbers: [52, 7] Generated Node #0,4,2: 25:[52, 7] Operation: 35-28=7 Exploring Operation: 52-28=24, Resulting Numbers: [35, 24] Generated Node #0,4,3: 25:[35, 24] Operation: 52-28=24 Exploring Operation: 28+52=80, Resulting Numbers: [35, 80] Generated Node #0,4,4: 25:[35, 80] Operation: 28+52=80 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[28, 17], Operations: ['84-32=52', '52-35=17'] Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,25 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,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,4,3 Current State: 25:[35, 24], Operations: ['84-32=52', '52-28=24'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,25 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,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,4,2 Current State: 25:[52, 7], Operations: ['84-32=52', '35-28=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,25 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,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,4,0 Current State: 25:[52, 63], Operations: ['84-32=52', '28+35=63'] Exploring Operation: 52+63=115, Resulting Numbers: [115] 115,25 unequal: No Solution Exploring Operation: 52*63=3276, Resulting Numbers: [3276] 3276,25 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,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,4,4 Current State: 25:[35, 80], Operations: ['84-32=52', '28+52=80'] Exploring Operation: 35*80=2800, Resulting Numbers: [2800] 2800,25 unequal: No Solution Exploring Operation: 35+80=115, Resulting Numbers: [115] 115,25 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,25 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: 25:[32, 35, 56], Operations: ['84-28=56'] Exploring Operation: 32+56=88, Resulting Numbers: [35, 88] Generated Node #0,0,0: 25:[35, 88] Operation: 32+56=88 Exploring Operation: 35-32=3, Resulting Numbers: [56, 3] Generated Node #0,0,1: 25:[56, 3] Operation: 35-32=3 Exploring Operation: 56-35=21, Resulting Numbers: [32, 21] Generated Node #0,0,2: 25:[32, 21] Operation: 56-35=21 Exploring Operation: 32+35=67, Resulting Numbers: [56, 67] Generated Node #0,0,3: 25:[56, 67] Operation: 32+35=67 Exploring Operation: 56-32=24, Resulting Numbers: [35, 24] Generated Node #0,0,4: 25:[35, 24] Operation: 56-32=24 Moving to Node #0,1 Current State: 25:[28, 84, 3], Operations: ['35-32=3'] Exploring Operation: 84-3=81, Resulting Numbers: [28, 81] Generated Node #0,1,0: 25:[28, 81] Operation: 84-3=81 Exploring Operation: 84/28=3, Resulting Numbers: [3, 3] Generated Node #0,1,1: 25:[3, 3] Operation: 84/28=3 Exploring Operation: 84-28=56, Resulting Numbers: [3, 56] Generated Node #0,1,2: 25:[3, 56] Operation: 84-28=56 Exploring Operation: 28-3=25, Resulting Numbers: [84, 25] Generated Node #0,1,3: 25:[84, 25] Operation: 28-3=25 Exploring Operation: 84/3=28, Resulting Numbers: [28, 28] Generated Node #0,1,4: 25:[28, 28] Operation: 84/3=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[3, 3], Operations: ['35-32=3', '84/28=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,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,1,4 Current State: 25:[28, 28], Operations: ['35-32=3', '84/3=28'] Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,25 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,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,1,2 Current State: 25:[3, 56], Operations: ['35-32=3', '84-28=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,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,1,0 Current State: 25:[28, 81], Operations: ['35-32=3', '84-3=81'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,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,1,3 Current State: 25:[84, 25], Operations: ['35-32=3', '28-3=25'] Exploring Operation: 84+25=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 84*25=2100, Resulting Numbers: [2100] 2100,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 25:[3, 3], Operations: ['84/28=3', '35-32=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[32, 21], Operations: ['84-28=56', '56-35=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,25 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[35, 24], Operations: ['84-28=56', '56-32=24'] Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,25 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[35, 29], Operations: ['84/28=3', '32-3=29'] Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,25 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[32, 32], Operations: ['84/28=3', '35-3=32'] Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,25 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[35, 35], Operations: ['84/28=3', '32+3=35'] Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,25 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[32, 38], Operations: ['84/28=3', '35+3=38'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,25 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[56, 3], Operations: ['84-28=56', '35-32=3'] Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,25 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[35, 88], Operations: ['84-28=56', '32+56=88'] Exploring Operation: 35*88=3080, Resulting Numbers: [3080] 3080,25 unequal: No Solution Exploring Operation: 35+88=123, Resulting Numbers: [123] 123,25 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[56, 67], Operations: ['84-28=56', '32+35=67'] Exploring Operation: 56+67=123, Resulting Numbers: [123] 123,25 unequal: No Solution Exploring Operation: 56*67=3752, Resulting Numbers: [3752] 3752,25 unequal: No Solution Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,25 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 18, 9, 95, 26 ]
43
[ "18/9=2", "26*2=52", "95-52=43" ]
Current State: 43:[18, 9, 95, 26], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [95, 26, 2] Generated Node #2: [95, 26, 2] from Operation: 18/9=2 Current State: 43:[95, 26, 2], Operations: ['18/9=2'] Exploring Operation: 26*2=52, Resulting Numbers: [95, 52] Generated Node #3: [95, 52] from Operation: 26*2=52 Current State: 43:[95, 52], Operations: ['18/9=2', '26*2=52'] Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[18, 9, 95, 26], Operations: [] Exploring Operation: 95-18=77, Resulting Numbers: [9, 26, 77] Generated Node #0,0: 43:[9, 26, 77] Operation: 95-18=77 Exploring Operation: 9+26=35, Resulting Numbers: [18, 95, 35] Generated Node #0,1: 43:[18, 95, 35] Operation: 9+26=35 Exploring Operation: 18+9=27, Resulting Numbers: [95, 26, 27] Generated Node #0,2: 43:[95, 26, 27] Operation: 18+9=27 Exploring Operation: 95-9=86, Resulting Numbers: [18, 26, 86] Generated Node #0,3: 43:[18, 26, 86] Operation: 95-9=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[9, 26, 77], Operations: ['95-18=77'] Exploring Operation: 9+26=35, Resulting Numbers: [77, 35] Generated Node #0,0,0: 43:[77, 35] Operation: 9+26=35 Exploring Operation: 26-9=17, Resulting Numbers: [77, 17] Generated Node #0,0,1: 43:[77, 17] Operation: 26-9=17 Exploring Operation: 77-9=68, Resulting Numbers: [26, 68] Generated Node #0,0,2: 43:[26, 68] Operation: 77-9=68 Exploring Operation: 77-26=51, Resulting Numbers: [9, 51] Generated Node #0,0,3: 43:[9, 51] Operation: 77-26=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[77, 35], Operations: ['95-18=77', '9+26=35'] Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 77*35=2695, Resulting Numbers: [2695] 2695,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 43:[26, 68], Operations: ['95-18=77', '77-9=68'] Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,43 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 43:[9, 51], Operations: ['95-18=77', '77-26=51'] Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,43 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[77, 17], Operations: ['95-18=77', '26-9=17'] Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,43 unequal: No Solution Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[18, 95, 35], Operations: ['9+26=35'] Exploring Operation: 95-35=60, Resulting Numbers: [18, 60] Generated Node #0,1,0: 43:[18, 60] Operation: 95-35=60 Exploring Operation: 95-18=77, Resulting Numbers: [35, 77] Generated Node #0,1,1: 43:[35, 77] Operation: 95-18=77 Exploring Operation: 18+35=53, Resulting Numbers: [95, 53] Generated Node #0,1,2: 43:[95, 53] Operation: 18+35=53 Exploring Operation: 18+95=113, Resulting Numbers: [35, 113] Generated Node #0,1,3: 43:[35, 113] Operation: 18+95=113 Moving to Node #0,1,0 Current State: 43:[18, 60], Operations: ['9+26=35', '95-35=60'] Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,43 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[35, 77], Operations: ['9+26=35', '95-18=77'] Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,43 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[95, 53], Operations: ['9+26=35', '18+35=53'] Exploring Operation: 95*53=5035, Resulting Numbers: [5035] 5035,43 unequal: No Solution Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 95+53=148, Resulting Numbers: [148] 148,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[35, 113], Operations: ['9+26=35', '18+95=113'] Exploring Operation: 35*113=3955, Resulting Numbers: [3955] 3955,43 unequal: No Solution Exploring Operation: 35+113=148, Resulting Numbers: [148] 148,43 unequal: No Solution Exploring Operation: 113-35=78, Resulting Numbers: [78] 78,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[95, 26, 27], Operations: ['18+9=27'] Exploring Operation: 95-27=68, Resulting Numbers: [26, 68] Generated Node #0,2,0: 43:[26, 68] Operation: 95-27=68 Exploring Operation: 26+27=53, Resulting Numbers: [95, 53] Generated Node #0,2,1: 43:[95, 53] Operation: 26+27=53 Exploring Operation: 95+26=121, Resulting Numbers: [27, 121] Generated Node #0,2,2: 43:[27, 121] Operation: 95+26=121 Exploring Operation: 95-26=69, Resulting Numbers: [27, 69] Generated Node #0,2,3: 43:[27, 69] Operation: 95-26=69 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[26, 68], Operations: ['18+9=27', '95-27=68'] Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 43:[27, 69], Operations: ['18+9=27', '95-26=69'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,43 unequal: No Solution Exploring Operation: 27*69=1863, Resulting Numbers: [1863] 1863,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[95, 53], Operations: ['18+9=27', '26+27=53'] Exploring Operation: 95*53=5035, Resulting Numbers: [5035] 5035,43 unequal: No Solution Exploring Operation: 95+53=148, Resulting Numbers: [148] 148,43 unequal: No Solution Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[27, 121], Operations: ['18+9=27', '95+26=121'] Exploring Operation: 121-27=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 27+121=148, Resulting Numbers: [148] 148,43 unequal: No Solution Exploring Operation: 27*121=3267, Resulting Numbers: [3267] 3267,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[18, 26, 86], Operations: ['95-9=86'] Exploring Operation: 86-26=60, Resulting Numbers: [18, 60] Generated Node #0,3,0: 43:[18, 60] Operation: 86-26=60 Exploring Operation: 26-18=8, Resulting Numbers: [86, 8] Generated Node #0,3,1: 43:[86, 8] Operation: 26-18=8 Exploring Operation: 18+26=44, Resulting Numbers: [86, 44] Generated Node #0,3,2: 43:[86, 44] Operation: 18+26=44 Exploring Operation: 86-18=68, Resulting Numbers: [26, 68] Generated Node #0,3,3: 43:[26, 68] Operation: 86-18=68 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 43:[18, 60], Operations: ['95-9=86', '86-26=60'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,43 unequal: No Solution Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 43:[26, 68], Operations: ['95-9=86', '86-18=68'] Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,43 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 43:[86, 44], Operations: ['95-9=86', '18+26=44'] Exploring Operation: 86*44=3784, Resulting Numbers: [3784] 3784,43 unequal: No Solution Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 86+44=130, Resulting Numbers: [130] 130,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[86, 8], Operations: ['95-9=86', '26-18=8'] Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,43 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,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_4
sum_heuristic
[ 99, 30, 10, 39 ]
63
[ "99-39=60", "30/10=3", "60+3=63" ]
Current State: 63:[99, 30, 10, 39], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [30, 10, 60] Generated Node #2: [30, 10, 60] from Operation: 99-39=60 Current State: 63:[30, 10, 60], Operations: ['99-39=60'] Exploring Operation: 30/10=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 30/10=3 Current State: 63:[60, 3], Operations: ['99-39=60', '30/10=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[99, 30, 10, 39], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [10, 39, 69] Generated Node #0,0: 63:[10, 39, 69] Operation: 99-30=69 Exploring Operation: 30+39=69, Resulting Numbers: [99, 10, 69] Generated Node #0,1: 63:[99, 10, 69] Operation: 30+39=69 Exploring Operation: 39-30=9, Resulting Numbers: [99, 10, 9] Generated Node #0,2: 63:[99, 10, 9] Operation: 39-30=9 Exploring Operation: 99-39=60, Resulting Numbers: [30, 10, 60] Generated Node #0,3: 63:[30, 10, 60] Operation: 99-39=60 Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[30, 10, 60], Operations: ['99-39=60'] Exploring Operation: 60-30=30, Resulting Numbers: [10, 30] Generated Node #0,3,0: 63:[10, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [10, 2] Generated Node #0,3,1: 63:[10, 2] Operation: 60/30=2 Exploring Operation: 30-10=20, Resulting Numbers: [60, 20] Generated Node #0,3,2: 63:[60, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [60, 3] Generated Node #0,3,3: 63:[60, 3] Operation: 30/10=3 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 63:[10, 2], Operations: ['99-39=60', '60/30=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 63:[60, 3], Operations: ['99-39=60', '30/10=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[99, 30, 10, 39], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [30, 10, 60] Generated Node #0,3: 63:[30, 10, 60] Operation: 99-39=60 Moving to Node #0,3 Current State: 63:[30, 10, 60], Operations: ['99-39=60'] Exploring Operation: 30/10=3, Resulting Numbers: [60, 3] Generated Node #0,3,3: 63:[60, 3] Operation: 30/10=3 Moving to Node #0,3,3 Current State: 63:[60, 3], Operations: ['99-39=60', '30/10=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 64, 78, 56, 62 ]
34
[ "64-62=2", "56*2=112", "112-78=34" ]
Current State: 34:[64, 78, 56, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [78, 56, 2] Generated Node #2: [78, 56, 2] from Operation: 64-62=2 Current State: 34:[78, 56, 2], Operations: ['64-62=2'] Exploring Operation: 56*2=112, Resulting Numbers: [78, 112] Generated Node #3: [78, 112] from Operation: 56*2=112 Current State: 34:[78, 112], Operations: ['64-62=2', '56*2=112'] Exploring Operation: 112-78=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[64, 78, 56, 62], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [64, 62, 22] Generated Node #0,0: 34:[64, 62, 22] Operation: 78-56=22 Exploring Operation: 78-64=14, Resulting Numbers: [56, 62, 14] Generated Node #0,1: 34:[56, 62, 14] Operation: 78-64=14 Exploring Operation: 78-62=16, Resulting Numbers: [64, 56, 16] Generated Node #0,2: 34:[64, 56, 16] Operation: 78-62=16 Moving to Node #0,1 Current State: 34:[56, 62, 14], Operations: ['78-64=14'] Exploring Operation: 62-56=6, Resulting Numbers: [14, 6] Generated Node #0,1,0: 34:[14, 6] Operation: 62-56=6 Exploring Operation: 56/14=4, Resulting Numbers: [62, 4] Generated Node #0,1,1: 34:[62, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [62, 42] Generated Node #0,1,2: 34:[62, 42] Operation: 56-14=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[14, 6], Operations: ['78-64=14', '62-56=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,34 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,34 unequal: No Solution No 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: 34:[62, 4], Operations: ['78-64=14', '56/14=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,34 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,34 unequal: No Solution No 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: 34:[62, 42], Operations: ['78-64=14', '56-14=42'] Exploring Operation: 62*42=2604, Resulting Numbers: [2604] 2604,34 unequal: No Solution Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 62+42=104, Resulting Numbers: [104] 104,34 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: 34:[64, 56, 16], Operations: ['78-62=16'] Exploring Operation: 64-16=48, Resulting Numbers: [56, 48] Generated Node #0,2,0: 34:[56, 48] Operation: 64-16=48 Exploring Operation: 64/16=4, Resulting Numbers: [56, 4] Generated Node #0,2,1: 34:[56, 4] Operation: 64/16=4 Exploring Operation: 64-56=8, Resulting Numbers: [16, 8] Generated Node #0,2,2: 34:[16, 8] Operation: 64-56=8 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[16, 8], Operations: ['78-62=16', '64-56=8'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,34 unequal: No Solution No 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: 34:[56, 4], Operations: ['78-62=16', '64/16=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,34 unequal: No Solution No 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: 34:[56, 48], Operations: ['78-62=16', '64-16=48'] Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,34 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,34 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,34 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: 34:[64, 62, 22], Operations: ['78-56=22'] Exploring Operation: 62-22=40, Resulting Numbers: [64, 40] Generated Node #0,0,0: 34:[64, 40] Operation: 62-22=40 Exploring Operation: 64-22=42, Resulting Numbers: [62, 42] Generated Node #0,0,1: 34:[62, 42] Operation: 64-22=42 Exploring Operation: 64-62=2, Resulting Numbers: [22, 2] Generated Node #0,0,2: 34:[22, 2] Operation: 64-62=2 Moving to Node #0,0,2 Current State: 34:[22, 2], Operations: ['78-56=22', '64-62=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[64, 40], Operations: ['78-56=22', '62-22=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,34 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[62, 42], Operations: ['78-56=22', '64-22=42'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 62*42=2604, Resulting Numbers: [2604] 2604,34 unequal: No Solution Exploring Operation: 62+42=104, Resulting Numbers: [104] 104,34 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 76, 16, 48, 33 ]
11
[ "76+16=92", "48+33=81", "92-81=11" ]
Current State: 11:[76, 16, 48, 33], Operations: [] Exploring Operation: 76+16=92, Resulting Numbers: [48, 33, 92] Generated Node #2: [48, 33, 92] from Operation: 76+16=92 Current State: 11:[48, 33, 92], Operations: ['76+16=92'] Exploring Operation: 48+33=81, Resulting Numbers: [92, 81] Generated Node #3: [92, 81] from Operation: 48+33=81 Current State: 11:[92, 81], Operations: ['76+16=92', '48+33=81'] Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[76, 16, 48, 33], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [76, 33, 3] Generated Node #0,0: 11:[76, 33, 3] Operation: 48/16=3 Exploring Operation: 48-33=15, Resulting Numbers: [76, 16, 15] Generated Node #0,1: 11:[76, 16, 15] Operation: 48-33=15 Exploring Operation: 76-33=43, Resulting Numbers: [16, 48, 43] Generated Node #0,2: 11:[16, 48, 43] Operation: 76-33=43 Exploring Operation: 76-48=28, Resulting Numbers: [16, 33, 28] Generated Node #0,3: 11:[16, 33, 28] Operation: 76-48=28 Moving to Node #0,3 Current State: 11:[16, 33, 28], Operations: ['76-48=28'] Exploring Operation: 16+33=49, Resulting Numbers: [28, 49] Generated Node #0,3,0: 11:[28, 49] Operation: 16+33=49 Exploring Operation: 28-16=12, Resulting Numbers: [33, 12] Generated Node #0,3,1: 11:[33, 12] Operation: 28-16=12 Exploring Operation: 33-28=5, Resulting Numbers: [16, 5] Generated Node #0,3,2: 11:[16, 5] Operation: 33-28=5 Exploring Operation: 33-16=17, Resulting Numbers: [28, 17] Generated Node #0,3,3: 11:[28, 17] Operation: 33-16=17 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[16, 5], Operations: ['76-48=28', '33-28=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[76, 16, 48, 33], Operations: [] Exploring Operation: 76-48=28, Resulting Numbers: [16, 33, 28] Generated Node #0,3: 11:[16, 33, 28] Operation: 76-48=28 Moving to Node #0,3 Current State: 11:[16, 33, 28], Operations: ['76-48=28'] Exploring Operation: 33-28=5, Resulting Numbers: [16, 5] Generated Node #0,3,2: 11:[16, 5] Operation: 33-28=5 Moving to Node #0,3,2 Current State: 11:[16, 5], Operations: ['76-48=28', '33-28=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 89, 4, 82, 55 ]
54
[ "89-55=34", "4*34=136", "136-82=54" ]
Current State: 54:[89, 4, 82, 55], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [4, 82, 34] Generated Node #2: [4, 82, 34] from Operation: 89-55=34 Current State: 54:[4, 82, 34], Operations: ['89-55=34'] Exploring Operation: 4*34=136, Resulting Numbers: [82, 136] Generated Node #3: [82, 136] from Operation: 4*34=136 Current State: 54:[82, 136], Operations: ['89-55=34', '4*34=136'] Exploring Operation: 136-82=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[89, 4, 82, 55], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [4, 55, 7] Generated Node #0,0: 54:[4, 55, 7] Operation: 89-82=7 Exploring Operation: 89-55=34, Resulting Numbers: [4, 82, 34] Generated Node #0,1: 54:[4, 82, 34] Operation: 89-55=34 Exploring Operation: 82-55=27, Resulting Numbers: [89, 4, 27] Generated Node #0,2: 54:[89, 4, 27] Operation: 82-55=27 Moving to Node #0,0 Current State: 54:[4, 55, 7], Operations: ['89-82=7'] Exploring Operation: 4+7=11, Resulting Numbers: [55, 11] Generated Node #0,0,0: 54:[55, 11] Operation: 4+7=11 Exploring Operation: 4*7=28, Resulting Numbers: [55, 28] Generated Node #0,0,1: 54:[55, 28] Operation: 4*7=28 Exploring Operation: 7-4=3, Resulting Numbers: [55, 3] Generated Node #0,0,2: 54:[55, 3] Operation: 7-4=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[55, 3], Operations: ['89-82=7', '7-4=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,54 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,54 unequal: No Solution No 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: 54:[55, 28], Operations: ['89-82=7', '4*7=28'] Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,54 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,54 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,54 unequal: No Solution No 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: 54:[55, 11], Operations: ['89-82=7', '4+7=11'] Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,54 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: 54:[4, 82, 34], Operations: ['89-55=34'] Exploring Operation: 82-4=78, Resulting Numbers: [34, 78] Generated Node #0,1,0: 54:[34, 78] Operation: 82-4=78 Exploring Operation: 34-4=30, Resulting Numbers: [82, 30] Generated Node #0,1,1: 54:[82, 30] Operation: 34-4=30 Exploring Operation: 82-34=48, Resulting Numbers: [4, 48] Generated Node #0,1,2: 54:[4, 48] Operation: 82-34=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[4, 48], Operations: ['89-55=34', '82-34=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,54 unequal: No Solution No 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: 54:[34, 78], Operations: ['89-55=34', '82-4=78'] Exploring Operation: 34+78=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 34*78=2652, Resulting Numbers: [2652] 2652,54 unequal: No Solution No 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: 54:[82, 30], Operations: ['89-55=34', '34-4=30'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,54 unequal: No Solution Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,54 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: 54:[89, 4, 27], Operations: ['82-55=27'] Exploring Operation: 89+4=93, Resulting Numbers: [27, 93] Generated Node #0,2,0: 54:[27, 93] Operation: 89+4=93 Exploring Operation: 89-27=62, Resulting Numbers: [4, 62] Generated Node #0,2,1: 54:[4, 62] Operation: 89-27=62 Exploring Operation: 89-4=85, Resulting Numbers: [27, 85] Generated Node #0,2,2: 54:[27, 85] Operation: 89-4=85 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[4, 62], Operations: ['82-55=27', '89-27=62'] Exploring Operation: 4*62=248, Resulting Numbers: [248] 248,54 unequal: No Solution Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,54 unequal: No Solution No 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: 54:[27, 85], Operations: ['82-55=27', '89-4=85'] Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,54 unequal: No Solution No 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: 54:[27, 93], Operations: ['82-55=27', '89+4=93'] Exploring Operation: 27+93=120, Resulting Numbers: [120] 120,54 unequal: No Solution Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 27*93=2511, Resulting Numbers: [2511] 2511,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 76, 16, 92, 52 ]
51
[ "76+16=92", "92/92=1", "52-1=51" ]
Current State: 51:[76, 16, 92, 52], Operations: [] Exploring Operation: 76+16=92, Resulting Numbers: [92, 52, 92] Generated Node #2: [92, 52, 92] from Operation: 76+16=92 Current State: 51:[92, 52, 92], Operations: ['76+16=92'] Exploring Operation: 92/92=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 92/92=1 Current State: 51:[52, 1], Operations: ['76+16=92', '92/92=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[76, 16, 92, 52], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [16, 52, 16] Generated Node #0,0: 51:[16, 52, 16] Operation: 92-76=16 Exploring Operation: 76-16=60, Resulting Numbers: [92, 52, 60] Generated Node #0,1: 51:[92, 52, 60] Operation: 76-16=60 Exploring Operation: 76-52=24, Resulting Numbers: [16, 92, 24] Generated Node #0,2: 51:[16, 92, 24] Operation: 76-52=24 Exploring Operation: 92-52=40, Resulting Numbers: [76, 16, 40] Generated Node #0,3: 51:[76, 16, 40] Operation: 92-52=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[16, 52, 16], Operations: ['92-76=16'] Exploring Operation: 16+16=32, Resulting Numbers: [52, 32] Generated Node #0,0,0: 51:[52, 32] Operation: 16+16=32 Exploring Operation: 16-16=0, Resulting Numbers: [52, 0] Generated Node #0,0,1: 51:[52, 0] Operation: 16-16=0 Exploring Operation: 16/16=1, Resulting Numbers: [52, 1] Generated Node #0,0,2: 51:[52, 1] Operation: 16/16=1 Exploring Operation: 52-16=36, Resulting Numbers: [16, 36] Generated Node #0,0,3: 51:[16, 36] Operation: 52-16=36 Moving to Node #0,0,2 Current State: 51:[52, 1], Operations: ['92-76=16', '16/16=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[76, 16, 92, 52], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [16, 52, 16] Generated Node #0,0: 51:[16, 52, 16] Operation: 92-76=16 Moving to Node #0,0 Current State: 51:[16, 52, 16], Operations: ['92-76=16'] Exploring Operation: 16/16=1, Resulting Numbers: [52, 1] Generated Node #0,0,2: 51:[52, 1] Operation: 16/16=1 Moving to Node #0,0,2 Current State: 51:[52, 1], Operations: ['92-76=16', '16/16=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 27, 66, 79, 57 ]
43
[ "27+66=93", "79+57=136", "136-93=43" ]
Current State: 43:[27, 66, 79, 57], Operations: [] Exploring Operation: 27+66=93, Resulting Numbers: [79, 57, 93] Generated Node #2: [79, 57, 93] from Operation: 27+66=93 Current State: 43:[79, 57, 93], Operations: ['27+66=93'] Exploring Operation: 79+57=136, Resulting Numbers: [93, 136] Generated Node #3: [93, 136] from Operation: 79+57=136 Current State: 43:[93, 136], Operations: ['27+66=93', '79+57=136'] Exploring Operation: 136-93=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[27, 66, 79, 57], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [27, 57, 13] Generated Node #0,0: 43:[27, 57, 13] Operation: 79-66=13 Exploring Operation: 79-27=52, Resulting Numbers: [66, 57, 52] Generated Node #0,1: 43:[66, 57, 52] Operation: 79-27=52 Exploring Operation: 57-27=30, Resulting Numbers: [66, 79, 30] Generated Node #0,2: 43:[66, 79, 30] Operation: 57-27=30 Exploring Operation: 79-57=22, Resulting Numbers: [27, 66, 22] Generated Node #0,3: 43:[27, 66, 22] Operation: 79-57=22 Exploring Operation: 66-27=39, Resulting Numbers: [79, 57, 39] Generated Node #0,4: 43:[79, 57, 39] Operation: 66-27=39 Moving to Node #0,1 Current State: 43:[66, 57, 52], Operations: ['79-27=52'] Exploring Operation: 66+57=123, Resulting Numbers: [52, 123] Generated Node #0,1,0: 43:[52, 123] Operation: 66+57=123 Exploring Operation: 57-52=5, Resulting Numbers: [66, 5] Generated Node #0,1,1: 43:[66, 5] Operation: 57-52=5 Exploring Operation: 66-57=9, Resulting Numbers: [52, 9] Generated Node #0,1,2: 43:[52, 9] Operation: 66-57=9 Exploring Operation: 66-52=14, Resulting Numbers: [57, 14] Generated Node #0,1,3: 43:[57, 14] Operation: 66-52=14 Exploring Operation: 66+52=118, Resulting Numbers: [57, 118] Generated Node #0,1,4: 43:[57, 118] Operation: 66+52=118 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[52, 9], Operations: ['79-27=52', '66-57=9'] Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,43 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[27, 66, 79, 57], Operations: [] Exploring Operation: 79-27=52, Resulting Numbers: [66, 57, 52] Generated Node #0,1: 43:[66, 57, 52] Operation: 79-27=52 Moving to Node #0,1 Current State: 43:[66, 57, 52], Operations: ['79-27=52'] Exploring Operation: 66-57=9, Resulting Numbers: [52, 9] Generated Node #0,1,2: 43:[52, 9] Operation: 66-57=9 Moving to Node #0,1,2 Current State: 43:[52, 9], Operations: ['79-27=52', '66-57=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 35, 21, 39, 36 ]
28
[ "39-36=3", "21*3=63", "63-35=28" ]
Current State: 28:[35, 21, 39, 36], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [35, 21, 3] Generated Node #2: [35, 21, 3] from Operation: 39-36=3 Current State: 28:[35, 21, 3], Operations: ['39-36=3'] Exploring Operation: 21*3=63, Resulting Numbers: [35, 63] Generated Node #3: [35, 63] from Operation: 21*3=63 Current State: 28:[35, 63], Operations: ['39-36=3', '21*3=63'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[35, 21, 39, 36], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [35, 21, 3] Generated Node #0,0: 28:[35, 21, 3] Operation: 39-36=3 Exploring Operation: 39-35=4, Resulting Numbers: [21, 36, 4] Generated Node #0,1: 28:[21, 36, 4] Operation: 39-35=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[35, 21, 3], Operations: ['39-36=3'] Exploring Operation: 35-21=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 28:[3, 14] Operation: 35-21=14 Exploring Operation: 21/3=7, Resulting Numbers: [35, 7] Generated Node #0,0,1: 28:[35, 7] Operation: 21/3=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[3, 14], Operations: ['39-36=3', '35-21=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[35, 7], Operations: ['39-36=3', '21/3=7'] Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[35, 21, 39, 36], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [35, 21, 3] Generated Node #0,0: 28:[35, 21, 3] Operation: 39-36=3 Moving to Node #0,0 Current State: 28:[35, 21, 3], Operations: ['39-36=3'] Exploring Operation: 21/3=7, Resulting Numbers: [35, 7] Generated Node #0,0,1: 28:[35, 7] Operation: 21/3=7 Moving to Node #0,0,1 Current State: 28:[35, 7], Operations: ['39-36=3', '21/3=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 56, 83, 19, 59 ]
26
[ "59-56=3", "19*3=57", "83-57=26" ]
Current State: 26:[56, 83, 19, 59], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [83, 19, 3] Generated Node #2: [83, 19, 3] from Operation: 59-56=3 Current State: 26:[83, 19, 3], Operations: ['59-56=3'] Exploring Operation: 19*3=57, Resulting Numbers: [83, 57] Generated Node #3: [83, 57] from Operation: 19*3=57 Current State: 26:[83, 57], Operations: ['59-56=3', '19*3=57'] Exploring Operation: 83-57=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[56, 83, 19, 59], Operations: [] Exploring Operation: 83-59=24, Resulting Numbers: [56, 19, 24] Generated Node #0,0: 26:[56, 19, 24] Operation: 83-59=24 Moving to Node #0,0 Current State: 26:[56, 19, 24], Operations: ['83-59=24'] Exploring Operation: 56-24=32, Resulting Numbers: [19, 32] Generated Node #0,0,0: 26:[19, 32] Operation: 56-24=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[19, 32], Operations: ['83-59=24', '56-24=32'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,26 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
[ 2, 13, 36, 81 ]
17
[ "13+36=49", "2*49=98", "98-81=17" ]
Current State: 17:[2, 13, 36, 81], Operations: [] Exploring Operation: 13+36=49, Resulting Numbers: [2, 81, 49] Generated Node #2: [2, 81, 49] from Operation: 13+36=49 Current State: 17:[2, 81, 49], Operations: ['13+36=49'] Exploring Operation: 2*49=98, Resulting Numbers: [81, 98] Generated Node #3: [81, 98] from Operation: 2*49=98 Current State: 17:[81, 98], Operations: ['13+36=49', '2*49=98'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[2, 13, 36, 81], Operations: [] Exploring Operation: 2+13=15, Resulting Numbers: [36, 81, 15] Generated Node #0,0: 17:[36, 81, 15] Operation: 2+13=15 Exploring Operation: 81-36=45, Resulting Numbers: [2, 13, 45] Generated Node #0,1: 17:[2, 13, 45] Operation: 81-36=45 Exploring Operation: 36/2=18, Resulting Numbers: [13, 81, 18] Generated Node #0,2: 17:[13, 81, 18] Operation: 36/2=18 Exploring Operation: 36-2=34, Resulting Numbers: [13, 81, 34] Generated Node #0,3: 17:[13, 81, 34] Operation: 36-2=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[2, 13, 45], Operations: ['81-36=45'] Exploring Operation: 45-13=32, Resulting Numbers: [2, 32] Generated Node #0,1,0: 17:[2, 32] Operation: 45-13=32 Exploring Operation: 2+13=15, Resulting Numbers: [45, 15] Generated Node #0,1,1: 17:[45, 15] Operation: 2+13=15 Exploring Operation: 45-2=43, Resulting Numbers: [13, 43] Generated Node #0,1,2: 17:[13, 43] Operation: 45-2=43 Exploring Operation: 13-2=11, Resulting Numbers: [45, 11] Generated Node #0,1,3: 17:[45, 11] Operation: 13-2=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[2, 32], Operations: ['81-36=45', '45-13=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[45, 15], Operations: ['81-36=45', '2+13=15'] Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 17:[13, 43], Operations: ['81-36=45', '45-2=43'] Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,17 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 17:[45, 11], Operations: ['81-36=45', '13-2=11'] Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,17 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[13, 81, 18], Operations: ['36/2=18'] Exploring Operation: 18-13=5, Resulting Numbers: [81, 5] Generated Node #0,2,0: 17:[81, 5] Operation: 18-13=5 Exploring Operation: 81-13=68, Resulting Numbers: [18, 68] Generated Node #0,2,1: 17:[18, 68] Operation: 81-13=68 Exploring Operation: 13+81=94, Resulting Numbers: [18, 94] Generated Node #0,2,2: 17:[18, 94] Operation: 13+81=94 Exploring Operation: 81-18=63, Resulting Numbers: [13, 63] Generated Node #0,2,3: 17:[13, 63] Operation: 81-18=63 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[13, 63], Operations: ['36/2=18', '81-18=63'] Exploring Operation: 13+63=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 13*63=819, Resulting Numbers: [819] 819,17 unequal: No Solution Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 17:[18, 68], Operations: ['36/2=18', '81-13=68'] Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,17 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 18*68=1224, Resulting Numbers: [1224] 1224,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[81, 5], Operations: ['36/2=18', '18-13=5'] Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,17 unequal: No Solution Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,17 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 17:[18, 94], Operations: ['36/2=18', '13+81=94'] Exploring Operation: 18*94=1692, Resulting Numbers: [1692] 1692,17 unequal: No Solution Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 18+94=112, Resulting Numbers: [112] 112,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[36, 81, 15], Operations: ['2+13=15'] Exploring Operation: 81-15=66, Resulting Numbers: [36, 66] Generated Node #0,0,0: 17:[36, 66] Operation: 81-15=66 Exploring Operation: 36+15=51, Resulting Numbers: [81, 51] Generated Node #0,0,1: 17:[81, 51] Operation: 36+15=51 Exploring Operation: 81-36=45, Resulting Numbers: [15, 45] Generated Node #0,0,2: 17:[15, 45] Operation: 81-36=45 Exploring Operation: 36-15=21, Resulting Numbers: [81, 21] Generated Node #0,0,3: 17:[81, 21] Operation: 36-15=21 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 17:[15, 45], Operations: ['2+13=15', '81-36=45'] Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[36, 66], Operations: ['2+13=15', '81-15=66'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 36*66=2376, Resulting Numbers: [2376] 2376,17 unequal: No Solution Exploring Operation: 36+66=102, Resulting Numbers: [102] 102,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 17:[81, 21], Operations: ['2+13=15', '36-15=21'] Exploring Operation: 81+21=102, Resulting Numbers: [102] 102,17 unequal: No Solution Exploring Operation: 81*21=1701, Resulting Numbers: [1701] 1701,17 unequal: No Solution Exploring Operation: 81-21=60, Resulting Numbers: [60] 60,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[81, 51], Operations: ['2+13=15', '36+15=51'] Exploring Operation: 81+51=132, Resulting Numbers: [132] 132,17 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 81*51=4131, Resulting Numbers: [4131] 4131,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[13, 81, 34], Operations: ['36-2=34'] Exploring Operation: 81-13=68, Resulting Numbers: [34, 68] Generated Node #0,3,0: 17:[34, 68] Operation: 81-13=68 Exploring Operation: 81-34=47, Resulting Numbers: [13, 47] Generated Node #0,3,1: 17:[13, 47] Operation: 81-34=47 Exploring Operation: 13+81=94, Resulting Numbers: [34, 94] Generated Node #0,3,2: 17:[34, 94] Operation: 13+81=94 Exploring Operation: 34-13=21, Resulting Numbers: [81, 21] Generated Node #0,3,3: 17:[81, 21] Operation: 34-13=21 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[13, 47], Operations: ['36-2=34', '81-34=47'] Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 13*47=611, Resulting Numbers: [611] 611,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 17:[34, 68], Operations: ['36-2=34', '81-13=68'] Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 34+68=102, Resulting Numbers: [102] 102,17 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 34*68=2312, Resulting Numbers: [2312] 2312,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 17:[81, 21], Operations: ['36-2=34', '34-13=21'] Exploring Operation: 81-21=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 81+21=102, Resulting Numbers: [102] 102,17 unequal: No Solution Exploring Operation: 81*21=1701, Resulting Numbers: [1701] 1701,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[34, 94], Operations: ['36-2=34', '13+81=94'] Exploring Operation: 94-34=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 34+94=128, Resulting Numbers: [128] 128,17 unequal: No Solution Exploring Operation: 34*94=3196, Resulting Numbers: [3196] 3196,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 11, 30, 89, 71 ]
35
[ "11*89=979", "71+979=1050", "1050/30=35" ]
Current State: 35:[11, 30, 89, 71], Operations: [] Exploring Operation: 11*89=979, Resulting Numbers: [30, 71, 979] Generated Node #2: [30, 71, 979] from Operation: 11*89=979 Current State: 35:[30, 71, 979], Operations: ['11*89=979'] Exploring Operation: 71+979=1050, Resulting Numbers: [30, 1050] Generated Node #3: [30, 1050] from Operation: 71+979=1050 Current State: 35:[30, 1050], Operations: ['11*89=979', '71+979=1050'] Exploring Operation: 1050/30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[11, 30, 89, 71], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [11, 30, 18] Generated Node #0,0: 35:[11, 30, 18] Operation: 89-71=18 Moving to Node #0,0 Current State: 35:[11, 30, 18], Operations: ['89-71=18'] Exploring Operation: 18-11=7, Resulting Numbers: [30, 7] Generated Node #0,0,0: 35:[30, 7] Operation: 18-11=7 Moving to Node #0,0,0 Current State: 35:[30, 7], Operations: ['89-71=18', '18-11=7'] Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,35 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 39, 8, 1 ]
55
[ "39+1=40", "11*40=440", "440/8=55" ]
Current State: 55:[11, 39, 8, 1], Operations: [] Exploring Operation: 39+1=40, Resulting Numbers: [11, 8, 40] Generated Node #2: [11, 8, 40] from Operation: 39+1=40 Current State: 55:[11, 8, 40], Operations: ['39+1=40'] Exploring Operation: 11*40=440, Resulting Numbers: [8, 440] Generated Node #3: [8, 440] from Operation: 11*40=440 Current State: 55:[8, 440], Operations: ['39+1=40', '11*40=440'] Exploring Operation: 440/8=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[11, 39, 8, 1], Operations: [] Exploring Operation: 39+1=40, Resulting Numbers: [11, 8, 40] Generated Node #0,0: 55:[11, 8, 40] Operation: 39+1=40 Exploring Operation: 39+8=47, Resulting Numbers: [11, 1, 47] Generated Node #0,1: 55:[11, 1, 47] Operation: 39+8=47 Exploring Operation: 11+39=50, Resulting Numbers: [8, 1, 50] Generated Node #0,2: 55:[8, 1, 50] Operation: 11+39=50 Moving to Node #0,1 Current State: 55:[11, 1, 47], Operations: ['39+8=47'] Exploring Operation: 11+47=58, Resulting Numbers: [1, 58] Generated Node #0,1,0: 55:[1, 58] Operation: 11+47=58 Exploring Operation: 11*1=11, Resulting Numbers: [47, 11] Generated Node #0,1,1: 55:[47, 11] Operation: 11*1=11 Exploring Operation: 1+47=48, Resulting Numbers: [11, 48] Generated Node #0,1,2: 55:[11, 48] Operation: 1+47=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[1, 58], Operations: ['39+8=47', '11+47=58'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 1*58=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[11, 48], Operations: ['39+8=47', '1+47=48'] Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,55 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,55 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[47, 11], Operations: ['39+8=47', '11*1=11'] Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,55 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,55 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: 55:[8, 1, 50], Operations: ['11+39=50'] Exploring Operation: 8+1=9, Resulting Numbers: [50, 9] Generated Node #0,2,0: 55:[50, 9] Operation: 8+1=9 Exploring Operation: 8+50=58, Resulting Numbers: [1, 58] Generated Node #0,2,1: 55:[1, 58] Operation: 8+50=58 Exploring Operation: 8-1=7, Resulting Numbers: [50, 7] Generated Node #0,2,2: 55:[50, 7] Operation: 8-1=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[50, 9], Operations: ['11+39=50', '8+1=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,55 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[1, 58], Operations: ['11+39=50', '8+50=58'] Exploring Operation: 1*58=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[50, 7], Operations: ['11+39=50', '8-1=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,55 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: 55:[11, 8, 40], Operations: ['39+1=40'] Exploring Operation: 11+40=51, Resulting Numbers: [8, 51] Generated Node #0,0,0: 55:[8, 51] Operation: 11+40=51 Exploring Operation: 8+40=48, Resulting Numbers: [11, 48] Generated Node #0,0,1: 55:[11, 48] Operation: 8+40=48 Exploring Operation: 40/8=5, Resulting Numbers: [11, 5] Generated Node #0,0,2: 55:[11, 5] Operation: 40/8=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[11, 5], Operations: ['39+1=40', '40/8=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[11, 39, 8, 1], Operations: [] Exploring Operation: 39+1=40, Resulting Numbers: [11, 8, 40] Generated Node #0,0: 55:[11, 8, 40] Operation: 39+1=40 Moving to Node #0,0 Current State: 55:[11, 8, 40], Operations: ['39+1=40'] Exploring Operation: 40/8=5, Resulting Numbers: [11, 5] Generated Node #0,0,2: 55:[11, 5] Operation: 40/8=5 Moving to Node #0,0,2 Current State: 55:[11, 5], Operations: ['39+1=40', '40/8=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 11, 29, 6, 82 ]
37
[ "6+82=88", "88/11=8", "29+8=37" ]
Current State: 37:[11, 29, 6, 82], Operations: [] Exploring Operation: 6+82=88, Resulting Numbers: [11, 29, 88] Generated Node #2: [11, 29, 88] from Operation: 6+82=88 Current State: 37:[11, 29, 88], Operations: ['6+82=88'] Exploring Operation: 88/11=8, Resulting Numbers: [29, 8] Generated Node #3: [29, 8] from Operation: 88/11=8 Current State: 37:[29, 8], Operations: ['6+82=88', '88/11=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[11, 29, 6, 82], Operations: [] Exploring Operation: 29+6=35, Resulting Numbers: [11, 82, 35] Generated Node #0,0: 37:[11, 82, 35] Operation: 29+6=35 Exploring Operation: 11+6=17, Resulting Numbers: [29, 82, 17] Generated Node #0,1: 37:[29, 82, 17] Operation: 11+6=17 Exploring Operation: 82-11=71, Resulting Numbers: [29, 6, 71] Generated Node #0,2: 37:[29, 6, 71] Operation: 82-11=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[11, 82, 35], Operations: ['29+6=35'] Exploring Operation: 82-35=47, Resulting Numbers: [11, 47] Generated Node #0,0,0: 37:[11, 47] Operation: 82-35=47 Exploring Operation: 82-11=71, Resulting Numbers: [35, 71] Generated Node #0,0,1: 37:[35, 71] Operation: 82-11=71 Exploring Operation: 11+35=46, Resulting Numbers: [82, 46] Generated Node #0,0,2: 37:[82, 46] Operation: 11+35=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[11, 47], Operations: ['29+6=35', '82-35=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,37 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[35, 71], Operations: ['29+6=35', '82-11=71'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 35+71=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 35*71=2485, Resulting Numbers: [2485] 2485,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[82, 46], Operations: ['29+6=35', '11+35=46'] Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,37 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: 37:[29, 82, 17], Operations: ['11+6=17'] Exploring Operation: 29+17=46, Resulting Numbers: [82, 46] Generated Node #0,1,0: 37:[82, 46] Operation: 29+17=46 Exploring Operation: 82-29=53, Resulting Numbers: [17, 53] Generated Node #0,1,1: 37:[17, 53] Operation: 82-29=53 Exploring Operation: 82-17=65, Resulting Numbers: [29, 65] Generated Node #0,1,2: 37:[29, 65] Operation: 82-17=65 Moving to Node #0,1,1 Current State: 37:[17, 53], Operations: ['11+6=17', '82-29=53'] Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,37 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[29, 65], Operations: ['11+6=17', '82-17=65'] Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,37 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[82, 46], Operations: ['11+6=17', '29+17=46'] Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,37 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,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,2 Current State: 37:[29, 6, 71], Operations: ['82-11=71'] Exploring Operation: 71-29=42, Resulting Numbers: [6, 42] Generated Node #0,2,0: 37:[6, 42] Operation: 71-29=42 Exploring Operation: 71-6=65, Resulting Numbers: [29, 65] Generated Node #0,2,1: 37:[29, 65] Operation: 71-6=65 Exploring Operation: 29+6=35, Resulting Numbers: [71, 35] Generated Node #0,2,2: 37:[71, 35] Operation: 29+6=35 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[6, 42], Operations: ['82-11=71', '71-29=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[29, 65], Operations: ['82-11=71', '71-6=65'] Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[71, 35], Operations: ['82-11=71', '29+6=35'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 21, 31, 70, 67 ]
49
[ "21+31=52", "70-67=3", "52-3=49" ]
Current State: 49:[21, 31, 70, 67], Operations: [] Exploring Operation: 21+31=52, Resulting Numbers: [70, 67, 52] Generated Node #2: [70, 67, 52] from Operation: 21+31=52 Current State: 49:[70, 67, 52], Operations: ['21+31=52'] Exploring Operation: 70-67=3, Resulting Numbers: [52, 3] Generated Node #3: [52, 3] from Operation: 70-67=3 Current State: 49:[52, 3], Operations: ['21+31=52', '70-67=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[21, 31, 70, 67], Operations: [] Exploring Operation: 70-21=49, Resulting Numbers: [31, 67, 49] Generated Node #0,0: 49:[31, 67, 49] Operation: 70-21=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[31, 67, 49], Operations: ['70-21=49'] Exploring Operation: 67-31=36, Resulting Numbers: [49, 36] Generated Node #0,0,0: 49:[49, 36] Operation: 67-31=36 Moving to Node #0,0,0 Current State: 49:[49, 36], Operations: ['70-21=49', '67-31=36'] Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,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
mult_heuristic
[ 27, 4, 2, 77 ]
62
[ "27*4=108", "108-77=31", "2*31=62" ]
Current State: 62:[27, 4, 2, 77], Operations: [] Exploring Operation: 27*4=108, Resulting Numbers: [2, 77, 108] Generated Node #2: [2, 77, 108] from Operation: 27*4=108 Current State: 62:[2, 77, 108], Operations: ['27*4=108'] Exploring Operation: 108-77=31, Resulting Numbers: [2, 31] Generated Node #3: [2, 31] from Operation: 108-77=31 Current State: 62:[2, 31], Operations: ['27*4=108', '108-77=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[27, 4, 2, 77], Operations: [] Exploring Operation: 77-27=50, Resulting Numbers: [4, 2, 50] Generated Node #0,0: 62:[4, 2, 50] Operation: 77-27=50 Exploring Operation: 27+4=31, Resulting Numbers: [2, 77, 31] Generated Node #0,1: 62:[2, 77, 31] Operation: 27+4=31 Moving to Node #0,0 Current State: 62:[4, 2, 50], Operations: ['77-27=50'] Exploring Operation: 4+50=54, Resulting Numbers: [2, 54] Generated Node #0,0,0: 62:[2, 54] Operation: 4+50=54 Exploring Operation: 50/2=25, Resulting Numbers: [4, 25] Generated Node #0,0,1: 62:[4, 25] Operation: 50/2=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[2, 54], Operations: ['77-27=50', '4+50=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[4, 25], Operations: ['77-27=50', '50/2=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,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:[2, 77, 31], Operations: ['27+4=31'] Exploring Operation: 2*31=62, Resulting Numbers: [77, 62] Generated Node #0,1,0: 62:[77, 62] Operation: 2*31=62 Exploring Operation: 77-2=75, Resulting Numbers: [31, 75] Generated Node #0,1,1: 62:[31, 75] Operation: 77-2=75 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[31, 75], Operations: ['27+4=31', '77-2=75'] Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,62 unequal: No Solution Exploring Operation: 31+75=106, Resulting Numbers: [106] 106,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,1,0 Current State: 62:[77, 62], Operations: ['27+4=31', '2*31=62'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 77+62=139, Resulting Numbers: [139] 139,62 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
[ 81, 65, 34, 91 ]
21
[ "81+65=146", "34+91=125", "146-125=21" ]
Current State: 21:[81, 65, 34, 91], Operations: [] Exploring Operation: 81+65=146, Resulting Numbers: [34, 91, 146] Generated Node #2: [34, 91, 146] from Operation: 81+65=146 Current State: 21:[34, 91, 146], Operations: ['81+65=146'] Exploring Operation: 34+91=125, Resulting Numbers: [146, 125] Generated Node #3: [146, 125] from Operation: 34+91=125 Current State: 21:[146, 125], Operations: ['81+65=146', '34+91=125'] Exploring Operation: 146-125=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[81, 65, 34, 91], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [81, 34, 26] Generated Node #0,0: 21:[81, 34, 26] Operation: 91-65=26 Exploring Operation: 81-65=16, Resulting Numbers: [34, 91, 16] Generated Node #0,1: 21:[34, 91, 16] Operation: 81-65=16 Exploring Operation: 91-81=10, Resulting Numbers: [65, 34, 10] Generated Node #0,2: 21:[65, 34, 10] Operation: 91-81=10 Moving to Node #0,2 Current State: 21:[65, 34, 10], Operations: ['91-81=10'] Exploring Operation: 65-34=31, Resulting Numbers: [10, 31] Generated Node #0,2,0: 21:[10, 31] Operation: 65-34=31 Exploring Operation: 65-10=55, Resulting Numbers: [34, 55] Generated Node #0,2,1: 21:[34, 55] Operation: 65-10=55 Exploring Operation: 34-10=24, Resulting Numbers: [65, 24] Generated Node #0,2,2: 21:[65, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[10, 31], Operations: ['91-81=10', '65-34=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,21 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,21 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[81, 65, 34, 91], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [65, 34, 10] Generated Node #0,2: 21:[65, 34, 10] Operation: 91-81=10 Moving to Node #0,2 Current State: 21:[65, 34, 10], Operations: ['91-81=10'] Exploring Operation: 65-34=31, Resulting Numbers: [10, 31] Generated Node #0,2,0: 21:[10, 31] Operation: 65-34=31 Moving to Node #0,2,0 Current State: 21:[10, 31], Operations: ['91-81=10', '65-34=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 8, 97, 20, 94 ]
100
[ "97-8=89", "94-89=5", "20*5=100" ]
Current State: 100:[8, 97, 20, 94], Operations: [] Exploring Operation: 97-8=89, Resulting Numbers: [20, 94, 89] Generated Node #2: [20, 94, 89] from Operation: 97-8=89 Current State: 100:[20, 94, 89], Operations: ['97-8=89'] Exploring Operation: 94-89=5, Resulting Numbers: [20, 5] Generated Node #3: [20, 5] from Operation: 94-89=5 Current State: 100:[20, 5], Operations: ['97-8=89', '94-89=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[8, 97, 20, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [8, 20, 3] Generated Node #0,0: 100:[8, 20, 3] Operation: 97-94=3 Exploring Operation: 8+94=102, Resulting Numbers: [97, 20, 102] Generated Node #0,1: 100:[97, 20, 102] Operation: 8+94=102 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[8, 20, 3], Operations: ['97-94=3'] Exploring Operation: 8-3=5, Resulting Numbers: [20, 5] Generated Node #0,0,0: 100:[20, 5] Operation: 8-3=5 Exploring Operation: 8+3=11, Resulting Numbers: [20, 11] Generated Node #0,0,1: 100:[20, 11] Operation: 8+3=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[20, 5], Operations: ['97-94=3', '8-3=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[8, 97, 20, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [8, 20, 3] Generated Node #0,0: 100:[8, 20, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 100:[8, 20, 3], Operations: ['97-94=3'] Exploring Operation: 8-3=5, Resulting Numbers: [20, 5] Generated Node #0,0,0: 100:[20, 5] Operation: 8-3=5 Moving to Node #0,0,0 Current State: 100:[20, 5], Operations: ['97-94=3', '8-3=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 34, 14, 56, 2 ]
32
[ "34+14=48", "48/2=24", "56-24=32" ]
Current State: 32:[34, 14, 56, 2], Operations: [] Exploring Operation: 34+14=48, Resulting Numbers: [56, 2, 48] Generated Node #2: [56, 2, 48] from Operation: 34+14=48 Current State: 32:[56, 2, 48], Operations: ['34+14=48'] Exploring Operation: 48/2=24, Resulting Numbers: [56, 24] Generated Node #3: [56, 24] from Operation: 48/2=24 Current State: 32:[56, 24], Operations: ['34+14=48', '48/2=24'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[34, 14, 56, 2], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [34, 2, 4] Generated Node #0,0: 32:[34, 2, 4] Operation: 56/14=4 Exploring Operation: 56/2=28, Resulting Numbers: [34, 14, 28] Generated Node #0,1: 32:[34, 14, 28] Operation: 56/2=28 Exploring Operation: 56-34=22, Resulting Numbers: [14, 2, 22] Generated Node #0,2: 32:[14, 2, 22] Operation: 56-34=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[34, 2, 4], Operations: ['56/14=4'] Exploring Operation: 34-4=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 32:[2, 30] Operation: 34-4=30 Exploring Operation: 34-2=32, Resulting Numbers: [4, 32] Generated Node #0,0,1: 32:[4, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [4, 17] Generated Node #0,0,2: 32:[4, 17] Operation: 34/2=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[4, 32], Operations: ['56/14=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 Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,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,2 Current State: 32:[4, 17], Operations: ['56/14=4', '34/2=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,32 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,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:[2, 30], Operations: ['56/14=4', '34-4=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[34, 14, 56, 2], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [34, 2, 4] Generated Node #0,0: 32:[34, 2, 4] Operation: 56/14=4 Moving to Node #0,0 Current State: 32:[34, 2, 4], Operations: ['56/14=4'] Exploring Operation: 34-4=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 32:[2, 30] Operation: 34-4=30 Moving to Node #0,0,0 Current State: 32:[2, 30], Operations: ['56/14=4', '34-4=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 17, 48, 76, 31 ]
51
[ "17+76=93", "93/31=3", "48+3=51" ]
Current State: 51:[17, 48, 76, 31], Operations: [] Exploring Operation: 17+76=93, Resulting Numbers: [48, 31, 93] Generated Node #2: [48, 31, 93] from Operation: 17+76=93 Current State: 51:[48, 31, 93], Operations: ['17+76=93'] Exploring Operation: 93/31=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 93/31=3 Current State: 51:[48, 3], Operations: ['17+76=93', '93/31=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[17, 48, 76, 31], Operations: [] Exploring Operation: 76-48=28, Resulting Numbers: [17, 31, 28] Generated Node #0,0: 51:[17, 31, 28] Operation: 76-48=28 Exploring Operation: 76-31=45, Resulting Numbers: [17, 48, 45] Generated Node #0,1: 51:[17, 48, 45] Operation: 76-31=45 Exploring Operation: 76-17=59, Resulting Numbers: [48, 31, 59] Generated Node #0,2: 51:[48, 31, 59] Operation: 76-17=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[17, 48, 45], Operations: ['76-31=45'] Exploring Operation: 17+45=62, Resulting Numbers: [48, 62] Generated Node #0,1,0: 51:[48, 62] Operation: 17+45=62 Exploring Operation: 48-45=3, Resulting Numbers: [17, 3] Generated Node #0,1,1: 51:[17, 3] Operation: 48-45=3 Exploring Operation: 45-17=28, Resulting Numbers: [48, 28] Generated Node #0,1,2: 51:[48, 28] Operation: 45-17=28 Moving to Node #0,1,1 Current State: 51:[17, 3], Operations: ['76-31=45', '48-45=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[17, 48, 76, 31], Operations: [] Exploring Operation: 76-31=45, Resulting Numbers: [17, 48, 45] Generated Node #0,1: 51:[17, 48, 45] Operation: 76-31=45 Moving to Node #0,1 Current State: 51:[17, 48, 45], Operations: ['76-31=45'] Exploring Operation: 48-45=3, Resulting Numbers: [17, 3] Generated Node #0,1,1: 51:[17, 3] Operation: 48-45=3 Moving to Node #0,1,1 Current State: 51:[17, 3], Operations: ['76-31=45', '48-45=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 33, 90, 70, 95 ]
98
[ "33+90=123", "95-70=25", "123-25=98" ]
Current State: 98:[33, 90, 70, 95], Operations: [] Exploring Operation: 33+90=123, Resulting Numbers: [70, 95, 123] Generated Node #2: [70, 95, 123] from Operation: 33+90=123 Current State: 98:[70, 95, 123], Operations: ['33+90=123'] Exploring Operation: 95-70=25, Resulting Numbers: [123, 25] Generated Node #3: [123, 25] from Operation: 95-70=25 Current State: 98:[123, 25], Operations: ['33+90=123', '95-70=25'] Exploring Operation: 123-25=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[33, 90, 70, 95], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [33, 95, 20] Generated Node #0,0: 98:[33, 95, 20] Operation: 90-70=20 Exploring Operation: 33+70=103, Resulting Numbers: [90, 95, 103] Generated Node #0,1: 98:[90, 95, 103] Operation: 33+70=103 Exploring Operation: 90-33=57, Resulting Numbers: [70, 95, 57] Generated Node #0,2: 98:[70, 95, 57] Operation: 90-33=57 Exploring Operation: 70-33=37, Resulting Numbers: [90, 95, 37] Generated Node #0,3: 98:[90, 95, 37] Operation: 70-33=37 Moving to Node #0,1 Current State: 98:[90, 95, 103], Operations: ['33+70=103'] Exploring Operation: 95-90=5, Resulting Numbers: [103, 5] Generated Node #0,1,0: 98:[103, 5] Operation: 95-90=5 Exploring Operation: 90+95=185, Resulting Numbers: [103, 185] Generated Node #0,1,1: 98:[103, 185] Operation: 90+95=185 Exploring Operation: 103-95=8, Resulting Numbers: [90, 8] Generated Node #0,1,2: 98:[90, 8] Operation: 103-95=8 Exploring Operation: 103-90=13, Resulting Numbers: [95, 13] Generated Node #0,1,3: 98:[95, 13] Operation: 103-90=13 Moving to Node #0,3 Current State: 98:[90, 95, 37], Operations: ['70-33=37'] Exploring Operation: 90-37=53, Resulting Numbers: [95, 53] Generated Node #0,3,0: 98:[95, 53] Operation: 90-37=53 Exploring Operation: 90+37=127, Resulting Numbers: [95, 127] Generated Node #0,3,1: 98:[95, 127] Operation: 90+37=127 Exploring Operation: 95-37=58, Resulting Numbers: [90, 58] Generated Node #0,3,2: 98:[90, 58] Operation: 95-37=58 Exploring Operation: 95-90=5, Resulting Numbers: [37, 5] Generated Node #0,3,3: 98:[37, 5] Operation: 95-90=5 Moving to Node #0,0 Current State: 98:[33, 95, 20], Operations: ['90-70=20'] Exploring Operation: 33-20=13, Resulting Numbers: [95, 13] Generated Node #0,0,0: 98:[95, 13] Operation: 33-20=13 Exploring Operation: 33+20=53, Resulting Numbers: [95, 53] Generated Node #0,0,1: 98:[95, 53] Operation: 33+20=53 Exploring Operation: 95-33=62, Resulting Numbers: [20, 62] Generated Node #0,0,2: 98:[20, 62] Operation: 95-33=62 Exploring Operation: 95+20=115, Resulting Numbers: [33, 115] Generated Node #0,0,3: 98:[33, 115] Operation: 95+20=115 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[95, 13], Operations: ['90-70=20', '33-20=13'] Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,98 unequal: No Solution Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,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,0,1 Current State: 98:[95, 53], Operations: ['90-70=20', '33+20=53'] Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 95+53=148, Resulting Numbers: [148] 148,98 unequal: No Solution Exploring Operation: 95*53=5035, Resulting Numbers: [5035] 5035,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,0,2 Current State: 98:[20, 62], Operations: ['90-70=20', '95-33=62'] Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,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,0,3 Current State: 98:[33, 115], Operations: ['90-70=20', '95+20=115'] Exploring Operation: 115-33=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 33+115=148, Resulting Numbers: [148] 148,98 unequal: No Solution Exploring Operation: 33*115=3795, Resulting Numbers: [3795] 3795,98 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: 98:[70, 95, 57], Operations: ['90-33=57'] Exploring Operation: 70-57=13, Resulting Numbers: [95, 13] Generated Node #0,2,0: 98:[95, 13] Operation: 70-57=13 Exploring Operation: 95-70=25, Resulting Numbers: [57, 25] Generated Node #0,2,1: 98:[57, 25] Operation: 95-70=25 Exploring Operation: 95-57=38, Resulting Numbers: [70, 38] Generated Node #0,2,2: 98:[70, 38] Operation: 95-57=38 Exploring Operation: 70+57=127, Resulting Numbers: [95, 127] Generated Node #0,2,3: 98:[95, 127] Operation: 70+57=127 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[95, 13], Operations: ['90-33=57', '70-57=13'] Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,98 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,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,2,1 Current State: 98:[57, 25], Operations: ['90-33=57', '95-70=25'] Exploring Operation: 57*25=1425, Resulting Numbers: [1425] 1425,98 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,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,2,2 Current State: 98:[70, 38], Operations: ['90-33=57', '95-57=38'] Exploring Operation: 70*38=2660, Resulting Numbers: [2660] 2660,98 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,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,2,3 Current State: 98:[95, 127], Operations: ['90-33=57', '70+57=127'] Exploring Operation: 127-95=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 95+127=222, Resulting Numbers: [222] 222,98 unequal: No Solution Exploring Operation: 95*127=12065, Resulting Numbers: [12065] 12065,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 98:[95, 13], Operations: ['33+70=103', '103-90=13'] Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,98 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[103, 5], Operations: ['33+70=103', '95-90=5'] Exploring Operation: 103*5=515, Resulting Numbers: [515] 515,98 unequal: No Solution Exploring Operation: 103+5=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[33, 90, 70, 95], Operations: [] Exploring Operation: 33+70=103, Resulting Numbers: [90, 95, 103] Generated Node #0,1: 98:[90, 95, 103] Operation: 33+70=103 Moving to Node #0,1 Current State: 98:[90, 95, 103], Operations: ['33+70=103'] Exploring Operation: 95-90=5, Resulting Numbers: [103, 5] Generated Node #0,1,0: 98:[103, 5] Operation: 95-90=5 Moving to Node #0,1,0 Current State: 98:[103, 5], Operations: ['33+70=103', '95-90=5'] Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.953125
hs_4
sum_heuristic
[ 5, 59, 2, 10 ]
56
[ "5+59=64", "10-2=8", "64-8=56" ]
Current State: 56:[5, 59, 2, 10], Operations: [] Exploring Operation: 5+59=64, Resulting Numbers: [2, 10, 64] Generated Node #2: [2, 10, 64] from Operation: 5+59=64 Current State: 56:[2, 10, 64], Operations: ['5+59=64'] Exploring Operation: 10-2=8, Resulting Numbers: [64, 8] Generated Node #3: [64, 8] from Operation: 10-2=8 Current State: 56:[64, 8], Operations: ['5+59=64', '10-2=8'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[5, 59, 2, 10], Operations: [] Exploring Operation: 59-5=54, Resulting Numbers: [2, 10, 54] Generated Node #0,0: 56:[2, 10, 54] Operation: 59-5=54 Exploring Operation: 10/5=2, Resulting Numbers: [59, 2, 2] Generated Node #0,1: 56:[59, 2, 2] Operation: 10/5=2 Exploring Operation: 5+10=15, Resulting Numbers: [59, 2, 15] Generated Node #0,2: 56:[59, 2, 15] Operation: 5+10=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[59, 2, 2], Operations: ['10/5=2'] Exploring Operation: 2+2=4, Resulting Numbers: [59, 4] Generated Node #0,1,0: 56:[59, 4] Operation: 2+2=4 Exploring Operation: 59-2=57, Resulting Numbers: [2, 57] Generated Node #0,1,1: 56:[2, 57] Operation: 59-2=57 Exploring Operation: 59-2=57, Resulting Numbers: [2, 57] Generated Node #0,1,2: 56:[2, 57] Operation: 59-2=57 Moving to Node #0,1,1 Current State: 56:[2, 57], Operations: ['10/5=2', '59-2=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[2, 57], Operations: ['10/5=2', '59-2=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[59, 4], Operations: ['10/5=2', '2+2=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[2, 10, 54], Operations: ['59-5=54'] Exploring Operation: 10-2=8, Resulting Numbers: [54, 8] Generated Node #0,0,0: 56:[54, 8] Operation: 10-2=8 Exploring Operation: 10/2=5, Resulting Numbers: [54, 5] Generated Node #0,0,1: 56:[54, 5] Operation: 10/2=5 Exploring Operation: 2+54=56, Resulting Numbers: [10, 56] Generated Node #0,0,2: 56:[10, 56] Operation: 2+54=56 Moving to Node #0,0,0 Current State: 56:[54, 8], Operations: ['59-5=54', '10-2=8'] Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,56 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,56 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[10, 56], Operations: ['59-5=54', '2+54=56'] Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,56 unequal: No Solution Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,56 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[54, 5], Operations: ['59-5=54', '10/2=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[59, 2, 15], Operations: ['5+10=15'] Exploring Operation: 59-2=57, Resulting Numbers: [15, 57] Generated Node #0,2,0: 56:[15, 57] Operation: 59-2=57 Exploring Operation: 2*15=30, Resulting Numbers: [59, 30] Generated Node #0,2,1: 56:[59, 30] Operation: 2*15=30 Exploring Operation: 15-2=13, Resulting Numbers: [59, 13] Generated Node #0,2,2: 56:[59, 13] Operation: 15-2=13 Moving to Node #0,2,0 Current State: 56:[15, 57], Operations: ['5+10=15', '59-2=57'] Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,56 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[59, 13], Operations: ['5+10=15', '15-2=13'] Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,56 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[59, 30], Operations: ['5+10=15', '2*15=30'] Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,56 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,56 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
[ 51, 25, 26, 12 ]
11
[ "51-25=26", "26/26=1", "12-1=11" ]
Current State: 11:[51, 25, 26, 12], Operations: [] Exploring Operation: 51-25=26, Resulting Numbers: [26, 12, 26] Generated Node #2: [26, 12, 26] from Operation: 51-25=26 Current State: 11:[26, 12, 26], Operations: ['51-25=26'] Exploring Operation: 26/26=1, Resulting Numbers: [12, 1] Generated Node #3: [12, 1] from Operation: 26/26=1 Current State: 11:[12, 1], Operations: ['51-25=26', '26/26=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[51, 25, 26, 12], Operations: [] Exploring Operation: 51-25=26, Resulting Numbers: [26, 12, 26] Generated Node #0,0: 11:[26, 12, 26] Operation: 51-25=26 Exploring Operation: 25-12=13, Resulting Numbers: [51, 26, 13] Generated Node #0,1: 11:[51, 26, 13] Operation: 25-12=13 Exploring Operation: 51-12=39, Resulting Numbers: [25, 26, 39] Generated Node #0,2: 11:[25, 26, 39] Operation: 51-12=39 Exploring Operation: 26-25=1, Resulting Numbers: [51, 12, 1] Generated Node #0,3: 11:[51, 12, 1] Operation: 26-25=1 Exploring Operation: 51-26=25, Resulting Numbers: [25, 12, 25] Generated Node #0,4: 11:[25, 12, 25] Operation: 51-26=25 Moving to Node #0,4 Current State: 11:[25, 12, 25], Operations: ['51-26=25'] Exploring Operation: 25-12=13, Resulting Numbers: [25, 13] Generated Node #0,4,0: 11:[25, 13] Operation: 25-12=13 Exploring Operation: 25-25=0, Resulting Numbers: [12, 0] Generated Node #0,4,1: 11:[12, 0] Operation: 25-25=0 Exploring Operation: 25+12=37, Resulting Numbers: [25, 37] Generated Node #0,4,2: 11:[25, 37] Operation: 25+12=37 Exploring Operation: 25-12=13, Resulting Numbers: [25, 13] Generated Node #0,4,3: 11:[25, 13] Operation: 25-12=13 Exploring Operation: 25/25=1, Resulting Numbers: [12, 1] Generated Node #0,4,4: 11:[12, 1] Operation: 25/25=1 Moving to Node #0,0 Current State: 11:[26, 12, 26], Operations: ['51-25=26'] Exploring Operation: 26-12=14, Resulting Numbers: [26, 14] Generated Node #0,0,0: 11:[26, 14] Operation: 26-12=14 Exploring Operation: 26/26=1, Resulting Numbers: [12, 1] Generated Node #0,0,1: 11:[12, 1] Operation: 26/26=1 Exploring Operation: 26-12=14, Resulting Numbers: [26, 14] Generated Node #0,0,2: 11:[26, 14] Operation: 26-12=14 Exploring Operation: 26-26=0, Resulting Numbers: [12, 0] Generated Node #0,0,3: 11:[12, 0] Operation: 26-26=0 Exploring Operation: 26+12=38, Resulting Numbers: [26, 38] Generated Node #0,0,4: 11:[26, 38] Operation: 26+12=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[12, 1], Operations: ['51-25=26', '26/26=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[51, 25, 26, 12], Operations: [] Exploring Operation: 51-25=26, Resulting Numbers: [26, 12, 26] Generated Node #0,0: 11:[26, 12, 26] Operation: 51-25=26 Moving to Node #0,0 Current State: 11:[26, 12, 26], Operations: ['51-25=26'] Exploring Operation: 26/26=1, Resulting Numbers: [12, 1] Generated Node #0,0,1: 11:[12, 1] Operation: 26/26=1 Moving to Node #0,0,1 Current State: 11:[12, 1], Operations: ['51-25=26', '26/26=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 77, 86, 94, 61 ]
24
[ "86-77=9", "94-61=33", "33-9=24" ]
Current State: 24:[77, 86, 94, 61], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [94, 61, 9] Generated Node #2: [94, 61, 9] from Operation: 86-77=9 Current State: 24:[94, 61, 9], Operations: ['86-77=9'] Exploring Operation: 94-61=33, Resulting Numbers: [9, 33] Generated Node #3: [9, 33] from Operation: 94-61=33 Current State: 24:[9, 33], Operations: ['86-77=9', '94-61=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[77, 86, 94, 61], Operations: [] Exploring Operation: 94-77=17, Resulting Numbers: [86, 61, 17] Generated Node #0,0: 24:[86, 61, 17] Operation: 94-77=17 Exploring Operation: 86-61=25, Resulting Numbers: [77, 94, 25] Generated Node #0,1: 24:[77, 94, 25] Operation: 86-61=25 Exploring Operation: 94-86=8, Resulting Numbers: [77, 61, 8] Generated Node #0,2: 24:[77, 61, 8] Operation: 94-86=8 Exploring Operation: 94-61=33, Resulting Numbers: [77, 86, 33] Generated Node #0,3: 24:[77, 86, 33] Operation: 94-61=33 Exploring Operation: 86-77=9, Resulting Numbers: [94, 61, 9] Generated Node #0,4: 24:[94, 61, 9] Operation: 86-77=9 Moving to Node #0,2 Current State: 24:[77, 61, 8], Operations: ['94-86=8'] Exploring Operation: 61+8=69, Resulting Numbers: [77, 69] Generated Node #0,2,0: 24:[77, 69] Operation: 61+8=69 Exploring Operation: 77-8=69, Resulting Numbers: [61, 69] Generated Node #0,2,1: 24:[61, 69] Operation: 77-8=69 Exploring Operation: 61-8=53, Resulting Numbers: [77, 53] Generated Node #0,2,2: 24:[77, 53] Operation: 61-8=53 Exploring Operation: 77-61=16, Resulting Numbers: [8, 16] Generated Node #0,2,3: 24:[8, 16] Operation: 77-61=16 Exploring Operation: 77+8=85, Resulting Numbers: [61, 85] Generated Node #0,2,4: 24:[61, 85] Operation: 77+8=85 Moving to Node #0,0 Current State: 24:[86, 61, 17], Operations: ['94-77=17'] Exploring Operation: 86-17=69, Resulting Numbers: [61, 69] Generated Node #0,0,0: 24:[61, 69] Operation: 86-17=69 Exploring Operation: 86+17=103, Resulting Numbers: [61, 103] Generated Node #0,0,1: 24:[61, 103] Operation: 86+17=103 Exploring Operation: 86-61=25, Resulting Numbers: [17, 25] Generated Node #0,0,2: 24:[17, 25] Operation: 86-61=25 Exploring Operation: 61-17=44, Resulting Numbers: [86, 44] Generated Node #0,0,3: 24:[86, 44] Operation: 61-17=44 Exploring Operation: 61+17=78, Resulting Numbers: [86, 78] Generated Node #0,0,4: 24:[86, 78] Operation: 61+17=78 Moving to Node #0,4 Current State: 24:[94, 61, 9], Operations: ['86-77=9'] Exploring Operation: 94-9=85, Resulting Numbers: [61, 85] Generated Node #0,4,0: 24:[61, 85] Operation: 94-9=85 Exploring Operation: 61-9=52, Resulting Numbers: [94, 52] Generated Node #0,4,1: 24:[94, 52] Operation: 61-9=52 Exploring Operation: 61+9=70, Resulting Numbers: [94, 70] Generated Node #0,4,2: 24:[94, 70] Operation: 61+9=70 Exploring Operation: 94+9=103, Resulting Numbers: [61, 103] Generated Node #0,4,3: 24:[61, 103] Operation: 94+9=103 Exploring Operation: 94-61=33, Resulting Numbers: [9, 33] Generated Node #0,4,4: 24:[9, 33] Operation: 94-61=33 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 24:[9, 33], Operations: ['86-77=9', '94-61=33'] Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[77, 86, 94, 61], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [94, 61, 9] Generated Node #0,4: 24:[94, 61, 9] Operation: 86-77=9 Moving to Node #0,4 Current State: 24:[94, 61, 9], Operations: ['86-77=9'] Exploring Operation: 94-61=33, Resulting Numbers: [9, 33] Generated Node #0,4,4: 24:[9, 33] Operation: 94-61=33 Moving to Node #0,4,4 Current State: 24:[9, 33], Operations: ['86-77=9', '94-61=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 3, 30, 71, 3 ]
32
[ "3*3=9", "71-30=41", "41-9=32" ]
Current State: 32:[3, 30, 71, 3], Operations: [] Exploring Operation: 3*3=9, Resulting Numbers: [30, 71, 9] Generated Node #2: [30, 71, 9] from Operation: 3*3=9 Current State: 32:[30, 71, 9], Operations: ['3*3=9'] Exploring Operation: 71-30=41, Resulting Numbers: [9, 41] Generated Node #3: [9, 41] from Operation: 71-30=41 Current State: 32:[9, 41], Operations: ['3*3=9', '71-30=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[3, 30, 71, 3], Operations: [] Exploring Operation: 71-30=41, Resulting Numbers: [3, 3, 41] Generated Node #0,0: 32:[3, 3, 41] Operation: 71-30=41 Moving to Node #0,0 Current State: 32:[3, 3, 41], Operations: ['71-30=41'] Exploring Operation: 41-3=38, Resulting Numbers: [3, 38] Generated Node #0,0,0: 32:[3, 38] Operation: 41-3=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[3, 38], Operations: ['71-30=41', '41-3=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,32 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
[ 19, 39, 40, 75 ]
57
[ "19+39=58", "40+75=115", "115-58=57" ]
Current State: 57:[19, 39, 40, 75], Operations: [] Exploring Operation: 19+39=58, Resulting Numbers: [40, 75, 58] Generated Node #2: [40, 75, 58] from Operation: 19+39=58 Current State: 57:[40, 75, 58], Operations: ['19+39=58'] Exploring Operation: 40+75=115, Resulting Numbers: [58, 115] Generated Node #3: [58, 115] from Operation: 40+75=115 Current State: 57:[58, 115], Operations: ['19+39=58', '40+75=115'] Exploring Operation: 115-58=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[19, 39, 40, 75], Operations: [] Exploring Operation: 75-40=35, Resulting Numbers: [19, 39, 35] Generated Node #0,0: 57:[19, 39, 35] Operation: 75-40=35 Exploring Operation: 40-39=1, Resulting Numbers: [19, 75, 1] Generated Node #0,1: 57:[19, 75, 1] Operation: 40-39=1 Exploring Operation: 75-39=36, Resulting Numbers: [19, 40, 36] Generated Node #0,2: 57:[19, 40, 36] Operation: 75-39=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[19, 75, 1], Operations: ['40-39=1'] Exploring Operation: 19*1=19, Resulting Numbers: [75, 19] Generated Node #0,1,0: 57:[75, 19] Operation: 19*1=19 Exploring Operation: 75-1=74, Resulting Numbers: [19, 74] Generated Node #0,1,1: 57:[19, 74] Operation: 75-1=74 Exploring Operation: 75-19=56, Resulting Numbers: [1, 56] Generated Node #0,1,2: 57:[1, 56] Operation: 75-19=56 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[1, 56], Operations: ['40-39=1', '75-19=56'] Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[19, 39, 40, 75], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [19, 75, 1] Generated Node #0,1: 57:[19, 75, 1] Operation: 40-39=1 Moving to Node #0,1 Current State: 57:[19, 75, 1], Operations: ['40-39=1'] Exploring Operation: 75-19=56, Resulting Numbers: [1, 56] Generated Node #0,1,2: 57:[1, 56] Operation: 75-19=56 Moving to Node #0,1,2 Current State: 57:[1, 56], Operations: ['40-39=1', '75-19=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 62, 93, 94, 57 ]
84
[ "93*94=8742", "8742/62=141", "141-57=84" ]
Current State: 84:[62, 93, 94, 57], Operations: [] Exploring Operation: 93*94=8742, Resulting Numbers: [62, 57, 8742] Generated Node #2: [62, 57, 8742] from Operation: 93*94=8742 Current State: 84:[62, 57, 8742], Operations: ['93*94=8742'] Exploring Operation: 8742/62=141, Resulting Numbers: [57, 141] Generated Node #3: [57, 141] from Operation: 8742/62=141 Current State: 84:[57, 141], Operations: ['93*94=8742', '8742/62=141'] Exploring Operation: 141-57=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[62, 93, 94, 57], Operations: [] Exploring Operation: 94-62=32, Resulting Numbers: [93, 57, 32] Generated Node #0,0: 84:[93, 57, 32] Operation: 94-62=32 Exploring Operation: 93-62=31, Resulting Numbers: [94, 57, 31] Generated Node #0,1: 84:[94, 57, 31] Operation: 93-62=31 Exploring Operation: 94-57=37, Resulting Numbers: [62, 93, 37] Generated Node #0,2: 84:[62, 93, 37] Operation: 94-57=37 Exploring Operation: 62-57=5, Resulting Numbers: [93, 94, 5] Generated Node #0,3: 84:[93, 94, 5] Operation: 62-57=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[93, 94, 5], Operations: ['62-57=5'] Exploring Operation: 93-5=88, Resulting Numbers: [94, 88] Generated Node #0,3,0: 84:[94, 88] Operation: 93-5=88 Exploring Operation: 94-5=89, Resulting Numbers: [93, 89] Generated Node #0,3,1: 84:[93, 89] Operation: 94-5=89 Exploring Operation: 93+5=98, Resulting Numbers: [94, 98] Generated Node #0,3,2: 84:[94, 98] Operation: 93+5=98 Exploring Operation: 94-93=1, Resulting Numbers: [5, 1] Generated Node #0,3,3: 84:[5, 1] Operation: 94-93=1 Moving to Node #0,3,3 Current State: 84:[5, 1], Operations: ['62-57=5', '94-93=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[93, 89], Operations: ['62-57=5', '94-5=89'] Exploring Operation: 93+89=182, Resulting Numbers: [182] 182,84 unequal: No Solution Exploring Operation: 93*89=8277, Resulting Numbers: [8277] 8277,84 unequal: No Solution Exploring Operation: 93-89=4, Resulting Numbers: [4] 4,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[94, 88], Operations: ['62-57=5', '93-5=88'] Exploring Operation: 94+88=182, Resulting Numbers: [182] 182,84 unequal: No Solution Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 94*88=8272, Resulting Numbers: [8272] 8272,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[94, 98], Operations: ['62-57=5', '93+5=98'] Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 94*98=9212, Resulting Numbers: [9212] 9212,84 unequal: No Solution Exploring Operation: 94+98=192, Resulting Numbers: [192] 192,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[93, 57, 32], Operations: ['94-62=32'] Exploring Operation: 57-32=25, Resulting Numbers: [93, 25] Generated Node #0,0,0: 84:[93, 25] Operation: 57-32=25 Exploring Operation: 93-32=61, Resulting Numbers: [57, 61] Generated Node #0,0,1: 84:[57, 61] Operation: 93-32=61 Exploring Operation: 57+32=89, Resulting Numbers: [93, 89] Generated Node #0,0,2: 84:[93, 89] Operation: 57+32=89 Exploring Operation: 93-57=36, Resulting Numbers: [32, 36] Generated Node #0,0,3: 84:[32, 36] Operation: 93-57=36 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[32, 36], Operations: ['94-62=32', '93-57=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,84 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,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,0,0 Current State: 84:[93, 25], Operations: ['94-62=32', '57-32=25'] Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,84 unequal: No Solution Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,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,0,2 Current State: 84:[93, 89], Operations: ['94-62=32', '57+32=89'] Exploring Operation: 93+89=182, Resulting Numbers: [182] 182,84 unequal: No Solution Exploring Operation: 93*89=8277, Resulting Numbers: [8277] 8277,84 unequal: No Solution Exploring Operation: 93-89=4, Resulting Numbers: [4] 4,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,0,1 Current State: 84:[57, 61], Operations: ['94-62=32', '93-32=61'] Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,84 unequal: No Solution Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,84 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,84 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: 84:[94, 57, 31], Operations: ['93-62=31'] Exploring Operation: 94-31=63, Resulting Numbers: [57, 63] Generated Node #0,1,0: 84:[57, 63] Operation: 94-31=63 Exploring Operation: 57-31=26, Resulting Numbers: [94, 26] Generated Node #0,1,1: 84:[94, 26] Operation: 57-31=26 Exploring Operation: 57+31=88, Resulting Numbers: [94, 88] Generated Node #0,1,2: 84:[94, 88] Operation: 57+31=88 Exploring Operation: 94-57=37, Resulting Numbers: [31, 37] Generated Node #0,1,3: 84:[31, 37] Operation: 94-57=37 Moving to Node #0,1,3 Current State: 84:[31, 37], Operations: ['93-62=31', '94-57=37'] Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,84 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[94, 26], Operations: ['93-62=31', '57-31=26'] Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 94*26=2444, Resulting Numbers: [2444] 2444,84 unequal: No Solution Exploring Operation: 94+26=120, Resulting Numbers: [120] 120,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[94, 88], Operations: ['93-62=31', '57+31=88'] Exploring Operation: 94*88=8272, Resulting Numbers: [8272] 8272,84 unequal: No Solution Exploring Operation: 94+88=182, Resulting Numbers: [182] 182,84 unequal: No Solution Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[57, 63], Operations: ['93-62=31', '94-31=63'] Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,84 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,84 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,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,2 Current State: 84:[62, 93, 37], Operations: ['94-57=37'] Exploring Operation: 62+37=99, Resulting Numbers: [93, 99] Generated Node #0,2,0: 84:[93, 99] Operation: 62+37=99 Exploring Operation: 93-37=56, Resulting Numbers: [62, 56] Generated Node #0,2,1: 84:[62, 56] Operation: 93-37=56 Exploring Operation: 93-62=31, Resulting Numbers: [37, 31] Generated Node #0,2,2: 84:[37, 31] Operation: 93-62=31 Exploring Operation: 62-37=25, Resulting Numbers: [93, 25] Generated Node #0,2,3: 84:[93, 25] Operation: 62-37=25 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[37, 31], Operations: ['94-57=37', '93-62=31'] Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,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,2,3 Current State: 84:[93, 25], Operations: ['94-57=37', '62-37=25'] Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,84 unequal: No Solution Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,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,2,0 Current State: 84:[93, 99], Operations: ['94-57=37', '62+37=99'] Exploring Operation: 93*99=9207, Resulting Numbers: [9207] 9207,84 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 93+99=192, Resulting Numbers: [192] 192,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,2,1 Current State: 84:[62, 56], Operations: ['94-57=37', '93-37=56'] Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,84 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 3, 56, 3, 24 ]
32
[ "3+56=59", "3+24=27", "59-27=32" ]
Current State: 32:[3, 56, 3, 24], Operations: [] Exploring Operation: 3+56=59, Resulting Numbers: [24, 59] Generated Node #2: [24, 59] from Operation: 3+56=59 Current State: 32:[24, 59], Operations: ['3+56=59'] Exploring Operation: 3+24=27, Resulting Numbers: [59, 27] Generated Node #3: [59, 27] from Operation: 3+24=27 Current State: 32:[59, 27], Operations: ['3+56=59', '3+24=27'] Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[3, 56, 3, 24], Operations: [] Exploring Operation: 56-24=32, Resulting Numbers: [3, 3, 32] Generated Node #0,0: 32:[3, 3, 32] Operation: 56-24=32 Exploring Operation: 24/3=8, Resulting Numbers: [56, 3, 8] Generated Node #0,1: 32:[56, 3, 8] Operation: 24/3=8 Exploring Operation: 24/3=8, Resulting Numbers: [3, 56, 8] Generated Node #0,2: 32:[3, 56, 8] Operation: 24/3=8 Exploring Operation: 56-3=53, Resulting Numbers: [3, 24, 53] Generated Node #0,3: 32:[3, 24, 53] Operation: 56-3=53 Exploring Operation: 3+24=27, Resulting Numbers: [56, 3, 27] Generated Node #0,4: 32:[56, 3, 27] Operation: 3+24=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[3, 3, 32], Operations: ['56-24=32'] Exploring Operation: 3+3=6, Resulting Numbers: [32, 6] Generated Node #0,0,0: 32:[32, 6] Operation: 3+3=6 Exploring Operation: 3/3=1, Resulting Numbers: [32, 1] Generated Node #0,0,1: 32:[32, 1] Operation: 3/3=1 Exploring Operation: 3*3=9, Resulting Numbers: [32, 9] Generated Node #0,0,2: 32:[32, 9] Operation: 3*3=9 Exploring Operation: 3-3=0, Resulting Numbers: [32, 0] Generated Node #0,0,3: 32:[32, 0] Operation: 3-3=0 Exploring Operation: 3+32=35, Resulting Numbers: [3, 35] Generated Node #0,0,4: 32:[3, 35] Operation: 3+32=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[32, 1], Operations: ['56-24=32', '3/3=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[3, 56, 3, 24], Operations: [] Exploring Operation: 56-24=32, Resulting Numbers: [3, 3, 32] Generated Node #0,0: 32:[3, 3, 32] Operation: 56-24=32 Moving to Node #0,0 Current State: 32:[3, 3, 32], Operations: ['56-24=32'] Exploring Operation: 3/3=1, Resulting Numbers: [32, 1] Generated Node #0,0,1: 32:[32, 1] Operation: 3/3=1 Moving to Node #0,0,1 Current State: 32:[32, 1], Operations: ['56-24=32', '3/3=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 2, 13, 6, 45 ]
45
[ "2+13=15", "6*15=90", "90-45=45" ]
Current State: 45:[2, 13, 6, 45], Operations: [] Exploring Operation: 2+13=15, Resulting Numbers: [6, 45, 15] Generated Node #2: [6, 45, 15] from Operation: 2+13=15 Current State: 45:[6, 45, 15], Operations: ['2+13=15'] Exploring Operation: 6*15=90, Resulting Numbers: [45, 90] Generated Node #3: [45, 90] from Operation: 6*15=90 Current State: 45:[45, 90], Operations: ['2+13=15', '6*15=90'] Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[2, 13, 6, 45], Operations: [] Exploring Operation: 2+13=15, Resulting Numbers: [6, 45, 15] Generated Node #0,0: 45:[6, 45, 15] Operation: 2+13=15 Exploring Operation: 6/2=3, Resulting Numbers: [13, 45, 3] Generated Node #0,1: 45:[13, 45, 3] Operation: 6/2=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[6, 45, 15], Operations: ['2+13=15'] Exploring Operation: 45/15=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 45:[6, 3] Operation: 45/15=3 Exploring Operation: 15-6=9, Resulting Numbers: [45, 9] Generated Node #0,0,1: 45:[45, 9] Operation: 15-6=9 Moving to Node #0,0,1 Current State: 45:[45, 9], Operations: ['2+13=15', '15-6=9'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[6, 3], Operations: ['2+13=15', '45/15=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[13, 45, 3], Operations: ['6/2=3'] Exploring Operation: 13-3=10, Resulting Numbers: [45, 10] Generated Node #0,1,0: 45:[45, 10] Operation: 13-3=10 Exploring Operation: 13+3=16, Resulting Numbers: [45, 16] Generated Node #0,1,1: 45:[45, 16] Operation: 13+3=16 Moving to Node #0,1,0 Current State: 45:[45, 10], Operations: ['6/2=3', '13-3=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[45, 16], Operations: ['6/2=3', '13+3=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,45 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,45 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
[ 6, 83, 58, 50 ]
100
[ "83-58=25", "6*25=150", "150-50=100" ]
Current State: 100:[6, 83, 58, 50], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [6, 50, 25] Generated Node #2: [6, 50, 25] from Operation: 83-58=25 Current State: 100:[6, 50, 25], Operations: ['83-58=25'] Exploring Operation: 6*25=150, Resulting Numbers: [50, 150] Generated Node #3: [50, 150] from Operation: 6*25=150 Current State: 100:[50, 150], Operations: ['83-58=25', '6*25=150'] Exploring Operation: 150-50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[6, 83, 58, 50], Operations: [] Exploring Operation: 83-50=33, Resulting Numbers: [6, 58, 33] Generated Node #0,0: 100:[6, 58, 33] Operation: 83-50=33 Exploring Operation: 6+83=89, Resulting Numbers: [58, 50, 89] Generated Node #0,1: 100:[58, 50, 89] Operation: 6+83=89 Exploring Operation: 83-58=25, Resulting Numbers: [6, 50, 25] Generated Node #0,2: 100:[6, 50, 25] Operation: 83-58=25 Exploring Operation: 58-6=52, Resulting Numbers: [83, 50, 52] Generated Node #0,3: 100:[83, 50, 52] Operation: 58-6=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[6, 50, 25], Operations: ['83-58=25'] Exploring Operation: 50-25=25, Resulting Numbers: [6, 25] Generated Node #0,2,0: 100:[6, 25] Operation: 50-25=25 Exploring Operation: 25-6=19, Resulting Numbers: [50, 19] Generated Node #0,2,1: 100:[50, 19] Operation: 25-6=19 Exploring Operation: 50/25=2, Resulting Numbers: [6, 2] Generated Node #0,2,2: 100:[6, 2] Operation: 50/25=2 Exploring Operation: 6+50=56, Resulting Numbers: [25, 56] Generated Node #0,2,3: 100:[25, 56] Operation: 6+50=56 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[6, 25], Operations: ['83-58=25', '50-25=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,100 unequal: No Solution No 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: 100:[50, 19], Operations: ['83-58=25', '25-6=19'] Exploring Operation: 50*19=950, Resulting Numbers: [950] 950,100 unequal: No Solution Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,100 unequal: No Solution No 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: 100:[6, 2], Operations: ['83-58=25', '50/25=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,100 unequal: No Solution No 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: 100:[25, 56], Operations: ['83-58=25', '6+50=56'] Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 25*56=1400, Resulting Numbers: [1400] 1400,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[6, 58, 33], Operations: ['83-50=33'] Exploring Operation: 58-33=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 100:[6, 25] Operation: 58-33=25 Exploring Operation: 58-6=52, Resulting Numbers: [33, 52] Generated Node #0,0,1: 100:[33, 52] Operation: 58-6=52 Exploring Operation: 58+33=91, Resulting Numbers: [6, 91] Generated Node #0,0,2: 100:[6, 91] Operation: 58+33=91 Exploring Operation: 33-6=27, Resulting Numbers: [58, 27] Generated Node #0,0,3: 100:[58, 27] Operation: 33-6=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[6, 25], Operations: ['83-50=33', '58-33=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,100 unequal: No Solution No 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: 100:[33, 52], Operations: ['83-50=33', '58-6=52'] Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,100 unequal: No Solution Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,100 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,100 unequal: No Solution No 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: 100:[6, 91], Operations: ['83-50=33', '58+33=91'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,100 unequal: No Solution Exploring Operation: 6+91=97, Resulting Numbers: [97] 97,100 unequal: No Solution Exploring Operation: 6*91=546, Resulting Numbers: [546] 546,100 unequal: No Solution No 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: 100:[58, 27], Operations: ['83-50=33', '33-6=27'] Exploring Operation: 58*27=1566, Resulting Numbers: [1566] 1566,100 unequal: No Solution Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,100 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[58, 50, 89], Operations: ['6+83=89'] Exploring Operation: 58-50=8, Resulting Numbers: [89, 8] Generated Node #0,1,0: 100:[89, 8] Operation: 58-50=8 Exploring Operation: 58+50=108, Resulting Numbers: [89, 108] Generated Node #0,1,1: 100:[89, 108] Operation: 58+50=108 Exploring Operation: 89-50=39, Resulting Numbers: [58, 39] Generated Node #0,1,2: 100:[58, 39] Operation: 89-50=39 Exploring Operation: 89-58=31, Resulting Numbers: [50, 31] Generated Node #0,1,3: 100:[50, 31] Operation: 89-58=31 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[50, 31], Operations: ['6+83=89', '89-58=31'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,100 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,100 unequal: No Solution No 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: 100:[89, 8], Operations: ['6+83=89', '58-50=8'] Exploring Operation: 89*8=712, Resulting Numbers: [712] 712,100 unequal: No Solution Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,100 unequal: No Solution No 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: 100:[89, 108], Operations: ['6+83=89', '58+50=108'] Exploring Operation: 108-89=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 89*108=9612, Resulting Numbers: [9612] 9612,100 unequal: No Solution Exploring Operation: 89+108=197, Resulting Numbers: [197] 197,100 unequal: No Solution No 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: 100:[58, 39], Operations: ['6+83=89', '89-50=39'] Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,100 unequal: No Solution Exploring Operation: 58*39=2262, Resulting Numbers: [2262] 2262,100 unequal: No Solution Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[83, 50, 52], Operations: ['58-6=52'] Exploring Operation: 52-50=2, Resulting Numbers: [83, 2] Generated Node #0,3,0: 100:[83, 2] Operation: 52-50=2 Exploring Operation: 83-50=33, Resulting Numbers: [52, 33] Generated Node #0,3,1: 100:[52, 33] Operation: 83-50=33 Exploring Operation: 50+52=102, Resulting Numbers: [83, 102] Generated Node #0,3,2: 100:[83, 102] Operation: 50+52=102 Exploring Operation: 83-52=31, Resulting Numbers: [50, 31] Generated Node #0,3,3: 100:[50, 31] Operation: 83-52=31 Moving to Node #0,3,3 Current State: 100:[50, 31], Operations: ['58-6=52', '83-52=31'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,100 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[52, 33], Operations: ['58-6=52', '83-50=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,100 unequal: No Solution Exploring Operation: 52*33=1716, Resulting Numbers: [1716] 1716,100 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[83, 2], Operations: ['58-6=52', '52-50=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,100 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[83, 102], Operations: ['58-6=52', '50+52=102'] Exploring Operation: 83*102=8466, Resulting Numbers: [8466] 8466,100 unequal: No Solution Exploring Operation: 102-83=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 83+102=185, Resulting Numbers: [185] 185,100 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
[ 5, 16, 80, 6 ]
18
[ "16+80=96", "96-6=90", "90/5=18" ]
Current State: 18:[5, 16, 80, 6], Operations: [] Exploring Operation: 16+80=96, Resulting Numbers: [5, 6, 96] Generated Node #2: [5, 6, 96] from Operation: 16+80=96 Current State: 18:[5, 6, 96], Operations: ['16+80=96'] Exploring Operation: 96-6=90, Resulting Numbers: [5, 90] Generated Node #3: [5, 90] from Operation: 96-6=90 Current State: 18:[5, 90], Operations: ['16+80=96', '96-6=90'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[5, 16, 80, 6], Operations: [] Exploring Operation: 80-5=75, Resulting Numbers: [16, 6, 75] Generated Node #0,0: 18:[16, 6, 75] Operation: 80-5=75 Exploring Operation: 80-6=74, Resulting Numbers: [5, 16, 74] Generated Node #0,1: 18:[5, 16, 74] Operation: 80-6=74 Exploring Operation: 80-16=64, Resulting Numbers: [5, 6, 64] Generated Node #0,2: 18:[5, 6, 64] Operation: 80-16=64 Exploring Operation: 80/16=5, Resulting Numbers: [5, 6, 5] Generated Node #0,3: 18:[5, 6, 5] Operation: 80/16=5 Exploring Operation: 80/5=16, Resulting Numbers: [16, 6, 16] Generated Node #0,4: 18:[16, 6, 16] Operation: 80/5=16 Moving to Node #0,3 Current State: 18:[5, 6, 5], Operations: ['80/16=5'] Exploring Operation: 6-5=1, Resulting Numbers: [5, 1] Generated Node #0,3,0: 18:[5, 1] Operation: 6-5=1 Exploring Operation: 5/5=1, Resulting Numbers: [6, 1] Generated Node #0,3,1: 18:[6, 1] Operation: 5/5=1 Exploring Operation: 6-5=1, Resulting Numbers: [5, 1] Generated Node #0,3,2: 18:[5, 1] Operation: 6-5=1 Exploring Operation: 5+5=10, Resulting Numbers: [6, 10] Generated Node #0,3,3: 18:[6, 10] Operation: 5+5=10 Exploring Operation: 5-5=0, Resulting Numbers: [6, 0] Generated Node #0,3,4: 18:[6, 0] Operation: 5-5=0 Moving to Node #0,4 Current State: 18:[16, 6, 16], Operations: ['80/5=16'] Exploring Operation: 16/16=1, Resulting Numbers: [6, 1] Generated Node #0,4,0: 18:[6, 1] Operation: 16/16=1 Exploring Operation: 16+6=22, Resulting Numbers: [16, 22] Generated Node #0,4,1: 18:[16, 22] Operation: 16+6=22 Exploring Operation: 16-16=0, Resulting Numbers: [6, 0] Generated Node #0,4,2: 18:[6, 0] Operation: 16-16=0 Exploring Operation: 16-6=10, Resulting Numbers: [16, 10] Generated Node #0,4,3: 18:[16, 10] Operation: 16-6=10 Exploring Operation: 16-6=10, Resulting Numbers: [16, 10] Generated Node #0,4,4: 18:[16, 10] Operation: 16-6=10 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 18:[6, 1], Operations: ['80/5=16', '16/16=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 18:[6, 0], Operations: ['80/5=16', '16-16=0'] Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 18:[16, 10], Operations: ['80/5=16', '16-6=10'] Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,18 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 18:[16, 10], Operations: ['80/5=16', '16-6=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 18:[16, 22], Operations: ['80/5=16', '16+6=22'] Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,18 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 18:[5, 6, 64], Operations: ['80-16=64'] Exploring Operation: 64-5=59, Resulting Numbers: [6, 59] Generated Node #0,2,0: 18:[6, 59] Operation: 64-5=59 Exploring Operation: 64-6=58, Resulting Numbers: [5, 58] Generated Node #0,2,1: 18:[5, 58] Operation: 64-6=58 Exploring Operation: 6-5=1, Resulting Numbers: [64, 1] Generated Node #0,2,2: 18:[64, 1] Operation: 6-5=1 Exploring Operation: 5+6=11, Resulting Numbers: [64, 11] Generated Node #0,2,3: 18:[64, 11] Operation: 5+6=11 Exploring Operation: 5+64=69, Resulting Numbers: [6, 69] Generated Node #0,2,4: 18:[6, 69] Operation: 5+64=69 Moving to Node #0,0 Current State: 18:[16, 6, 75], Operations: ['80-5=75'] Exploring Operation: 75-16=59, Resulting Numbers: [6, 59] Generated Node #0,0,0: 18:[6, 59] Operation: 75-16=59 Exploring Operation: 16-6=10, Resulting Numbers: [75, 10] Generated Node #0,0,1: 18:[75, 10] Operation: 16-6=10 Exploring Operation: 16+6=22, Resulting Numbers: [75, 22] Generated Node #0,0,2: 18:[75, 22] Operation: 16+6=22 Exploring Operation: 6+75=81, Resulting Numbers: [16, 81] Generated Node #0,0,3: 18:[16, 81] Operation: 6+75=81 Exploring Operation: 75-6=69, Resulting Numbers: [16, 69] Generated Node #0,0,4: 18:[16, 69] Operation: 75-6=69 Moving to Node #0,1 Current State: 18:[5, 16, 74], Operations: ['80-6=74'] Exploring Operation: 74-16=58, Resulting Numbers: [5, 58] Generated Node #0,1,0: 18:[5, 58] Operation: 74-16=58 Exploring Operation: 16-5=11, Resulting Numbers: [74, 11] Generated Node #0,1,1: 18:[74, 11] Operation: 16-5=11 Exploring Operation: 74-5=69, Resulting Numbers: [16, 69] Generated Node #0,1,2: 18:[16, 69] Operation: 74-5=69 Exploring Operation: 5+74=79, Resulting Numbers: [16, 79] Generated Node #0,1,3: 18:[16, 79] Operation: 5+74=79 Exploring Operation: 5+16=21, Resulting Numbers: [74, 21] Generated Node #0,1,4: 18:[74, 21] Operation: 5+16=21 Moving to Node #0,3,1 Current State: 18:[6, 1], Operations: ['80/16=5', '5/5=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[6, 10], Operations: ['80/16=5', '5+5=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[5, 1], Operations: ['80/16=5', '6-5=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Moving to Node #0,3,4 Current State: 18:[6, 0], Operations: ['80/16=5', '5-5=0'] Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[5, 1], Operations: ['80/16=5', '6-5=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[5, 58], Operations: ['80-16=64', '64-6=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[6, 59], Operations: ['80-16=64', '64-5=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,18 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,18 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[6, 59], Operations: ['80-5=75', '75-16=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,18 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[5, 58], Operations: ['80-6=74', '74-16=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,18 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[64, 1], Operations: ['80-16=64', '6-5=1'] Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,18 unequal: No Solution Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,18 unequal: No Solution Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,18 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,18 unequal: No Solution Moving to Node #0,2,3 Current State: 18:[64, 11], Operations: ['80-16=64', '5+6=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,18 unequal: No Solution Moving to Node #0,2,4 Current State: 18:[6, 69], Operations: ['80-16=64', '5+64=69'] Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,18 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[16, 69], Operations: ['80-5=75', '75-6=69'] Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,18 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[16, 69], Operations: ['80-6=74', '74-5=69'] Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,18 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[75, 10], Operations: ['80-5=75', '16-6=10'] Exploring Operation: 75*10=750, Resulting Numbers: [750] 750,18 unequal: No Solution Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[74, 11], Operations: ['80-6=74', '16-5=11'] Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[74, 21], Operations: ['80-6=74', '5+16=21'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,18 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[75, 22], Operations: ['80-5=75', '16+6=22'] Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,18 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,18 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[16, 79], Operations: ['80-6=74', '5+74=79'] Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 16+79=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 16*79=1264, Resulting Numbers: [1264] 1264,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[16, 81], Operations: ['80-5=75', '6+75=81'] Exploring Operation: 16+81=97, Resulting Numbers: [97] 97,18 unequal: No Solution Exploring Operation: 16*81=1296, Resulting Numbers: [1296] 1296,18 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,18 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 44, 56, 76, 54 ]
54
[ "56-54=2", "44/2=22", "76-22=54" ]
Current State: 54:[44, 56, 76, 54], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [44, 76, 2] Generated Node #2: [44, 76, 2] from Operation: 56-54=2 Current State: 54:[44, 76, 2], Operations: ['56-54=2'] Exploring Operation: 44/2=22, Resulting Numbers: [76, 22] Generated Node #3: [76, 22] from Operation: 44/2=22 Current State: 54:[76, 22], Operations: ['56-54=2', '44/2=22'] Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[44, 56, 76, 54], Operations: [] Exploring Operation: 76-54=22, Resulting Numbers: [44, 56, 22] Generated Node #0,0: 54:[44, 56, 22] Operation: 76-54=22 Exploring Operation: 56-44=12, Resulting Numbers: [76, 54, 12] Generated Node #0,1: 54:[76, 54, 12] Operation: 56-44=12 Exploring Operation: 76-44=32, Resulting Numbers: [56, 54, 32] Generated Node #0,2: 54:[56, 54, 32] Operation: 76-44=32 Exploring Operation: 76-56=20, Resulting Numbers: [44, 54, 20] Generated Node #0,3: 54:[44, 54, 20] Operation: 76-56=20 Moving to Node #0,2 Current State: 54:[56, 54, 32], Operations: ['76-44=32'] Exploring Operation: 54-32=22, Resulting Numbers: [56, 22] Generated Node #0,2,0: 54:[56, 22] Operation: 54-32=22 Exploring Operation: 56+32=88, Resulting Numbers: [54, 88] Generated Node #0,2,1: 54:[54, 88] Operation: 56+32=88 Exploring Operation: 56-32=24, Resulting Numbers: [54, 24] Generated Node #0,2,2: 54:[54, 24] Operation: 56-32=24 Exploring Operation: 56-54=2, Resulting Numbers: [32, 2] Generated Node #0,2,3: 54:[32, 2] Operation: 56-54=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[54, 24], Operations: ['76-44=32', '56-32=24'] Exploring Operation: 54*24=1296, Resulting Numbers: [1296] 1296,54 unequal: No Solution Exploring Operation: 54+24=78, Resulting Numbers: [78] 78,54 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,54 unequal: No Solution No 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: 54:[32, 2], Operations: ['76-44=32', '56-54=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,54 unequal: No Solution No 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: 54:[56, 22], Operations: ['76-44=32', '54-32=22'] Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,54 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,54 unequal: No Solution Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,54 unequal: No Solution No 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: 54:[54, 88], Operations: ['76-44=32', '56+32=88'] Exploring Operation: 54*88=4752, Resulting Numbers: [4752] 4752,54 unequal: No Solution Exploring Operation: 54+88=142, Resulting Numbers: [142] 142,54 unequal: No Solution Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,54 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: 54:[44, 54, 20], Operations: ['76-56=20'] Exploring Operation: 54-44=10, Resulting Numbers: [20, 10] Generated Node #0,3,0: 54:[20, 10] Operation: 54-44=10 Exploring Operation: 54-20=34, Resulting Numbers: [44, 34] Generated Node #0,3,1: 54:[44, 34] Operation: 54-20=34 Exploring Operation: 44-20=24, Resulting Numbers: [54, 24] Generated Node #0,3,2: 54:[54, 24] Operation: 44-20=24 Exploring Operation: 44+20=64, Resulting Numbers: [54, 64] Generated Node #0,3,3: 54:[54, 64] Operation: 44+20=64 Moving to Node #0,0 Current State: 54:[44, 56, 22], Operations: ['76-54=22'] Exploring Operation: 56-44=12, Resulting Numbers: [22, 12] Generated Node #0,0,0: 54:[22, 12] Operation: 56-44=12 Exploring Operation: 44/22=2, Resulting Numbers: [56, 2] Generated Node #0,0,1: 54:[56, 2] Operation: 44/22=2 Exploring Operation: 44+22=66, Resulting Numbers: [56, 66] Generated Node #0,0,2: 54:[56, 66] Operation: 44+22=66 Exploring Operation: 44-22=22, Resulting Numbers: [56, 22] Generated Node #0,0,3: 54:[56, 22] Operation: 44-22=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[56, 2], Operations: ['76-54=22', '44/22=2'] Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[44, 56, 76, 54], Operations: [] Exploring Operation: 76-54=22, Resulting Numbers: [44, 56, 22] Generated Node #0,0: 54:[44, 56, 22] Operation: 76-54=22 Moving to Node #0,0 Current State: 54:[44, 56, 22], Operations: ['76-54=22'] Exploring Operation: 44/22=2, Resulting Numbers: [56, 2] Generated Node #0,0,1: 54:[56, 2] Operation: 44/22=2 Moving to Node #0,0,1 Current State: 54:[56, 2], Operations: ['76-54=22', '44/22=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 2, 27, 19, 59 ]
24
[ "2*27=54", "19+59=78", "78-54=24" ]
Current State: 24:[2, 27, 19, 59], Operations: [] Exploring Operation: 2*27=54, Resulting Numbers: [19, 59, 54] Generated Node #2: [19, 59, 54] from Operation: 2*27=54 Current State: 24:[19, 59, 54], Operations: ['2*27=54'] Exploring Operation: 19+59=78, Resulting Numbers: [54, 78] Generated Node #3: [54, 78] from Operation: 19+59=78 Current State: 24:[54, 78], Operations: ['2*27=54', '19+59=78'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[2, 27, 19, 59], Operations: [] Exploring Operation: 59-27=32, Resulting Numbers: [2, 19, 32] Generated Node #0,0: 24:[2, 19, 32] Operation: 59-27=32 Exploring Operation: 59-19=40, Resulting Numbers: [2, 27, 40] Generated Node #0,1: 24:[2, 27, 40] Operation: 59-19=40 Exploring Operation: 27-19=8, Resulting Numbers: [2, 59, 8] Generated Node #0,2: 24:[2, 59, 8] Operation: 27-19=8 Exploring Operation: 27-2=25, Resulting Numbers: [19, 59, 25] Generated Node #0,3: 24:[19, 59, 25] Operation: 27-2=25 Exploring Operation: 2+19=21, Resulting Numbers: [27, 59, 21] Generated Node #0,4: 24:[27, 59, 21] Operation: 2+19=21 Moving to Node #0,0 Current State: 24:[2, 19, 32], Operations: ['59-27=32'] Exploring Operation: 32-19=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 24:[2, 13] Operation: 32-19=13 Exploring Operation: 2+19=21, Resulting Numbers: [32, 21] Generated Node #0,0,1: 24:[32, 21] Operation: 2+19=21 Exploring Operation: 32-2=30, Resulting Numbers: [19, 30] Generated Node #0,0,2: 24:[19, 30] Operation: 32-2=30 Exploring Operation: 19-2=17, Resulting Numbers: [32, 17] Generated Node #0,0,3: 24:[32, 17] Operation: 19-2=17 Exploring Operation: 32/2=16, Resulting Numbers: [19, 16] Generated Node #0,0,4: 24:[19, 16] Operation: 32/2=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[2, 13], Operations: ['59-27=32', '32-19=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 24:[19, 16], Operations: ['59-27=32', '32/2=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,24 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[32, 21], Operations: ['59-27=32', '2+19=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[19, 30], Operations: ['59-27=32', '32-2=30'] Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[32, 17], Operations: ['59-27=32', '19-2=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,24 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: 24:[2, 27, 40], Operations: ['59-19=40'] Exploring Operation: 40-27=13, Resulting Numbers: [2, 13] Generated Node #0,1,0: 24:[2, 13] Operation: 40-27=13 Exploring Operation: 2+27=29, Resulting Numbers: [40, 29] Generated Node #0,1,1: 24:[40, 29] Operation: 2+27=29 Exploring Operation: 27-2=25, Resulting Numbers: [40, 25] Generated Node #0,1,2: 24:[40, 25] Operation: 27-2=25 Exploring Operation: 40/2=20, Resulting Numbers: [27, 20] Generated Node #0,1,3: 24:[27, 20] Operation: 40/2=20 Exploring Operation: 40-2=38, Resulting Numbers: [27, 38] Generated Node #0,1,4: 24:[27, 38] Operation: 40-2=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[2, 13], Operations: ['59-19=40', '40-27=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[27, 20], Operations: ['59-19=40', '40/2=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,24 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[40, 25], Operations: ['59-19=40', '27-2=25'] Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,24 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 24:[27, 38], Operations: ['59-19=40', '40-2=38'] Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,24 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[40, 29], Operations: ['59-19=40', '2+27=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,24 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: 24:[2, 59, 8], Operations: ['27-19=8'] Exploring Operation: 59-8=51, Resulting Numbers: [2, 51] Generated Node #0,2,0: 24:[2, 51] Operation: 59-8=51 Exploring Operation: 8-2=6, Resulting Numbers: [59, 6] Generated Node #0,2,1: 24:[59, 6] Operation: 8-2=6 Exploring Operation: 59-2=57, Resulting Numbers: [8, 57] Generated Node #0,2,2: 24:[8, 57] Operation: 59-2=57 Exploring Operation: 8/2=4, Resulting Numbers: [59, 4] Generated Node #0,2,3: 24:[59, 4] Operation: 8/2=4 Exploring Operation: 2+59=61, Resulting Numbers: [8, 61] Generated Node #0,2,4: 24:[8, 61] Operation: 2+59=61 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[2, 51], Operations: ['27-19=8', '59-8=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[8, 57], Operations: ['27-19=8', '59-2=57'] Exploring Operation: 8*57=456, Resulting Numbers: [456] 456,24 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,24 unequal: No Solution Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[59, 6], Operations: ['27-19=8', '8-2=6'] Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,24 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[59, 4], Operations: ['27-19=8', '8/2=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,24 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[8, 61], Operations: ['27-19=8', '2+59=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 8*61=488, Resulting Numbers: [488] 488,24 unequal: No Solution Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,24 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: 24:[19, 59, 25], Operations: ['27-2=25'] Exploring Operation: 25-19=6, Resulting Numbers: [59, 6] Generated Node #0,3,0: 24:[59, 6] Operation: 25-19=6 Exploring Operation: 19+59=78, Resulting Numbers: [25, 78] Generated Node #0,3,1: 24:[25, 78] Operation: 19+59=78 Exploring Operation: 59-19=40, Resulting Numbers: [25, 40] Generated Node #0,3,2: 24:[25, 40] Operation: 59-19=40 Exploring Operation: 59-25=34, Resulting Numbers: [19, 34] Generated Node #0,3,3: 24:[19, 34] Operation: 59-25=34 Exploring Operation: 19+25=44, Resulting Numbers: [59, 44] Generated Node #0,3,4: 24:[59, 44] Operation: 19+25=44 Moving to Node #0,4 Current State: 24:[27, 59, 21], Operations: ['2+19=21'] Exploring Operation: 27-21=6, Resulting Numbers: [59, 6] Generated Node #0,4,0: 24:[59, 6] Operation: 27-21=6 Exploring Operation: 59-21=38, Resulting Numbers: [27, 38] Generated Node #0,4,1: 24:[27, 38] Operation: 59-21=38 Exploring Operation: 27+21=48, Resulting Numbers: [59, 48] Generated Node #0,4,2: 24:[59, 48] Operation: 27+21=48 Exploring Operation: 59+21=80, Resulting Numbers: [27, 80] Generated Node #0,4,3: 24:[27, 80] Operation: 59+21=80 Exploring Operation: 59-27=32, Resulting Numbers: [21, 32] Generated Node #0,4,4: 24:[21, 32] Operation: 59-27=32 Moving to Node #0,4,4 Current State: 24:[21, 32], Operations: ['2+19=21', '59-27=32'] Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,24 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[19, 34], Operations: ['27-2=25', '59-25=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,24 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,24 unequal: No Solution Moving to Node #0,4,1 Current State: 24:[27, 38], Operations: ['2+19=21', '59-21=38'] Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[25, 40], Operations: ['27-2=25', '59-19=40'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 25*40=1000, Resulting Numbers: [1000] 1000,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[59, 6], Operations: ['27-2=25', '25-19=6'] Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,24 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,24 unequal: No Solution Moving to Node #0,4,0 Current State: 24:[59, 6], Operations: ['2+19=21', '27-21=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,24 unequal: No Solution Moving to Node #0,3,4 Current State: 24:[59, 44], Operations: ['27-2=25', '19+25=44'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,24 unequal: No Solution Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[25, 78], Operations: ['27-2=25', '19+59=78'] Exploring Operation: 25+78=103, Resulting Numbers: [103] 103,24 unequal: No Solution Exploring Operation: 25*78=1950, Resulting Numbers: [1950] 1950,24 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,24 unequal: No Solution Moving to Node #0,4,3 Current State: 24:[27, 80], Operations: ['2+19=21', '59+21=80'] Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,24 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,24 unequal: No Solution Moving to Node #0,4,2 Current State: 24:[59, 48], Operations: ['2+19=21', '27+21=48'] Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,24 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,24 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 94, 32, 73, 42 ]
94
[ "73-32=41", "42-41=1", "94*1=94" ]
Current State: 94:[94, 32, 73, 42], Operations: [] Exploring Operation: 73-32=41, Resulting Numbers: [94, 42, 41] Generated Node #2: [94, 42, 41] from Operation: 73-32=41 Current State: 94:[94, 42, 41], Operations: ['73-32=41'] Exploring Operation: 42-41=1, Resulting Numbers: [94, 1] Generated Node #3: [94, 1] from Operation: 42-41=1 Current State: 94:[94, 1], Operations: ['73-32=41', '42-41=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[94, 32, 73, 42], Operations: [] Exploring Operation: 73-42=31, Resulting Numbers: [94, 32, 31] Generated Node #0,0: 94:[94, 32, 31] Operation: 73-42=31 Exploring Operation: 73-32=41, Resulting Numbers: [94, 42, 41] Generated Node #0,1: 94:[94, 42, 41] Operation: 73-32=41 Exploring Operation: 42-32=10, Resulting Numbers: [94, 73, 10] Generated Node #0,2: 94:[94, 73, 10] Operation: 42-32=10 Exploring Operation: 32+73=105, Resulting Numbers: [94, 42, 105] Generated Node #0,3: 94:[94, 42, 105] Operation: 32+73=105 Exploring Operation: 73+42=115, Resulting Numbers: [94, 32, 115] Generated Node #0,4: 94:[94, 32, 115] Operation: 73+42=115 Moving to Node #0,1 Current State: 94:[94, 42, 41], Operations: ['73-32=41'] Exploring Operation: 42-41=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 94:[94, 1] Operation: 42-41=1 Exploring Operation: 94+41=135, Resulting Numbers: [42, 135] Generated Node #0,1,1: 94:[42, 135] Operation: 94+41=135 Exploring Operation: 42+41=83, Resulting Numbers: [94, 83] Generated Node #0,1,2: 94:[94, 83] Operation: 42+41=83 Exploring Operation: 94-41=53, Resulting Numbers: [42, 53] Generated Node #0,1,3: 94:[42, 53] Operation: 94-41=53 Exploring Operation: 94-42=52, Resulting Numbers: [41, 52] Generated Node #0,1,4: 94:[41, 52] Operation: 94-42=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[94, 1], Operations: ['73-32=41', '42-41=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[94, 32, 73, 42], Operations: [] Exploring Operation: 73-32=41, Resulting Numbers: [94, 42, 41] Generated Node #0,1: 94:[94, 42, 41] Operation: 73-32=41 Moving to Node #0,1 Current State: 94:[94, 42, 41], Operations: ['73-32=41'] Exploring Operation: 42-41=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 94:[94, 1] Operation: 42-41=1 Moving to Node #0,1,0 Current State: 94:[94, 1], Operations: ['73-32=41', '42-41=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 24, 52, 94, 26 ]
84
[ "26-24=2", "94-52=42", "2*42=84" ]
Current State: 84:[24, 52, 94, 26], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [52, 94, 2] Generated Node #2: [52, 94, 2] from Operation: 26-24=2 Current State: 84:[52, 94, 2], Operations: ['26-24=2'] Exploring Operation: 94-52=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 94-52=42 Current State: 84:[2, 42], Operations: ['26-24=2', '94-52=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[24, 52, 94, 26], Operations: [] Exploring Operation: 94-52=42, Resulting Numbers: [24, 26, 42] Generated Node #0,0: 84:[24, 26, 42] Operation: 94-52=42 Exploring Operation: 52-24=28, Resulting Numbers: [94, 26, 28] Generated Node #0,1: 84:[94, 26, 28] Operation: 52-24=28 Exploring Operation: 52-26=26, Resulting Numbers: [24, 94, 26] Generated Node #0,2: 84:[24, 94, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [24, 94, 2] Generated Node #0,3: 84:[24, 94, 2] Operation: 52/26=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[24, 26, 42], Operations: ['94-52=42'] Exploring Operation: 42-26=16, Resulting Numbers: [24, 16] Generated Node #0,0,0: 84:[24, 16] Operation: 42-26=16 Exploring Operation: 42-24=18, Resulting Numbers: [26, 18] Generated Node #0,0,1: 84:[26, 18] Operation: 42-24=18 Exploring Operation: 24+26=50, Resulting Numbers: [42, 50] Generated Node #0,0,2: 84:[42, 50] Operation: 24+26=50 Exploring Operation: 26-24=2, Resulting Numbers: [42, 2] Generated Node #0,0,3: 84:[42, 2] Operation: 26-24=2 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[42, 2], Operations: ['94-52=42', '26-24=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[24, 52, 94, 26], Operations: [] Exploring Operation: 94-52=42, Resulting Numbers: [24, 26, 42] Generated Node #0,0: 84:[24, 26, 42] Operation: 94-52=42 Moving to Node #0,0 Current State: 84:[24, 26, 42], Operations: ['94-52=42'] Exploring Operation: 26-24=2, Resulting Numbers: [42, 2] Generated Node #0,0,3: 84:[42, 2] Operation: 26-24=2 Moving to Node #0,0,3 Current State: 84:[42, 2], Operations: ['94-52=42', '26-24=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 20, 27, 57, 32 ]
96
[ "27-20=7", "57+32=89", "7+89=96" ]
Current State: 96:[20, 27, 57, 32], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [57, 32, 7] Generated Node #2: [57, 32, 7] from Operation: 27-20=7 Current State: 96:[57, 32, 7], Operations: ['27-20=7'] Exploring Operation: 57+32=89, Resulting Numbers: [7, 89] Generated Node #3: [7, 89] from Operation: 57+32=89 Current State: 96:[7, 89], Operations: ['27-20=7', '57+32=89'] Exploring Operation: 7+89=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[20, 27, 57, 32], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [20, 32, 30] Generated Node #0,0: 96:[20, 32, 30] Operation: 57-27=30 Exploring Operation: 20+27=47, Resulting Numbers: [57, 32, 47] Generated Node #0,1: 96:[57, 32, 47] Operation: 20+27=47 Exploring Operation: 57-32=25, Resulting Numbers: [20, 27, 25] Generated Node #0,2: 96:[20, 27, 25] Operation: 57-32=25 Exploring Operation: 57-20=37, Resulting Numbers: [27, 32, 37] Generated Node #0,3: 96:[27, 32, 37] Operation: 57-20=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[20, 32, 30], Operations: ['57-27=30'] Exploring Operation: 20+30=50, Resulting Numbers: [32, 50] Generated Node #0,0,0: 96:[32, 50] Operation: 20+30=50 Exploring Operation: 32-30=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 96:[20, 2] Operation: 32-30=2 Exploring Operation: 30-20=10, Resulting Numbers: [32, 10] Generated Node #0,0,2: 96:[32, 10] Operation: 30-20=10 Exploring Operation: 32-20=12, Resulting Numbers: [30, 12] Generated Node #0,0,3: 96:[30, 12] Operation: 32-20=12 Moving to Node #0,0,0 Current State: 96:[32, 50], Operations: ['57-27=30', '20+30=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,96 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[30, 12], Operations: ['57-27=30', '32-20=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,96 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[32, 10], Operations: ['57-27=30', '30-20=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,96 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[20, 2], Operations: ['57-27=30', '32-30=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,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 Current State: 96:[20, 27, 25], Operations: ['57-32=25'] Exploring Operation: 27-25=2, Resulting Numbers: [20, 2] Generated Node #0,2,0: 96:[20, 2] Operation: 27-25=2 Exploring Operation: 27-20=7, Resulting Numbers: [25, 7] Generated Node #0,2,1: 96:[25, 7] Operation: 27-20=7 Exploring Operation: 25-20=5, Resulting Numbers: [27, 5] Generated Node #0,2,2: 96:[27, 5] Operation: 25-20=5 Exploring Operation: 20+27=47, Resulting Numbers: [25, 47] Generated Node #0,2,3: 96:[25, 47] Operation: 20+27=47 Moving to Node #0,2,1 Current State: 96:[25, 7], Operations: ['57-32=25', '27-20=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,96 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[25, 47], Operations: ['57-32=25', '20+27=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,96 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[27, 5], Operations: ['57-32=25', '25-20=5'] Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,96 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[20, 2], Operations: ['57-32=25', '27-25=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,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,3 Current State: 96:[27, 32, 37], Operations: ['57-20=37'] Exploring Operation: 27+32=59, Resulting Numbers: [37, 59] Generated Node #0,3,0: 96:[37, 59] Operation: 27+32=59 Exploring Operation: 32-27=5, Resulting Numbers: [37, 5] Generated Node #0,3,1: 96:[37, 5] Operation: 32-27=5 Exploring Operation: 37-27=10, Resulting Numbers: [32, 10] Generated Node #0,3,2: 96:[32, 10] Operation: 37-27=10 Exploring Operation: 37-32=5, Resulting Numbers: [27, 5] Generated Node #0,3,3: 96:[27, 5] Operation: 37-32=5 Moving to Node #0,3,2 Current State: 96:[32, 10], Operations: ['57-20=37', '37-27=10'] Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,96 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[27, 5], Operations: ['57-20=37', '37-32=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,96 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[37, 5], Operations: ['57-20=37', '32-27=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,96 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[37, 59], Operations: ['57-20=37', '27+32=59'] Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[20, 27, 57, 32], Operations: [] Exploring Operation: 57-20=37, Resulting Numbers: [27, 32, 37] Generated Node #0,3: 96:[27, 32, 37] Operation: 57-20=37 Moving to Node #0,3 Current State: 96:[27, 32, 37], Operations: ['57-20=37'] Exploring Operation: 27+32=59, Resulting Numbers: [37, 59] Generated Node #0,3,0: 96:[37, 59] Operation: 27+32=59 Moving to Node #0,3,0 Current State: 96:[37, 59], Operations: ['57-20=37', '27+32=59'] Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_4
mult_heuristic
[ 11, 10, 5, 15 ]
41
[ "11+10=21", "5+15=20", "21+20=41" ]
Current State: 41:[11, 10, 5, 15], Operations: [] Exploring Operation: 11+10=21, Resulting Numbers: [5, 15, 21] Generated Node #2: [5, 15, 21] from Operation: 11+10=21 Current State: 41:[5, 15, 21], Operations: ['11+10=21'] Exploring Operation: 5+15=20, Resulting Numbers: [21, 20] Generated Node #3: [21, 20] from Operation: 5+15=20 Current State: 41:[21, 20], Operations: ['11+10=21', '5+15=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[11, 10, 5, 15], Operations: [] Exploring Operation: 11+5=16, Resulting Numbers: [10, 15, 16] Generated Node #0,0: 41:[10, 15, 16] Operation: 11+5=16 Exploring Operation: 11*5=55, Resulting Numbers: [10, 15, 55] Generated Node #0,1: 41:[10, 15, 55] Operation: 11*5=55 Exploring Operation: 10*5=50, Resulting Numbers: [11, 15, 50] Generated Node #0,2: 41:[11, 15, 50] Operation: 10*5=50 Exploring Operation: 11+10=21, Resulting Numbers: [5, 15, 21] Generated Node #0,3: 41:[5, 15, 21] Operation: 11+10=21 Moving to Node #0,2 Current State: 41:[11, 15, 50], Operations: ['10*5=50'] Exploring Operation: 50-11=39, Resulting Numbers: [15, 39] Generated Node #0,2,0: 41:[15, 39] Operation: 50-11=39 Exploring Operation: 50-15=35, Resulting Numbers: [11, 35] Generated Node #0,2,1: 41:[11, 35] Operation: 50-15=35 Exploring Operation: 15-11=4, Resulting Numbers: [50, 4] Generated Node #0,2,2: 41:[50, 4] Operation: 15-11=4 Exploring Operation: 11+15=26, Resulting Numbers: [50, 26] Generated Node #0,2,3: 41:[50, 26] Operation: 11+15=26 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[50, 26], Operations: ['10*5=50', '11+15=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,41 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[15, 39], Operations: ['10*5=50', '50-11=39'] Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[11, 35], Operations: ['10*5=50', '50-15=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,41 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[50, 4], Operations: ['10*5=50', '15-11=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,41 unequal: No Solution Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 41:[10, 15, 55], Operations: ['11*5=55'] Exploring Operation: 55-15=40, Resulting Numbers: [10, 40] Generated Node #0,1,0: 41:[10, 40] Operation: 55-15=40 Exploring Operation: 15-10=5, Resulting Numbers: [55, 5] Generated Node #0,1,1: 41:[55, 5] Operation: 15-10=5 Exploring Operation: 10+15=25, Resulting Numbers: [55, 25] Generated Node #0,1,2: 41:[55, 25] Operation: 10+15=25 Exploring Operation: 55-10=45, Resulting Numbers: [15, 45] Generated Node #0,1,3: 41:[15, 45] Operation: 55-10=45 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[55, 25], Operations: ['11*5=55', '10+15=25'] Exploring Operation: 55+25=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 55*25=1375, Resulting Numbers: [1375] 1375,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[15, 45], Operations: ['11*5=55', '55-10=45'] Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[10, 40], Operations: ['11*5=55', '55-15=40'] Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,41 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[55, 5], Operations: ['11*5=55', '15-10=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,41 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 41:[5, 15, 21], Operations: ['11+10=21'] Exploring Operation: 5+15=20, Resulting Numbers: [21, 20] Generated Node #0,3,0: 41:[21, 20] Operation: 5+15=20 Exploring Operation: 15+21=36, Resulting Numbers: [5, 36] Generated Node #0,3,1: 41:[5, 36] Operation: 15+21=36 Exploring Operation: 15-5=10, Resulting Numbers: [21, 10] Generated Node #0,3,2: 41:[21, 10] Operation: 15-5=10 Exploring Operation: 5+21=26, Resulting Numbers: [15, 26] Generated Node #0,3,3: 41:[15, 26] Operation: 5+21=26 Moving to Node #0,0 Current State: 41:[10, 15, 16], Operations: ['11+5=16'] Exploring Operation: 15+16=31, Resulting Numbers: [10, 31] Generated Node #0,0,0: 41:[10, 31] Operation: 15+16=31 Exploring Operation: 10+15=25, Resulting Numbers: [16, 25] Generated Node #0,0,1: 41:[16, 25] Operation: 10+15=25 Exploring Operation: 10+16=26, Resulting Numbers: [15, 26] Generated Node #0,0,2: 41:[15, 26] Operation: 10+16=26 Exploring Operation: 15-10=5, Resulting Numbers: [16, 5] Generated Node #0,0,3: 41:[16, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[10, 31], Operations: ['11+5=16', '15+16=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,41 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[11, 10, 5, 15], Operations: [] Exploring Operation: 11+5=16, Resulting Numbers: [10, 15, 16] Generated Node #0,0: 41:[10, 15, 16] Operation: 11+5=16 Moving to Node #0,0 Current State: 41:[10, 15, 16], Operations: ['11+5=16'] Exploring Operation: 15+16=31, Resulting Numbers: [10, 31] Generated Node #0,0,0: 41:[10, 31] Operation: 15+16=31 Moving to Node #0,0,0 Current State: 41:[10, 31], Operations: ['11+5=16', '15+16=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.953125
hs_4
sum_heuristic
[ 61, 26, 19, 66 ]
12
[ "61-26=35", "66-19=47", "47-35=12" ]
Current State: 12:[61, 26, 19, 66], Operations: [] Exploring Operation: 61-26=35, Resulting Numbers: [19, 66, 35] Generated Node #2: [19, 66, 35] from Operation: 61-26=35 Current State: 12:[19, 66, 35], Operations: ['61-26=35'] Exploring Operation: 66-19=47, Resulting Numbers: [35, 47] Generated Node #3: [35, 47] from Operation: 66-19=47 Current State: 12:[35, 47], Operations: ['61-26=35', '66-19=47'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[61, 26, 19, 66], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [26, 19, 5] Generated Node #0,0: 12:[26, 19, 5] Operation: 66-61=5 Exploring Operation: 66-26=40, Resulting Numbers: [61, 19, 40] Generated Node #0,1: 12:[61, 19, 40] Operation: 66-26=40 Exploring Operation: 61-26=35, Resulting Numbers: [19, 66, 35] Generated Node #0,2: 12:[19, 66, 35] Operation: 61-26=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[26, 19, 5], Operations: ['66-61=5'] Exploring Operation: 19-5=14, Resulting Numbers: [26, 14] Generated Node #0,0,0: 12:[26, 14] Operation: 19-5=14 Exploring Operation: 26-5=21, Resulting Numbers: [19, 21] Generated Node #0,0,1: 12:[19, 21] Operation: 26-5=21 Exploring Operation: 26-19=7, Resulting Numbers: [5, 7] Generated Node #0,0,2: 12:[5, 7] Operation: 26-19=7 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[5, 7], Operations: ['66-61=5', '26-19=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[61, 26, 19, 66], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [26, 19, 5] Generated Node #0,0: 12:[26, 19, 5] Operation: 66-61=5 Moving to Node #0,0 Current State: 12:[26, 19, 5], Operations: ['66-61=5'] Exploring Operation: 26-19=7, Resulting Numbers: [5, 7] Generated Node #0,0,2: 12:[5, 7] Operation: 26-19=7 Moving to Node #0,0,2 Current State: 12:[5, 7], Operations: ['66-61=5', '26-19=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 53, 85, 59, 90 ]
70
[ "59-53=6", "90/6=15", "85-15=70" ]
Current State: 70:[53, 85, 59, 90], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [85, 90, 6] Generated Node #2: [85, 90, 6] from Operation: 59-53=6 Current State: 70:[85, 90, 6], Operations: ['59-53=6'] Exploring Operation: 90/6=15, Resulting Numbers: [85, 15] Generated Node #3: [85, 15] from Operation: 90/6=15 Current State: 70:[85, 15], Operations: ['59-53=6', '90/6=15'] Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[53, 85, 59, 90], Operations: [] Exploring Operation: 90-85=5, Resulting Numbers: [53, 59, 5] Generated Node #0,0: 70:[53, 59, 5] Operation: 90-85=5 Exploring Operation: 59-53=6, Resulting Numbers: [85, 90, 6] Generated Node #0,1: 70:[85, 90, 6] Operation: 59-53=6 Exploring Operation: 90-53=37, Resulting Numbers: [85, 59, 37] Generated Node #0,2: 70:[85, 59, 37] Operation: 90-53=37 Exploring Operation: 85-53=32, Resulting Numbers: [59, 90, 32] Generated Node #0,3: 70:[59, 90, 32] Operation: 85-53=32 Moving to Node #0,0 Current State: 70:[53, 59, 5], Operations: ['90-85=5'] Exploring Operation: 53-5=48, Resulting Numbers: [59, 48] Generated Node #0,0,0: 70:[59, 48] Operation: 53-5=48 Exploring Operation: 59+5=64, Resulting Numbers: [53, 64] Generated Node #0,0,1: 70:[53, 64] Operation: 59+5=64 Exploring Operation: 59-53=6, Resulting Numbers: [5, 6] Generated Node #0,0,2: 70:[5, 6] Operation: 59-53=6 Exploring Operation: 53+5=58, Resulting Numbers: [59, 58] Generated Node #0,0,3: 70:[59, 58] Operation: 53+5=58 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[5, 6], Operations: ['90-85=5', '59-53=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[53, 64], Operations: ['90-85=5', '59+5=64'] Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 53+64=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 53*64=3392, Resulting Numbers: [3392] 3392,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[59, 58], Operations: ['90-85=5', '53+5=58'] Exploring Operation: 59*58=3422, Resulting Numbers: [3422] 3422,70 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 59+58=117, Resulting Numbers: [117] 117,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[59, 48], Operations: ['90-85=5', '53-5=48'] Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,70 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,70 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 70:[85, 59, 37], Operations: ['90-53=37'] Exploring Operation: 59-37=22, Resulting Numbers: [85, 22] Generated Node #0,2,0: 70:[85, 22] Operation: 59-37=22 Exploring Operation: 85-59=26, Resulting Numbers: [37, 26] Generated Node #0,2,1: 70:[37, 26] Operation: 85-59=26 Exploring Operation: 85-37=48, Resulting Numbers: [59, 48] Generated Node #0,2,2: 70:[59, 48] Operation: 85-37=48 Exploring Operation: 59+37=96, Resulting Numbers: [85, 96] Generated Node #0,2,3: 70:[85, 96] Operation: 59+37=96 Moving to Node #0,3 Current State: 70:[59, 90, 32], Operations: ['85-53=32'] Exploring Operation: 90-59=31, Resulting Numbers: [32, 31] Generated Node #0,3,0: 70:[32, 31] Operation: 90-59=31 Exploring Operation: 59-32=27, Resulting Numbers: [90, 27] Generated Node #0,3,1: 70:[90, 27] Operation: 59-32=27 Exploring Operation: 59+32=91, Resulting Numbers: [90, 91] Generated Node #0,3,2: 70:[90, 91] Operation: 59+32=91 Exploring Operation: 90-32=58, Resulting Numbers: [59, 58] Generated Node #0,3,3: 70:[59, 58] Operation: 90-32=58 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[32, 31], Operations: ['85-53=32', '90-59=31'] Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,70 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[59, 58], Operations: ['85-53=32', '90-32=58'] Exploring Operation: 59+58=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 59*58=3422, Resulting Numbers: [3422] 3422,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[90, 27], Operations: ['85-53=32', '59-32=27'] Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[90, 91], Operations: ['85-53=32', '59+32=91'] Exploring Operation: 90*91=8190, Resulting Numbers: [8190] 8190,70 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 90+91=181, Resulting Numbers: [181] 181,70 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: 70:[85, 90, 6], Operations: ['59-53=6'] Exploring Operation: 90-85=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 70:[6, 5] Operation: 90-85=5 Exploring Operation: 90/6=15, Resulting Numbers: [85, 15] Generated Node #0,1,1: 70:[85, 15] Operation: 90/6=15 Exploring Operation: 90-6=84, Resulting Numbers: [85, 84] Generated Node #0,1,2: 70:[85, 84] Operation: 90-6=84 Exploring Operation: 85-6=79, Resulting Numbers: [90, 79] Generated Node #0,1,3: 70:[90, 79] Operation: 85-6=79 Moving to Node #0,1,0 Current State: 70:[6, 5], Operations: ['59-53=6', '90-85=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[37, 26], Operations: ['90-53=37', '85-59=26'] Exploring Operation: 37*26=962, Resulting Numbers: [962] 962,70 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[85, 15], Operations: ['59-53=6', '90/6=15'] Exploring Operation: 85*15=1275, Resulting Numbers: [1275] 1275,70 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[53, 85, 59, 90], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [85, 90, 6] Generated Node #0,1: 70:[85, 90, 6] Operation: 59-53=6 Moving to Node #0,1 Current State: 70:[85, 90, 6], Operations: ['59-53=6'] Exploring Operation: 90/6=15, Resulting Numbers: [85, 15] Generated Node #0,1,1: 70:[85, 15] Operation: 90/6=15 Moving to Node #0,1,1 Current State: 70:[85, 15], Operations: ['59-53=6', '90/6=15'] Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.951389
hs_4
sum_heuristic
[ 97, 16, 2, 86 ]
62
[ "86-16=70", "70/2=35", "97-35=62" ]
Current State: 62:[97, 16, 2, 86], Operations: [] Exploring Operation: 86-16=70, Resulting Numbers: [97, 2, 70] Generated Node #2: [97, 2, 70] from Operation: 86-16=70 Current State: 62:[97, 2, 70], Operations: ['86-16=70'] Exploring Operation: 70/2=35, Resulting Numbers: [97, 35] Generated Node #3: [97, 35] from Operation: 70/2=35 Current State: 62:[97, 35], Operations: ['86-16=70', '70/2=35'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[97, 16, 2, 86], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [97, 16, 43] Generated Node #0,0: 62:[97, 16, 43] Operation: 86/2=43 Exploring Operation: 16*2=32, Resulting Numbers: [97, 86, 32] Generated Node #0,1: 62:[97, 86, 32] Operation: 16*2=32 Exploring Operation: 97-16=81, Resulting Numbers: [2, 86, 81] Generated Node #0,2: 62:[2, 86, 81] Operation: 97-16=81 Exploring Operation: 86-16=70, Resulting Numbers: [97, 2, 70] Generated Node #0,3: 62:[97, 2, 70] Operation: 86-16=70 Exploring Operation: 97-86=11, Resulting Numbers: [16, 2, 11] Generated Node #0,4: 62:[16, 2, 11] Operation: 97-86=11 Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[16, 2, 11], Operations: ['97-86=11'] Exploring Operation: 16-2=14, Resulting Numbers: [11, 14] Generated Node #0,4,0: 62:[11, 14] Operation: 16-2=14 Exploring Operation: 16+11=27, Resulting Numbers: [2, 27] Generated Node #0,4,1: 62:[2, 27] Operation: 16+11=27 Exploring Operation: 16*2=32, Resulting Numbers: [11, 32] Generated Node #0,4,2: 62:[11, 32] Operation: 16*2=32 Exploring Operation: 16/2=8, Resulting Numbers: [11, 8] Generated Node #0,4,3: 62:[11, 8] Operation: 16/2=8 Exploring Operation: 16-11=5, Resulting Numbers: [2, 5] Generated Node #0,4,4: 62:[2, 5] Operation: 16-11=5 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 62:[2, 5], Operations: ['97-86=11', '16-11=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,62 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,62 unequal: No Solution No 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: 62:[2, 27], Operations: ['97-86=11', '16+11=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution No 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: 62:[11, 32], Operations: ['97-86=11', '16*2=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,62 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 62:[11, 8], Operations: ['97-86=11', '16/2=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,62 unequal: No Solution No 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: 62:[11, 14], Operations: ['97-86=11', '16-2=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,62 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,62 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: 62:[2, 86, 81], Operations: ['97-16=81'] Exploring Operation: 86-81=5, Resulting Numbers: [2, 5] Generated Node #0,2,0: 62:[2, 5] Operation: 86-81=5 Exploring Operation: 81-2=79, Resulting Numbers: [86, 79] Generated Node #0,2,1: 62:[86, 79] Operation: 81-2=79 Exploring Operation: 86/2=43, Resulting Numbers: [81, 43] Generated Node #0,2,2: 62:[81, 43] Operation: 86/2=43 Exploring Operation: 86-2=84, Resulting Numbers: [81, 84] Generated Node #0,2,3: 62:[81, 84] Operation: 86-2=84 Exploring Operation: 2+86=88, Resulting Numbers: [81, 88] Generated Node #0,2,4: 62:[81, 88] Operation: 2+86=88 Moving to Node #0,2,0 Current State: 62:[2, 5], Operations: ['97-16=81', '86-81=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,62 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[81, 43], Operations: ['97-16=81', '86/2=43'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,62 unequal: No Solution Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[86, 79], Operations: ['97-16=81', '81-2=79'] Exploring Operation: 86*79=6794, Resulting Numbers: [6794] 6794,62 unequal: No Solution Exploring Operation: 86-79=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 86+79=165, Resulting Numbers: [165] 165,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[81, 84], Operations: ['97-16=81', '86-2=84'] Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,62 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[81, 88], Operations: ['97-16=81', '2+86=88'] Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 81+88=169, Resulting Numbers: [169] 169,62 unequal: No Solution Exploring Operation: 81*88=7128, Resulting Numbers: [7128] 7128,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,3 Current State: 62:[97, 2, 70], Operations: ['86-16=70'] Exploring Operation: 70/2=35, Resulting Numbers: [97, 35] Generated Node #0,3,0: 62:[97, 35] Operation: 70/2=35 Exploring Operation: 97+2=99, Resulting Numbers: [70, 99] Generated Node #0,3,1: 62:[70, 99] Operation: 97+2=99 Exploring Operation: 97-2=95, Resulting Numbers: [70, 95] Generated Node #0,3,2: 62:[70, 95] Operation: 97-2=95 Exploring Operation: 70-2=68, Resulting Numbers: [97, 68] Generated Node #0,3,3: 62:[97, 68] Operation: 70-2=68 Exploring Operation: 97-70=27, Resulting Numbers: [2, 27] Generated Node #0,3,4: 62:[2, 27] Operation: 97-70=27 Moving to Node #0,3,4 Current State: 62:[2, 27], Operations: ['86-16=70', '97-70=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[97, 35], Operations: ['86-16=70', '70/2=35'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[97, 16, 2, 86], Operations: [] Exploring Operation: 86-16=70, Resulting Numbers: [97, 2, 70] Generated Node #0,3: 62:[97, 2, 70] Operation: 86-16=70 Moving to Node #0,3 Current State: 62:[97, 2, 70], Operations: ['86-16=70'] Exploring Operation: 70/2=35, Resulting Numbers: [97, 35] Generated Node #0,3,0: 62:[97, 35] Operation: 70/2=35 Moving to Node #0,3,0 Current State: 62:[97, 35], Operations: ['86-16=70', '70/2=35'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic