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
[ 71, 95, 61, 97 ]
51
[ "97-95=2", "61*2=122", "122-71=51" ]
Current State: 51:[71, 95, 61, 97], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [71, 61, 2] Generated Node #2: [71, 61, 2] from Operation: 97-95=2 Current State: 51:[71, 61, 2], Operations: ['97-95=2'] Exploring Operation: 61*2=122, Resulting Numbers: [71, 122] Generated Node #3: [71, 122] from Operation: 61*2=122 Current State: 51:[71, 122], Operations: ['97-95=2', '61*2=122'] Exploring Operation: 122-71=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[71, 95, 61, 97], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [95, 61, 26] Generated Node #0,0: 51:[95, 61, 26] Operation: 97-71=26 Exploring Operation: 97-95=2, Resulting Numbers: [71, 61, 2] Generated Node #0,1: 51:[71, 61, 2] Operation: 97-95=2 Exploring Operation: 95-71=24, Resulting Numbers: [61, 97, 24] Generated Node #0,2: 51:[61, 97, 24] Operation: 95-71=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[71, 61, 2], Operations: ['97-95=2'] Exploring Operation: 61-2=59, Resulting Numbers: [71, 59] Generated Node #0,1,0: 51:[71, 59] Operation: 61-2=59 Exploring Operation: 71-61=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 51:[2, 10] Operation: 71-61=10 Exploring Operation: 71-2=69, Resulting Numbers: [61, 69] Generated Node #0,1,2: 51:[61, 69] Operation: 71-2=69 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[2, 10], Operations: ['97-95=2', '71-61=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[71, 59], Operations: ['97-95=2', '61-2=59'] Exploring Operation: 71*59=4189, Resulting Numbers: [4189] 4189,51 unequal: No Solution Exploring Operation: 71+59=130, Resulting Numbers: [130] 130,51 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[61, 69], Operations: ['97-95=2', '71-2=69'] Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 61*69=4209, Resulting Numbers: [4209] 4209,51 unequal: No Solution Exploring Operation: 61+69=130, Resulting Numbers: [130] 130,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[95, 61, 26], Operations: ['97-71=26'] Exploring Operation: 95-61=34, Resulting Numbers: [26, 34] Generated Node #0,0,0: 51:[26, 34] Operation: 95-61=34 Exploring Operation: 95-26=69, Resulting Numbers: [61, 69] Generated Node #0,0,1: 51:[61, 69] Operation: 95-26=69 Exploring Operation: 61-26=35, Resulting Numbers: [95, 35] Generated Node #0,0,2: 51:[95, 35] Operation: 61-26=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[26, 34], Operations: ['97-71=26', '95-61=34'] Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,51 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[61, 69], Operations: ['97-71=26', '95-26=69'] Exploring Operation: 61+69=130, Resulting Numbers: [130] 130,51 unequal: No Solution Exploring Operation: 61*69=4209, Resulting Numbers: [4209] 4209,51 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[95, 35], Operations: ['97-71=26', '61-26=35'] Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,51 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[61, 97, 24], Operations: ['95-71=24'] Exploring Operation: 97-24=73, Resulting Numbers: [61, 73] Generated Node #0,2,0: 51:[61, 73] Operation: 97-24=73 Exploring Operation: 97-61=36, Resulting Numbers: [24, 36] Generated Node #0,2,1: 51:[24, 36] Operation: 97-61=36 Exploring Operation: 61-24=37, Resulting Numbers: [97, 37] Generated Node #0,2,2: 51:[97, 37] Operation: 61-24=37 Moving to Node #0,2,1 Current State: 51:[24, 36], Operations: ['95-71=24', '97-61=36'] Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,51 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[61, 73], Operations: ['95-71=24', '97-24=73'] Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,51 unequal: No Solution Exploring Operation: 61*73=4453, Resulting Numbers: [4453] 4453,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[97, 37], Operations: ['95-71=24', '61-24=37'] Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 97+37=134, Resulting Numbers: [134] 134,51 unequal: No Solution Exploring Operation: 97*37=3589, Resulting Numbers: [3589] 3589,51 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
[ 23, 71, 2, 5 ]
88
[ "23*5=115", "115-71=44", "2*44=88" ]
Current State: 88:[23, 71, 2, 5], Operations: [] Exploring Operation: 23*5=115, Resulting Numbers: [71, 2, 115] Generated Node #2: [71, 2, 115] from Operation: 23*5=115 Current State: 88:[71, 2, 115], Operations: ['23*5=115'] Exploring Operation: 115-71=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 115-71=44 Current State: 88:[2, 44], Operations: ['23*5=115', '115-71=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[23, 71, 2, 5], Operations: [] Exploring Operation: 71+2=73, Resulting Numbers: [23, 5, 73] Generated Node #0,0: 88:[23, 5, 73] Operation: 71+2=73 Exploring Operation: 71+5=76, Resulting Numbers: [23, 2, 76] Generated Node #0,1: 88:[23, 2, 76] Operation: 71+5=76 Exploring Operation: 23+71=94, Resulting Numbers: [2, 5, 94] Generated Node #0,2: 88:[2, 5, 94] Operation: 23+71=94 Exploring Operation: 71-23=48, Resulting Numbers: [2, 5, 48] Generated Node #0,3: 88:[2, 5, 48] Operation: 71-23=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[2, 5, 48], Operations: ['71-23=48'] Exploring Operation: 48/2=24, Resulting Numbers: [5, 24] Generated Node #0,3,0: 88:[5, 24] Operation: 48/2=24 Exploring Operation: 48-5=43, Resulting Numbers: [2, 43] Generated Node #0,3,1: 88:[2, 43] Operation: 48-5=43 Exploring Operation: 2+5=7, Resulting Numbers: [48, 7] Generated Node #0,3,2: 88:[48, 7] Operation: 2+5=7 Exploring Operation: 48-2=46, Resulting Numbers: [5, 46] Generated Node #0,3,3: 88:[5, 46] Operation: 48-2=46 Moving to Node #0,3,1 Current State: 88:[2, 43], Operations: ['71-23=48', '48-5=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[5, 46], Operations: ['71-23=48', '48-2=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,88 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[5, 24], Operations: ['71-23=48', '48/2=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[48, 7], Operations: ['71-23=48', '2+5=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,88 unequal: No Solution Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[2, 5, 94], Operations: ['23+71=94'] Exploring Operation: 94-2=92, Resulting Numbers: [5, 92] Generated Node #0,2,0: 88:[5, 92] Operation: 94-2=92 Exploring Operation: 2+5=7, Resulting Numbers: [94, 7] Generated Node #0,2,1: 88:[94, 7] Operation: 2+5=7 Exploring Operation: 94/2=47, Resulting Numbers: [5, 47] Generated Node #0,2,2: 88:[5, 47] Operation: 94/2=47 Exploring Operation: 94-5=89, Resulting Numbers: [2, 89] Generated Node #0,2,3: 88:[2, 89] Operation: 94-5=89 Moving to Node #0,2,3 Current State: 88:[2, 89], Operations: ['23+71=94', '94-5=89'] Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,88 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[5, 47], Operations: ['23+71=94', '94/2=47'] Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,88 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[5, 92], Operations: ['23+71=94', '94-2=92'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 5*92=460, Resulting Numbers: [460] 460,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[94, 7], Operations: ['23+71=94', '2+5=7'] Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,88 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[23, 2, 76], Operations: ['71+5=76'] Exploring Operation: 76-23=53, Resulting Numbers: [2, 53] Generated Node #0,1,0: 88:[2, 53] Operation: 76-23=53 Exploring Operation: 2+76=78, Resulting Numbers: [23, 78] Generated Node #0,1,1: 88:[23, 78] Operation: 2+76=78 Exploring Operation: 23+76=99, Resulting Numbers: [2, 99] Generated Node #0,1,2: 88:[2, 99] Operation: 23+76=99 Exploring Operation: 76/2=38, Resulting Numbers: [23, 38] Generated Node #0,1,3: 88:[23, 38] Operation: 76/2=38 Moving to Node #0,1,3 Current State: 88:[23, 38], Operations: ['71+5=76', '76/2=38'] Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,88 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[2, 53], Operations: ['71+5=76', '76-23=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[2, 99], Operations: ['71+5=76', '23+76=99'] Exploring Operation: 2+99=101, Resulting Numbers: [101] 101,88 unequal: No Solution Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 2*99=198, Resulting Numbers: [198] 198,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[23, 78], Operations: ['71+5=76', '2+76=78'] Exploring Operation: 23*78=1794, Resulting Numbers: [1794] 1794,88 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,88 unequal: No Solution Exploring Operation: 23+78=101, Resulting Numbers: [101] 101,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[23, 5, 73], Operations: ['71+2=73'] Exploring Operation: 5+73=78, Resulting Numbers: [23, 78] Generated Node #0,0,0: 88:[23, 78] Operation: 5+73=78 Exploring Operation: 23-5=18, Resulting Numbers: [73, 18] Generated Node #0,0,1: 88:[73, 18] Operation: 23-5=18 Exploring Operation: 23+73=96, Resulting Numbers: [5, 96] Generated Node #0,0,2: 88:[5, 96] Operation: 23+73=96 Exploring Operation: 73-23=50, Resulting Numbers: [5, 50] Generated Node #0,0,3: 88:[5, 50] Operation: 73-23=50 Moving to Node #0,0,3 Current State: 88:[5, 50], Operations: ['71+2=73', '73-23=50'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,88 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[5, 96], Operations: ['71+2=73', '23+73=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,88 unequal: No Solution Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[23, 78], Operations: ['71+2=73', '5+73=78'] Exploring Operation: 23+78=101, Resulting Numbers: [101] 101,88 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,88 unequal: No Solution Exploring Operation: 23*78=1794, Resulting Numbers: [1794] 1794,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[73, 18], Operations: ['71+2=73', '23-5=18'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,88 unequal: No Solution Exploring Operation: 73+18=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 73*18=1314, Resulting Numbers: [1314] 1314,88 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
[ 50, 26, 21, 27 ]
24
[ "50-26=24", "21+27=48", "48-24=24" ]
Current State: 24:[50, 26, 21, 27], Operations: [] Exploring Operation: 50-26=24, Resulting Numbers: [21, 27, 24] Generated Node #2: [21, 27, 24] from Operation: 50-26=24 Current State: 24:[21, 27, 24], Operations: ['50-26=24'] Exploring Operation: 21+27=48, Resulting Numbers: [24, 48] Generated Node #3: [24, 48] from Operation: 21+27=48 Current State: 24:[24, 48], Operations: ['50-26=24', '21+27=48'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[50, 26, 21, 27], Operations: [] Exploring Operation: 50-27=23, Resulting Numbers: [26, 21, 23] Generated Node #0,0: 24:[26, 21, 23] Operation: 50-27=23 Exploring Operation: 50-26=24, Resulting Numbers: [21, 27, 24] Generated Node #0,1: 24:[21, 27, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[26, 21, 23], Operations: ['50-27=23'] Exploring Operation: 26-21=5, Resulting Numbers: [23, 5] Generated Node #0,0,0: 24:[23, 5] Operation: 26-21=5 Exploring Operation: 23-21=2, Resulting Numbers: [26, 2] Generated Node #0,0,1: 24:[26, 2] Operation: 23-21=2 Moving to Node #0,0,0 Current State: 24:[23, 5], Operations: ['50-27=23', '26-21=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[26, 2], Operations: ['50-27=23', '23-21=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[50, 26, 21, 27], Operations: [] Exploring Operation: 50-27=23, Resulting Numbers: [26, 21, 23] Generated Node #0,0: 24:[26, 21, 23] Operation: 50-27=23 Moving to Node #0,0 Current State: 24:[26, 21, 23], Operations: ['50-27=23'] Exploring Operation: 23-21=2, Resulting Numbers: [26, 2] Generated Node #0,0,1: 24:[26, 2] Operation: 23-21=2 Moving to Node #0,0,1 Current State: 24:[26, 2], Operations: ['50-27=23', '23-21=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 13, 39, 68, 52 ]
68
[ "13+39=52", "68+52=120", "120-52=68" ]
Current State: 68:[13, 39, 68, 52], Operations: [] Exploring Operation: 13+39=52, Resulting Numbers: [68, 52, 52] Generated Node #2: [68, 52, 52] from Operation: 13+39=52 Current State: 68:[68, 52, 52], Operations: ['13+39=52'] Exploring Operation: 68+52=120, Resulting Numbers: [120] 120,68 equal: Goal Reached Exploring Operation: 120-52=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[13, 39, 68, 52], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [39, 68, 4] Generated Node #0,0: 68:[39, 68, 4] Operation: 52/13=4 Moving to Node #0,0 Current State: 68:[39, 68, 4], Operations: ['52/13=4'] Exploring Operation: 39-4=35, Resulting Numbers: [68, 35] Generated Node #0,0,0: 68:[68, 35] Operation: 39-4=35 Moving to Node #0,0,0 Current State: 68:[68, 35], Operations: ['52/13=4', '39-4=35'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,68 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 66, 87, 93, 90 ]
26
[ "66+90=156", "93-87=6", "156/6=26" ]
Current State: 26:[66, 87, 93, 90], Operations: [] Exploring Operation: 66+90=156, Resulting Numbers: [87, 93, 156] Generated Node #2: [87, 93, 156] from Operation: 66+90=156 Current State: 26:[87, 93, 156], Operations: ['66+90=156'] Exploring Operation: 93-87=6, Resulting Numbers: [156, 6] Generated Node #3: [156, 6] from Operation: 93-87=6 Current State: 26:[156, 6], Operations: ['66+90=156', '93-87=6'] Exploring Operation: 156/6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[66, 87, 93, 90], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [66, 87, 3] Generated Node #0,0: 26:[66, 87, 3] Operation: 93-90=3 Exploring Operation: 90-66=24, Resulting Numbers: [87, 93, 24] Generated Node #0,1: 26:[87, 93, 24] Operation: 90-66=24 Exploring Operation: 93-87=6, Resulting Numbers: [66, 90, 6] Generated Node #0,2: 26:[66, 90, 6] Operation: 93-87=6 Exploring Operation: 93-66=27, Resulting Numbers: [87, 90, 27] Generated Node #0,3: 26:[87, 90, 27] Operation: 93-66=27 Exploring Operation: 90-87=3, Resulting Numbers: [66, 93, 3] Generated Node #0,4: 26:[66, 93, 3] Operation: 90-87=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[66, 87, 3], Operations: ['93-90=3'] Exploring Operation: 87-66=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 26:[3, 21] Operation: 87-66=21 Exploring Operation: 66/3=22, Resulting Numbers: [87, 22] Generated Node #0,0,1: 26:[87, 22] Operation: 66/3=22 Exploring Operation: 66-3=63, Resulting Numbers: [87, 63] Generated Node #0,0,2: 26:[87, 63] Operation: 66-3=63 Exploring Operation: 87-3=84, Resulting Numbers: [66, 84] Generated Node #0,0,3: 26:[66, 84] Operation: 87-3=84 Exploring Operation: 87/3=29, Resulting Numbers: [66, 29] Generated Node #0,0,4: 26:[66, 29] Operation: 87/3=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[3, 21], Operations: ['93-90=3', '87-66=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,26 unequal: No Solution No 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: 26:[66, 29], Operations: ['93-90=3', '87/3=29'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,26 unequal: No Solution Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,26 unequal: No Solution No 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: 26:[87, 22], Operations: ['93-90=3', '66/3=22'] Exploring Operation: 87+22=109, Resulting Numbers: [109] 109,26 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 87*22=1914, Resulting Numbers: [1914] 1914,26 unequal: No Solution No 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: 26:[87, 63], Operations: ['93-90=3', '66-3=63'] Exploring Operation: 87*63=5481, Resulting Numbers: [5481] 5481,26 unequal: No Solution Exploring Operation: 87+63=150, Resulting Numbers: [150] 150,26 unequal: No Solution Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,26 unequal: No Solution No 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: 26:[66, 84], Operations: ['93-90=3', '87-3=84'] Exploring Operation: 66+84=150, Resulting Numbers: [150] 150,26 unequal: No Solution Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 66*84=5544, Resulting Numbers: [5544] 5544,26 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: 26:[66, 90, 6], Operations: ['93-87=6'] Exploring Operation: 90-66=24, Resulting Numbers: [6, 24] Generated Node #0,2,0: 26:[6, 24] Operation: 90-66=24 Exploring Operation: 90/6=15, Resulting Numbers: [66, 15] Generated Node #0,2,1: 26:[66, 15] Operation: 90/6=15 Exploring Operation: 66/6=11, Resulting Numbers: [90, 11] Generated Node #0,2,2: 26:[90, 11] Operation: 66/6=11 Exploring Operation: 90-6=84, Resulting Numbers: [66, 84] Generated Node #0,2,3: 26:[66, 84] Operation: 90-6=84 Exploring Operation: 66-6=60, Resulting Numbers: [90, 60] Generated Node #0,2,4: 26:[90, 60] Operation: 66-6=60 Moving to Node #0,2,0 Current State: 26:[6, 24], Operations: ['93-87=6', '90-66=24'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[66, 15], Operations: ['93-87=6', '90/6=15'] Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,26 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[90, 11], Operations: ['93-87=6', '66/6=11'] Exploring Operation: 90+11=101, Resulting Numbers: [101] 101,26 unequal: No Solution Exploring Operation: 90*11=990, Resulting Numbers: [990] 990,26 unequal: No Solution Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[66, 84], Operations: ['93-87=6', '90-6=84'] Exploring Operation: 66+84=150, Resulting Numbers: [150] 150,26 unequal: No Solution Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 66*84=5544, Resulting Numbers: [5544] 5544,26 unequal: No Solution Moving to Node #0,2,4 Current State: 26:[90, 60], Operations: ['93-87=6', '66-6=60'] Exploring Operation: 90+60=150, Resulting Numbers: [150] 150,26 unequal: No Solution Exploring Operation: 90*60=5400, Resulting Numbers: [5400] 5400,26 unequal: No Solution Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,26 unequal: No Solution No 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: 26:[66, 93, 3], Operations: ['90-87=3'] Exploring Operation: 93/3=31, Resulting Numbers: [66, 31] Generated Node #0,4,0: 26:[66, 31] Operation: 93/3=31 Exploring Operation: 66/3=22, Resulting Numbers: [93, 22] Generated Node #0,4,1: 26:[93, 22] Operation: 66/3=22 Exploring Operation: 93-66=27, Resulting Numbers: [3, 27] Generated Node #0,4,2: 26:[3, 27] Operation: 93-66=27 Exploring Operation: 66-3=63, Resulting Numbers: [93, 63] Generated Node #0,4,3: 26:[93, 63] Operation: 66-3=63 Exploring Operation: 93-3=90, Resulting Numbers: [66, 90] Generated Node #0,4,4: 26:[66, 90] Operation: 93-3=90 Moving to Node #0,4,2 Current State: 26:[3, 27], Operations: ['90-87=3', '93-66=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,26 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,26 unequal: No Solution Moving to Node #0,4,0 Current State: 26:[66, 31], Operations: ['90-87=3', '93/3=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,26 unequal: No Solution Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,26 unequal: No Solution Moving to Node #0,4,1 Current State: 26:[93, 22], Operations: ['90-87=3', '66/3=22'] Exploring Operation: 93*22=2046, Resulting Numbers: [2046] 2046,26 unequal: No Solution Exploring Operation: 93+22=115, Resulting Numbers: [115] 115,26 unequal: No Solution Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,26 unequal: No Solution Moving to Node #0,4,3 Current State: 26:[93, 63], Operations: ['90-87=3', '66-3=63'] Exploring Operation: 93+63=156, Resulting Numbers: [156] 156,26 unequal: No Solution Exploring Operation: 93*63=5859, Resulting Numbers: [5859] 5859,26 unequal: No Solution Exploring Operation: 93-63=30, Resulting Numbers: [30] 30,26 unequal: No Solution Moving to Node #0,4,4 Current State: 26:[66, 90], Operations: ['90-87=3', '93-3=90'] Exploring Operation: 90-66=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 66+90=156, Resulting Numbers: [156] 156,26 unequal: No Solution Exploring Operation: 66*90=5940, Resulting Numbers: [5940] 5940,26 unequal: No Solution No 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: 26:[87, 90, 27], Operations: ['93-66=27'] Exploring Operation: 90-87=3, Resulting Numbers: [27, 3] Generated Node #0,3,0: 26:[27, 3] Operation: 90-87=3 Exploring Operation: 90-27=63, Resulting Numbers: [87, 63] Generated Node #0,3,1: 26:[87, 63] Operation: 90-27=63 Exploring Operation: 87+90=177, Resulting Numbers: [27, 177] Generated Node #0,3,2: 26:[27, 177] Operation: 87+90=177 Exploring Operation: 87+27=114, Resulting Numbers: [90, 114] Generated Node #0,3,3: 26:[90, 114] Operation: 87+27=114 Exploring Operation: 87-27=60, Resulting Numbers: [90, 60] Generated Node #0,3,4: 26:[90, 60] Operation: 87-27=60 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 26:[27, 3], Operations: ['93-66=27', '90-87=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,26 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,26 unequal: No Solution No 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: 26:[87, 63], Operations: ['93-66=27', '90-27=63'] Exploring Operation: 87*63=5481, Resulting Numbers: [5481] 5481,26 unequal: No Solution Exploring Operation: 87+63=150, Resulting Numbers: [150] 150,26 unequal: No Solution Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,26 unequal: No Solution No 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: 26:[90, 60], Operations: ['93-66=27', '87-27=60'] Exploring Operation: 90+60=150, Resulting Numbers: [150] 150,26 unequal: No Solution Exploring Operation: 90*60=5400, Resulting Numbers: [5400] 5400,26 unequal: No Solution Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,26 unequal: No Solution No 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: 26:[27, 177], Operations: ['93-66=27', '87+90=177'] Exploring Operation: 27*177=4779, Resulting Numbers: [4779] 4779,26 unequal: No Solution Exploring Operation: 27+177=204, Resulting Numbers: [204] 204,26 unequal: No Solution Exploring Operation: 177-27=150, Resulting Numbers: [150] 150,26 unequal: No Solution No 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: 26:[90, 114], Operations: ['93-66=27', '87+27=114'] Exploring Operation: 90*114=10260, Resulting Numbers: [10260] 10260,26 unequal: No Solution Exploring Operation: 90+114=204, Resulting Numbers: [204] 204,26 unequal: No Solution Exploring Operation: 114-90=24, Resulting Numbers: [24] 24,26 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: 26:[87, 93, 24], Operations: ['90-66=24'] Exploring Operation: 87+24=111, Resulting Numbers: [93, 111] Generated Node #0,1,0: 26:[93, 111] Operation: 87+24=111 Exploring Operation: 87-24=63, Resulting Numbers: [93, 63] Generated Node #0,1,1: 26:[93, 63] Operation: 87-24=63 Exploring Operation: 93-24=69, Resulting Numbers: [87, 69] Generated Node #0,1,2: 26:[87, 69] Operation: 93-24=69 Exploring Operation: 93+24=117, Resulting Numbers: [87, 117] Generated Node #0,1,3: 26:[87, 117] Operation: 93+24=117 Exploring Operation: 93-87=6, Resulting Numbers: [24, 6] Generated Node #0,1,4: 26:[24, 6] Operation: 93-87=6 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 26:[24, 6], Operations: ['90-66=24', '93-87=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,26 unequal: No Solution No 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: 26:[93, 63], Operations: ['90-66=24', '87-24=63'] Exploring Operation: 93+63=156, Resulting Numbers: [156] 156,26 unequal: No Solution Exploring Operation: 93*63=5859, Resulting Numbers: [5859] 5859,26 unequal: No Solution Exploring Operation: 93-63=30, Resulting Numbers: [30] 30,26 unequal: No Solution No 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: 26:[87, 69], Operations: ['90-66=24', '93-24=69'] Exploring Operation: 87+69=156, Resulting Numbers: [156] 156,26 unequal: No Solution Exploring Operation: 87-69=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 87*69=6003, Resulting Numbers: [6003] 6003,26 unequal: No Solution No 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: 26:[93, 111], Operations: ['90-66=24', '87+24=111'] Exploring Operation: 111-93=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 93*111=10323, Resulting Numbers: [10323] 10323,26 unequal: No Solution Exploring Operation: 93+111=204, Resulting Numbers: [204] 204,26 unequal: No Solution No 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: 26:[87, 117], Operations: ['90-66=24', '93+24=117'] Exploring Operation: 87*117=10179, Resulting Numbers: [10179] 10179,26 unequal: No Solution Exploring Operation: 117-87=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 87+117=204, Resulting Numbers: [204] 204,26 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
[ 42, 22, 29, 1 ]
33
[ "42*22=924", "29-1=28", "924/28=33" ]
Current State: 33:[42, 22, 29, 1], Operations: [] Exploring Operation: 42*22=924, Resulting Numbers: [29, 1, 924] Generated Node #2: [29, 1, 924] from Operation: 42*22=924 Current State: 33:[29, 1, 924], Operations: ['42*22=924'] Exploring Operation: 29-1=28, Resulting Numbers: [924, 28] Generated Node #3: [924, 28] from Operation: 29-1=28 Current State: 33:[924, 28], Operations: ['42*22=924', '29-1=28'] Exploring Operation: 924/28=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[42, 22, 29, 1], Operations: [] Exploring Operation: 42-29=13, Resulting Numbers: [22, 1, 13] Generated Node #0,0: 33:[22, 1, 13] Operation: 42-29=13 Exploring Operation: 29-22=7, Resulting Numbers: [42, 1, 7] Generated Node #0,1: 33:[42, 1, 7] Operation: 29-22=7 Exploring Operation: 42-22=20, Resulting Numbers: [29, 1, 20] Generated Node #0,2: 33:[29, 1, 20] Operation: 42-22=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[22, 1, 13], Operations: ['42-29=13'] Exploring Operation: 22-13=9, Resulting Numbers: [1, 9] Generated Node #0,0,0: 33:[1, 9] Operation: 22-13=9 Exploring Operation: 22+13=35, Resulting Numbers: [1, 35] Generated Node #0,0,1: 33:[1, 35] Operation: 22+13=35 Exploring Operation: 22+1=23, Resulting Numbers: [13, 23] Generated Node #0,0,2: 33:[13, 23] Operation: 22+1=23 Moving to Node #0,0,0 Current State: 33:[1, 9], Operations: ['42-29=13', '22-13=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[1, 35], Operations: ['42-29=13', '22+13=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[13, 23], Operations: ['42-29=13', '22+1=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[42, 1, 7], Operations: ['29-22=7'] Exploring Operation: 42-7=35, Resulting Numbers: [1, 35] Generated Node #0,1,0: 33:[1, 35] Operation: 42-7=35 Exploring Operation: 42/7=6, Resulting Numbers: [1, 6] Generated Node #0,1,1: 33:[1, 6] Operation: 42/7=6 Exploring Operation: 42-1=41, Resulting Numbers: [7, 41] Generated Node #0,1,2: 33:[7, 41] Operation: 42-1=41 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[1, 35], Operations: ['29-22=7', '42-7=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,33 unequal: No Solution No 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: 33:[1, 6], Operations: ['29-22=7', '42/7=6'] Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,33 unequal: No Solution No 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: 33:[7, 41], Operations: ['29-22=7', '42-1=41'] Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,33 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[29, 1, 20], Operations: ['42-22=20'] Exploring Operation: 29-20=9, Resulting Numbers: [1, 9] Generated Node #0,2,0: 33:[1, 9] Operation: 29-20=9 Exploring Operation: 29+1=30, Resulting Numbers: [20, 30] Generated Node #0,2,1: 33:[20, 30] Operation: 29+1=30 Exploring Operation: 20-1=19, Resulting Numbers: [29, 19] Generated Node #0,2,2: 33:[29, 19] Operation: 20-1=19 Moving to Node #0,2,0 Current State: 33:[1, 9], Operations: ['42-22=20', '29-20=9'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[20, 30], Operations: ['42-22=20', '29+1=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,33 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[29, 19], Operations: ['42-22=20', '20-1=19'] Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 29*19=551, Resulting Numbers: [551] 551,33 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,33 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
[ 48, 53, 41, 2 ]
34
[ "53-48=5", "41-2=39", "39-5=34" ]
Current State: 34:[48, 53, 41, 2], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [41, 2, 5] Generated Node #2: [41, 2, 5] from Operation: 53-48=5 Current State: 34:[41, 2, 5], Operations: ['53-48=5'] Exploring Operation: 41-2=39, Resulting Numbers: [5, 39] Generated Node #3: [5, 39] from Operation: 41-2=39 Current State: 34:[5, 39], Operations: ['53-48=5', '41-2=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[48, 53, 41, 2], Operations: [] Exploring Operation: 53-41=12, Resulting Numbers: [48, 2, 12] Generated Node #0,0: 34:[48, 2, 12] Operation: 53-41=12 Exploring Operation: 53-48=5, Resulting Numbers: [41, 2, 5] Generated Node #0,1: 34:[41, 2, 5] Operation: 53-48=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[41, 2, 5], Operations: ['53-48=5'] Exploring Operation: 41-2=39, Resulting Numbers: [5, 39] Generated Node #0,1,0: 34:[5, 39] Operation: 41-2=39 Exploring Operation: 41-5=36, Resulting Numbers: [2, 36] Generated Node #0,1,1: 34:[2, 36] Operation: 41-5=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[2, 36], Operations: ['53-48=5', '41-5=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[48, 53, 41, 2], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [41, 2, 5] Generated Node #0,1: 34:[41, 2, 5] Operation: 53-48=5 Moving to Node #0,1 Current State: 34:[41, 2, 5], Operations: ['53-48=5'] Exploring Operation: 41-5=36, Resulting Numbers: [2, 36] Generated Node #0,1,1: 34:[2, 36] Operation: 41-5=36 Moving to Node #0,1,1 Current State: 34:[2, 36], Operations: ['53-48=5', '41-5=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 1, 4, 46, 85 ]
34
[ "1+4=5", "85-46=39", "39-5=34" ]
Current State: 34:[1, 4, 46, 85], Operations: [] Exploring Operation: 1+4=5, Resulting Numbers: [46, 85, 5] Generated Node #2: [46, 85, 5] from Operation: 1+4=5 Current State: 34:[46, 85, 5], Operations: ['1+4=5'] Exploring Operation: 85-46=39, Resulting Numbers: [5, 39] Generated Node #3: [5, 39] from Operation: 85-46=39 Current State: 34:[5, 39], Operations: ['1+4=5', '85-46=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[1, 4, 46, 85], Operations: [] Exploring Operation: 85-4=81, Resulting Numbers: [1, 46, 81] Generated Node #0,0: 34:[1, 46, 81] Operation: 85-4=81 Exploring Operation: 85-46=39, Resulting Numbers: [1, 4, 39] Generated Node #0,1: 34:[1, 4, 39] Operation: 85-46=39 Exploring Operation: 4-1=3, Resulting Numbers: [46, 85, 3] Generated Node #0,2: 34:[46, 85, 3] Operation: 4-1=3 Exploring Operation: 46-4=42, Resulting Numbers: [1, 85, 42] Generated Node #0,3: 34:[1, 85, 42] Operation: 46-4=42 Moving to Node #0,1 Current State: 34:[1, 4, 39], Operations: ['85-46=39'] Exploring Operation: 4-1=3, Resulting Numbers: [39, 3] Generated Node #0,1,0: 34:[39, 3] Operation: 4-1=3 Exploring Operation: 1*4=4, Resulting Numbers: [39, 4] Generated Node #0,1,1: 34:[39, 4] Operation: 1*4=4 Exploring Operation: 39-4=35, Resulting Numbers: [1, 35] Generated Node #0,1,2: 34:[1, 35] Operation: 39-4=35 Exploring Operation: 39-1=38, Resulting Numbers: [4, 38] Generated Node #0,1,3: 34:[4, 38] Operation: 39-1=38 Moving to Node #0,3 Current State: 34:[1, 85, 42], Operations: ['46-4=42'] Exploring Operation: 85-1=84, Resulting Numbers: [42, 84] Generated Node #0,3,0: 34:[42, 84] Operation: 85-1=84 Exploring Operation: 1*85=85, Resulting Numbers: [42, 85] Generated Node #0,3,1: 34:[42, 85] Operation: 1*85=85 Exploring Operation: 42-1=41, Resulting Numbers: [85, 41] Generated Node #0,3,2: 34:[85, 41] Operation: 42-1=41 Exploring Operation: 85-42=43, Resulting Numbers: [1, 43] Generated Node #0,3,3: 34:[1, 43] Operation: 85-42=43 Moving to Node #0,0 Current State: 34:[1, 46, 81], Operations: ['85-4=81'] Exploring Operation: 1*46=46, Resulting Numbers: [81, 46] Generated Node #0,0,0: 34:[81, 46] Operation: 1*46=46 Exploring Operation: 81-46=35, Resulting Numbers: [1, 35] Generated Node #0,0,1: 34:[1, 35] Operation: 81-46=35 Exploring Operation: 81-1=80, Resulting Numbers: [46, 80] Generated Node #0,0,2: 34:[46, 80] Operation: 81-1=80 Exploring Operation: 46-1=45, Resulting Numbers: [81, 45] Generated Node #0,0,3: 34:[81, 45] Operation: 46-1=45 Moving to Node #0,2 Current State: 34:[46, 85, 3], Operations: ['4-1=3'] Exploring Operation: 85-46=39, Resulting Numbers: [3, 39] Generated Node #0,2,0: 34:[3, 39] Operation: 85-46=39 Exploring Operation: 46+3=49, Resulting Numbers: [85, 49] Generated Node #0,2,1: 34:[85, 49] Operation: 46+3=49 Exploring Operation: 85-3=82, Resulting Numbers: [46, 82] Generated Node #0,2,2: 34:[46, 82] Operation: 85-3=82 Exploring Operation: 46-3=43, Resulting Numbers: [85, 43] Generated Node #0,2,3: 34:[85, 43] Operation: 46-3=43 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[3, 39], Operations: ['4-1=3', '85-46=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,34 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,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:[46, 82], Operations: ['4-1=3', '85-3=82'] Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 46*82=3772, Resulting Numbers: [3772] 3772,34 unequal: No Solution Exploring Operation: 46+82=128, Resulting Numbers: [128] 128,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,3 Current State: 34:[85, 43], Operations: ['4-1=3', '46-3=43'] Exploring Operation: 85-43=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 85*43=3655, Resulting Numbers: [3655] 3655,34 unequal: No Solution Exploring Operation: 85+43=128, Resulting Numbers: [128] 128,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:[85, 49], Operations: ['4-1=3', '46+3=49'] Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 85*49=4165, Resulting Numbers: [4165] 4165,34 unequal: No Solution Exploring Operation: 85+49=134, Resulting Numbers: [134] 134,34 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: 34:[1, 35], Operations: ['85-46=39', '39-4=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[1, 4, 46, 85], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [1, 4, 39] Generated Node #0,1: 34:[1, 4, 39] Operation: 85-46=39 Moving to Node #0,1 Current State: 34:[1, 4, 39], Operations: ['85-46=39'] Exploring Operation: 39-4=35, Resulting Numbers: [1, 35] Generated Node #0,1,2: 34:[1, 35] Operation: 39-4=35 Moving to Node #0,1,2 Current State: 34:[1, 35], Operations: ['85-46=39', '39-4=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 10, 18, 62, 14 ]
68
[ "18-10=8", "62+14=76", "76-8=68" ]
Current State: 68:[10, 18, 62, 14], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [62, 14, 8] Generated Node #2: [62, 14, 8] from Operation: 18-10=8 Current State: 68:[62, 14, 8], Operations: ['18-10=8'] Exploring Operation: 62+14=76, Resulting Numbers: [8, 76] Generated Node #3: [8, 76] from Operation: 62+14=76 Current State: 68:[8, 76], Operations: ['18-10=8', '62+14=76'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[10, 18, 62, 14], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [18, 62, 4] Generated Node #0,0: 68:[18, 62, 4] Operation: 14-10=4 Exploring Operation: 18-10=8, Resulting Numbers: [62, 14, 8] Generated Node #0,1: 68:[62, 14, 8] Operation: 18-10=8 Exploring Operation: 10+14=24, Resulting Numbers: [18, 62, 24] Generated Node #0,2: 68:[18, 62, 24] Operation: 10+14=24 Exploring Operation: 18-14=4, Resulting Numbers: [10, 62, 4] Generated Node #0,3: 68:[10, 62, 4] Operation: 18-14=4 Exploring Operation: 10+62=72, Resulting Numbers: [18, 14, 72] Generated Node #0,4: 68:[18, 14, 72] Operation: 10+62=72 Moving to Node #0,0 Current State: 68:[18, 62, 4], Operations: ['14-10=4'] Exploring Operation: 62+4=66, Resulting Numbers: [18, 66] Generated Node #0,0,0: 68:[18, 66] Operation: 62+4=66 Exploring Operation: 18*4=72, Resulting Numbers: [62, 72] Generated Node #0,0,1: 68:[62, 72] Operation: 18*4=72 Exploring Operation: 62-18=44, Resulting Numbers: [4, 44] Generated Node #0,0,2: 68:[4, 44] Operation: 62-18=44 Exploring Operation: 18+4=22, Resulting Numbers: [62, 22] Generated Node #0,0,3: 68:[62, 22] Operation: 18+4=22 Exploring Operation: 18-4=14, Resulting Numbers: [62, 14] Generated Node #0,0,4: 68:[62, 14] Operation: 18-4=14 Moving to Node #0,4 Current State: 68:[18, 14, 72], Operations: ['10+62=72'] Exploring Operation: 72-18=54, Resulting Numbers: [14, 54] Generated Node #0,4,0: 68:[14, 54] Operation: 72-18=54 Exploring Operation: 18+14=32, Resulting Numbers: [72, 32] Generated Node #0,4,1: 68:[72, 32] Operation: 18+14=32 Exploring Operation: 72-14=58, Resulting Numbers: [18, 58] Generated Node #0,4,2: 68:[18, 58] Operation: 72-14=58 Exploring Operation: 18-14=4, Resulting Numbers: [72, 4] Generated Node #0,4,3: 68:[72, 4] Operation: 18-14=4 Exploring Operation: 72/18=4, Resulting Numbers: [14, 4] Generated Node #0,4,4: 68:[14, 4] Operation: 72/18=4 Moving to Node #0,3 Current State: 68:[10, 62, 4], Operations: ['18-14=4'] Exploring Operation: 10+4=14, Resulting Numbers: [62, 14] Generated Node #0,3,0: 68:[62, 14] Operation: 10+4=14 Exploring Operation: 10*4=40, Resulting Numbers: [62, 40] Generated Node #0,3,1: 68:[62, 40] Operation: 10*4=40 Exploring Operation: 10+62=72, Resulting Numbers: [4, 72] Generated Node #0,3,2: 68:[4, 72] Operation: 10+62=72 Exploring Operation: 62+4=66, Resulting Numbers: [10, 66] Generated Node #0,3,3: 68:[10, 66] Operation: 62+4=66 Exploring Operation: 10-4=6, Resulting Numbers: [62, 6] Generated Node #0,3,4: 68:[62, 6] Operation: 10-4=6 Moving to Node #0,1 Current State: 68:[62, 14, 8], Operations: ['18-10=8'] Exploring Operation: 62+14=76, Resulting Numbers: [8, 76] Generated Node #0,1,0: 68:[8, 76] Operation: 62+14=76 Exploring Operation: 14+8=22, Resulting Numbers: [62, 22] Generated Node #0,1,1: 68:[62, 22] Operation: 14+8=22 Exploring Operation: 14-8=6, Resulting Numbers: [62, 6] Generated Node #0,1,2: 68:[62, 6] Operation: 14-8=6 Exploring Operation: 62-8=54, Resulting Numbers: [14, 54] Generated Node #0,1,3: 68:[14, 54] Operation: 62-8=54 Exploring Operation: 62+8=70, Resulting Numbers: [14, 70] Generated Node #0,1,4: 68:[14, 70] Operation: 62+8=70 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 68:[14, 70], Operations: ['18-10=8', '62+8=70'] Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 14*70=980, Resulting Numbers: [980] 980,68 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 14+70=84, Resulting Numbers: [84] 84,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[62, 6], Operations: ['18-10=8', '14-8=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[10, 18, 62, 14], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [62, 14, 8] Generated Node #0,1: 68:[62, 14, 8] Operation: 18-10=8 Moving to Node #0,1 Current State: 68:[62, 14, 8], Operations: ['18-10=8'] Exploring Operation: 14-8=6, Resulting Numbers: [62, 6] Generated Node #0,1,2: 68:[62, 6] Operation: 14-8=6 Moving to Node #0,1,2 Current State: 68:[62, 6], Operations: ['18-10=8', '14-8=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_5
sum_heuristic
[ 55, 63, 50, 27 ]
99
[ "63+27=90", "55*90=4950", "4950/50=99" ]
Current State: 99:[55, 63, 50, 27], Operations: [] Exploring Operation: 63+27=90, Resulting Numbers: [55, 50, 90] Generated Node #2: [55, 50, 90] from Operation: 63+27=90 Current State: 99:[55, 50, 90], Operations: ['63+27=90'] Exploring Operation: 55*90=4950, Resulting Numbers: [50, 4950] Generated Node #3: [50, 4950] from Operation: 55*90=4950 Current State: 99:[50, 4950], Operations: ['63+27=90', '55*90=4950'] Exploring Operation: 4950/50=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[55, 63, 50, 27], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [50, 27, 8] Generated Node #0,0: 99:[50, 27, 8] Operation: 63-55=8 Moving to Node #0,0 Current State: 99:[50, 27, 8], Operations: ['63-55=8'] Exploring Operation: 50-27=23, Resulting Numbers: [8, 23] Generated Node #0,0,0: 99:[8, 23] Operation: 50-27=23 Moving to Node #0,0,0 Current State: 99:[8, 23], Operations: ['63-55=8', '50-27=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,99 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 8, 66, 8, 3 ]
18
[ "8+8=16", "3*16=48", "66-48=18" ]
Current State: 18:[8, 66, 8, 3], Operations: [] Exploring Operation: 8+8=16, Resulting Numbers: [66, 3, 16] Generated Node #2: [66, 3, 16] from Operation: 8+8=16 Current State: 18:[66, 3, 16], Operations: ['8+8=16'] Exploring Operation: 3*16=48, Resulting Numbers: [66, 48] Generated Node #3: [66, 48] from Operation: 3*16=48 Current State: 18:[66, 48], Operations: ['8+8=16', '3*16=48'] Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[8, 66, 8, 3], Operations: [] Exploring Operation: 66-8=58, Resulting Numbers: [8, 3, 58] Generated Node #0,0: 18:[8, 3, 58] Operation: 66-8=58 Exploring Operation: 66/3=22, Resulting Numbers: [8, 8, 22] Generated Node #0,1: 18:[8, 8, 22] Operation: 66/3=22 Exploring Operation: 66-8=58, Resulting Numbers: [8, 3, 58] Generated Node #0,2: 18:[8, 3, 58] Operation: 66-8=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[8, 8, 22], Operations: ['66/3=22'] Exploring Operation: 22-8=14, Resulting Numbers: [8, 14] Generated Node #0,1,0: 18:[8, 14] Operation: 22-8=14 Exploring Operation: 8/8=1, Resulting Numbers: [22, 1] Generated Node #0,1,1: 18:[22, 1] Operation: 8/8=1 Exploring Operation: 22-8=14, Resulting Numbers: [8, 14] Generated Node #0,1,2: 18:[8, 14] Operation: 22-8=14 Moving to Node #0,1,0 Current State: 18:[8, 14], Operations: ['66/3=22', '22-8=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,18 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[22, 1], Operations: ['66/3=22', '8/8=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[8, 14], Operations: ['66/3=22', '22-8=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[8, 3, 58], Operations: ['66-8=58'] Exploring Operation: 8-3=5, Resulting Numbers: [58, 5] Generated Node #0,0,0: 18:[58, 5] Operation: 8-3=5 Exploring Operation: 58-8=50, Resulting Numbers: [3, 50] Generated Node #0,0,1: 18:[3, 50] Operation: 58-8=50 Exploring Operation: 58-3=55, Resulting Numbers: [8, 55] Generated Node #0,0,2: 18:[8, 55] Operation: 58-3=55 Moving to Node #0,0,1 Current State: 18:[3, 50], Operations: ['66-8=58', '58-8=50'] Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[8, 55], Operations: ['66-8=58', '58-3=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,18 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[58, 5], Operations: ['66-8=58', '8-3=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,18 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[8, 3, 58], Operations: ['66-8=58'] Exploring Operation: 58-8=50, Resulting Numbers: [3, 50] Generated Node #0,2,0: 18:[3, 50] Operation: 58-8=50 Exploring Operation: 58-3=55, Resulting Numbers: [8, 55] Generated Node #0,2,1: 18:[8, 55] Operation: 58-3=55 Exploring Operation: 8-3=5, Resulting Numbers: [58, 5] Generated Node #0,2,2: 18:[58, 5] Operation: 8-3=5 Moving to Node #0,2,0 Current State: 18:[3, 50], Operations: ['66-8=58', '58-8=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[8, 55], Operations: ['66-8=58', '58-3=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,18 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[58, 5], Operations: ['66-8=58', '8-3=5'] Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,18 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 9, 40, 10, 46 ]
84
[ "9*10=90", "46-40=6", "90-6=84" ]
Current State: 84:[9, 40, 10, 46], Operations: [] Exploring Operation: 9*10=90, Resulting Numbers: [40, 46, 90] Generated Node #2: [40, 46, 90] from Operation: 9*10=90 Current State: 84:[40, 46, 90], Operations: ['9*10=90'] Exploring Operation: 46-40=6, Resulting Numbers: [90, 6] Generated Node #3: [90, 6] from Operation: 46-40=6 Current State: 84:[90, 6], Operations: ['9*10=90', '46-40=6'] Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[9, 40, 10, 46], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [9, 10, 6] Generated Node #0,0: 84:[9, 10, 6] Operation: 46-40=6 Moving to Node #0,0 Current State: 84:[9, 10, 6], Operations: ['46-40=6'] Exploring Operation: 10-9=1, Resulting Numbers: [6, 1] Generated Node #0,0,0: 84:[6, 1] Operation: 10-9=1 Moving to Node #0,0,0 Current State: 84:[6, 1], Operations: ['46-40=6', '10-9=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 33, 9, 4, 15 ]
90
[ "33-9=24", "24/4=6", "15*6=90" ]
Current State: 90:[33, 9, 4, 15], Operations: [] Exploring Operation: 33-9=24, Resulting Numbers: [4, 15, 24] Generated Node #2: [4, 15, 24] from Operation: 33-9=24 Current State: 90:[4, 15, 24], Operations: ['33-9=24'] Exploring Operation: 24/4=6, Resulting Numbers: [15, 6] Generated Node #3: [15, 6] from Operation: 24/4=6 Current State: 90:[15, 6], Operations: ['33-9=24', '24/4=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[33, 9, 4, 15], Operations: [] Exploring Operation: 33-15=18, Resulting Numbers: [9, 4, 18] Generated Node #0,0: 90:[9, 4, 18] Operation: 33-15=18 Exploring Operation: 33-4=29, Resulting Numbers: [9, 15, 29] Generated Node #0,1: 90:[9, 15, 29] Operation: 33-4=29 Moving to Node #0,0 Current State: 90:[9, 4, 18], Operations: ['33-15=18'] Exploring Operation: 18-9=9, Resulting Numbers: [4, 9] Generated Node #0,0,0: 90:[4, 9] Operation: 18-9=9 Exploring Operation: 9-4=5, Resulting Numbers: [18, 5] Generated Node #0,0,1: 90:[18, 5] Operation: 9-4=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[18, 5], Operations: ['33-15=18', '9-4=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[33, 9, 4, 15], Operations: [] Exploring Operation: 33-15=18, Resulting Numbers: [9, 4, 18] Generated Node #0,0: 90:[9, 4, 18] Operation: 33-15=18 Moving to Node #0,0 Current State: 90:[9, 4, 18], Operations: ['33-15=18'] Exploring Operation: 9-4=5, Resulting Numbers: [18, 5] Generated Node #0,0,1: 90:[18, 5] Operation: 9-4=5 Moving to Node #0,0,1 Current State: 90:[18, 5], Operations: ['33-15=18', '9-4=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 21, 38, 28, 90 ]
39
[ "90-38=52", "21*52=1092", "1092/28=39" ]
Current State: 39:[21, 38, 28, 90], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [21, 28, 52] Generated Node #2: [21, 28, 52] from Operation: 90-38=52 Current State: 39:[21, 28, 52], Operations: ['90-38=52'] Exploring Operation: 21*52=1092, Resulting Numbers: [28, 1092] Generated Node #3: [28, 1092] from Operation: 21*52=1092 Current State: 39:[28, 1092], Operations: ['90-38=52', '21*52=1092'] Exploring Operation: 1092/28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[21, 38, 28, 90], Operations: [] Exploring Operation: 90-21=69, Resulting Numbers: [38, 28, 69] Generated Node #0,0: 39:[38, 28, 69] Operation: 90-21=69 Exploring Operation: 90-38=52, Resulting Numbers: [21, 28, 52] Generated Node #0,1: 39:[21, 28, 52] Operation: 90-38=52 Exploring Operation: 90-28=62, Resulting Numbers: [21, 38, 62] Generated Node #0,2: 39:[21, 38, 62] Operation: 90-28=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[21, 28, 52], Operations: ['90-38=52'] Exploring Operation: 28-21=7, Resulting Numbers: [52, 7] Generated Node #0,1,0: 39:[52, 7] Operation: 28-21=7 Exploring Operation: 52-28=24, Resulting Numbers: [21, 24] Generated Node #0,1,1: 39:[21, 24] Operation: 52-28=24 Exploring Operation: 52-21=31, Resulting Numbers: [28, 31] Generated Node #0,1,2: 39:[28, 31] Operation: 52-21=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[52, 7], Operations: ['90-38=52', '28-21=7'] Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,39 unequal: No Solution Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,39 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[21, 24], Operations: ['90-38=52', '52-28=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,39 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[28, 31], Operations: ['90-38=52', '52-21=31'] Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,39 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,39 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[21, 38, 62], Operations: ['90-28=62'] Exploring Operation: 62-38=24, Resulting Numbers: [21, 24] Generated Node #0,2,0: 39:[21, 24] Operation: 62-38=24 Exploring Operation: 38-21=17, Resulting Numbers: [62, 17] Generated Node #0,2,1: 39:[62, 17] Operation: 38-21=17 Exploring Operation: 62-21=41, Resulting Numbers: [38, 41] Generated Node #0,2,2: 39:[38, 41] Operation: 62-21=41 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[38, 41], Operations: ['90-28=62', '62-21=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,39 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[21, 24], Operations: ['90-28=62', '62-38=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,39 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 39:[62, 17], Operations: ['90-28=62', '38-21=17'] Exploring Operation: 62+17=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 62*17=1054, Resulting Numbers: [1054] 1054,39 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[38, 28, 69], Operations: ['90-21=69'] Exploring Operation: 69-28=41, Resulting Numbers: [38, 41] Generated Node #0,0,0: 39:[38, 41] Operation: 69-28=41 Exploring Operation: 69-38=31, Resulting Numbers: [28, 31] Generated Node #0,0,1: 39:[28, 31] Operation: 69-38=31 Exploring Operation: 38-28=10, Resulting Numbers: [69, 10] Generated Node #0,0,2: 39:[69, 10] Operation: 38-28=10 Moving to Node #0,0,0 Current State: 39:[38, 41], Operations: ['90-21=69', '69-28=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,39 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[28, 31], Operations: ['90-21=69', '69-38=31'] Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,39 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[69, 10], Operations: ['90-21=69', '38-28=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,39 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,39 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,39 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
[ 18, 36, 71, 43 ]
46
[ "36-18=18", "71-43=28", "18+28=46" ]
Current State: 46:[18, 36, 71, 43], Operations: [] Exploring Operation: 36-18=18, Resulting Numbers: [71, 43, 18] Generated Node #2: [71, 43, 18] from Operation: 36-18=18 Current State: 46:[71, 43, 18], Operations: ['36-18=18'] Exploring Operation: 71-43=28, Resulting Numbers: [18, 28] Generated Node #3: [18, 28] from Operation: 71-43=28 Current State: 46:[18, 28], Operations: ['36-18=18', '71-43=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[18, 36, 71, 43], Operations: [] Exploring Operation: 71-36=35, Resulting Numbers: [18, 43, 35] Generated Node #0,0: 46:[18, 43, 35] Operation: 71-36=35 Moving to Node #0,0 Current State: 46:[18, 43, 35], Operations: ['71-36=35'] Exploring Operation: 35-18=17, Resulting Numbers: [43, 17] Generated Node #0,0,0: 46:[43, 17] Operation: 35-18=17 Moving to Node #0,0,0 Current State: 46:[43, 17], Operations: ['71-36=35', '35-18=17'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 25, 1, 12, 72 ]
18
[ "25-1=24", "72/12=6", "24-6=18" ]
Current State: 18:[25, 1, 12, 72], Operations: [] Exploring Operation: 25-1=24, Resulting Numbers: [12, 72, 24] Generated Node #2: [12, 72, 24] from Operation: 25-1=24 Current State: 18:[12, 72, 24], Operations: ['25-1=24'] Exploring Operation: 72/12=6, Resulting Numbers: [24, 6] Generated Node #3: [24, 6] from Operation: 72/12=6 Current State: 18:[24, 6], Operations: ['25-1=24', '72/12=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[25, 1, 12, 72], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [25, 1, 6] Generated Node #0,0: 18:[25, 1, 6] Operation: 72/12=6 Exploring Operation: 25-12=13, Resulting Numbers: [1, 72, 13] Generated Node #0,1: 18:[1, 72, 13] Operation: 25-12=13 Exploring Operation: 72-12=60, Resulting Numbers: [25, 1, 60] Generated Node #0,2: 18:[25, 1, 60] Operation: 72-12=60 Exploring Operation: 72-25=47, Resulting Numbers: [1, 12, 47] Generated Node #0,3: 18:[1, 12, 47] Operation: 72-25=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[25, 1, 6], Operations: ['72/12=6'] Exploring Operation: 25*1=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 18:[6, 25] Operation: 25*1=25 Exploring Operation: 25-6=19, Resulting Numbers: [1, 19] Generated Node #0,0,1: 18:[1, 19] Operation: 25-6=19 Exploring Operation: 25-1=24, Resulting Numbers: [6, 24] Generated Node #0,0,2: 18:[6, 24] Operation: 25-1=24 Exploring Operation: 25/1=25, Resulting Numbers: [6, 25] Generated Node #0,0,3: 18:[6, 25] Operation: 25/1=25 Moving to Node #0,0,1 Current State: 18:[1, 19], Operations: ['72/12=6', '25-6=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[25, 1, 12, 72], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [25, 1, 6] Generated Node #0,0: 18:[25, 1, 6] Operation: 72/12=6 Moving to Node #0,0 Current State: 18:[25, 1, 6], Operations: ['72/12=6'] Exploring Operation: 25-6=19, Resulting Numbers: [1, 19] Generated Node #0,0,1: 18:[1, 19] Operation: 25-6=19 Moving to Node #0,0,1 Current State: 18:[1, 19], Operations: ['72/12=6', '25-6=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 25, 79, 24, 53 ]
27
[ "25+79=104", "24+53=77", "104-77=27" ]
Current State: 27:[25, 79, 24, 53], Operations: [] Exploring Operation: 25+79=104, Resulting Numbers: [24, 53, 104] Generated Node #2: [24, 53, 104] from Operation: 25+79=104 Current State: 27:[24, 53, 104], Operations: ['25+79=104'] Exploring Operation: 24+53=77, Resulting Numbers: [104, 77] Generated Node #3: [104, 77] from Operation: 24+53=77 Current State: 27:[104, 77], Operations: ['25+79=104', '24+53=77'] Exploring Operation: 104-77=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[25, 79, 24, 53], Operations: [] Exploring Operation: 79-24=55, Resulting Numbers: [25, 53, 55] Generated Node #0,0: 27:[25, 53, 55] Operation: 79-24=55 Exploring Operation: 53-25=28, Resulting Numbers: [79, 24, 28] Generated Node #0,1: 27:[79, 24, 28] Operation: 53-25=28 Exploring Operation: 79-25=54, Resulting Numbers: [24, 53, 54] Generated Node #0,2: 27:[24, 53, 54] Operation: 79-25=54 Exploring Operation: 79-53=26, Resulting Numbers: [25, 24, 26] Generated Node #0,3: 27:[25, 24, 26] Operation: 79-53=26 Moving to Node #0,3 Current State: 27:[25, 24, 26], Operations: ['79-53=26'] Exploring Operation: 25-24=1, Resulting Numbers: [26, 1] Generated Node #0,3,0: 27:[26, 1] Operation: 25-24=1 Exploring Operation: 26-24=2, Resulting Numbers: [25, 2] Generated Node #0,3,1: 27:[25, 2] Operation: 26-24=2 Exploring Operation: 26-25=1, Resulting Numbers: [24, 1] Generated Node #0,3,2: 27:[24, 1] Operation: 26-25=1 Exploring Operation: 25+24=49, Resulting Numbers: [26, 49] Generated Node #0,3,3: 27:[26, 49] Operation: 25+24=49 Moving to Node #0,1 Current State: 27:[79, 24, 28], Operations: ['53-25=28'] Exploring Operation: 79+24=103, Resulting Numbers: [28, 103] Generated Node #0,1,0: 27:[28, 103] Operation: 79+24=103 Exploring Operation: 28-24=4, Resulting Numbers: [79, 4] Generated Node #0,1,1: 27:[79, 4] Operation: 28-24=4 Exploring Operation: 79-24=55, Resulting Numbers: [28, 55] Generated Node #0,1,2: 27:[28, 55] Operation: 79-24=55 Exploring Operation: 79-28=51, Resulting Numbers: [24, 51] Generated Node #0,1,3: 27:[24, 51] Operation: 79-28=51 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 27:[24, 51], Operations: ['53-25=28', '79-28=51'] Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,27 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[25, 79, 24, 53], Operations: [] Exploring Operation: 53-25=28, Resulting Numbers: [79, 24, 28] Generated Node #0,1: 27:[79, 24, 28] Operation: 53-25=28 Moving to Node #0,1 Current State: 27:[79, 24, 28], Operations: ['53-25=28'] Exploring Operation: 79-28=51, Resulting Numbers: [24, 51] Generated Node #0,1,3: 27:[24, 51] Operation: 79-28=51 Moving to Node #0,1,3 Current State: 27:[24, 51], Operations: ['53-25=28', '79-28=51'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 75, 32, 50, 67 ]
10
[ "75+32=107", "50+67=117", "117-107=10" ]
Current State: 10:[75, 32, 50, 67], Operations: [] Exploring Operation: 75+32=107, Resulting Numbers: [50, 67, 107] Generated Node #2: [50, 67, 107] from Operation: 75+32=107 Current State: 10:[50, 67, 107], Operations: ['75+32=107'] Exploring Operation: 50+67=117, Resulting Numbers: [107, 117] Generated Node #3: [107, 117] from Operation: 50+67=117 Current State: 10:[107, 117], Operations: ['75+32=107', '50+67=117'] Exploring Operation: 117-107=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[75, 32, 50, 67], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [32, 50, 8] Generated Node #0,0: 10:[32, 50, 8] Operation: 75-67=8 Exploring Operation: 67-50=17, Resulting Numbers: [75, 32, 17] Generated Node #0,1: 10:[75, 32, 17] Operation: 67-50=17 Exploring Operation: 75-50=25, Resulting Numbers: [32, 67, 25] Generated Node #0,2: 10:[32, 67, 25] Operation: 75-50=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[32, 50, 8], Operations: ['75-67=8'] Exploring Operation: 50-32=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 10:[8, 18] Operation: 50-32=18 Exploring Operation: 32-8=24, Resulting Numbers: [50, 24] Generated Node #0,0,1: 10:[50, 24] Operation: 32-8=24 Exploring Operation: 32/8=4, Resulting Numbers: [50, 4] Generated Node #0,0,2: 10:[50, 4] Operation: 32/8=4 Moving to Node #0,0,0 Current State: 10:[8, 18], Operations: ['75-67=8', '50-32=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[75, 32, 50, 67], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [32, 50, 8] Generated Node #0,0: 10:[32, 50, 8] Operation: 75-67=8 Moving to Node #0,0 Current State: 10:[32, 50, 8], Operations: ['75-67=8'] Exploring Operation: 50-32=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 10:[8, 18] Operation: 50-32=18 Moving to Node #0,0,0 Current State: 10:[8, 18], Operations: ['75-67=8', '50-32=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 2, 39, 71, 82 ]
96
[ "39+71=110", "82+110=192", "192/2=96" ]
Current State: 96:[2, 39, 71, 82], Operations: [] Exploring Operation: 39+71=110, Resulting Numbers: [2, 82, 110] Generated Node #2: [2, 82, 110] from Operation: 39+71=110 Current State: 96:[2, 82, 110], Operations: ['39+71=110'] Exploring Operation: 82+110=192, Resulting Numbers: [2, 192] Generated Node #3: [2, 192] from Operation: 82+110=192 Current State: 96:[2, 192], Operations: ['39+71=110', '82+110=192'] Exploring Operation: 192/2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[2, 39, 71, 82], Operations: [] Exploring Operation: 39+71=110, Resulting Numbers: [2, 82, 110] Generated Node #0,0: 96:[2, 82, 110] Operation: 39+71=110 Exploring Operation: 71-39=32, Resulting Numbers: [2, 82, 32] Generated Node #0,1: 96:[2, 82, 32] Operation: 71-39=32 Exploring Operation: 82/2=41, Resulting Numbers: [39, 71, 41] Generated Node #0,2: 96:[39, 71, 41] Operation: 82/2=41 Exploring Operation: 82-71=11, Resulting Numbers: [2, 39, 11] Generated Node #0,3: 96:[2, 39, 11] Operation: 82-71=11 Exploring Operation: 82-39=43, Resulting Numbers: [2, 71, 43] Generated Node #0,4: 96:[2, 71, 43] Operation: 82-39=43 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[2, 39, 11], Operations: ['82-71=11'] Exploring Operation: 39-11=28, Resulting Numbers: [2, 28] Generated Node #0,3,0: 96:[2, 28] Operation: 39-11=28 Exploring Operation: 39+11=50, Resulting Numbers: [2, 50] Generated Node #0,3,1: 96:[2, 50] Operation: 39+11=50 Exploring Operation: 39-2=37, Resulting Numbers: [11, 37] Generated Node #0,3,2: 96:[11, 37] Operation: 39-2=37 Exploring Operation: 2+39=41, Resulting Numbers: [11, 41] Generated Node #0,3,3: 96:[11, 41] Operation: 2+39=41 Exploring Operation: 2+11=13, Resulting Numbers: [39, 13] Generated Node #0,3,4: 96:[39, 13] Operation: 2+11=13 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[2, 50], Operations: ['82-71=11', '39+11=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,96 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[2, 28], Operations: ['82-71=11', '39-11=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[11, 37], Operations: ['82-71=11', '39-2=37'] Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,96 unequal: No Solution Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 96:[11, 41], Operations: ['82-71=11', '2+39=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,96 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 96:[39, 13], Operations: ['82-71=11', '2+11=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,96 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[2, 82, 32], Operations: ['71-39=32'] Exploring Operation: 82/2=41, Resulting Numbers: [32, 41] Generated Node #0,1,0: 96:[32, 41] Operation: 82/2=41 Exploring Operation: 82-32=50, Resulting Numbers: [2, 50] Generated Node #0,1,1: 96:[2, 50] Operation: 82-32=50 Exploring Operation: 2+82=84, Resulting Numbers: [32, 84] Generated Node #0,1,2: 96:[32, 84] Operation: 2+82=84 Exploring Operation: 82-2=80, Resulting Numbers: [32, 80] Generated Node #0,1,3: 96:[32, 80] Operation: 82-2=80 Exploring Operation: 32/2=16, Resulting Numbers: [82, 16] Generated Node #0,1,4: 96:[82, 16] Operation: 32/2=16 Moving to Node #0,1,1 Current State: 96:[2, 50], Operations: ['71-39=32', '82-32=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,96 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[32, 41], Operations: ['71-39=32', '82/2=41'] Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,96 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,96 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[32, 84], Operations: ['71-39=32', '2+82=84'] Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 32+84=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 32*84=2688, Resulting Numbers: [2688] 2688,96 unequal: No Solution Moving to Node #0,1,4 Current State: 96:[82, 16], Operations: ['71-39=32', '32/2=16'] Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,96 unequal: No Solution Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[32, 80], Operations: ['71-39=32', '82-2=80'] Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 32*80=2560, Resulting Numbers: [2560] 2560,96 unequal: No Solution Exploring Operation: 32+80=112, Resulting Numbers: [112] 112,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,0 Current State: 96:[2, 82, 110], Operations: ['39+71=110'] Exploring Operation: 2+82=84, Resulting Numbers: [110, 84] Generated Node #0,0,0: 96:[110, 84] Operation: 2+82=84 Exploring Operation: 82/2=41, Resulting Numbers: [110, 41] Generated Node #0,0,1: 96:[110, 41] Operation: 82/2=41 Exploring Operation: 110/2=55, Resulting Numbers: [82, 55] Generated Node #0,0,2: 96:[82, 55] Operation: 110/2=55 Exploring Operation: 110-2=108, Resulting Numbers: [82, 108] Generated Node #0,0,3: 96:[82, 108] Operation: 110-2=108 Exploring Operation: 110-82=28, Resulting Numbers: [2, 28] Generated Node #0,0,4: 96:[2, 28] Operation: 110-82=28 Moving to Node #0,0,4 Current State: 96:[2, 28], Operations: ['39+71=110', '110-82=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[82, 55], Operations: ['39+71=110', '110/2=55'] Exploring Operation: 82*55=4510, Resulting Numbers: [4510] 4510,96 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 82+55=137, Resulting Numbers: [137] 137,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[110, 41], Operations: ['39+71=110', '82/2=41'] Exploring Operation: 110-41=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 110+41=151, Resulting Numbers: [151] 151,96 unequal: No Solution Exploring Operation: 110*41=4510, Resulting Numbers: [4510] 4510,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[110, 84], Operations: ['39+71=110', '2+82=84'] Exploring Operation: 110*84=9240, Resulting Numbers: [9240] 9240,96 unequal: No Solution Exploring Operation: 110+84=194, Resulting Numbers: [194] 194,96 unequal: No Solution Exploring Operation: 110-84=26, Resulting Numbers: [26] 26,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[82, 108], Operations: ['39+71=110', '110-2=108'] Exploring Operation: 108-82=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 82*108=8856, Resulting Numbers: [8856] 8856,96 unequal: No Solution Exploring Operation: 82+108=190, Resulting Numbers: [190] 190,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,4 Current State: 96:[2, 71, 43], Operations: ['82-39=43'] Exploring Operation: 71-43=28, Resulting Numbers: [2, 28] Generated Node #0,4,0: 96:[2, 28] Operation: 71-43=28 Exploring Operation: 71+43=114, Resulting Numbers: [2, 114] Generated Node #0,4,1: 96:[2, 114] Operation: 71+43=114 Exploring Operation: 71-2=69, Resulting Numbers: [43, 69] Generated Node #0,4,2: 96:[43, 69] Operation: 71-2=69 Exploring Operation: 2+71=73, Resulting Numbers: [43, 73] Generated Node #0,4,3: 96:[43, 73] Operation: 2+71=73 Exploring Operation: 2+43=45, Resulting Numbers: [71, 45] Generated Node #0,4,4: 96:[71, 45] Operation: 2+43=45 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 96:[2, 28], Operations: ['82-39=43', '71-43=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 96:[2, 114], Operations: ['82-39=43', '71+43=114'] Exploring Operation: 2+114=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 114-2=112, Resulting Numbers: [112] 112,96 unequal: No Solution Exploring Operation: 114/2=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 2*114=228, Resulting Numbers: [228] 228,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 96:[43, 69], Operations: ['82-39=43', '71-2=69'] Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,96 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,96 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 96:[71, 45], Operations: ['82-39=43', '2+43=45'] Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 71*45=3195, Resulting Numbers: [3195] 3195,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 96:[43, 73], Operations: ['82-39=43', '2+71=73'] Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 43+73=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 43*73=3139, Resulting Numbers: [3139] 3139,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[39, 71, 41], Operations: ['82/2=41'] Exploring Operation: 39+71=110, Resulting Numbers: [41, 110] Generated Node #0,2,0: 96:[41, 110] Operation: 39+71=110 Exploring Operation: 71+41=112, Resulting Numbers: [39, 112] Generated Node #0,2,1: 96:[39, 112] Operation: 71+41=112 Exploring Operation: 71-41=30, Resulting Numbers: [39, 30] Generated Node #0,2,2: 96:[39, 30] Operation: 71-41=30 Exploring Operation: 71-39=32, Resulting Numbers: [41, 32] Generated Node #0,2,3: 96:[41, 32] Operation: 71-39=32 Exploring Operation: 41-39=2, Resulting Numbers: [71, 2] Generated Node #0,2,4: 96:[71, 2] Operation: 41-39=2 Moving to Node #0,2,3 Current State: 96:[41, 32], Operations: ['82/2=41', '71-39=32'] Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,96 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[39, 30], Operations: ['82/2=41', '71-41=30'] Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[41, 110], Operations: ['82/2=41', '39+71=110'] Exploring Operation: 41*110=4510, Resulting Numbers: [4510] 4510,96 unequal: No Solution Exploring Operation: 110-41=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 41+110=151, Resulting Numbers: [151] 151,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[39, 112], Operations: ['82/2=41', '71+41=112'] Exploring Operation: 112-39=73, Resulting Numbers: [73] 73,96 unequal: No Solution Exploring Operation: 39+112=151, Resulting Numbers: [151] 151,96 unequal: No Solution Exploring Operation: 39*112=4368, Resulting Numbers: [4368] 4368,96 unequal: No Solution Moving to Node #0,2,4 Current State: 96:[71, 2], Operations: ['82/2=41', '41-39=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,96 unequal: No Solution Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,96 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
[ 51, 55, 66, 96 ]
90
[ "55-51=4", "96/4=24", "66+24=90" ]
Current State: 90:[51, 55, 66, 96], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [66, 96, 4] Generated Node #2: [66, 96, 4] from Operation: 55-51=4 Current State: 90:[66, 96, 4], Operations: ['55-51=4'] Exploring Operation: 96/4=24, Resulting Numbers: [66, 24] Generated Node #3: [66, 24] from Operation: 96/4=24 Current State: 90:[66, 24], Operations: ['55-51=4', '96/4=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[51, 55, 66, 96], Operations: [] Exploring Operation: 96-66=30, Resulting Numbers: [51, 55, 30] Generated Node #0,0: 90:[51, 55, 30] Operation: 96-66=30 Exploring Operation: 96-51=45, Resulting Numbers: [55, 66, 45] Generated Node #0,1: 90:[55, 66, 45] Operation: 96-51=45 Exploring Operation: 66-51=15, Resulting Numbers: [55, 96, 15] Generated Node #0,2: 90:[55, 96, 15] Operation: 66-51=15 Exploring Operation: 66-55=11, Resulting Numbers: [51, 96, 11] Generated Node #0,3: 90:[51, 96, 11] Operation: 66-55=11 Exploring Operation: 55-51=4, Resulting Numbers: [66, 96, 4] Generated Node #0,4: 90:[66, 96, 4] Operation: 55-51=4 Moving to Node #0,3 Current State: 90:[51, 96, 11], Operations: ['66-55=11'] Exploring Operation: 96-51=45, Resulting Numbers: [11, 45] Generated Node #0,3,0: 90:[11, 45] Operation: 96-51=45 Exploring Operation: 96-11=85, Resulting Numbers: [51, 85] Generated Node #0,3,1: 90:[51, 85] Operation: 96-11=85 Exploring Operation: 51+11=62, Resulting Numbers: [96, 62] Generated Node #0,3,2: 90:[96, 62] Operation: 51+11=62 Exploring Operation: 96+11=107, Resulting Numbers: [51, 107] Generated Node #0,3,3: 90:[51, 107] Operation: 96+11=107 Exploring Operation: 51-11=40, Resulting Numbers: [96, 40] Generated Node #0,3,4: 90:[96, 40] Operation: 51-11=40 Moving to Node #0,2 Current State: 90:[55, 96, 15], Operations: ['66-51=15'] Exploring Operation: 55+15=70, Resulting Numbers: [96, 70] Generated Node #0,2,0: 90:[96, 70] Operation: 55+15=70 Exploring Operation: 96-15=81, Resulting Numbers: [55, 81] Generated Node #0,2,1: 90:[55, 81] Operation: 96-15=81 Exploring Operation: 96-55=41, Resulting Numbers: [15, 41] Generated Node #0,2,2: 90:[15, 41] Operation: 96-55=41 Exploring Operation: 96+15=111, Resulting Numbers: [55, 111] Generated Node #0,2,3: 90:[55, 111] Operation: 96+15=111 Exploring Operation: 55-15=40, Resulting Numbers: [96, 40] Generated Node #0,2,4: 90:[96, 40] Operation: 55-15=40 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[15, 41], Operations: ['66-51=15', '96-55=41'] Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 90:[96, 40], Operations: ['66-51=15', '55-15=40'] Exploring Operation: 96*40=3840, Resulting Numbers: [3840] 3840,90 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 96+40=136, Resulting Numbers: [136] 136,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[55, 81], Operations: ['66-51=15', '96-15=81'] Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 55*81=4455, Resulting Numbers: [4455] 4455,90 unequal: No Solution Exploring Operation: 55+81=136, Resulting Numbers: [136] 136,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 90:[96, 70], Operations: ['66-51=15', '55+15=70'] Exploring Operation: 96-70=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 96*70=6720, Resulting Numbers: [6720] 6720,90 unequal: No Solution Exploring Operation: 96+70=166, Resulting Numbers: [166] 166,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[55, 111], Operations: ['66-51=15', '96+15=111'] Exploring Operation: 55*111=6105, Resulting Numbers: [6105] 6105,90 unequal: No Solution Exploring Operation: 55+111=166, Resulting Numbers: [166] 166,90 unequal: No Solution Exploring Operation: 111-55=56, Resulting Numbers: [56] 56,90 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: 90:[51, 55, 30], Operations: ['96-66=30'] Exploring Operation: 51+55=106, Resulting Numbers: [30, 106] Generated Node #0,0,0: 90:[30, 106] Operation: 51+55=106 Exploring Operation: 51-30=21, Resulting Numbers: [55, 21] Generated Node #0,0,1: 90:[55, 21] Operation: 51-30=21 Exploring Operation: 55-51=4, Resulting Numbers: [30, 4] Generated Node #0,0,2: 90:[30, 4] Operation: 55-51=4 Exploring Operation: 55+30=85, Resulting Numbers: [51, 85] Generated Node #0,0,3: 90:[51, 85] Operation: 55+30=85 Exploring Operation: 55-30=25, Resulting Numbers: [51, 25] Generated Node #0,0,4: 90:[51, 25] Operation: 55-30=25 Moving to Node #0,4 Current State: 90:[66, 96, 4], Operations: ['55-51=4'] Exploring Operation: 96-4=92, Resulting Numbers: [66, 92] Generated Node #0,4,0: 90:[66, 92] Operation: 96-4=92 Exploring Operation: 96/4=24, Resulting Numbers: [66, 24] Generated Node #0,4,1: 90:[66, 24] Operation: 96/4=24 Exploring Operation: 96-66=30, Resulting Numbers: [4, 30] Generated Node #0,4,2: 90:[4, 30] Operation: 96-66=30 Exploring Operation: 66-4=62, Resulting Numbers: [96, 62] Generated Node #0,4,3: 90:[96, 62] Operation: 66-4=62 Exploring Operation: 66+4=70, Resulting Numbers: [96, 70] Generated Node #0,4,4: 90:[96, 70] Operation: 66+4=70 Moving to Node #0,1 Current State: 90:[55, 66, 45], Operations: ['96-51=45'] Exploring Operation: 66-55=11, Resulting Numbers: [45, 11] Generated Node #0,1,0: 90:[45, 11] Operation: 66-55=11 Exploring Operation: 55+66=121, Resulting Numbers: [45, 121] Generated Node #0,1,1: 90:[45, 121] Operation: 55+66=121 Exploring Operation: 55-45=10, Resulting Numbers: [66, 10] Generated Node #0,1,2: 90:[66, 10] Operation: 55-45=10 Exploring Operation: 66-45=21, Resulting Numbers: [55, 21] Generated Node #0,1,3: 90:[55, 21] Operation: 66-45=21 Exploring Operation: 55+45=100, Resulting Numbers: [66, 100] Generated Node #0,1,4: 90:[66, 100] Operation: 55+45=100 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[45, 11], Operations: ['96-51=45', '66-55=11'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[55, 21], Operations: ['96-51=45', '66-45=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[66, 10], Operations: ['96-51=45', '55-45=10'] Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,90 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[45, 121], Operations: ['96-51=45', '55+66=121'] Exploring Operation: 121-45=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 45+121=166, Resulting Numbers: [166] 166,90 unequal: No Solution Exploring Operation: 45*121=5445, Resulting Numbers: [5445] 5445,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 90:[66, 100], Operations: ['96-51=45', '55+45=100'] Exploring Operation: 66+100=166, Resulting Numbers: [166] 166,90 unequal: No Solution Exploring Operation: 66*100=6600, Resulting Numbers: [6600] 6600,90 unequal: No Solution Exploring Operation: 100-66=34, Resulting Numbers: [34] 34,90 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: 90:[11, 45], Operations: ['66-55=11', '96-51=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,90 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[30, 4], Operations: ['96-66=30', '55-51=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,90 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,90 unequal: No Solution Moving to Node #0,4,2 Current State: 90:[4, 30], Operations: ['55-51=4', '96-66=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[51, 85], Operations: ['96-66=30', '55+30=85'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,90 unequal: No Solution Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,90 unequal: No Solution Moving to Node #0,3,4 Current State: 90:[96, 40], Operations: ['66-55=11', '51-11=40'] Exploring Operation: 96+40=136, Resulting Numbers: [136] 136,90 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 96*40=3840, Resulting Numbers: [3840] 3840,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[51, 85], Operations: ['66-55=11', '96-11=85'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,90 unequal: No Solution Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[51, 25], Operations: ['96-66=30', '55-30=25'] Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,90 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[55, 21], Operations: ['96-66=30', '51-30=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[30, 106], Operations: ['96-66=30', '51+55=106'] Exploring Operation: 106-30=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 30+106=136, Resulting Numbers: [136] 136,90 unequal: No Solution Exploring Operation: 30*106=3180, Resulting Numbers: [3180] 3180,90 unequal: No Solution Moving to Node #0,4,0 Current State: 90:[66, 92], Operations: ['55-51=4', '96-4=92'] Exploring Operation: 66+92=158, Resulting Numbers: [158] 158,90 unequal: No Solution Exploring Operation: 66*92=6072, Resulting Numbers: [6072] 6072,90 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[96, 62], Operations: ['55-51=4', '66-4=62'] Exploring Operation: 96-62=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 96+62=158, Resulting Numbers: [158] 158,90 unequal: No Solution Exploring Operation: 96*62=5952, Resulting Numbers: [5952] 5952,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[96, 62], Operations: ['66-55=11', '51+11=62'] Exploring Operation: 96-62=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 96+62=158, Resulting Numbers: [158] 158,90 unequal: No Solution Exploring Operation: 96*62=5952, Resulting Numbers: [5952] 5952,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[51, 107], Operations: ['66-55=11', '96+11=107'] Exploring Operation: 51+107=158, Resulting Numbers: [158] 158,90 unequal: No Solution Exploring Operation: 107-51=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 51*107=5457, Resulting Numbers: [5457] 5457,90 unequal: No Solution Moving to Node #0,4,4 Current State: 90:[96, 70], Operations: ['55-51=4', '66+4=70'] Exploring Operation: 96+70=166, Resulting Numbers: [166] 166,90 unequal: No Solution Exploring Operation: 96-70=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 96*70=6720, Resulting Numbers: [6720] 6720,90 unequal: No Solution Moving to Node #0,4,1 Current State: 90:[66, 24], Operations: ['55-51=4', '96/4=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[51, 55, 66, 96], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [66, 96, 4] Generated Node #0,4: 90:[66, 96, 4] Operation: 55-51=4 Moving to Node #0,4 Current State: 90:[66, 96, 4], Operations: ['55-51=4'] Exploring Operation: 96/4=24, Resulting Numbers: [66, 24] Generated Node #0,4,1: 90:[66, 24] Operation: 96/4=24 Moving to Node #0,4,1 Current State: 90:[66, 24], Operations: ['55-51=4', '96/4=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.907118
hs_5
sum_heuristic
[ 20, 80, 94, 86 ]
71
[ "94+86=180", "180/20=9", "80-9=71" ]
Current State: 71:[20, 80, 94, 86], Operations: [] Exploring Operation: 94+86=180, Resulting Numbers: [20, 80, 180] Generated Node #2: [20, 80, 180] from Operation: 94+86=180 Current State: 71:[20, 80, 180], Operations: ['94+86=180'] Exploring Operation: 180/20=9, Resulting Numbers: [80, 9] Generated Node #3: [80, 9] from Operation: 180/20=9 Current State: 71:[80, 9], Operations: ['94+86=180', '180/20=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[20, 80, 94, 86], Operations: [] Exploring Operation: 86-20=66, Resulting Numbers: [80, 94, 66] Generated Node #0,0: 71:[80, 94, 66] Operation: 86-20=66 Exploring Operation: 80-20=60, Resulting Numbers: [94, 86, 60] Generated Node #0,1: 71:[94, 86, 60] Operation: 80-20=60 Exploring Operation: 94-20=74, Resulting Numbers: [80, 86, 74] Generated Node #0,2: 71:[80, 86, 74] Operation: 94-20=74 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[80, 86, 74], Operations: ['94-20=74'] Exploring Operation: 80-74=6, Resulting Numbers: [86, 6] Generated Node #0,2,0: 71:[86, 6] Operation: 80-74=6 Exploring Operation: 86-80=6, Resulting Numbers: [74, 6] Generated Node #0,2,1: 71:[74, 6] Operation: 86-80=6 Exploring Operation: 86-74=12, Resulting Numbers: [80, 12] Generated Node #0,2,2: 71:[80, 12] Operation: 86-74=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[74, 6], Operations: ['94-20=74', '86-80=6'] Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,71 unequal: No Solution Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[80, 12], Operations: ['94-20=74', '86-74=12'] Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 80*12=960, Resulting Numbers: [960] 960,71 unequal: No Solution Exploring Operation: 80+12=92, Resulting Numbers: [92] 92,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[86, 6], Operations: ['94-20=74', '80-74=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,71 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,71 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[80, 94, 66], Operations: ['86-20=66'] Exploring Operation: 94-80=14, Resulting Numbers: [66, 14] Generated Node #0,0,0: 71:[66, 14] Operation: 94-80=14 Exploring Operation: 80-66=14, Resulting Numbers: [94, 14] Generated Node #0,0,1: 71:[94, 14] Operation: 80-66=14 Exploring Operation: 94-66=28, Resulting Numbers: [80, 28] Generated Node #0,0,2: 71:[80, 28] Operation: 94-66=28 Moving to Node #0,0,2 Current State: 71:[80, 28], Operations: ['86-20=66', '94-66=28'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[66, 14], Operations: ['86-20=66', '94-80=14'] Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,71 unequal: No Solution Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[94, 14], Operations: ['86-20=66', '80-66=14'] Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,71 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[94, 86, 60], Operations: ['80-20=60'] Exploring Operation: 86-60=26, Resulting Numbers: [94, 26] Generated Node #0,1,0: 71:[94, 26] Operation: 86-60=26 Exploring Operation: 94-86=8, Resulting Numbers: [60, 8] Generated Node #0,1,1: 71:[60, 8] Operation: 94-86=8 Exploring Operation: 94-60=34, Resulting Numbers: [86, 34] Generated Node #0,1,2: 71:[86, 34] Operation: 94-60=34 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[86, 34], Operations: ['80-20=60', '94-60=34'] Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,71 unequal: No Solution Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[94, 26], Operations: ['80-20=60', '86-60=26'] Exploring Operation: 94+26=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 94*26=2444, Resulting Numbers: [2444] 2444,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[60, 8], Operations: ['80-20=60', '94-86=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 18, 27, 3, 63 ]
69
[ "27-18=9", "63-3=60", "9+60=69" ]
Current State: 69:[18, 27, 3, 63], Operations: [] Exploring Operation: 27-18=9, Resulting Numbers: [3, 63, 9] Generated Node #2: [3, 63, 9] from Operation: 27-18=9 Current State: 69:[3, 63, 9], Operations: ['27-18=9'] Exploring Operation: 63-3=60, Resulting Numbers: [9, 60] Generated Node #3: [9, 60] from Operation: 63-3=60 Current State: 69:[9, 60], Operations: ['27-18=9', '63-3=60'] Exploring Operation: 9+60=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[18, 27, 3, 63], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [18, 27, 21] Generated Node #0,0: 69:[18, 27, 21] Operation: 63/3=21 Exploring Operation: 18+3=21, Resulting Numbers: [27, 63, 21] Generated Node #0,1: 69:[27, 63, 21] Operation: 18+3=21 Exploring Operation: 27-3=24, Resulting Numbers: [18, 63, 24] Generated Node #0,2: 69:[18, 63, 24] Operation: 27-3=24 Exploring Operation: 27-18=9, Resulting Numbers: [3, 63, 9] Generated Node #0,3: 69:[3, 63, 9] Operation: 27-18=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[18, 27, 21], Operations: ['63/3=21'] Exploring Operation: 27-18=9, Resulting Numbers: [21, 9] Generated Node #0,0,0: 69:[21, 9] Operation: 27-18=9 Exploring Operation: 21-18=3, Resulting Numbers: [27, 3] Generated Node #0,0,1: 69:[27, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [27, 39] Generated Node #0,0,2: 69:[27, 39] Operation: 18+21=39 Exploring Operation: 27-21=6, Resulting Numbers: [18, 6] Generated Node #0,0,3: 69:[18, 6] Operation: 27-21=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[27, 3], Operations: ['63/3=21', '21-18=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[21, 9], Operations: ['63/3=21', '27-18=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,69 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[18, 6], Operations: ['63/3=21', '27-21=6'] Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,69 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[27, 39], Operations: ['63/3=21', '18+21=39'] Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,69 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[27, 63, 21], Operations: ['18+3=21'] Exploring Operation: 63-27=36, Resulting Numbers: [21, 36] Generated Node #0,1,0: 69:[21, 36] Operation: 63-27=36 Exploring Operation: 63+21=84, Resulting Numbers: [27, 84] Generated Node #0,1,1: 69:[27, 84] Operation: 63+21=84 Exploring Operation: 27-21=6, Resulting Numbers: [63, 6] Generated Node #0,1,2: 69:[63, 6] Operation: 27-21=6 Exploring Operation: 63/21=3, Resulting Numbers: [27, 3] Generated Node #0,1,3: 69:[27, 3] Operation: 63/21=3 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[27, 3], Operations: ['18+3=21', '63/21=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[63, 6], Operations: ['18+3=21', '27-21=6'] Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,69 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[18, 27, 3, 63], Operations: [] Exploring Operation: 18+3=21, Resulting Numbers: [27, 63, 21] Generated Node #0,1: 69:[27, 63, 21] Operation: 18+3=21 Moving to Node #0,1 Current State: 69:[27, 63, 21], Operations: ['18+3=21'] Exploring Operation: 27-21=6, Resulting Numbers: [63, 6] Generated Node #0,1,2: 69:[63, 6] Operation: 27-21=6 Moving to Node #0,1,2 Current State: 69:[63, 6], Operations: ['18+3=21', '27-21=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 21, 96, 18, 30 ]
63
[ "96-21=75", "30-18=12", "75-12=63" ]
Current State: 63:[21, 96, 18, 30], Operations: [] Exploring Operation: 96-21=75, Resulting Numbers: [18, 30, 75] Generated Node #2: [18, 30, 75] from Operation: 96-21=75 Current State: 63:[18, 30, 75], Operations: ['96-21=75'] Exploring Operation: 30-18=12, Resulting Numbers: [75, 12] Generated Node #3: [75, 12] from Operation: 30-18=12 Current State: 63:[75, 12], Operations: ['96-21=75', '30-18=12'] Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 96, 18, 30], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [21, 18, 66] Generated Node #0,0: 63:[21, 18, 66] Operation: 96-30=66 Exploring Operation: 96-21=75, Resulting Numbers: [18, 30, 75] Generated Node #0,1: 63:[18, 30, 75] Operation: 96-21=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[21, 18, 66], Operations: ['96-30=66'] Exploring Operation: 66-18=48, Resulting Numbers: [21, 48] Generated Node #0,0,0: 63:[21, 48] Operation: 66-18=48 Exploring Operation: 21-18=3, Resulting Numbers: [66, 3] Generated Node #0,0,1: 63:[66, 3] Operation: 21-18=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[66, 3], Operations: ['96-30=66', '21-18=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[21, 96, 18, 30], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [21, 18, 66] Generated Node #0,0: 63:[21, 18, 66] Operation: 96-30=66 Moving to Node #0,0 Current State: 63:[21, 18, 66], Operations: ['96-30=66'] Exploring Operation: 21-18=3, Resulting Numbers: [66, 3] Generated Node #0,0,1: 63:[66, 3] Operation: 21-18=3 Moving to Node #0,0,1 Current State: 63:[66, 3], Operations: ['96-30=66', '21-18=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 10, 87, 39, 41 ]
38
[ "39-10=29", "87/29=3", "41-3=38" ]
Current State: 38:[10, 87, 39, 41], Operations: [] Exploring Operation: 39-10=29, Resulting Numbers: [87, 41, 29] Generated Node #2: [87, 41, 29] from Operation: 39-10=29 Current State: 38:[87, 41, 29], Operations: ['39-10=29'] Exploring Operation: 87/29=3, Resulting Numbers: [41, 3] Generated Node #3: [41, 3] from Operation: 87/29=3 Current State: 38:[41, 3], Operations: ['39-10=29', '87/29=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[10, 87, 39, 41], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [10, 41, 48] Generated Node #0,0: 38:[10, 41, 48] Operation: 87-39=48 Exploring Operation: 87-41=46, Resulting Numbers: [10, 39, 46] Generated Node #0,1: 38:[10, 39, 46] Operation: 87-41=46 Moving to Node #0,1 Current State: 38:[10, 39, 46], Operations: ['87-41=46'] Exploring Operation: 46-10=36, Resulting Numbers: [39, 36] Generated Node #0,1,0: 38:[39, 36] Operation: 46-10=36 Exploring Operation: 46-39=7, Resulting Numbers: [10, 7] Generated Node #0,1,1: 38:[10, 7] Operation: 46-39=7 Moving to Node #0,0 Current State: 38:[10, 41, 48], Operations: ['87-39=48'] Exploring Operation: 48-10=38, Resulting Numbers: [41, 38] Generated Node #0,0,0: 38:[41, 38] Operation: 48-10=38 Exploring Operation: 48-41=7, Resulting Numbers: [10, 7] Generated Node #0,0,1: 38:[10, 7] Operation: 48-41=7 Moving to Node #0,1,0 Current State: 38:[39, 36], Operations: ['87-41=46', '46-10=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,38 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[41, 38], Operations: ['87-39=48', '48-10=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[10, 7], Operations: ['87-41=46', '46-39=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[10, 7], Operations: ['87-39=48', '48-41=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 71, 40, 15, 62 ]
78
[ "71-40=31", "62-15=47", "31+47=78" ]
Current State: 78:[71, 40, 15, 62], Operations: [] Exploring Operation: 71-40=31, Resulting Numbers: [15, 62, 31] Generated Node #2: [15, 62, 31] from Operation: 71-40=31 Current State: 78:[15, 62, 31], Operations: ['71-40=31'] Exploring Operation: 62-15=47, Resulting Numbers: [31, 47] Generated Node #3: [31, 47] from Operation: 62-15=47 Current State: 78:[31, 47], Operations: ['71-40=31', '62-15=47'] Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[71, 40, 15, 62], Operations: [] Exploring Operation: 71-62=9, Resulting Numbers: [40, 15, 9] Generated Node #0,0: 78:[40, 15, 9] Operation: 71-62=9 Exploring Operation: 62-15=47, Resulting Numbers: [71, 40, 47] Generated Node #0,1: 78:[71, 40, 47] Operation: 62-15=47 Exploring Operation: 62-40=22, Resulting Numbers: [71, 15, 22] Generated Node #0,2: 78:[71, 15, 22] Operation: 62-40=22 Exploring Operation: 15+62=77, Resulting Numbers: [71, 40, 77] Generated Node #0,3: 78:[71, 40, 77] Operation: 15+62=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[40, 15, 9], Operations: ['71-62=9'] Exploring Operation: 15-9=6, Resulting Numbers: [40, 6] Generated Node #0,0,0: 78:[40, 6] Operation: 15-9=6 Exploring Operation: 40-9=31, Resulting Numbers: [15, 31] Generated Node #0,0,1: 78:[15, 31] Operation: 40-9=31 Exploring Operation: 40-15=25, Resulting Numbers: [9, 25] Generated Node #0,0,2: 78:[9, 25] Operation: 40-15=25 Exploring Operation: 15+9=24, Resulting Numbers: [40, 24] Generated Node #0,0,3: 78:[40, 24] Operation: 15+9=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[40, 6], Operations: ['71-62=9', '15-9=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 78:[40, 24], Operations: ['71-62=9', '15+9=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,78 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[9, 25], Operations: ['71-62=9', '40-15=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,78 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[15, 31], Operations: ['71-62=9', '40-9=31'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,78 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: 78:[71, 40, 77], Operations: ['15+62=77'] Exploring Operation: 77-40=37, Resulting Numbers: [71, 37] Generated Node #0,3,0: 78:[71, 37] Operation: 77-40=37 Exploring Operation: 77-71=6, Resulting Numbers: [40, 6] Generated Node #0,3,1: 78:[40, 6] Operation: 77-71=6 Exploring Operation: 71+40=111, Resulting Numbers: [77, 111] Generated Node #0,3,2: 78:[77, 111] Operation: 71+40=111 Exploring Operation: 71-40=31, Resulting Numbers: [77, 31] Generated Node #0,3,3: 78:[77, 31] Operation: 71-40=31 Moving to Node #0,3,1 Current State: 78:[40, 6], Operations: ['15+62=77', '77-71=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,78 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[77, 31], Operations: ['15+62=77', '71-40=31'] Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,78 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[71, 37], Operations: ['15+62=77', '77-40=37'] Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[77, 111], Operations: ['15+62=77', '71+40=111'] Exploring Operation: 111-77=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 77+111=188, Resulting Numbers: [188] 188,78 unequal: No Solution Exploring Operation: 77*111=8547, Resulting Numbers: [8547] 8547,78 unequal: No Solution No 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: 78:[71, 15, 22], Operations: ['62-40=22'] Exploring Operation: 71+15=86, Resulting Numbers: [22, 86] Generated Node #0,2,0: 78:[22, 86] Operation: 71+15=86 Exploring Operation: 71-22=49, Resulting Numbers: [15, 49] Generated Node #0,2,1: 78:[15, 49] Operation: 71-22=49 Exploring Operation: 15+22=37, Resulting Numbers: [71, 37] Generated Node #0,2,2: 78:[71, 37] Operation: 15+22=37 Exploring Operation: 22-15=7, Resulting Numbers: [71, 7] Generated Node #0,2,3: 78:[71, 7] Operation: 22-15=7 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 78:[71, 7], Operations: ['62-40=22', '22-15=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,78 unequal: No Solution Exploring Operation: 71*7=497, Resulting Numbers: [497] 497,78 unequal: No Solution Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[71, 40, 15, 62], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [71, 15, 22] Generated Node #0,2: 78:[71, 15, 22] Operation: 62-40=22 Moving to Node #0,2 Current State: 78:[71, 15, 22], Operations: ['62-40=22'] Exploring Operation: 22-15=7, Resulting Numbers: [71, 7] Generated Node #0,2,3: 78:[71, 7] Operation: 22-15=7 Moving to Node #0,2,3 Current State: 78:[71, 7], Operations: ['62-40=22', '22-15=7'] Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_4
sum_heuristic
[ 96, 11, 24, 15 ]
29
[ "96*11=1056", "1056/24=44", "44-15=29" ]
Current State: 29:[96, 11, 24, 15], Operations: [] Exploring Operation: 96*11=1056, Resulting Numbers: [24, 15, 1056] Generated Node #2: [24, 15, 1056] from Operation: 96*11=1056 Current State: 29:[24, 15, 1056], Operations: ['96*11=1056'] Exploring Operation: 1056/24=44, Resulting Numbers: [15, 44] Generated Node #3: [15, 44] from Operation: 1056/24=44 Current State: 29:[15, 44], Operations: ['96*11=1056', '1056/24=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[96, 11, 24, 15], Operations: [] Exploring Operation: 96-24=72, Resulting Numbers: [11, 15, 72] Generated Node #0,0: 29:[11, 15, 72] Operation: 96-24=72 Exploring Operation: 96-15=81, Resulting Numbers: [11, 24, 81] Generated Node #0,1: 29:[11, 24, 81] Operation: 96-15=81 Exploring Operation: 96/24=4, Resulting Numbers: [11, 15, 4] Generated Node #0,2: 29:[11, 15, 4] Operation: 96/24=4 Exploring Operation: 96-11=85, Resulting Numbers: [24, 15, 85] Generated Node #0,3: 29:[24, 15, 85] Operation: 96-11=85 Moving to Node #0,2 Current State: 29:[11, 15, 4], Operations: ['96/24=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15, 15] Generated Node #0,2,0: 29:[15, 15] Operation: 11+4=15 Exploring Operation: 11+15=26, Resulting Numbers: [4, 26] Generated Node #0,2,1: 29:[4, 26] Operation: 11+15=26 Exploring Operation: 15+4=19, Resulting Numbers: [11, 19] Generated Node #0,2,2: 29:[11, 19] Operation: 15+4=19 Exploring Operation: 11*4=44, Resulting Numbers: [15, 44] Generated Node #0,2,3: 29:[15, 44] Operation: 11*4=44 Moving to Node #0,1 Current State: 29:[11, 24, 81], Operations: ['96-15=81'] Exploring Operation: 81-24=57, Resulting Numbers: [11, 57] Generated Node #0,1,0: 29:[11, 57] Operation: 81-24=57 Exploring Operation: 81-11=70, Resulting Numbers: [24, 70] Generated Node #0,1,1: 29:[24, 70] Operation: 81-11=70 Exploring Operation: 24-11=13, Resulting Numbers: [81, 13] Generated Node #0,1,2: 29:[81, 13] Operation: 24-11=13 Exploring Operation: 11+24=35, Resulting Numbers: [81, 35] Generated Node #0,1,3: 29:[81, 35] Operation: 11+24=35 Moving to Node #0,0 Current State: 29:[11, 15, 72], Operations: ['96-24=72'] Exploring Operation: 72-11=61, Resulting Numbers: [15, 61] Generated Node #0,0,0: 29:[15, 61] Operation: 72-11=61 Exploring Operation: 72-15=57, Resulting Numbers: [11, 57] Generated Node #0,0,1: 29:[11, 57] Operation: 72-15=57 Exploring Operation: 11+15=26, Resulting Numbers: [72, 26] Generated Node #0,0,2: 29:[72, 26] Operation: 11+15=26 Exploring Operation: 15-11=4, Resulting Numbers: [72, 4] Generated Node #0,0,3: 29:[72, 4] Operation: 15-11=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[15, 61], Operations: ['96-24=72', '72-11=61'] Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 15*61=915, Resulting Numbers: [915] 915,29 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[11, 57], Operations: ['96-24=72', '72-15=57'] Exploring Operation: 11*57=627, Resulting Numbers: [627] 627,29 unequal: No Solution Exploring Operation: 11+57=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[72, 26], Operations: ['96-24=72', '11+15=26'] Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,29 unequal: No Solution Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,29 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[72, 4], Operations: ['96-24=72', '15-11=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,29 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,29 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: 29:[24, 15, 85], Operations: ['96-11=85'] Exploring Operation: 24-15=9, Resulting Numbers: [85, 9] Generated Node #0,3,0: 29:[85, 9] Operation: 24-15=9 Exploring Operation: 24+15=39, Resulting Numbers: [85, 39] Generated Node #0,3,1: 29:[85, 39] Operation: 24+15=39 Exploring Operation: 85-15=70, Resulting Numbers: [24, 70] Generated Node #0,3,2: 29:[24, 70] Operation: 85-15=70 Exploring Operation: 85-24=61, Resulting Numbers: [15, 61] Generated Node #0,3,3: 29:[15, 61] Operation: 85-24=61 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 29:[24, 70], Operations: ['96-11=85', '85-15=70'] Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,29 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 29:[15, 61], Operations: ['96-11=85', '85-24=61'] Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 15*61=915, Resulting Numbers: [915] 915,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[85, 39], Operations: ['96-11=85', '24+15=39'] Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,29 unequal: No Solution Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[85, 9], Operations: ['96-11=85', '24-15=9'] Exploring Operation: 85+9=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 85*9=765, Resulting Numbers: [765] 765,29 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,29 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: 29:[15, 15], Operations: ['96/24=4', '11+4=15'] Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,29 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[11, 19], Operations: ['96/24=4', '15+4=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,29 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[4, 26], Operations: ['96/24=4', '11+15=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[15, 44], Operations: ['96/24=4', '11*4=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[96, 11, 24, 15], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [11, 15, 4] Generated Node #0,2: 29:[11, 15, 4] Operation: 96/24=4 Moving to Node #0,2 Current State: 29:[11, 15, 4], Operations: ['96/24=4'] Exploring Operation: 11*4=44, Resulting Numbers: [15, 44] Generated Node #0,2,3: 29:[15, 44] Operation: 11*4=44 Moving to Node #0,2,3 Current State: 29:[15, 44], Operations: ['96/24=4', '11*4=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.947917
hs_4
mult_heuristic
[ 74, 77, 79, 14 ]
96
[ "77-74=3", "79+14=93", "3+93=96" ]
Current State: 96:[74, 77, 79, 14], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [79, 14, 3] Generated Node #2: [79, 14, 3] from Operation: 77-74=3 Current State: 96:[79, 14, 3], Operations: ['77-74=3'] Exploring Operation: 79+14=93, Resulting Numbers: [3, 93] Generated Node #3: [3, 93] from Operation: 79+14=93 Current State: 96:[3, 93], Operations: ['77-74=3', '79+14=93'] Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[74, 77, 79, 14], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [77, 14, 5] Generated Node #0,0: 96:[77, 14, 5] Operation: 79-74=5 Exploring Operation: 77-74=3, Resulting Numbers: [79, 14, 3] Generated Node #0,1: 96:[79, 14, 3] Operation: 77-74=3 Moving to Node #0,1 Current State: 96:[79, 14, 3], Operations: ['77-74=3'] Exploring Operation: 79+14=93, Resulting Numbers: [3, 93] Generated Node #0,1,0: 96:[3, 93] Operation: 79+14=93 Exploring Operation: 79+3=82, Resulting Numbers: [14, 82] Generated Node #0,1,1: 96:[14, 82] Operation: 79+3=82 Moving to Node #0,0 Current State: 96:[77, 14, 5], Operations: ['79-74=5'] Exploring Operation: 77-14=63, Resulting Numbers: [5, 63] Generated Node #0,0,0: 96:[5, 63] Operation: 77-14=63 Exploring Operation: 77+14=91, Resulting Numbers: [5, 91] Generated Node #0,0,1: 96:[5, 91] Operation: 77+14=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[5, 91], Operations: ['79-74=5', '77+14=91'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,96 unequal: No Solution Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[74, 77, 79, 14], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [77, 14, 5] Generated Node #0,0: 96:[77, 14, 5] Operation: 79-74=5 Moving to Node #0,0 Current State: 96:[77, 14, 5], Operations: ['79-74=5'] Exploring Operation: 77+14=91, Resulting Numbers: [5, 91] Generated Node #0,0,1: 96:[5, 91] Operation: 77+14=91 Moving to Node #0,0,1 Current State: 96:[5, 91], Operations: ['79-74=5', '77+14=91'] Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 19, 66, 18, 8 ]
59
[ "19+66=85", "18+8=26", "85-26=59" ]
Current State: 59:[19, 66, 18, 8], Operations: [] Exploring Operation: 19+66=85, Resulting Numbers: [18, 8, 85] Generated Node #2: [18, 8, 85] from Operation: 19+66=85 Current State: 59:[18, 8, 85], Operations: ['19+66=85'] Exploring Operation: 18+8=26, Resulting Numbers: [85, 26] Generated Node #3: [85, 26] from Operation: 18+8=26 Current State: 59:[85, 26], Operations: ['19+66=85', '18+8=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[19, 66, 18, 8], Operations: [] Exploring Operation: 19+18=37, Resulting Numbers: [66, 8, 37] Generated Node #0,0: 59:[66, 8, 37] Operation: 19+18=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[66, 8, 37], Operations: ['19+18=37'] Exploring Operation: 8+37=45, Resulting Numbers: [66, 45] Generated Node #0,0,0: 59:[66, 45] Operation: 8+37=45 Moving to Node #0,0,0 Current State: 59:[66, 45], Operations: ['19+18=37', '8+37=45'] Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 45, 5, 51, 79 ]
79
[ "45+5=50", "51-50=1", "79*1=79" ]
Current State: 79:[45, 5, 51, 79], Operations: [] Exploring Operation: 45+5=50, Resulting Numbers: [51, 79, 50] Generated Node #2: [51, 79, 50] from Operation: 45+5=50 Current State: 79:[51, 79, 50], Operations: ['45+5=50'] Exploring Operation: 51-50=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 51-50=1 Current State: 79:[79, 1], Operations: ['45+5=50', '51-50=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[45, 5, 51, 79], Operations: [] Exploring Operation: 5+79=84, Resulting Numbers: [45, 51, 84] Generated Node #0,0: 79:[45, 51, 84] Operation: 5+79=84 Exploring Operation: 45+5=50, Resulting Numbers: [51, 79, 50] Generated Node #0,1: 79:[51, 79, 50] Operation: 45+5=50 Exploring Operation: 45-5=40, Resulting Numbers: [51, 79, 40] Generated Node #0,2: 79:[51, 79, 40] Operation: 45-5=40 Exploring Operation: 5+51=56, Resulting Numbers: [45, 79, 56] Generated Node #0,3: 79:[45, 79, 56] Operation: 5+51=56 Exploring Operation: 51-5=46, Resulting Numbers: [45, 79, 46] Generated Node #0,4: 79:[45, 79, 46] Operation: 51-5=46 Moving to Node #0,1 Current State: 79:[51, 79, 50], Operations: ['45+5=50'] Exploring Operation: 51-50=1, Resulting Numbers: [79, 1] Generated Node #0,1,0: 79:[79, 1] Operation: 51-50=1 Exploring Operation: 79-50=29, Resulting Numbers: [51, 29] Generated Node #0,1,1: 79:[51, 29] Operation: 79-50=29 Exploring Operation: 51+79=130, Resulting Numbers: [50, 130] Generated Node #0,1,2: 79:[50, 130] Operation: 51+79=130 Exploring Operation: 79+50=129, Resulting Numbers: [51, 129] Generated Node #0,1,3: 79:[51, 129] Operation: 79+50=129 Exploring Operation: 51+50=101, Resulting Numbers: [79, 101] Generated Node #0,1,4: 79:[79, 101] Operation: 51+50=101 Moving to Node #0,3 Current State: 79:[45, 79, 56], Operations: ['5+51=56'] Exploring Operation: 79-45=34, Resulting Numbers: [56, 34] Generated Node #0,3,0: 79:[56, 34] Operation: 79-45=34 Exploring Operation: 79+56=135, Resulting Numbers: [45, 135] Generated Node #0,3,1: 79:[45, 135] Operation: 79+56=135 Exploring Operation: 56-45=11, Resulting Numbers: [79, 11] Generated Node #0,3,2: 79:[79, 11] Operation: 56-45=11 Exploring Operation: 45+79=124, Resulting Numbers: [56, 124] Generated Node #0,3,3: 79:[56, 124] Operation: 45+79=124 Exploring Operation: 45+56=101, Resulting Numbers: [79, 101] Generated Node #0,3,4: 79:[79, 101] Operation: 45+56=101 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 79:[79, 101], Operations: ['5+51=56', '45+56=101'] Exploring Operation: 79+101=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 101-79=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 79*101=7979, Resulting Numbers: [7979] 7979,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[56, 34], Operations: ['5+51=56', '79-45=34'] Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,79 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[79, 11], Operations: ['5+51=56', '56-45=11'] Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,79 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[56, 124], Operations: ['5+51=56', '45+79=124'] Exploring Operation: 56+124=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 124-56=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 56*124=6944, Resulting Numbers: [6944] 6944,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[45, 135], Operations: ['5+51=56', '79+56=135'] Exploring Operation: 135/45=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 45+135=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 45*135=6075, Resulting Numbers: [6075] 6075,79 unequal: No Solution Exploring Operation: 135-45=90, Resulting Numbers: [90] 90,79 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: 79:[45, 51, 84], Operations: ['5+79=84'] Exploring Operation: 45+84=129, Resulting Numbers: [51, 129] Generated Node #0,0,0: 79:[51, 129] Operation: 45+84=129 Exploring Operation: 84-51=33, Resulting Numbers: [45, 33] Generated Node #0,0,1: 79:[45, 33] Operation: 84-51=33 Exploring Operation: 45+51=96, Resulting Numbers: [84, 96] Generated Node #0,0,2: 79:[84, 96] Operation: 45+51=96 Exploring Operation: 51-45=6, Resulting Numbers: [84, 6] Generated Node #0,0,3: 79:[84, 6] Operation: 51-45=6 Exploring Operation: 84-45=39, Resulting Numbers: [51, 39] Generated Node #0,0,4: 79:[51, 39] Operation: 84-45=39 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[84, 96], Operations: ['5+79=84', '45+51=96'] Exploring Operation: 84*96=8064, Resulting Numbers: [8064] 8064,79 unequal: No Solution Exploring Operation: 84+96=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 79:[51, 39], Operations: ['5+79=84', '84-45=39'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[51, 129], Operations: ['5+79=84', '45+84=129'] Exploring Operation: 51*129=6579, Resulting Numbers: [6579] 6579,79 unequal: No Solution Exploring Operation: 51+129=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 129-51=78, Resulting Numbers: [78] 78,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[84, 6], Operations: ['5+79=84', '51-45=6'] Exploring Operation: 84*6=504, Resulting Numbers: [504] 504,79 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[45, 33], Operations: ['5+79=84', '84-51=33'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,79 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,79 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: 79:[51, 79, 40], Operations: ['45-5=40'] Exploring Operation: 79+40=119, Resulting Numbers: [51, 119] Generated Node #0,2,0: 79:[51, 119] Operation: 79+40=119 Exploring Operation: 79-40=39, Resulting Numbers: [51, 39] Generated Node #0,2,1: 79:[51, 39] Operation: 79-40=39 Exploring Operation: 51-40=11, Resulting Numbers: [79, 11] Generated Node #0,2,2: 79:[79, 11] Operation: 51-40=11 Exploring Operation: 51+40=91, Resulting Numbers: [79, 91] Generated Node #0,2,3: 79:[79, 91] Operation: 51+40=91 Exploring Operation: 51+79=130, Resulting Numbers: [40, 130] Generated Node #0,2,4: 79:[40, 130] Operation: 51+79=130 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[79, 91], Operations: ['45-5=40', '51+40=91'] Exploring Operation: 79+91=170, Resulting Numbers: [170] 170,79 unequal: No Solution Exploring Operation: 79*91=7189, Resulting Numbers: [7189] 7189,79 unequal: No Solution Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[51, 119], Operations: ['45-5=40', '79+40=119'] Exploring Operation: 119-51=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 51*119=6069, Resulting Numbers: [6069] 6069,79 unequal: No Solution Exploring Operation: 51+119=170, Resulting Numbers: [170] 170,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[51, 39], Operations: ['45-5=40', '79-40=39'] Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,79 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[79, 11], Operations: ['45-5=40', '51-40=11'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,79 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[40, 130], Operations: ['45-5=40', '51+79=130'] Exploring Operation: 40*130=5200, Resulting Numbers: [5200] 5200,79 unequal: No Solution Exploring Operation: 130-40=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 40+130=170, Resulting Numbers: [170] 170,79 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: 79:[45, 79, 46], Operations: ['51-5=46'] Exploring Operation: 46-45=1, Resulting Numbers: [79, 1] Generated Node #0,4,0: 79:[79, 1] Operation: 46-45=1 Exploring Operation: 45+79=124, Resulting Numbers: [46, 124] Generated Node #0,4,1: 79:[46, 124] Operation: 45+79=124 Exploring Operation: 79-45=34, Resulting Numbers: [46, 34] Generated Node #0,4,2: 79:[46, 34] Operation: 79-45=34 Exploring Operation: 45+46=91, Resulting Numbers: [79, 91] Generated Node #0,4,3: 79:[79, 91] Operation: 45+46=91 Exploring Operation: 79+46=125, Resulting Numbers: [45, 125] Generated Node #0,4,4: 79:[45, 125] Operation: 79+46=125 Moving to Node #0,4,3 Current State: 79:[79, 91], Operations: ['51-5=46', '45+46=91'] Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 79+91=170, Resulting Numbers: [170] 170,79 unequal: No Solution Exploring Operation: 79*91=7189, Resulting Numbers: [7189] 7189,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[79, 101], Operations: ['45+5=50', '51+50=101'] Exploring Operation: 101-79=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 79*101=7979, Resulting Numbers: [7979] 7979,79 unequal: No Solution Exploring Operation: 79+101=180, Resulting Numbers: [180] 180,79 unequal: No Solution Moving to Node #0,4,0 Current State: 79:[79, 1], Operations: ['51-5=46', '46-45=1'] Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[45, 5, 51, 79], Operations: [] Exploring Operation: 51-5=46, Resulting Numbers: [45, 79, 46] Generated Node #0,4: 79:[45, 79, 46] Operation: 51-5=46 Moving to Node #0,4 Current State: 79:[45, 79, 46], Operations: ['51-5=46'] Exploring Operation: 46-45=1, Resulting Numbers: [79, 1] Generated Node #0,4,0: 79:[79, 1] Operation: 46-45=1 Moving to Node #0,4,0 Current State: 79:[79, 1], Operations: ['51-5=46', '46-45=1'] Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.923611
hs_5
sum_heuristic
[ 12, 36, 33, 77 ]
20
[ "36-12=24", "77-33=44", "44-24=20" ]
Current State: 20:[12, 36, 33, 77], Operations: [] Exploring Operation: 36-12=24, Resulting Numbers: [33, 77, 24] Generated Node #2: [33, 77, 24] from Operation: 36-12=24 Current State: 20:[33, 77, 24], Operations: ['36-12=24'] Exploring Operation: 77-33=44, Resulting Numbers: [24, 44] Generated Node #3: [24, 44] from Operation: 77-33=44 Current State: 20:[24, 44], Operations: ['36-12=24', '77-33=44'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[12, 36, 33, 77], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [12, 36, 44] Generated Node #0,0: 20:[12, 36, 44] Operation: 77-33=44 Exploring Operation: 36-33=3, Resulting Numbers: [12, 77, 3] Generated Node #0,1: 20:[12, 77, 3] Operation: 36-33=3 Exploring Operation: 77-36=41, Resulting Numbers: [12, 33, 41] Generated Node #0,2: 20:[12, 33, 41] Operation: 77-36=41 Moving to Node #0,2 Current State: 20:[12, 33, 41], Operations: ['77-36=41'] Exploring Operation: 33-12=21, Resulting Numbers: [41, 21] Generated Node #0,2,0: 20:[41, 21] Operation: 33-12=21 Exploring Operation: 41-12=29, Resulting Numbers: [33, 29] Generated Node #0,2,1: 20:[33, 29] Operation: 41-12=29 Exploring Operation: 41-33=8, Resulting Numbers: [12, 8] Generated Node #0,2,2: 20:[12, 8] Operation: 41-33=8 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[12, 8], Operations: ['77-36=41', '41-33=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,20 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[12, 36, 33, 77], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [12, 33, 41] Generated Node #0,2: 20:[12, 33, 41] Operation: 77-36=41 Moving to Node #0,2 Current State: 20:[12, 33, 41], Operations: ['77-36=41'] Exploring Operation: 41-33=8, Resulting Numbers: [12, 8] Generated Node #0,2,2: 20:[12, 8] Operation: 41-33=8 Moving to Node #0,2,2 Current State: 20:[12, 8], Operations: ['77-36=41', '41-33=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 84, 1, 74, 89 ]
68
[ "84-1=83", "89-74=15", "83-15=68" ]
Current State: 68:[84, 1, 74, 89], Operations: [] Exploring Operation: 84-1=83, Resulting Numbers: [74, 89, 83] Generated Node #2: [74, 89, 83] from Operation: 84-1=83 Current State: 68:[74, 89, 83], Operations: ['84-1=83'] Exploring Operation: 89-74=15, Resulting Numbers: [83, 15] Generated Node #3: [83, 15] from Operation: 89-74=15 Current State: 68:[83, 15], Operations: ['84-1=83', '89-74=15'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[84, 1, 74, 89], Operations: [] Exploring Operation: 89-74=15, Resulting Numbers: [84, 1, 15] Generated Node #0,0: 68:[84, 1, 15] Operation: 89-74=15 Exploring Operation: 84-1=83, Resulting Numbers: [74, 89, 83] Generated Node #0,1: 68:[74, 89, 83] Operation: 84-1=83 Exploring Operation: 84-74=10, Resulting Numbers: [1, 89, 10] Generated Node #0,2: 68:[1, 89, 10] Operation: 84-74=10 Exploring Operation: 74-1=73, Resulting Numbers: [84, 89, 73] Generated Node #0,3: 68:[84, 89, 73] Operation: 74-1=73 Exploring Operation: 89-84=5, Resulting Numbers: [1, 74, 5] Generated Node #0,4: 68:[1, 74, 5] Operation: 89-84=5 Moving to Node #0,4 Current State: 68:[1, 74, 5], Operations: ['89-84=5'] Exploring Operation: 74-5=69, Resulting Numbers: [1, 69] Generated Node #0,4,0: 68:[1, 69] Operation: 74-5=69 Exploring Operation: 1*74=74, Resulting Numbers: [5, 74] Generated Node #0,4,1: 68:[5, 74] Operation: 1*74=74 Exploring Operation: 74-1=73, Resulting Numbers: [5, 73] Generated Node #0,4,2: 68:[5, 73] Operation: 74-1=73 Exploring Operation: 5-1=4, Resulting Numbers: [74, 4] Generated Node #0,4,3: 68:[74, 4] Operation: 5-1=4 Exploring Operation: 74/1=74, Resulting Numbers: [5, 74] Generated Node #0,4,4: 68:[5, 74] Operation: 74/1=74 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 68:[1, 69], Operations: ['89-84=5', '74-5=69'] Exploring Operation: 69/1=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:[84, 1, 74, 89], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [1, 74, 5] Generated Node #0,4: 68:[1, 74, 5] Operation: 89-84=5 Moving to Node #0,4 Current State: 68:[1, 74, 5], Operations: ['89-84=5'] Exploring Operation: 74-5=69, Resulting Numbers: [1, 69] Generated Node #0,4,0: 68:[1, 69] Operation: 74-5=69 Moving to Node #0,4,0 Current State: 68:[1, 69], Operations: ['89-84=5', '74-5=69'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 4, 57, 37, 23 ]
17
[ "57+23=80", "80/4=20", "37-20=17" ]
Current State: 17:[4, 57, 37, 23], Operations: [] Exploring Operation: 57+23=80, Resulting Numbers: [4, 37, 80] Generated Node #2: [4, 37, 80] from Operation: 57+23=80 Current State: 17:[4, 37, 80], Operations: ['57+23=80'] Exploring Operation: 80/4=20, Resulting Numbers: [37, 20] Generated Node #3: [37, 20] from Operation: 80/4=20 Current State: 17:[37, 20], Operations: ['57+23=80', '80/4=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[4, 57, 37, 23], Operations: [] Exploring Operation: 57-37=20, Resulting Numbers: [4, 23, 20] Generated Node #0,0: 17:[4, 23, 20] Operation: 57-37=20 Exploring Operation: 37-23=14, Resulting Numbers: [4, 57, 14] Generated Node #0,1: 17:[4, 57, 14] Operation: 37-23=14 Exploring Operation: 57-4=53, Resulting Numbers: [37, 23, 53] Generated Node #0,2: 17:[37, 23, 53] Operation: 57-4=53 Exploring Operation: 57-23=34, Resulting Numbers: [4, 37, 34] Generated Node #0,3: 17:[4, 37, 34] Operation: 57-23=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[4, 23, 20], Operations: ['57-37=20'] Exploring Operation: 4+23=27, Resulting Numbers: [20, 27] Generated Node #0,0,0: 17:[20, 27] Operation: 4+23=27 Exploring Operation: 4+20=24, Resulting Numbers: [23, 24] Generated Node #0,0,1: 17:[23, 24] Operation: 4+20=24 Exploring Operation: 23-4=19, Resulting Numbers: [20, 19] Generated Node #0,0,2: 17:[20, 19] Operation: 23-4=19 Exploring Operation: 20-4=16, Resulting Numbers: [23, 16] Generated Node #0,0,3: 17:[23, 16] Operation: 20-4=16 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 17:[20, 19], Operations: ['57-37=20', '23-4=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,17 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,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:[23, 16], Operations: ['57-37=20', '20-4=16'] Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,17 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,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:[20, 27], Operations: ['57-37=20', '4+23=27'] Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,17 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,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:[23, 24], Operations: ['57-37=20', '4+20=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,17 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,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:[4, 37, 34], Operations: ['57-23=34'] Exploring Operation: 34-4=30, Resulting Numbers: [37, 30] Generated Node #0,3,0: 17:[37, 30] Operation: 34-4=30 Exploring Operation: 4+37=41, Resulting Numbers: [34, 41] Generated Node #0,3,1: 17:[34, 41] Operation: 4+37=41 Exploring Operation: 37-34=3, Resulting Numbers: [4, 3] Generated Node #0,3,2: 17:[4, 3] Operation: 37-34=3 Exploring Operation: 37-4=33, Resulting Numbers: [34, 33] Generated Node #0,3,3: 17:[34, 33] Operation: 37-4=33 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[4, 3], Operations: ['57-23=34', '37-34=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,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:[37, 30], Operations: ['57-23=34', '34-4=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,17 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,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:[34, 33], Operations: ['57-23=34', '37-4=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,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,1 Current State: 17:[34, 41], Operations: ['57-23=34', '4+37=41'] Exploring Operation: 34*41=1394, Resulting Numbers: [1394] 1394,17 unequal: No Solution Exploring Operation: 34+41=75, Resulting Numbers: [75] 75,17 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,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,1 Current State: 17:[4, 57, 14], Operations: ['37-23=14'] Exploring Operation: 4+57=61, Resulting Numbers: [14, 61] Generated Node #0,1,0: 17:[14, 61] Operation: 4+57=61 Exploring Operation: 57-4=53, Resulting Numbers: [14, 53] Generated Node #0,1,1: 17:[14, 53] Operation: 57-4=53 Exploring Operation: 57-14=43, Resulting Numbers: [4, 43] Generated Node #0,1,2: 17:[4, 43] Operation: 57-14=43 Exploring Operation: 4+14=18, Resulting Numbers: [57, 18] Generated Node #0,1,3: 17:[57, 18] Operation: 4+14=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[14, 53], Operations: ['37-23=14', '57-4=53'] Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,17 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,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:[4, 43], Operations: ['37-23=14', '57-14=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,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:[57, 18], Operations: ['37-23=14', '4+14=18'] Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,17 unequal: No Solution Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,17 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,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,0 Current State: 17:[14, 61], Operations: ['37-23=14', '4+57=61'] Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,17 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,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:[37, 23, 53], Operations: ['57-4=53'] Exploring Operation: 37-23=14, Resulting Numbers: [53, 14] Generated Node #0,2,0: 17:[53, 14] Operation: 37-23=14 Exploring Operation: 37+23=60, Resulting Numbers: [53, 60] Generated Node #0,2,1: 17:[53, 60] Operation: 37+23=60 Exploring Operation: 53-23=30, Resulting Numbers: [37, 30] Generated Node #0,2,2: 17:[37, 30] Operation: 53-23=30 Exploring Operation: 53-37=16, Resulting Numbers: [23, 16] Generated Node #0,2,3: 17:[23, 16] Operation: 53-37=16 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[23, 16], Operations: ['57-4=53', '53-37=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,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:[37, 30], Operations: ['57-4=53', '53-23=30'] Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,17 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,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:[53, 14], Operations: ['57-4=53', '37-23=14'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,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:[53, 60], Operations: ['57-4=53', '37+23=60'] Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 53+60=113, Resulting Numbers: [113] 113,17 unequal: No Solution Exploring Operation: 53*60=3180, Resulting Numbers: [3180] 3180,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
sum_heuristic
[ 78, 46, 66, 33 ]
67
[ "78-46=32", "66+33=99", "99-32=67" ]
Current State: 67:[78, 46, 66, 33], Operations: [] Exploring Operation: 78-46=32, Resulting Numbers: [66, 33, 32] Generated Node #2: [66, 33, 32] from Operation: 78-46=32 Current State: 67:[66, 33, 32], Operations: ['78-46=32'] Exploring Operation: 66+33=99, Resulting Numbers: [32, 99] Generated Node #3: [32, 99] from Operation: 66+33=99 Current State: 67:[32, 99], Operations: ['78-46=32', '66+33=99'] Exploring Operation: 99-32=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[78, 46, 66, 33], Operations: [] Exploring Operation: 78-33=45, Resulting Numbers: [46, 66, 45] Generated Node #0,0: 67:[46, 66, 45] Operation: 78-33=45 Exploring Operation: 46+33=79, Resulting Numbers: [78, 66, 79] Generated Node #0,1: 67:[78, 66, 79] Operation: 46+33=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[78, 66, 79], Operations: ['46+33=79'] Exploring Operation: 78-66=12, Resulting Numbers: [79, 12] Generated Node #0,1,0: 67:[79, 12] Operation: 78-66=12 Exploring Operation: 79-66=13, Resulting Numbers: [78, 13] Generated Node #0,1,1: 67:[78, 13] Operation: 79-66=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[78, 13], Operations: ['46+33=79', '79-66=13'] Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[79, 12], Operations: ['46+33=79', '78-66=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[78, 46, 66, 33], Operations: [] Exploring Operation: 46+33=79, Resulting Numbers: [78, 66, 79] Generated Node #0,1: 67:[78, 66, 79] Operation: 46+33=79 Moving to Node #0,1 Current State: 67:[78, 66, 79], Operations: ['46+33=79'] Exploring Operation: 78-66=12, Resulting Numbers: [79, 12] Generated Node #0,1,0: 67:[79, 12] Operation: 78-66=12 Moving to Node #0,1,0 Current State: 67:[79, 12], Operations: ['46+33=79', '78-66=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 54, 11, 38, 13 ]
33
[ "54+11=65", "65/13=5", "38-5=33" ]
Current State: 33:[54, 11, 38, 13], Operations: [] Exploring Operation: 54+11=65, Resulting Numbers: [38, 13, 65] Generated Node #2: [38, 13, 65] from Operation: 54+11=65 Current State: 33:[38, 13, 65], Operations: ['54+11=65'] Exploring Operation: 65/13=5, Resulting Numbers: [38, 5] Generated Node #3: [38, 5] from Operation: 65/13=5 Current State: 33:[38, 5], Operations: ['54+11=65', '65/13=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[54, 11, 38, 13], Operations: [] Exploring Operation: 54-13=41, Resulting Numbers: [11, 38, 41] Generated Node #0,0: 33:[11, 38, 41] Operation: 54-13=41 Exploring Operation: 54-11=43, Resulting Numbers: [38, 13, 43] Generated Node #0,1: 33:[38, 13, 43] Operation: 54-11=43 Exploring Operation: 54-38=16, Resulting Numbers: [11, 13, 16] Generated Node #0,2: 33:[11, 13, 16] Operation: 54-38=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[11, 13, 16], Operations: ['54-38=16'] Exploring Operation: 13+16=29, Resulting Numbers: [11, 29] Generated Node #0,2,0: 33:[11, 29] Operation: 13+16=29 Exploring Operation: 16-13=3, Resulting Numbers: [11, 3] Generated Node #0,2,1: 33:[11, 3] Operation: 16-13=3 Exploring Operation: 16-11=5, Resulting Numbers: [13, 5] Generated Node #0,2,2: 33:[13, 5] Operation: 16-11=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[11, 3], Operations: ['54-38=16', '16-13=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[54, 11, 38, 13], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [11, 13, 16] Generated Node #0,2: 33:[11, 13, 16] Operation: 54-38=16 Moving to Node #0,2 Current State: 33:[11, 13, 16], Operations: ['54-38=16'] Exploring Operation: 16-13=3, Resulting Numbers: [11, 3] Generated Node #0,2,1: 33:[11, 3] Operation: 16-13=3 Moving to Node #0,2,1 Current State: 33:[11, 3], Operations: ['54-38=16', '16-13=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 57, 45, 87, 59 ]
84
[ "59-57=2", "87-45=42", "2*42=84" ]
Current State: 84:[57, 45, 87, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [45, 87, 2] Generated Node #2: [45, 87, 2] from Operation: 59-57=2 Current State: 84:[45, 87, 2], Operations: ['59-57=2'] Exploring Operation: 87-45=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 87-45=42 Current State: 84:[2, 42], Operations: ['59-57=2', '87-45=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[57, 45, 87, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [45, 87, 2] Generated Node #0,0: 84:[45, 87, 2] Operation: 59-57=2 Moving to Node #0,0 Current State: 84:[45, 87, 2], Operations: ['59-57=2'] Exploring Operation: 87-45=42, Resulting Numbers: [2, 42] Generated Node #0,0,0: 84:[2, 42] Operation: 87-45=42 Moving to Node #0,0,0 Current State: 84:[2, 42], Operations: ['59-57=2', '87-45=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[57, 45, 87, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [45, 87, 2] Generated Node #0,0: 84:[45, 87, 2] Operation: 59-57=2 Moving to Node #0,0 Current State: 84:[45, 87, 2], Operations: ['59-57=2'] Exploring Operation: 87-45=42, Resulting Numbers: [2, 42] Generated Node #0,0,0: 84:[2, 42] Operation: 87-45=42 Moving to Node #0,0,0 Current State: 84:[2, 42], Operations: ['59-57=2', '87-45=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 55, 27, 49, 53 ]
26
[ "27*49=1323", "55+1323=1378", "1378/53=26" ]
Current State: 26:[55, 27, 49, 53], Operations: [] Exploring Operation: 27*49=1323, Resulting Numbers: [55, 53, 1323] Generated Node #2: [55, 53, 1323] from Operation: 27*49=1323 Current State: 26:[55, 53, 1323], Operations: ['27*49=1323'] Exploring Operation: 55+1323=1378, Resulting Numbers: [53, 1378] Generated Node #3: [53, 1378] from Operation: 55+1323=1378 Current State: 26:[53, 1378], Operations: ['27*49=1323', '55+1323=1378'] Exploring Operation: 1378/53=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[55, 27, 49, 53], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [55, 27, 4] Generated Node #0,0: 26:[55, 27, 4] Operation: 53-49=4 Exploring Operation: 55-49=6, Resulting Numbers: [27, 53, 6] Generated Node #0,1: 26:[27, 53, 6] Operation: 55-49=6 Exploring Operation: 55-53=2, Resulting Numbers: [27, 49, 2] Generated Node #0,2: 26:[27, 49, 2] Operation: 55-53=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[27, 49, 2], Operations: ['55-53=2'] Exploring Operation: 27-2=25, Resulting Numbers: [49, 25] Generated Node #0,2,0: 26:[49, 25] Operation: 27-2=25 Exploring Operation: 49-27=22, Resulting Numbers: [2, 22] Generated Node #0,2,1: 26:[2, 22] Operation: 49-27=22 Exploring Operation: 49-2=47, Resulting Numbers: [27, 47] Generated Node #0,2,2: 26:[27, 47] Operation: 49-2=47 Moving to Node #0,2,1 Current State: 26:[2, 22], Operations: ['55-53=2', '49-27=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[27, 47], Operations: ['55-53=2', '49-2=47'] Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,26 unequal: No Solution Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[49, 25], Operations: ['55-53=2', '27-2=25'] Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,26 unequal: No Solution No 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: 26:[55, 27, 4], Operations: ['53-49=4'] Exploring Operation: 27-4=23, Resulting Numbers: [55, 23] Generated Node #0,0,0: 26:[55, 23] Operation: 27-4=23 Exploring Operation: 55-27=28, Resulting Numbers: [4, 28] Generated Node #0,0,1: 26:[4, 28] Operation: 55-27=28 Exploring Operation: 55-4=51, Resulting Numbers: [27, 51] Generated Node #0,0,2: 26:[27, 51] Operation: 55-4=51 Moving to Node #0,0,1 Current State: 26:[4, 28], Operations: ['53-49=4', '55-27=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[27, 51], Operations: ['53-49=4', '55-4=51'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 27+51=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 27*51=1377, Resulting Numbers: [1377] 1377,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[55, 23], Operations: ['53-49=4', '27-4=23'] Exploring Operation: 55+23=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 55*23=1265, Resulting Numbers: [1265] 1265,26 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,26 unequal: No Solution No 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: 26:[27, 53, 6], Operations: ['55-49=6'] Exploring Operation: 27-6=21, Resulting Numbers: [53, 21] Generated Node #0,1,0: 26:[53, 21] Operation: 27-6=21 Exploring Operation: 53-6=47, Resulting Numbers: [27, 47] Generated Node #0,1,1: 26:[27, 47] Operation: 53-6=47 Exploring Operation: 53-27=26, Resulting Numbers: [6, 26] Generated Node #0,1,2: 26:[6, 26] Operation: 53-27=26 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 26:[6, 26], Operations: ['55-49=6', '53-27=26'] Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,26 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,26 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,26 unequal: No Solution No 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: 26:[27, 47], Operations: ['55-49=6', '53-6=47'] Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,26 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,26 unequal: No Solution No 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: 26:[53, 21], Operations: ['55-49=6', '27-6=21'] Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,26 unequal: No Solution Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,26 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
[ 20, 81, 32, 27 ]
76
[ "81*32=2592", "2592/27=96", "96-20=76" ]
Current State: 76:[20, 81, 32, 27], Operations: [] Exploring Operation: 81*32=2592, Resulting Numbers: [20, 27, 2592] Generated Node #2: [20, 27, 2592] from Operation: 81*32=2592 Current State: 76:[20, 27, 2592], Operations: ['81*32=2592'] Exploring Operation: 2592/27=96, Resulting Numbers: [20, 96] Generated Node #3: [20, 96] from Operation: 2592/27=96 Current State: 76:[20, 96], Operations: ['81*32=2592', '2592/27=96'] Exploring Operation: 96-20=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[20, 81, 32, 27], Operations: [] Exploring Operation: 32-27=5, Resulting Numbers: [20, 81, 5] Generated Node #0,0: 76:[20, 81, 5] Operation: 32-27=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[20, 81, 5], Operations: ['32-27=5'] Exploring Operation: 81-5=76, Resulting Numbers: [20, 76] Generated Node #0,0,0: 76:[20, 76] Operation: 81-5=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[20, 76], Operations: ['32-27=5', '81-5=76'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 19, 55, 19, 20 ]
74
[ "19+55=74", "20-19=1", "74*1=74" ]
Current State: 74:[19, 55, 19, 20], Operations: [] Exploring Operation: 19+55=74, Resulting Numbers: [20, 74] Generated Node #2: [20, 74] from Operation: 19+55=74 Current State: 74:[20, 74], Operations: ['19+55=74'] Exploring Operation: 20-19=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 20-19=1 Current State: 74:[74, 1], Operations: ['19+55=74', '20-19=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[19, 55, 19, 20], Operations: [] Exploring Operation: 19+55=74, Resulting Numbers: [19, 20, 74] Generated Node #0,0: 74:[19, 20, 74] Operation: 19+55=74 Exploring Operation: 55-19=36, Resulting Numbers: [19, 20, 36] Generated Node #0,1: 74:[19, 20, 36] Operation: 55-19=36 Exploring Operation: 55+19=74, Resulting Numbers: [19, 20, 74] Generated Node #0,2: 74:[19, 20, 74] Operation: 55+19=74 Exploring Operation: 55-19=36, Resulting Numbers: [19, 20, 36] Generated Node #0,3: 74:[19, 20, 36] Operation: 55-19=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[19, 20, 74], Operations: ['19+55=74'] Exploring Operation: 74-20=54, Resulting Numbers: [19, 54] Generated Node #0,0,0: 74:[19, 54] Operation: 74-20=54 Exploring Operation: 19+20=39, Resulting Numbers: [74, 39] Generated Node #0,0,1: 74:[74, 39] Operation: 19+20=39 Exploring Operation: 74-19=55, Resulting Numbers: [20, 55] Generated Node #0,0,2: 74:[20, 55] Operation: 74-19=55 Exploring Operation: 20-19=1, Resulting Numbers: [74, 1] Generated Node #0,0,3: 74:[74, 1] Operation: 20-19=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[74, 1], Operations: ['19+55=74', '20-19=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[19, 55, 19, 20], Operations: [] Exploring Operation: 19+55=74, Resulting Numbers: [19, 20, 74] Generated Node #0,0: 74:[19, 20, 74] Operation: 19+55=74 Moving to Node #0,0 Current State: 74:[19, 20, 74], Operations: ['19+55=74'] Exploring Operation: 20-19=1, Resulting Numbers: [74, 1] Generated Node #0,0,3: 74:[74, 1] Operation: 20-19=1 Moving to Node #0,0,3 Current State: 74:[74, 1], Operations: ['19+55=74', '20-19=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 27, 51, 33, 63 ]
42
[ "51-33=18", "63*18=1134", "1134/27=42" ]
Current State: 42:[27, 51, 33, 63], Operations: [] Exploring Operation: 51-33=18, Resulting Numbers: [27, 63, 18] Generated Node #2: [27, 63, 18] from Operation: 51-33=18 Current State: 42:[27, 63, 18], Operations: ['51-33=18'] Exploring Operation: 63*18=1134, Resulting Numbers: [27, 1134] Generated Node #3: [27, 1134] from Operation: 63*18=1134 Current State: 42:[27, 1134], Operations: ['51-33=18', '63*18=1134'] Exploring Operation: 1134/27=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[27, 51, 33, 63], Operations: [] Exploring Operation: 63-33=30, Resulting Numbers: [27, 51, 30] Generated Node #0,0: 42:[27, 51, 30] Operation: 63-33=30 Exploring Operation: 63-51=12, Resulting Numbers: [27, 33, 12] Generated Node #0,1: 42:[27, 33, 12] Operation: 63-51=12 Exploring Operation: 63-27=36, Resulting Numbers: [51, 33, 36] Generated Node #0,2: 42:[51, 33, 36] Operation: 63-27=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[27, 33, 12], Operations: ['63-51=12'] Exploring Operation: 33+12=45, Resulting Numbers: [27, 45] Generated Node #0,1,0: 42:[27, 45] Operation: 33+12=45 Exploring Operation: 33-27=6, Resulting Numbers: [12, 6] Generated Node #0,1,1: 42:[12, 6] Operation: 33-27=6 Exploring Operation: 33-12=21, Resulting Numbers: [27, 21] Generated Node #0,1,2: 42:[27, 21] Operation: 33-12=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[12, 6], Operations: ['63-51=12', '33-27=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[27, 21], Operations: ['63-51=12', '33-12=21'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 27*21=567, Resulting Numbers: [567] 567,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[27, 45], Operations: ['63-51=12', '33+12=45'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[27, 51, 30], Operations: ['63-33=30'] Exploring Operation: 51-30=21, Resulting Numbers: [27, 21] Generated Node #0,0,0: 42:[27, 21] Operation: 51-30=21 Exploring Operation: 30-27=3, Resulting Numbers: [51, 3] Generated Node #0,0,1: 42:[51, 3] Operation: 30-27=3 Exploring Operation: 51-27=24, Resulting Numbers: [30, 24] Generated Node #0,0,2: 42:[30, 24] Operation: 51-27=24 Moving to Node #0,0,0 Current State: 42:[27, 21], Operations: ['63-33=30', '51-30=21'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 27*21=567, Resulting Numbers: [567] 567,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[51, 3], Operations: ['63-33=30', '30-27=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[30, 24], Operations: ['63-33=30', '51-27=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,42 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,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:[51, 33, 36], Operations: ['63-27=36'] Exploring Operation: 51-33=18, Resulting Numbers: [36, 18] Generated Node #0,2,0: 42:[36, 18] Operation: 51-33=18 Exploring Operation: 51-36=15, Resulting Numbers: [33, 15] Generated Node #0,2,1: 42:[33, 15] Operation: 51-36=15 Exploring Operation: 36-33=3, Resulting Numbers: [51, 3] Generated Node #0,2,2: 42:[51, 3] Operation: 36-33=3 Moving to Node #0,2,0 Current State: 42:[36, 18], Operations: ['63-27=36', '51-33=18'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[51, 3], Operations: ['63-27=36', '36-33=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[33, 15], Operations: ['63-27=36', '51-36=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,42 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,42 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
[ 32, 45, 85, 72 ]
65
[ "32*45=1440", "1440/72=20", "85-20=65" ]
Current State: 65:[32, 45, 85, 72], Operations: [] Exploring Operation: 32*45=1440, Resulting Numbers: [85, 72, 1440] Generated Node #2: [85, 72, 1440] from Operation: 32*45=1440 Current State: 65:[85, 72, 1440], Operations: ['32*45=1440'] Exploring Operation: 1440/72=20, Resulting Numbers: [85, 20] Generated Node #3: [85, 20] from Operation: 1440/72=20 Current State: 65:[85, 20], Operations: ['32*45=1440', '1440/72=20'] Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[32, 45, 85, 72], Operations: [] Exploring Operation: 45-32=13, Resulting Numbers: [85, 72, 13] Generated Node #0,0: 65:[85, 72, 13] Operation: 45-32=13 Moving to Node #0,0 Current State: 65:[85, 72, 13], Operations: ['45-32=13'] Exploring Operation: 85-72=13, Resulting Numbers: [13, 13] Generated Node #0,0,0: 65:[13, 13] Operation: 85-72=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[13, 13], Operations: ['45-32=13', '85-72=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 1, 21, 28, 82 ]
75
[ "1*21=21", "82-28=54", "21+54=75" ]
Current State: 75:[1, 21, 28, 82], Operations: [] Exploring Operation: 1*21=21, Resulting Numbers: [28, 82, 21] Generated Node #2: [28, 82, 21] from Operation: 1*21=21 Current State: 75:[28, 82, 21], Operations: ['1*21=21'] Exploring Operation: 82-28=54, Resulting Numbers: [21, 54] Generated Node #3: [21, 54] from Operation: 82-28=54 Current State: 75:[21, 54], Operations: ['1*21=21', '82-28=54'] Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[1, 21, 28, 82], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [1, 82, 7] Generated Node #0,0: 75:[1, 82, 7] Operation: 28-21=7 Exploring Operation: 1+21=22, Resulting Numbers: [28, 82, 22] Generated Node #0,1: 75:[28, 82, 22] Operation: 1+21=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[1, 82, 7], Operations: ['28-21=7'] Exploring Operation: 82-1=81, Resulting Numbers: [7, 81] Generated Node #0,0,0: 75:[7, 81] Operation: 82-1=81 Exploring Operation: 82-7=75, Resulting Numbers: [1, 75] Generated Node #0,0,1: 75:[1, 75] Operation: 82-7=75 Moving to Node #0,0,1 Current State: 75:[1, 75], Operations: ['28-21=7', '82-7=75'] Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[1, 21, 28, 82], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [1, 82, 7] Generated Node #0,0: 75:[1, 82, 7] Operation: 28-21=7 Moving to Node #0,0 Current State: 75:[1, 82, 7], Operations: ['28-21=7'] Exploring Operation: 82-7=75, Resulting Numbers: [1, 75] Generated Node #0,0,1: 75:[1, 75] Operation: 82-7=75 Moving to Node #0,0,1 Current State: 75:[1, 75], Operations: ['28-21=7', '82-7=75'] Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 54, 18, 54, 33 ]
18
[ "54-18=36", "36-33=3", "54/3=18" ]
Current State: 18:[54, 18, 54, 33], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [33, 36] Generated Node #2: [33, 36] from Operation: 54-18=36 Current State: 18:[33, 36], Operations: ['54-18=36'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,18 equal: Goal Reached Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[54, 18, 54, 33], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [18, 54, 21] Generated Node #0,0: 18:[18, 54, 21] Operation: 54-33=21 Exploring Operation: 54-33=21, Resulting Numbers: [54, 18, 21] Generated Node #0,1: 18:[54, 18, 21] Operation: 54-33=21 Exploring Operation: 54/54=1, Resulting Numbers: [18, 33, 1] Generated Node #0,2: 18:[18, 33, 1] Operation: 54/54=1 Exploring Operation: 54/18=3, Resulting Numbers: [54, 33, 3] Generated Node #0,3: 18:[54, 33, 3] Operation: 54/18=3 Exploring Operation: 54-54=0, Resulting Numbers: [18, 33, 0] Generated Node #0,4: 18:[18, 33, 0] Operation: 54-54=0 Moving to Node #0,2 Current State: 18:[18, 33, 1], Operations: ['54/54=1'] Exploring Operation: 33-18=15, Resulting Numbers: [1, 15] Generated Node #0,2,0: 18:[1, 15] Operation: 33-18=15 Exploring Operation: 18*1=18, Resulting Numbers: [33, 18] Generated Node #0,2,1: 18:[33, 18] Operation: 18*1=18 Exploring Operation: 18/1=18, Resulting Numbers: [33, 18] Generated Node #0,2,2: 18:[33, 18] Operation: 18/1=18 Exploring Operation: 33*1=33, Resulting Numbers: [18, 33] Generated Node #0,2,3: 18:[18, 33] Operation: 33*1=33 Exploring Operation: 33-1=32, Resulting Numbers: [18, 32] Generated Node #0,2,4: 18:[18, 32] Operation: 33-1=32 Moving to Node #0,4 Current State: 18:[18, 33, 0], Operations: ['54-54=0'] Exploring Operation: 18-0=18, Resulting Numbers: [33, 18] Generated Node #0,4,0: 18:[33, 18] Operation: 18-0=18 Exploring Operation: 33*0=0, Resulting Numbers: [18, 0] Generated Node #0,4,1: 18:[18, 0] Operation: 33*0=0 Exploring Operation: 33-18=15, Resulting Numbers: [0, 15] Generated Node #0,4,2: 18:[0, 15] Operation: 33-18=15 Exploring Operation: 18+0=18, Resulting Numbers: [33, 18] Generated Node #0,4,3: 18:[33, 18] Operation: 18+0=18 Exploring Operation: 33+0=33, Resulting Numbers: [18, 33] Generated Node #0,4,4: 18:[18, 33] Operation: 33+0=33 Moving to Node #0,0 Current State: 18:[18, 54, 21], Operations: ['54-33=21'] Exploring Operation: 21-18=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 18:[54, 3] Operation: 21-18=3 Exploring Operation: 54-18=36, Resulting Numbers: [21, 36] Generated Node #0,0,1: 18:[21, 36] Operation: 54-18=36 Exploring Operation: 54-21=33, Resulting Numbers: [18, 33] Generated Node #0,0,2: 18:[18, 33] Operation: 54-21=33 Exploring Operation: 54/18=3, Resulting Numbers: [21, 3] Generated Node #0,0,3: 18:[21, 3] Operation: 54/18=3 Exploring Operation: 18+54=72, Resulting Numbers: [21, 72] Generated Node #0,0,4: 18:[21, 72] Operation: 18+54=72 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[21, 3], Operations: ['54-33=21', '54/18=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[54, 18, 54, 33], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [18, 54, 21] Generated Node #0,0: 18:[18, 54, 21] Operation: 54-33=21 Moving to Node #0,0 Current State: 18:[18, 54, 21], Operations: ['54-33=21'] Exploring Operation: 54/18=3, Resulting Numbers: [21, 3] Generated Node #0,0,3: 18:[21, 3] Operation: 54/18=3 Moving to Node #0,0,3 Current State: 18:[21, 3], Operations: ['54-33=21', '54/18=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 46, 29, 57, 98 ]
38
[ "46*57=2622", "98-29=69", "2622/69=38" ]
Current State: 38:[46, 29, 57, 98], Operations: [] Exploring Operation: 46*57=2622, Resulting Numbers: [29, 98, 2622] Generated Node #2: [29, 98, 2622] from Operation: 46*57=2622 Current State: 38:[29, 98, 2622], Operations: ['46*57=2622'] Exploring Operation: 98-29=69, Resulting Numbers: [2622, 69] Generated Node #3: [2622, 69] from Operation: 98-29=69 Current State: 38:[2622, 69], Operations: ['46*57=2622', '98-29=69'] Exploring Operation: 2622/69=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[46, 29, 57, 98], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [46, 29, 41] Generated Node #0,0: 38:[46, 29, 41] Operation: 98-57=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[46, 29, 41], Operations: ['98-57=41'] Exploring Operation: 46-29=17, Resulting Numbers: [41, 17] Generated Node #0,0,0: 38:[41, 17] Operation: 46-29=17 Moving to Node #0,0,0 Current State: 38:[41, 17], Operations: ['98-57=41', '46-29=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,38 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
[ 51, 37, 32, 77 ]
41
[ "51+77=128", "128/32=4", "37+4=41" ]
Current State: 41:[51, 37, 32, 77], Operations: [] Exploring Operation: 51+77=128, Resulting Numbers: [37, 32, 128] Generated Node #2: [37, 32, 128] from Operation: 51+77=128 Current State: 41:[37, 32, 128], Operations: ['51+77=128'] Exploring Operation: 128/32=4, Resulting Numbers: [37, 4] Generated Node #3: [37, 4] from Operation: 128/32=4 Current State: 41:[37, 4], Operations: ['51+77=128', '128/32=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[51, 37, 32, 77], Operations: [] Exploring Operation: 77-51=26, Resulting Numbers: [37, 32, 26] Generated Node #0,0: 41:[37, 32, 26] Operation: 77-51=26 Exploring Operation: 77-37=40, Resulting Numbers: [51, 32, 40] Generated Node #0,1: 41:[51, 32, 40] Operation: 77-37=40 Exploring Operation: 77-32=45, Resulting Numbers: [51, 37, 45] Generated Node #0,2: 41:[51, 37, 45] Operation: 77-32=45 Moving to Node #0,2 Current State: 41:[51, 37, 45], Operations: ['77-32=45'] Exploring Operation: 45-37=8, Resulting Numbers: [51, 8] Generated Node #0,2,0: 41:[51, 8] Operation: 45-37=8 Exploring Operation: 51-37=14, Resulting Numbers: [45, 14] Generated Node #0,2,1: 41:[45, 14] Operation: 51-37=14 Exploring Operation: 51-45=6, Resulting Numbers: [37, 6] Generated Node #0,2,2: 41:[37, 6] Operation: 51-45=6 Moving to Node #0,1 Current State: 41:[51, 32, 40], Operations: ['77-37=40'] Exploring Operation: 51-40=11, Resulting Numbers: [32, 11] Generated Node #0,1,0: 41:[32, 11] Operation: 51-40=11 Exploring Operation: 32+40=72, Resulting Numbers: [51, 72] Generated Node #0,1,1: 41:[51, 72] Operation: 32+40=72 Exploring Operation: 51-32=19, Resulting Numbers: [40, 19] Generated Node #0,1,2: 41:[40, 19] Operation: 51-32=19 Moving to Node #0,0 Current State: 41:[37, 32, 26], Operations: ['77-51=26'] Exploring Operation: 37+26=63, Resulting Numbers: [32, 63] Generated Node #0,0,0: 41:[32, 63] Operation: 37+26=63 Exploring Operation: 32+26=58, Resulting Numbers: [37, 58] Generated Node #0,0,1: 41:[37, 58] Operation: 32+26=58 Exploring Operation: 37-26=11, Resulting Numbers: [32, 11] Generated Node #0,0,2: 41:[32, 11] Operation: 37-26=11 Moving to Node #0,0,1 Current State: 41:[37, 58], Operations: ['77-51=26', '32+26=58'] Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,41 unequal: No Solution Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[40, 19], Operations: ['77-37=40', '51-32=19'] Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,41 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[45, 14], Operations: ['77-32=45', '51-37=14'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[32, 63], Operations: ['77-51=26', '37+26=63'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 32+63=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 32*63=2016, Resulting Numbers: [2016] 2016,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[32, 11], Operations: ['77-51=26', '37-26=11'] Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,41 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[32, 11], Operations: ['77-37=40', '51-40=11'] Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,41 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[37, 6], Operations: ['77-32=45', '51-45=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,41 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[51, 72], Operations: ['77-37=40', '32+40=72'] Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 51*72=3672, Resulting Numbers: [3672] 3672,41 unequal: No Solution Exploring Operation: 51+72=123, Resulting Numbers: [123] 123,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[51, 8], Operations: ['77-32=45', '45-37=8'] Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,41 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,41 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 47, 79, 67, 62 ]
70
[ "79+62=141", "141/47=3", "67+3=70" ]
Current State: 70:[47, 79, 67, 62], Operations: [] Exploring Operation: 79+62=141, Resulting Numbers: [47, 67, 141] Generated Node #2: [47, 67, 141] from Operation: 79+62=141 Current State: 70:[47, 67, 141], Operations: ['79+62=141'] Exploring Operation: 141/47=3, Resulting Numbers: [67, 3] Generated Node #3: [67, 3] from Operation: 141/47=3 Current State: 70:[67, 3], Operations: ['79+62=141', '141/47=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[47, 79, 67, 62], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [79, 67, 15] Generated Node #0,0: 70:[79, 67, 15] Operation: 62-47=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[79, 67, 15], Operations: ['62-47=15'] Exploring Operation: 79-67=12, Resulting Numbers: [15, 12] Generated Node #0,0,0: 70:[15, 12] Operation: 79-67=12 Moving to Node #0,0,0 Current State: 70:[15, 12], Operations: ['62-47=15', '79-67=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,70 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
[ 48, 20, 8, 80 ]
66
[ "48/8=6", "80-20=60", "6+60=66" ]
Current State: 66:[48, 20, 8, 80], Operations: [] Exploring Operation: 48/8=6, Resulting Numbers: [20, 80, 6] Generated Node #2: [20, 80, 6] from Operation: 48/8=6 Current State: 66:[20, 80, 6], Operations: ['48/8=6'] Exploring Operation: 80-20=60, Resulting Numbers: [6, 60] Generated Node #3: [6, 60] from Operation: 80-20=60 Current State: 66:[6, 60], Operations: ['48/8=6', '80-20=60'] Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[48, 20, 8, 80], Operations: [] Exploring Operation: 80-48=32, Resulting Numbers: [20, 8, 32] Generated Node #0,0: 66:[20, 8, 32] Operation: 80-48=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[20, 8, 32], Operations: ['80-48=32'] Exploring Operation: 20-8=12, Resulting Numbers: [32, 12] Generated Node #0,0,0: 66:[32, 12] Operation: 20-8=12 Moving to Node #0,0,0 Current State: 66:[32, 12], Operations: ['80-48=32', '20-8=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,66 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
[ 10, 83, 45, 15 ]
70
[ "83-10=73", "45/15=3", "73-3=70" ]
Current State: 70:[10, 83, 45, 15], Operations: [] Exploring Operation: 83-10=73, Resulting Numbers: [45, 15, 73] Generated Node #2: [45, 15, 73] from Operation: 83-10=73 Current State: 70:[45, 15, 73], Operations: ['83-10=73'] Exploring Operation: 45/15=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 45/15=3 Current State: 70:[73, 3], Operations: ['83-10=73', '45/15=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[10, 83, 45, 15], Operations: [] Exploring Operation: 83-45=38, Resulting Numbers: [10, 15, 38] Generated Node #0,0: 70:[10, 15, 38] Operation: 83-45=38 Exploring Operation: 45/15=3, Resulting Numbers: [10, 83, 3] Generated Node #0,1: 70:[10, 83, 3] Operation: 45/15=3 Exploring Operation: 83-10=73, Resulting Numbers: [45, 15, 73] Generated Node #0,2: 70:[45, 15, 73] Operation: 83-10=73 Exploring Operation: 83-15=68, Resulting Numbers: [10, 45, 68] Generated Node #0,3: 70:[10, 45, 68] Operation: 83-15=68 Exploring Operation: 45-10=35, Resulting Numbers: [83, 15, 35] Generated Node #0,4: 70:[83, 15, 35] Operation: 45-10=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[10, 15, 38], Operations: ['83-45=38'] Exploring Operation: 38-15=23, Resulting Numbers: [10, 23] Generated Node #0,0,0: 70:[10, 23] Operation: 38-15=23 Exploring Operation: 15-10=5, Resulting Numbers: [38, 5] Generated Node #0,0,1: 70:[38, 5] Operation: 15-10=5 Exploring Operation: 10+15=25, Resulting Numbers: [38, 25] Generated Node #0,0,2: 70:[38, 25] Operation: 10+15=25 Exploring Operation: 10+38=48, Resulting Numbers: [15, 48] Generated Node #0,0,3: 70:[15, 48] Operation: 10+38=48 Exploring Operation: 38-10=28, Resulting Numbers: [15, 28] Generated Node #0,0,4: 70:[15, 28] Operation: 38-10=28 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[38, 5], Operations: ['83-45=38', '15-10=5'] Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,70 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,70 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 70:[15, 28], Operations: ['83-45=38', '38-10=28'] Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,70 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,70 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[10, 23], Operations: ['83-45=38', '38-15=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,70 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[38, 25], Operations: ['83-45=38', '10+15=25'] Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[15, 48], Operations: ['83-45=38', '10+38=48'] Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,70 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[10, 45, 68], Operations: ['83-15=68'] Exploring Operation: 10+68=78, Resulting Numbers: [45, 78] Generated Node #0,3,0: 70:[45, 78] Operation: 10+68=78 Exploring Operation: 68-10=58, Resulting Numbers: [45, 58] Generated Node #0,3,1: 70:[45, 58] Operation: 68-10=58 Exploring Operation: 10+45=55, Resulting Numbers: [68, 55] Generated Node #0,3,2: 70:[68, 55] Operation: 10+45=55 Exploring Operation: 68-45=23, Resulting Numbers: [10, 23] Generated Node #0,3,3: 70:[10, 23] Operation: 68-45=23 Exploring Operation: 45-10=35, Resulting Numbers: [68, 35] Generated Node #0,3,4: 70:[68, 35] Operation: 45-10=35 Moving to Node #0,3,4 Current State: 70:[68, 35], Operations: ['83-15=68', '45-10=35'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,70 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[10, 23], Operations: ['83-15=68', '68-45=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,70 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[68, 55], Operations: ['83-15=68', '10+45=55'] Exploring Operation: 68+55=123, Resulting Numbers: [123] 123,70 unequal: No Solution Exploring Operation: 68*55=3740, Resulting Numbers: [3740] 3740,70 unequal: No Solution Exploring Operation: 68-55=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[45, 78], Operations: ['83-15=68', '10+68=78'] Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,70 unequal: No Solution Exploring Operation: 45*78=3510, Resulting Numbers: [3510] 3510,70 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[45, 58], Operations: ['83-15=68', '68-10=58'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 45+58=103, Resulting Numbers: [103] 103,70 unequal: No Solution Exploring Operation: 45*58=2610, Resulting Numbers: [2610] 2610,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,1 Current State: 70:[10, 83, 3], Operations: ['45/15=3'] Exploring Operation: 10-3=7, Resulting Numbers: [83, 7] Generated Node #0,1,0: 70:[83, 7] Operation: 10-3=7 Exploring Operation: 83-3=80, Resulting Numbers: [10, 80] Generated Node #0,1,1: 70:[10, 80] Operation: 83-3=80 Exploring Operation: 83-10=73, Resulting Numbers: [3, 73] Generated Node #0,1,2: 70:[3, 73] Operation: 83-10=73 Exploring Operation: 83+3=86, Resulting Numbers: [10, 86] Generated Node #0,1,3: 70:[10, 86] Operation: 83+3=86 Exploring Operation: 10+3=13, Resulting Numbers: [83, 13] Generated Node #0,1,4: 70:[83, 13] Operation: 10+3=13 Moving to Node #0,1,2 Current State: 70:[3, 73], Operations: ['45/15=3', '83-10=73'] Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,70 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[10, 83, 45, 15], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [10, 83, 3] Generated Node #0,1: 70:[10, 83, 3] Operation: 45/15=3 Moving to Node #0,1 Current State: 70:[10, 83, 3], Operations: ['45/15=3'] Exploring Operation: 83-10=73, Resulting Numbers: [3, 73] Generated Node #0,1,2: 70:[3, 73] Operation: 83-10=73 Moving to Node #0,1,2 Current State: 70:[3, 73], Operations: ['45/15=3', '83-10=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 15, 15, 20, 12 ]
100
[ "15*20=300", "15-12=3", "300/3=100" ]
Current State: 100:[15, 15, 20, 12], Operations: [] Exploring Operation: 15*20=300, Resulting Numbers: [12, 300] Generated Node #2: [12, 300] from Operation: 15*20=300 Current State: 100:[12, 300], Operations: ['15*20=300'] Exploring Operation: 15-12=3, Resulting Numbers: [300, 3] Generated Node #3: [300, 3] from Operation: 15-12=3 Current State: 100:[300, 3], Operations: ['15*20=300', '15-12=3'] Exploring Operation: 300/3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[15, 15, 20, 12], Operations: [] Exploring Operation: 15-15=0, Resulting Numbers: [20, 12, 0] Generated Node #0,0: 100:[20, 12, 0] Operation: 15-15=0 Exploring Operation: 15-12=3, Resulting Numbers: [15, 20, 3] Generated Node #0,1: 100:[15, 20, 3] Operation: 15-12=3 Exploring Operation: 15/15=1, Resulting Numbers: [20, 12, 1] Generated Node #0,2: 100:[20, 12, 1] Operation: 15/15=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[20, 12, 1], Operations: ['15/15=1'] Exploring Operation: 20*1=20, Resulting Numbers: [12, 20] Generated Node #0,2,0: 100:[12, 20] Operation: 20*1=20 Exploring Operation: 12-1=11, Resulting Numbers: [20, 11] Generated Node #0,2,1: 100:[20, 11] Operation: 12-1=11 Exploring Operation: 20/1=20, Resulting Numbers: [12, 20] Generated Node #0,2,2: 100:[12, 20] Operation: 20/1=20 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[20, 11], Operations: ['15/15=1', '12-1=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,100 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,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,0 Current State: 100:[12, 20], Operations: ['15/15=1', '20*1=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,100 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,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:[12, 20], Operations: ['15/15=1', '20/1=20'] Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,100 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,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:[20, 12, 0], Operations: ['15-15=0'] Exploring Operation: 20-0=20, Resulting Numbers: [12, 20] Generated Node #0,0,0: 100:[12, 20] Operation: 20-0=20 Exploring Operation: 20+0=20, Resulting Numbers: [12, 20] Generated Node #0,0,1: 100:[12, 20] Operation: 20+0=20 Exploring Operation: 12+0=12, Resulting Numbers: [20, 12] Generated Node #0,0,2: 100:[20, 12] Operation: 12+0=12 Moving to Node #0,0,0 Current State: 100:[12, 20], Operations: ['15-15=0', '20-0=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,100 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[12, 20], Operations: ['15-15=0', '20+0=20'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[20, 12], Operations: ['15-15=0', '12+0=12'] Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,100 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[15, 20, 3], Operations: ['15-12=3'] Exploring Operation: 20-15=5, Resulting Numbers: [3, 5] Generated Node #0,1,0: 100:[3, 5] Operation: 20-15=5 Exploring Operation: 15/3=5, Resulting Numbers: [20, 5] Generated Node #0,1,1: 100:[20, 5] Operation: 15/3=5 Exploring Operation: 15+3=18, Resulting Numbers: [20, 18] Generated Node #0,1,2: 100:[20, 18] Operation: 15+3=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[20, 5], Operations: ['15-12=3', '15/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:[15, 15, 20, 12], Operations: [] Exploring Operation: 15-12=3, Resulting Numbers: [15, 20, 3] Generated Node #0,1: 100:[15, 20, 3] Operation: 15-12=3 Moving to Node #0,1 Current State: 100:[15, 20, 3], Operations: ['15-12=3'] Exploring Operation: 15/3=5, Resulting Numbers: [20, 5] Generated Node #0,1,1: 100:[20, 5] Operation: 15/3=5 Moving to Node #0,1,1 Current State: 100:[20, 5], Operations: ['15-12=3', '15/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.96875
hs_3
mult_heuristic
[ 14, 66, 46, 28 ]
89
[ "14*46=644", "644/28=23", "66+23=89" ]
Current State: 89:[14, 66, 46, 28], Operations: [] Exploring Operation: 14*46=644, Resulting Numbers: [66, 28, 644] Generated Node #2: [66, 28, 644] from Operation: 14*46=644 Current State: 89:[66, 28, 644], Operations: ['14*46=644'] Exploring Operation: 644/28=23, Resulting Numbers: [66, 23] Generated Node #3: [66, 23] from Operation: 644/28=23 Current State: 89:[66, 23], Operations: ['14*46=644', '644/28=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[14, 66, 46, 28], Operations: [] Exploring Operation: 14+46=60, Resulting Numbers: [66, 28, 60] Generated Node #0,0: 89:[66, 28, 60] Operation: 14+46=60 Exploring Operation: 14+28=42, Resulting Numbers: [66, 46, 42] Generated Node #0,1: 89:[66, 46, 42] Operation: 14+28=42 Exploring Operation: 14+66=80, Resulting Numbers: [46, 28, 80] Generated Node #0,2: 89:[46, 28, 80] Operation: 14+66=80 Exploring Operation: 46+28=74, Resulting Numbers: [14, 66, 74] Generated Node #0,3: 89:[14, 66, 74] Operation: 46+28=74 Moving to Node #0,0 Current State: 89:[66, 28, 60], Operations: ['14+46=60'] Exploring Operation: 60-28=32, Resulting Numbers: [66, 32] Generated Node #0,0,0: 89:[66, 32] Operation: 60-28=32 Exploring Operation: 66-28=38, Resulting Numbers: [60, 38] Generated Node #0,0,1: 89:[60, 38] Operation: 66-28=38 Exploring Operation: 28+60=88, Resulting Numbers: [66, 88] Generated Node #0,0,2: 89:[66, 88] Operation: 28+60=88 Exploring Operation: 66+28=94, Resulting Numbers: [60, 94] Generated Node #0,0,3: 89:[60, 94] Operation: 66+28=94 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[66, 88], Operations: ['14+46=60', '28+60=88'] Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,89 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[60, 94], Operations: ['14+46=60', '66+28=94'] Exploring Operation: 60+94=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 60*94=5640, Resulting Numbers: [5640] 5640,89 unequal: No Solution Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[66, 32], Operations: ['14+46=60', '60-28=32'] Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,89 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[60, 38], Operations: ['14+46=60', '66-28=38'] Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,89 unequal: No Solution Exploring Operation: 60*38=2280, Resulting Numbers: [2280] 2280,89 unequal: No Solution Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,89 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: 89:[46, 28, 80], Operations: ['14+66=80'] Exploring Operation: 80-28=52, Resulting Numbers: [46, 52] Generated Node #0,2,0: 89:[46, 52] Operation: 80-28=52 Exploring Operation: 46-28=18, Resulting Numbers: [80, 18] Generated Node #0,2,1: 89:[80, 18] Operation: 46-28=18 Exploring Operation: 28+80=108, Resulting Numbers: [46, 108] Generated Node #0,2,2: 89:[46, 108] Operation: 28+80=108 Exploring Operation: 46+28=74, Resulting Numbers: [80, 74] Generated Node #0,2,3: 89:[80, 74] Operation: 46+28=74 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[80, 74], Operations: ['14+66=80', '46+28=74'] Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 80*74=5920, Resulting Numbers: [5920] 5920,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[46, 108], Operations: ['14+66=80', '28+80=108'] Exploring Operation: 46+108=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 46*108=4968, Resulting Numbers: [4968] 4968,89 unequal: No Solution Exploring Operation: 108-46=62, Resulting Numbers: [62] 62,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[46, 52], Operations: ['14+66=80', '80-28=52'] Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 46*52=2392, Resulting Numbers: [2392] 2392,89 unequal: No Solution Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[80, 18], Operations: ['14+66=80', '46-28=18'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,89 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[66, 46, 42], Operations: ['14+28=42'] Exploring Operation: 46+42=88, Resulting Numbers: [66, 88] Generated Node #0,1,0: 89:[66, 88] Operation: 46+42=88 Exploring Operation: 66+42=108, Resulting Numbers: [46, 108] Generated Node #0,1,1: 89:[46, 108] Operation: 66+42=108 Exploring Operation: 66-42=24, Resulting Numbers: [46, 24] Generated Node #0,1,2: 89:[46, 24] Operation: 66-42=24 Exploring Operation: 66+46=112, Resulting Numbers: [42, 112] Generated Node #0,1,3: 89:[42, 112] Operation: 66+46=112 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[66, 88], Operations: ['14+28=42', '46+42=88'] Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[46, 108], Operations: ['14+28=42', '66+42=108'] Exploring Operation: 46*108=4968, Resulting Numbers: [4968] 4968,89 unequal: No Solution Exploring Operation: 108-46=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 46+108=154, Resulting Numbers: [154] 154,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[42, 112], Operations: ['14+28=42', '66+46=112'] Exploring Operation: 112-42=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 42+112=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 42*112=4704, Resulting Numbers: [4704] 4704,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[46, 24], Operations: ['14+28=42', '66-42=24'] Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,89 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,89 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: 89:[14, 66, 74], Operations: ['46+28=74'] Exploring Operation: 14+74=88, Resulting Numbers: [66, 88] Generated Node #0,3,0: 89:[66, 88] Operation: 14+74=88 Exploring Operation: 66-14=52, Resulting Numbers: [74, 52] Generated Node #0,3,1: 89:[74, 52] Operation: 66-14=52 Exploring Operation: 74-14=60, Resulting Numbers: [66, 60] Generated Node #0,3,2: 89:[66, 60] Operation: 74-14=60 Exploring Operation: 14+66=80, Resulting Numbers: [74, 80] Generated Node #0,3,3: 89:[74, 80] Operation: 14+66=80 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[66, 88], Operations: ['46+28=74', '14+74=88'] Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,89 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[74, 80], Operations: ['46+28=74', '14+66=80'] Exploring Operation: 74+80=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 74*80=5920, Resulting Numbers: [5920] 5920,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[74, 52], Operations: ['46+28=74', '66-14=52'] Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,89 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,89 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[66, 60], Operations: ['46+28=74', '74-14=60'] Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 66+60=126, Resulting Numbers: [126] 126,89 unequal: No Solution Exploring Operation: 66*60=3960, Resulting Numbers: [3960] 3960,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 89, 60, 53, 23 ]
87
[ "53-23=30", "60/30=2", "89-2=87" ]
Current State: 87:[89, 60, 53, 23], Operations: [] Exploring Operation: 53-23=30, Resulting Numbers: [89, 60, 30] Generated Node #2: [89, 60, 30] from Operation: 53-23=30 Current State: 87:[89, 60, 30], Operations: ['53-23=30'] Exploring Operation: 60/30=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 60/30=2 Current State: 87:[89, 2], Operations: ['53-23=30', '60/30=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[89, 60, 53, 23], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [89, 23, 7] Generated Node #0,0: 87:[89, 23, 7] Operation: 60-53=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[89, 23, 7], Operations: ['60-53=7'] Exploring Operation: 23+7=30, Resulting Numbers: [89, 30] Generated Node #0,0,0: 87:[89, 30] Operation: 23+7=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[89, 30], Operations: ['60-53=7', '23+7=30'] Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 15, 15, 40, 66 ]
27
[ "15/15=1", "66-40=26", "1+26=27" ]
Current State: 27:[15, 15, 40, 66], Operations: [] Exploring Operation: 15/15=1, Resulting Numbers: [40, 66, 1] Generated Node #2: [40, 66, 1] from Operation: 15/15=1 Current State: 27:[40, 66, 1], Operations: ['15/15=1'] Exploring Operation: 66-40=26, Resulting Numbers: [1, 26] Generated Node #3: [1, 26] from Operation: 66-40=26 Current State: 27:[1, 26], Operations: ['15/15=1', '66-40=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[15, 15, 40, 66], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [15, 66, 25] Generated Node #0,0: 27:[15, 66, 25] Operation: 40-15=25 Exploring Operation: 66-15=51, Resulting Numbers: [15, 40, 51] Generated Node #0,1: 27:[15, 40, 51] Operation: 66-15=51 Exploring Operation: 40-15=25, Resulting Numbers: [15, 66, 25] Generated Node #0,2: 27:[15, 66, 25] Operation: 40-15=25 Exploring Operation: 66-15=51, Resulting Numbers: [15, 40, 51] Generated Node #0,3: 27:[15, 40, 51] Operation: 66-15=51 Exploring Operation: 66-40=26, Resulting Numbers: [15, 15, 26] Generated Node #0,4: 27:[15, 15, 26] Operation: 66-40=26 Moving to Node #0,4 Current State: 27:[15, 15, 26], Operations: ['66-40=26'] Exploring Operation: 26-15=11, Resulting Numbers: [15, 11] Generated Node #0,4,0: 27:[15, 11] Operation: 26-15=11 Exploring Operation: 15+15=30, Resulting Numbers: [26, 30] Generated Node #0,4,1: 27:[26, 30] Operation: 15+15=30 Exploring Operation: 15/15=1, Resulting Numbers: [26, 1] Generated Node #0,4,2: 27:[26, 1] Operation: 15/15=1 Exploring Operation: 15-15=0, Resulting Numbers: [26, 0] Generated Node #0,4,3: 27:[26, 0] Operation: 15-15=0 Exploring Operation: 26-15=11, Resulting Numbers: [15, 11] Generated Node #0,4,4: 27:[15, 11] Operation: 26-15=11 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 27:[26, 1], Operations: ['66-40=26', '15/15=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[15, 15, 40, 66], Operations: [] Exploring Operation: 66-40=26, Resulting Numbers: [15, 15, 26] Generated Node #0,4: 27:[15, 15, 26] Operation: 66-40=26 Moving to Node #0,4 Current State: 27:[15, 15, 26], Operations: ['66-40=26'] Exploring Operation: 15/15=1, Resulting Numbers: [26, 1] Generated Node #0,4,2: 27:[26, 1] Operation: 15/15=1 Moving to Node #0,4,2 Current State: 27:[26, 1], Operations: ['66-40=26', '15/15=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 23, 95, 34, 33 ]
71
[ "95-23=72", "34-33=1", "72-1=71" ]
Current State: 71:[23, 95, 34, 33], Operations: [] Exploring Operation: 95-23=72, Resulting Numbers: [34, 33, 72] Generated Node #2: [34, 33, 72] from Operation: 95-23=72 Current State: 71:[34, 33, 72], Operations: ['95-23=72'] Exploring Operation: 34-33=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 34-33=1 Current State: 71:[72, 1], Operations: ['95-23=72', '34-33=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[23, 95, 34, 33], Operations: [] Exploring Operation: 95-23=72, Resulting Numbers: [34, 33, 72] Generated Node #0,0: 71:[34, 33, 72] Operation: 95-23=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[34, 33, 72], Operations: ['95-23=72'] Exploring Operation: 34+33=67, Resulting Numbers: [72, 67] Generated Node #0,0,0: 71:[72, 67] Operation: 34+33=67 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[72, 67], Operations: ['95-23=72', '34+33=67'] Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 15, 82, 10 ]
43
[ "15+10=25", "5*25=125", "125-82=43" ]
Current State: 43:[5, 15, 82, 10], Operations: [] Exploring Operation: 15+10=25, Resulting Numbers: [5, 82, 25] Generated Node #2: [5, 82, 25] from Operation: 15+10=25 Current State: 43:[5, 82, 25], Operations: ['15+10=25'] Exploring Operation: 5*25=125, Resulting Numbers: [82, 125] Generated Node #3: [82, 125] from Operation: 5*25=125 Current State: 43:[82, 125], Operations: ['15+10=25', '5*25=125'] Exploring Operation: 125-82=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[5, 15, 82, 10], Operations: [] Exploring Operation: 82-15=67, Resulting Numbers: [5, 10, 67] Generated Node #0,0: 43:[5, 10, 67] Operation: 82-15=67 Exploring Operation: 5+15=20, Resulting Numbers: [82, 10, 20] Generated Node #0,1: 43:[82, 10, 20] Operation: 5+15=20 Exploring Operation: 5+10=15, Resulting Numbers: [15, 82, 15] Generated Node #0,2: 43:[15, 82, 15] Operation: 5+10=15 Exploring Operation: 82-5=77, Resulting Numbers: [15, 10, 77] Generated Node #0,3: 43:[15, 10, 77] Operation: 82-5=77 Exploring Operation: 5*10=50, Resulting Numbers: [15, 82, 50] Generated Node #0,4: 43:[15, 82, 50] Operation: 5*10=50 Start Sub Search at level 1: Moving to Node #0,4 Current State: 43:[15, 82, 50], Operations: ['5*10=50'] Exploring Operation: 82-50=32, Resulting Numbers: [15, 32] Generated Node #0,4,0: 43:[15, 32] Operation: 82-50=32 Exploring Operation: 82-15=67, Resulting Numbers: [50, 67] Generated Node #0,4,1: 43:[50, 67] Operation: 82-15=67 Exploring Operation: 15+50=65, Resulting Numbers: [82, 65] Generated Node #0,4,2: 43:[82, 65] Operation: 15+50=65 Exploring Operation: 50-15=35, Resulting Numbers: [82, 35] Generated Node #0,4,3: 43:[82, 35] Operation: 50-15=35 Exploring Operation: 15+82=97, Resulting Numbers: [50, 97] Generated Node #0,4,4: 43:[50, 97] Operation: 15+82=97 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 43:[50, 67], Operations: ['5*10=50', '82-15=67'] Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,43 unequal: No Solution Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,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,4,0 Current State: 43:[15, 32], Operations: ['5*10=50', '82-50=32'] Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,43 unequal: No Solution Exploring Operation: 15*32=480, Resulting Numbers: [480] 480,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,4,3 Current State: 43:[82, 35], Operations: ['5*10=50', '50-15=35'] Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,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,4,2 Current State: 43:[82, 65], Operations: ['5*10=50', '15+50=65'] Exploring Operation: 82*65=5330, Resulting Numbers: [5330] 5330,43 unequal: No Solution Exploring Operation: 82+65=147, Resulting Numbers: [147] 147,43 unequal: No Solution Exploring Operation: 82-65=17, Resulting Numbers: [17] 17,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,4,4 Current State: 43:[50, 97], Operations: ['5*10=50', '15+82=97'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,43 unequal: No Solution Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[5, 10, 67], Operations: ['82-15=67'] Exploring Operation: 10-5=5, Resulting Numbers: [67, 5] Generated Node #0,0,0: 43:[67, 5] Operation: 10-5=5 Exploring Operation: 5*10=50, Resulting Numbers: [67, 50] Generated Node #0,0,1: 43:[67, 50] Operation: 5*10=50 Exploring Operation: 5+10=15, Resulting Numbers: [67, 15] Generated Node #0,0,2: 43:[67, 15] Operation: 5+10=15 Exploring Operation: 67-5=62, Resulting Numbers: [10, 62] Generated Node #0,0,3: 43:[10, 62] Operation: 67-5=62 Exploring Operation: 67-10=57, Resulting Numbers: [5, 57] Generated Node #0,0,4: 43:[5, 57] Operation: 67-10=57 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[67, 50], Operations: ['82-15=67', '5*10=50'] Exploring Operation: 67*50=3350, Resulting Numbers: [3350] 3350,43 unequal: No Solution Exploring Operation: 67+50=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,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:[67, 15], Operations: ['82-15=67', '5+10=15'] Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,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:[10, 62], Operations: ['82-15=67', '67-5=62'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,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,4 Current State: 43:[5, 57], Operations: ['82-15=67', '67-10=57'] Exploring Operation: 5*57=285, Resulting Numbers: [285] 285,43 unequal: No Solution Exploring Operation: 5+57=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[67, 5], Operations: ['82-15=67', '10-5=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,43 unequal: No Solution Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,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:[82, 10, 20], Operations: ['5+15=20'] Exploring Operation: 82+10=92, Resulting Numbers: [20, 92] Generated Node #0,1,0: 43:[20, 92] Operation: 82+10=92 Exploring Operation: 82-10=72, Resulting Numbers: [20, 72] Generated Node #0,1,1: 43:[20, 72] Operation: 82-10=72 Exploring Operation: 82-20=62, Resulting Numbers: [10, 62] Generated Node #0,1,2: 43:[10, 62] Operation: 82-20=62 Exploring Operation: 10+20=30, Resulting Numbers: [82, 30] Generated Node #0,1,3: 43:[82, 30] Operation: 10+20=30 Exploring Operation: 20-10=10, Resulting Numbers: [82, 10] Generated Node #0,1,4: 43:[82, 10] Operation: 20-10=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[20, 72], Operations: ['5+15=20', '82-10=72'] Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,43 unequal: No Solution Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[10, 62], Operations: ['5+15=20', '82-20=62'] Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 43:[82, 30], Operations: ['5+15=20', '10+20=30'] Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,43 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[20, 92], Operations: ['5+15=20', '82+10=92'] Exploring Operation: 20*92=1840, Resulting Numbers: [1840] 1840,43 unequal: No Solution Exploring Operation: 20+92=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 92-20=72, Resulting Numbers: [72] 72,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 43:[82, 10], Operations: ['5+15=20', '20-10=10'] Exploring Operation: 82*10=820, Resulting Numbers: [820] 820,43 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 82+10=92, Resulting Numbers: [92] 92,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[15, 82, 15], Operations: ['5+10=15'] Exploring Operation: 15+15=30, Resulting Numbers: [82, 30] Generated Node #0,2,0: 43:[82, 30] Operation: 15+15=30 Exploring Operation: 15+82=97, Resulting Numbers: [15, 97] Generated Node #0,2,1: 43:[15, 97] Operation: 15+82=97 Exploring Operation: 82-15=67, Resulting Numbers: [15, 67] Generated Node #0,2,2: 43:[15, 67] Operation: 82-15=67 Exploring Operation: 82-15=67, Resulting Numbers: [15, 67] Generated Node #0,2,3: 43:[15, 67] Operation: 82-15=67 Exploring Operation: 15/15=1, Resulting Numbers: [82, 1] Generated Node #0,2,4: 43:[82, 1] Operation: 15/15=1 Moving to Node #0,2,0 Current State: 43:[82, 30], Operations: ['5+10=15', '15+15=30'] Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,43 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[15, 67], Operations: ['5+10=15', '82-15=67'] Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[15, 67], Operations: ['5+10=15', '82-15=67'] Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[82, 1], Operations: ['5+10=15', '15/15=1'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[15, 97], Operations: ['5+10=15', '15+82=97'] Exploring Operation: 15*97=1455, Resulting Numbers: [1455] 1455,43 unequal: No Solution Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 15+97=112, Resulting Numbers: [112] 112,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[15, 10, 77], Operations: ['82-5=77'] Exploring Operation: 15-10=5, Resulting Numbers: [77, 5] Generated Node #0,3,0: 43:[77, 5] Operation: 15-10=5 Exploring Operation: 15+10=25, Resulting Numbers: [77, 25] Generated Node #0,3,1: 43:[77, 25] Operation: 15+10=25 Exploring Operation: 10+77=87, Resulting Numbers: [15, 87] Generated Node #0,3,2: 43:[15, 87] Operation: 10+77=87 Exploring Operation: 77-10=67, Resulting Numbers: [15, 67] Generated Node #0,3,3: 43:[15, 67] Operation: 77-10=67 Exploring Operation: 77-15=62, Resulting Numbers: [10, 62] Generated Node #0,3,4: 43:[10, 62] Operation: 77-15=62 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[77, 25], Operations: ['82-5=77', '15+10=25'] Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,43 unequal: No Solution Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,43 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,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:[15, 67], Operations: ['82-5=77', '77-10=67'] Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,43 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,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,4 Current State: 43:[10, 62], Operations: ['82-5=77', '77-15=62'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,43 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,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,0 Current State: 43:[77, 5], Operations: ['82-5=77', '15-10=5'] Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,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:[15, 87], Operations: ['82-5=77', '10+77=87'] Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,43 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,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_5
sum_heuristic
[ 74, 59, 7, 38 ]
46
[ "74-59=15", "38-7=31", "15+31=46" ]
Current State: 46:[74, 59, 7, 38], Operations: [] Exploring Operation: 74-59=15, Resulting Numbers: [7, 38, 15] Generated Node #2: [7, 38, 15] from Operation: 74-59=15 Current State: 46:[7, 38, 15], Operations: ['74-59=15'] Exploring Operation: 38-7=31, Resulting Numbers: [15, 31] Generated Node #3: [15, 31] from Operation: 38-7=31 Current State: 46:[15, 31], Operations: ['74-59=15', '38-7=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[74, 59, 7, 38], Operations: [] Exploring Operation: 74-7=67, Resulting Numbers: [59, 38, 67] Generated Node #0,0: 46:[59, 38, 67] Operation: 74-7=67 Exploring Operation: 74-59=15, Resulting Numbers: [7, 38, 15] Generated Node #0,1: 46:[7, 38, 15] Operation: 74-59=15 Exploring Operation: 74-38=36, Resulting Numbers: [59, 7, 36] Generated Node #0,2: 46:[59, 7, 36] Operation: 74-38=36 Exploring Operation: 59-38=21, Resulting Numbers: [74, 7, 21] Generated Node #0,3: 46:[74, 7, 21] Operation: 59-38=21 Moving to Node #0,1 Current State: 46:[7, 38, 15], Operations: ['74-59=15'] Exploring Operation: 7+15=22, Resulting Numbers: [38, 22] Generated Node #0,1,0: 46:[38, 22] Operation: 7+15=22 Exploring Operation: 38-15=23, Resulting Numbers: [7, 23] Generated Node #0,1,1: 46:[7, 23] Operation: 38-15=23 Exploring Operation: 7+38=45, Resulting Numbers: [15, 45] Generated Node #0,1,2: 46:[15, 45] Operation: 7+38=45 Exploring Operation: 38+15=53, Resulting Numbers: [7, 53] Generated Node #0,1,3: 46:[7, 53] Operation: 38+15=53 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[7, 23], Operations: ['74-59=15', '38-15=23'] Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,46 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[38, 22], Operations: ['74-59=15', '7+15=22'] Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,46 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[15, 45], Operations: ['74-59=15', '7+38=45'] Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[7, 53], Operations: ['74-59=15', '38+15=53'] Exploring Operation: 7*53=371, Resulting Numbers: [371] 371,46 unequal: No Solution Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[74, 59, 7, 38], Operations: [] Exploring Operation: 74-59=15, Resulting Numbers: [7, 38, 15] Generated Node #0,1: 46:[7, 38, 15] Operation: 74-59=15 Moving to Node #0,1 Current State: 46:[7, 38, 15], Operations: ['74-59=15'] Exploring Operation: 38+15=53, Resulting Numbers: [7, 53] Generated Node #0,1,3: 46:[7, 53] Operation: 38+15=53 Moving to Node #0,1,3 Current State: 46:[7, 53], Operations: ['74-59=15', '38+15=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 50, 61, 6, 68 ]
92
[ "68-61=7", "6*7=42", "50+42=92" ]
Current State: 92:[50, 61, 6, 68], Operations: [] Exploring Operation: 68-61=7, Resulting Numbers: [50, 6, 7] Generated Node #2: [50, 6, 7] from Operation: 68-61=7 Current State: 92:[50, 6, 7], Operations: ['68-61=7'] Exploring Operation: 6*7=42, Resulting Numbers: [50, 42] Generated Node #3: [50, 42] from Operation: 6*7=42 Current State: 92:[50, 42], Operations: ['68-61=7', '6*7=42'] Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[50, 61, 6, 68], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [61, 6, 18] Generated Node #0,0: 92:[61, 6, 18] Operation: 68-50=18 Exploring Operation: 68-61=7, Resulting Numbers: [50, 6, 7] Generated Node #0,1: 92:[50, 6, 7] Operation: 68-61=7 Moving to Node #0,1 Current State: 92:[50, 6, 7], Operations: ['68-61=7'] Exploring Operation: 50-6=44, Resulting Numbers: [7, 44] Generated Node #0,1,0: 92:[7, 44] Operation: 50-6=44 Exploring Operation: 50-7=43, Resulting Numbers: [6, 43] Generated Node #0,1,1: 92:[6, 43] Operation: 50-7=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[7, 44], Operations: ['68-61=7', '50-6=44'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[6, 43], Operations: ['68-61=7', '50-7=43'] Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,92 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 92:[61, 6, 18], Operations: ['68-50=18'] Exploring Operation: 61-18=43, Resulting Numbers: [6, 43] Generated Node #0,0,0: 92:[6, 43] Operation: 61-18=43 Exploring Operation: 61-6=55, Resulting Numbers: [18, 55] Generated Node #0,0,1: 92:[18, 55] Operation: 61-6=55 Moving to Node #0,0,0 Current State: 92:[6, 43], Operations: ['68-50=18', '61-18=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[18, 55], Operations: ['68-50=18', '61-6=55'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,92 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 75, 26, 8, 42 ]
39
[ "75*26=1950", "8+42=50", "1950/50=39" ]
Current State: 39:[75, 26, 8, 42], Operations: [] Exploring Operation: 75*26=1950, Resulting Numbers: [8, 42, 1950] Generated Node #2: [8, 42, 1950] from Operation: 75*26=1950 Current State: 39:[8, 42, 1950], Operations: ['75*26=1950'] Exploring Operation: 8+42=50, Resulting Numbers: [1950, 50] Generated Node #3: [1950, 50] from Operation: 8+42=50 Current State: 39:[1950, 50], Operations: ['75*26=1950', '8+42=50'] Exploring Operation: 1950/50=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[75, 26, 8, 42], Operations: [] Exploring Operation: 75-42=33, Resulting Numbers: [26, 8, 33] Generated Node #0,0: 39:[26, 8, 33] Operation: 75-42=33 Exploring Operation: 75-26=49, Resulting Numbers: [8, 42, 49] Generated Node #0,1: 39:[8, 42, 49] Operation: 75-26=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[8, 42, 49], Operations: ['75-26=49'] Exploring Operation: 49-8=41, Resulting Numbers: [42, 41] Generated Node #0,1,0: 39:[42, 41] Operation: 49-8=41 Exploring Operation: 49-42=7, Resulting Numbers: [8, 7] Generated Node #0,1,1: 39:[8, 7] Operation: 49-42=7 Moving to Node #0,1,0 Current State: 39:[42, 41], Operations: ['75-26=49', '49-8=41'] Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,39 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[8, 7], Operations: ['75-26=49', '49-42=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,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,0 Current State: 39:[26, 8, 33], Operations: ['75-42=33'] Exploring Operation: 26+8=34, Resulting Numbers: [33, 34] Generated Node #0,0,0: 39:[33, 34] Operation: 26+8=34 Exploring Operation: 33-26=7, Resulting Numbers: [8, 7] Generated Node #0,0,1: 39:[8, 7] Operation: 33-26=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[8, 7], Operations: ['75-42=33', '33-26=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[33, 34], Operations: ['75-42=33', '26+8=34'] Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 1, 97, 30, 98 ]
28
[ "97-1=96", "98-30=68", "96-68=28" ]
Current State: 28:[1, 97, 30, 98], Operations: [] Exploring Operation: 97-1=96, Resulting Numbers: [30, 98, 96] Generated Node #2: [30, 98, 96] from Operation: 97-1=96 Current State: 28:[30, 98, 96], Operations: ['97-1=96'] Exploring Operation: 98-30=68, Resulting Numbers: [96, 68] Generated Node #3: [96, 68] from Operation: 98-30=68 Current State: 28:[96, 68], Operations: ['97-1=96', '98-30=68'] Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[1, 97, 30, 98], Operations: [] Exploring Operation: 97-30=67, Resulting Numbers: [1, 98, 67] Generated Node #0,0: 28:[1, 98, 67] Operation: 97-30=67 Exploring Operation: 97-1=96, Resulting Numbers: [30, 98, 96] Generated Node #0,1: 28:[30, 98, 96] Operation: 97-1=96 Exploring Operation: 98-30=68, Resulting Numbers: [1, 97, 68] Generated Node #0,2: 28:[1, 97, 68] Operation: 98-30=68 Exploring Operation: 98-97=1, Resulting Numbers: [1, 30, 1] Generated Node #0,3: 28:[1, 30, 1] Operation: 98-97=1 Exploring Operation: 30-1=29, Resulting Numbers: [97, 98, 29] Generated Node #0,4: 28:[97, 98, 29] Operation: 30-1=29 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[1, 30, 1], Operations: ['98-97=1'] Exploring Operation: 30-1=29, Resulting Numbers: [1, 29] Generated Node #0,3,0: 28:[1, 29] Operation: 30-1=29 Exploring Operation: 1*30=30, Resulting Numbers: [1, 30] Generated Node #0,3,1: 28:[1, 30] Operation: 1*30=30 Exploring Operation: 1+1=2, Resulting Numbers: [30, 2] Generated Node #0,3,2: 28:[30, 2] Operation: 1+1=2 Exploring Operation: 30-1=29, Resulting Numbers: [1, 29] Generated Node #0,3,3: 28:[1, 29] Operation: 30-1=29 Exploring Operation: 30/1=30, Resulting Numbers: [1, 30] Generated Node #0,3,4: 28:[1, 30] Operation: 30/1=30 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[1, 29], Operations: ['98-97=1', '30-1=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[1, 97, 30, 98], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [1, 30, 1] Generated Node #0,3: 28:[1, 30, 1] Operation: 98-97=1 Moving to Node #0,3 Current State: 28:[1, 30, 1], Operations: ['98-97=1'] Exploring Operation: 30-1=29, Resulting Numbers: [1, 29] Generated Node #0,3,0: 28:[1, 29] Operation: 30-1=29 Moving to Node #0,3,0 Current State: 28:[1, 29], Operations: ['98-97=1', '30-1=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 5, 74, 2, 98 ]
88
[ "5+2=7", "98/7=14", "74+14=88" ]
Current State: 88:[5, 74, 2, 98], Operations: [] Exploring Operation: 5+2=7, Resulting Numbers: [74, 98, 7] Generated Node #2: [74, 98, 7] from Operation: 5+2=7 Current State: 88:[74, 98, 7], Operations: ['5+2=7'] Exploring Operation: 98/7=14, Resulting Numbers: [74, 14] Generated Node #3: [74, 14] from Operation: 98/7=14 Current State: 88:[74, 14], Operations: ['5+2=7', '98/7=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[5, 74, 2, 98], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [74, 2, 93] Generated Node #0,0: 88:[74, 2, 93] Operation: 98-5=93 Exploring Operation: 74/2=37, Resulting Numbers: [5, 98, 37] Generated Node #0,1: 88:[5, 98, 37] Operation: 74/2=37 Exploring Operation: 98-74=24, Resulting Numbers: [5, 2, 24] Generated Node #0,2: 88:[5, 2, 24] Operation: 98-74=24 Exploring Operation: 5+74=79, Resulting Numbers: [2, 98, 79] Generated Node #0,3: 88:[2, 98, 79] Operation: 5+74=79 Moving to Node #0,2 Current State: 88:[5, 2, 24], Operations: ['98-74=24'] Exploring Operation: 5*2=10, Resulting Numbers: [24, 10] Generated Node #0,2,0: 88:[24, 10] Operation: 5*2=10 Exploring Operation: 24/2=12, Resulting Numbers: [5, 12] Generated Node #0,2,1: 88:[5, 12] Operation: 24/2=12 Exploring Operation: 24-2=22, Resulting Numbers: [5, 22] Generated Node #0,2,2: 88:[5, 22] Operation: 24-2=22 Exploring Operation: 5+2=7, Resulting Numbers: [24, 7] Generated Node #0,2,3: 88:[24, 7] Operation: 5+2=7 Moving to Node #0,1 Current State: 88:[5, 98, 37], Operations: ['74/2=37'] Exploring Operation: 5+37=42, Resulting Numbers: [98, 42] Generated Node #0,1,0: 88:[98, 42] Operation: 5+37=42 Exploring Operation: 98-5=93, Resulting Numbers: [37, 93] Generated Node #0,1,1: 88:[37, 93] Operation: 98-5=93 Exploring Operation: 37-5=32, Resulting Numbers: [98, 32] Generated Node #0,1,2: 88:[98, 32] Operation: 37-5=32 Exploring Operation: 98-37=61, Resulting Numbers: [5, 61] Generated Node #0,1,3: 88:[5, 61] Operation: 98-37=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[98, 42], Operations: ['74/2=37', '5+37=42'] Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,88 unequal: No Solution Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,88 unequal: No Solution Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[37, 93], Operations: ['74/2=37', '98-5=93'] Exploring Operation: 37*93=3441, Resulting Numbers: [3441] 3441,88 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 37+93=130, Resulting Numbers: [130] 130,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[5, 61], Operations: ['74/2=37', '98-37=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,88 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,88 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[98, 32], Operations: ['74/2=37', '37-5=32'] Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,88 unequal: No Solution Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,88 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,88 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: 88:[2, 98, 79], Operations: ['5+74=79'] Exploring Operation: 98-2=96, Resulting Numbers: [79, 96] Generated Node #0,3,0: 88:[79, 96] Operation: 98-2=96 Exploring Operation: 98-79=19, Resulting Numbers: [2, 19] Generated Node #0,3,1: 88:[2, 19] Operation: 98-79=19 Exploring Operation: 98/2=49, Resulting Numbers: [79, 49] Generated Node #0,3,2: 88:[79, 49] Operation: 98/2=49 Exploring Operation: 2+79=81, Resulting Numbers: [98, 81] Generated Node #0,3,3: 88:[98, 81] Operation: 2+79=81 Moving to Node #0,0 Current State: 88:[74, 2, 93], Operations: ['98-5=93'] Exploring Operation: 93-74=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 88:[2, 19] Operation: 93-74=19 Exploring Operation: 74/2=37, Resulting Numbers: [93, 37] Generated Node #0,0,1: 88:[93, 37] Operation: 74/2=37 Exploring Operation: 93-2=91, Resulting Numbers: [74, 91] Generated Node #0,0,2: 88:[74, 91] Operation: 93-2=91 Exploring Operation: 74+2=76, Resulting Numbers: [93, 76] Generated Node #0,0,3: 88:[93, 76] Operation: 74+2=76 Moving to Node #0,2,2 Current State: 88:[5, 22], Operations: ['98-74=24', '24-2=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,88 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[5, 12], Operations: ['98-74=24', '24/2=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[24, 10], Operations: ['98-74=24', '5*2=10'] Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,88 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[2, 19], Operations: ['5+74=79', '98-79=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[24, 7], Operations: ['98-74=24', '5+2=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,88 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[2, 19], Operations: ['98-5=93', '93-74=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[93, 37], Operations: ['98-5=93', '74/2=37'] Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,88 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[79, 49], Operations: ['5+74=79', '98/2=49'] Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,88 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,88 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[74, 91], Operations: ['98-5=93', '93-2=91'] Exploring Operation: 74+91=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 74*91=6734, Resulting Numbers: [6734] 6734,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[79, 96], Operations: ['5+74=79', '98-2=96'] Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 79+96=175, Resulting Numbers: [175] 175,88 unequal: No Solution Exploring Operation: 79*96=7584, Resulting Numbers: [7584] 7584,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[93, 76], Operations: ['98-5=93', '74+2=76'] Exploring Operation: 93*76=7068, Resulting Numbers: [7068] 7068,88 unequal: No Solution Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 93+76=169, Resulting Numbers: [169] 169,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[98, 81], Operations: ['5+74=79', '2+79=81'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 98*81=7938, Resulting Numbers: [7938] 7938,88 unequal: No Solution Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,88 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 13, 58, 67, 36 ]
17
[ "67-58=9", "36/9=4", "13+4=17" ]
Current State: 17:[13, 58, 67, 36], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [13, 36, 9] Generated Node #2: [13, 36, 9] from Operation: 67-58=9 Current State: 17:[13, 36, 9], Operations: ['67-58=9'] Exploring Operation: 36/9=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 36/9=4 Current State: 17:[13, 4], Operations: ['67-58=9', '36/9=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[13, 58, 67, 36], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [13, 36, 9] Generated Node #0,0: 17:[13, 36, 9] Operation: 67-58=9 Exploring Operation: 58-36=22, Resulting Numbers: [13, 67, 22] Generated Node #0,1: 17:[13, 67, 22] Operation: 58-36=22 Moving to Node #0,0 Current State: 17:[13, 36, 9], Operations: ['67-58=9'] Exploring Operation: 36-9=27, Resulting Numbers: [13, 27] Generated Node #0,0,0: 17:[13, 27] Operation: 36-9=27 Exploring Operation: 36-13=23, Resulting Numbers: [9, 23] Generated Node #0,0,1: 17:[9, 23] Operation: 36-13=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[13, 27], Operations: ['67-58=9', '36-9=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[9, 23], Operations: ['67-58=9', '36-13=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 17:[13, 67, 22], Operations: ['58-36=22'] Exploring Operation: 67-22=45, Resulting Numbers: [13, 45] Generated Node #0,1,0: 17:[13, 45] Operation: 67-22=45 Exploring Operation: 67-13=54, Resulting Numbers: [22, 54] Generated Node #0,1,1: 17:[22, 54] Operation: 67-13=54 Moving to Node #0,1,0 Current State: 17:[13, 45], Operations: ['58-36=22', '67-22=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[22, 54], Operations: ['58-36=22', '67-13=54'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,17 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 71, 27, 5, 8 ]
58
[ "71+27=98", "5*8=40", "98-40=58" ]
Current State: 58:[71, 27, 5, 8], Operations: [] Exploring Operation: 71+27=98, Resulting Numbers: [5, 8, 98] Generated Node #2: [5, 8, 98] from Operation: 71+27=98 Current State: 58:[5, 8, 98], Operations: ['71+27=98'] Exploring Operation: 5*8=40, Resulting Numbers: [98, 40] Generated Node #3: [98, 40] from Operation: 5*8=40 Current State: 58:[98, 40], Operations: ['71+27=98', '5*8=40'] Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[71, 27, 5, 8], Operations: [] Exploring Operation: 8-5=3, Resulting Numbers: [71, 27, 3] Generated Node #0,0: 58:[71, 27, 3] Operation: 8-5=3 Exploring Operation: 71-5=66, Resulting Numbers: [27, 8, 66] Generated Node #0,1: 58:[27, 8, 66] Operation: 71-5=66 Exploring Operation: 71-8=63, Resulting Numbers: [27, 5, 63] Generated Node #0,2: 58:[27, 5, 63] Operation: 71-8=63 Moving to Node #0,2 Current State: 58:[27, 5, 63], Operations: ['71-8=63'] Exploring Operation: 63-5=58, Resulting Numbers: [27, 58] Generated Node #0,2,0: 58:[27, 58] Operation: 63-5=58 Exploring Operation: 27+5=32, Resulting Numbers: [63, 32] Generated Node #0,2,1: 58:[63, 32] Operation: 27+5=32 Exploring Operation: 63-27=36, Resulting Numbers: [5, 36] Generated Node #0,2,2: 58:[5, 36] Operation: 63-27=36 Moving to Node #0,0 Current State: 58:[71, 27, 3], Operations: ['8-5=3'] Exploring Operation: 71-27=44, Resulting Numbers: [3, 44] Generated Node #0,0,0: 58:[3, 44] Operation: 71-27=44 Exploring Operation: 27+3=30, Resulting Numbers: [71, 30] Generated Node #0,0,1: 58:[71, 30] Operation: 27+3=30 Exploring Operation: 71-3=68, Resulting Numbers: [27, 68] Generated Node #0,0,2: 58:[27, 68] Operation: 71-3=68 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[27, 68], Operations: ['8-5=3', '71-3=68'] Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,58 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[71, 30], Operations: ['8-5=3', '27+3=30'] Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,58 unequal: No Solution Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[3, 44], Operations: ['8-5=3', '71-27=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,58 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 58:[27, 8, 66], Operations: ['71-5=66'] Exploring Operation: 66-27=39, Resulting Numbers: [8, 39] Generated Node #0,1,0: 58:[8, 39] Operation: 66-27=39 Exploring Operation: 66-8=58, Resulting Numbers: [27, 58] Generated Node #0,1,1: 58:[27, 58] Operation: 66-8=58 Exploring Operation: 27+8=35, Resulting Numbers: [66, 35] Generated Node #0,1,2: 58:[66, 35] Operation: 27+8=35 Moving to Node #0,2,0 Current State: 58:[27, 58], Operations: ['71-8=63', '63-5=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[27, 58], Operations: ['71-5=66', '66-8=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[63, 32], Operations: ['71-8=63', '27+5=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,58 unequal: No Solution Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[5, 36], Operations: ['71-8=63', '63-27=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[66, 35], Operations: ['71-5=66', '27+8=35'] Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,58 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[8, 39], Operations: ['71-5=66', '66-27=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,58 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,58 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,58 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 58, 54, 22, 60 ]
98
[ "60-58=2", "22*2=44", "54+44=98" ]
Current State: 98:[58, 54, 22, 60], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [54, 22, 2] Generated Node #2: [54, 22, 2] from Operation: 60-58=2 Current State: 98:[54, 22, 2], Operations: ['60-58=2'] Exploring Operation: 22*2=44, Resulting Numbers: [54, 44] Generated Node #3: [54, 44] from Operation: 22*2=44 Current State: 98:[54, 44], Operations: ['60-58=2', '22*2=44'] Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[58, 54, 22, 60], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [22, 60, 4] Generated Node #0,0: 98:[22, 60, 4] Operation: 58-54=4 Exploring Operation: 60-22=38, Resulting Numbers: [58, 54, 38] Generated Node #0,1: 98:[58, 54, 38] Operation: 60-22=38 Exploring Operation: 60-54=6, Resulting Numbers: [58, 22, 6] Generated Node #0,2: 98:[58, 22, 6] Operation: 60-54=6 Exploring Operation: 58-22=36, Resulting Numbers: [54, 60, 36] Generated Node #0,3: 98:[54, 60, 36] Operation: 58-22=36 Exploring Operation: 60-58=2, Resulting Numbers: [54, 22, 2] Generated Node #0,4: 98:[54, 22, 2] Operation: 60-58=2 Moving to Node #0,4 Current State: 98:[54, 22, 2], Operations: ['60-58=2'] Exploring Operation: 22*2=44, Resulting Numbers: [54, 44] Generated Node #0,4,0: 98:[54, 44] Operation: 22*2=44 Exploring Operation: 54-2=52, Resulting Numbers: [22, 52] Generated Node #0,4,1: 98:[22, 52] Operation: 54-2=52 Exploring Operation: 22-2=20, Resulting Numbers: [54, 20] Generated Node #0,4,2: 98:[54, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [54, 11] Generated Node #0,4,3: 98:[54, 11] Operation: 22/2=11 Exploring Operation: 54+2=56, Resulting Numbers: [22, 56] Generated Node #0,4,4: 98:[22, 56] Operation: 54+2=56 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 98:[54, 11], Operations: ['60-58=2', '22/2=11'] Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 54*11=594, Resulting Numbers: [594] 594,98 unequal: No Solution Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,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,4,0 Current State: 98:[54, 44], Operations: ['60-58=2', '22*2=44'] Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[58, 54, 22, 60], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [54, 22, 2] Generated Node #0,4: 98:[54, 22, 2] Operation: 60-58=2 Moving to Node #0,4 Current State: 98:[54, 22, 2], Operations: ['60-58=2'] Exploring Operation: 22*2=44, Resulting Numbers: [54, 44] Generated Node #0,4,0: 98:[54, 44] Operation: 22*2=44 Moving to Node #0,4,0 Current State: 98:[54, 44], Operations: ['60-58=2', '22*2=44'] Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 63, 97, 9, 48 ]
38
[ "63-48=15", "9*15=135", "135-97=38" ]
Current State: 38:[63, 97, 9, 48], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [97, 9, 15] Generated Node #2: [97, 9, 15] from Operation: 63-48=15 Current State: 38:[97, 9, 15], Operations: ['63-48=15'] Exploring Operation: 9*15=135, Resulting Numbers: [97, 135] Generated Node #3: [97, 135] from Operation: 9*15=135 Current State: 38:[97, 135], Operations: ['63-48=15', '9*15=135'] Exploring Operation: 135-97=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[63, 97, 9, 48], Operations: [] Exploring Operation: 97-48=49, Resulting Numbers: [63, 9, 49] Generated Node #0,0: 38:[63, 9, 49] Operation: 97-48=49 Exploring Operation: 97-63=34, Resulting Numbers: [9, 48, 34] Generated Node #0,1: 38:[9, 48, 34] Operation: 97-63=34 Moving to Node #0,1 Current State: 38:[9, 48, 34], Operations: ['97-63=34'] Exploring Operation: 48-34=14, Resulting Numbers: [9, 14] Generated Node #0,1,0: 38:[9, 14] Operation: 48-34=14 Exploring Operation: 48-9=39, Resulting Numbers: [34, 39] Generated Node #0,1,1: 38:[34, 39] Operation: 48-9=39 Moving to Node #0,0 Current State: 38:[63, 9, 49], Operations: ['97-48=49'] Exploring Operation: 63-49=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 38:[9, 14] Operation: 63-49=14 Exploring Operation: 63/9=7, Resulting Numbers: [49, 7] Generated Node #0,0,1: 38:[49, 7] Operation: 63/9=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[9, 14], Operations: ['97-48=49', '63-49=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[49, 7], Operations: ['97-48=49', '63/9=7'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 38:[34, 39], Operations: ['97-63=34', '48-9=39'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[9, 14], Operations: ['97-63=34', '48-34=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,38 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 3, 36, 66 ]
33
[ "63+36=99", "99/3=33", "66-33=33" ]
Current State: 33:[63, 3, 36, 66], Operations: [] Exploring Operation: 63+36=99, Resulting Numbers: [3, 66, 99] Generated Node #2: [3, 66, 99] from Operation: 63+36=99 Current State: 33:[3, 66, 99], Operations: ['63+36=99'] Exploring Operation: 99/3=33, Resulting Numbers: [66, 33] Generated Node #3: [66, 33] from Operation: 99/3=33 Current State: 33:[66, 33], Operations: ['63+36=99', '99/3=33'] Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[63, 3, 36, 66], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [63, 36, 22] Generated Node #0,0: 33:[63, 36, 22] Operation: 66/3=22 Exploring Operation: 66-36=30, Resulting Numbers: [63, 3, 30] Generated Node #0,1: 33:[63, 3, 30] Operation: 66-36=30 Exploring Operation: 66-63=3, Resulting Numbers: [3, 36, 3] Generated Node #0,2: 33:[3, 36, 3] Operation: 66-63=3 Exploring Operation: 63-36=27, Resulting Numbers: [3, 66, 27] Generated Node #0,3: 33:[3, 66, 27] Operation: 63-36=27 Exploring Operation: 63/3=21, Resulting Numbers: [36, 66, 21] Generated Node #0,4: 33:[36, 66, 21] Operation: 63/3=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[3, 36, 3], Operations: ['66-63=3'] Exploring Operation: 36/3=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 33:[3, 12] Operation: 36/3=12 Exploring Operation: 36-3=33, Resulting Numbers: [3, 33] Generated Node #0,2,1: 33:[3, 33] Operation: 36-3=33 Exploring Operation: 36-3=33, Resulting Numbers: [3, 33] Generated Node #0,2,2: 33:[3, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [3, 12] Generated Node #0,2,3: 33:[3, 12] Operation: 36/3=12 Exploring Operation: 3*3=9, Resulting Numbers: [36, 9] Generated Node #0,2,4: 33:[36, 9] Operation: 3*3=9 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[3, 33], Operations: ['66-63=3', '36-3=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,33 unequal: No Solution No 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: 33:[3, 33], Operations: ['66-63=3', '36-3=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,33 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,33 unequal: No Solution No 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: 33:[3, 12], Operations: ['66-63=3', '36/3=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,33 unequal: No Solution No 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: 33:[3, 12], Operations: ['66-63=3', '36/3=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 33:[36, 9], Operations: ['66-63=3', '3*3=9'] Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,33 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[63, 3, 30], Operations: ['66-36=30'] Exploring Operation: 63-30=33, Resulting Numbers: [3, 33] Generated Node #0,1,0: 33:[3, 33] Operation: 63-30=33 Exploring Operation: 30/3=10, Resulting Numbers: [63, 10] Generated Node #0,1,1: 33:[63, 10] Operation: 30/3=10 Exploring Operation: 63/3=21, Resulting Numbers: [30, 21] Generated Node #0,1,2: 33:[30, 21] Operation: 63/3=21 Exploring Operation: 3+30=33, Resulting Numbers: [63, 33] Generated Node #0,1,3: 33:[63, 33] Operation: 3+30=33 Exploring Operation: 63-3=60, Resulting Numbers: [30, 60] Generated Node #0,1,4: 33:[30, 60] Operation: 63-3=60 Moving to Node #0,1,0 Current State: 33:[3, 33], Operations: ['66-36=30', '63-30=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,33 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[30, 21], Operations: ['66-36=30', '63/3=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[63, 33], Operations: ['66-36=30', '3+30=33'] Exploring Operation: 63*33=2079, Resulting Numbers: [2079] 2079,33 unequal: No Solution Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,33 unequal: No Solution Moving to Node #0,1,4 Current State: 33:[30, 60], Operations: ['66-36=30', '63-3=60'] Exploring Operation: 30+60=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 30*60=1800, Resulting Numbers: [1800] 1800,33 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[63, 10], Operations: ['66-36=30', '30/3=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,33 unequal: No Solution Exploring Operation: 63*10=630, Resulting Numbers: [630] 630,33 unequal: No Solution Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[3, 66, 27], Operations: ['63-36=27'] Exploring Operation: 3+27=30, Resulting Numbers: [66, 30] Generated Node #0,3,0: 33:[66, 30] Operation: 3+27=30 Exploring Operation: 66/3=22, Resulting Numbers: [27, 22] Generated Node #0,3,1: 33:[27, 22] Operation: 66/3=22 Exploring Operation: 66-3=63, Resulting Numbers: [27, 63] Generated Node #0,3,2: 33:[27, 63] Operation: 66-3=63 Exploring Operation: 27/3=9, Resulting Numbers: [66, 9] Generated Node #0,3,3: 33:[66, 9] Operation: 27/3=9 Exploring Operation: 66-27=39, Resulting Numbers: [3, 39] Generated Node #0,3,4: 33:[3, 39] Operation: 66-27=39 Moving to Node #0,3,4 Current State: 33:[3, 39], Operations: ['63-36=27', '66-27=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[27, 22], Operations: ['63-36=27', '66/3=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[66, 9], Operations: ['63-36=27', '27/3=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[66, 30], Operations: ['63-36=27', '3+27=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,33 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[27, 63], Operations: ['63-36=27', '66-3=63'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 27+63=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 27*63=1701, Resulting Numbers: [1701] 1701,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[63, 36, 22], Operations: ['66/3=22'] Exploring Operation: 63-36=27, Resulting Numbers: [22, 27] Generated Node #0,0,0: 33:[22, 27] Operation: 63-36=27 Exploring Operation: 63-22=41, Resulting Numbers: [36, 41] Generated Node #0,0,1: 33:[36, 41] Operation: 63-22=41 Exploring Operation: 63+22=85, Resulting Numbers: [36, 85] Generated Node #0,0,2: 33:[36, 85] Operation: 63+22=85 Exploring Operation: 36-22=14, Resulting Numbers: [63, 14] Generated Node #0,0,3: 33:[63, 14] Operation: 36-22=14 Exploring Operation: 36+22=58, Resulting Numbers: [63, 58] Generated Node #0,0,4: 33:[63, 58] Operation: 36+22=58 Moving to Node #0,0,1 Current State: 33:[36, 41], Operations: ['66/3=22', '63-22=41'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,33 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[22, 27], Operations: ['66/3=22', '63-36=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[63, 14], Operations: ['66/3=22', '36-22=14'] Exploring Operation: 63*14=882, Resulting Numbers: [882] 882,33 unequal: No Solution Exploring Operation: 63+14=77, Resulting Numbers: [77] 77,33 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[36, 85], Operations: ['66/3=22', '63+22=85'] Exploring Operation: 36*85=3060, Resulting Numbers: [3060] 3060,33 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 36+85=121, Resulting Numbers: [121] 121,33 unequal: No Solution Moving to Node #0,0,4 Current State: 33:[63, 58], Operations: ['66/3=22', '36+22=58'] Exploring Operation: 63*58=3654, Resulting Numbers: [3654] 3654,33 unequal: No Solution Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 63+58=121, Resulting Numbers: [121] 121,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,4 Current State: 33:[36, 66, 21], Operations: ['63/3=21'] Exploring Operation: 66-36=30, Resulting Numbers: [21, 30] Generated Node #0,4,0: 33:[21, 30] Operation: 66-36=30 Exploring Operation: 66+21=87, Resulting Numbers: [36, 87] Generated Node #0,4,1: 33:[36, 87] Operation: 66+21=87 Exploring Operation: 36-21=15, Resulting Numbers: [66, 15] Generated Node #0,4,2: 33:[66, 15] Operation: 36-21=15 Exploring Operation: 36+21=57, Resulting Numbers: [66, 57] Generated Node #0,4,3: 33:[66, 57] Operation: 36+21=57 Exploring Operation: 66-21=45, Resulting Numbers: [36, 45] Generated Node #0,4,4: 33:[36, 45] Operation: 66-21=45 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 33:[21, 30], Operations: ['63/3=21', '66-36=30'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,33 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,33 unequal: No Solution No 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: 33:[36, 45], Operations: ['63/3=21', '66-21=45'] Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,33 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,33 unequal: No Solution No 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: 33:[66, 15], Operations: ['63/3=21', '36-21=15'] Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,33 unequal: No Solution No 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: 33:[36, 87], Operations: ['63/3=21', '66+21=87'] Exploring Operation: 36*87=3132, Resulting Numbers: [3132] 3132,33 unequal: No Solution Exploring Operation: 36+87=123, Resulting Numbers: [123] 123,33 unequal: No Solution Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,33 unequal: No Solution No 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: 33:[66, 57], Operations: ['63/3=21', '36+21=57'] Exploring Operation: 66*57=3762, Resulting Numbers: [3762] 3762,33 unequal: No Solution Exploring Operation: 66+57=123, Resulting Numbers: [123] 123,33 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 50, 79, 92, 10 ]
80
[ "92-79=13", "10*13=130", "130-50=80" ]
Current State: 80:[50, 79, 92, 10], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [50, 10, 13] Generated Node #2: [50, 10, 13] from Operation: 92-79=13 Current State: 80:[50, 10, 13], Operations: ['92-79=13'] Exploring Operation: 10*13=130, Resulting Numbers: [50, 130] Generated Node #3: [50, 130] from Operation: 10*13=130 Current State: 80:[50, 130], Operations: ['92-79=13', '10*13=130'] Exploring Operation: 130-50=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[50, 79, 92, 10], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [50, 10, 13] Generated Node #0,0: 80:[50, 10, 13] Operation: 92-79=13 Exploring Operation: 50/10=5, Resulting Numbers: [79, 92, 5] Generated Node #0,1: 80:[79, 92, 5] Operation: 50/10=5 Exploring Operation: 92-50=42, Resulting Numbers: [79, 10, 42] Generated Node #0,2: 80:[79, 10, 42] Operation: 92-50=42 Exploring Operation: 50-10=40, Resulting Numbers: [79, 92, 40] Generated Node #0,3: 80:[79, 92, 40] Operation: 50-10=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[79, 10, 42], Operations: ['92-50=42'] Exploring Operation: 79+10=89, Resulting Numbers: [42, 89] Generated Node #0,2,0: 80:[42, 89] Operation: 79+10=89 Exploring Operation: 79-10=69, Resulting Numbers: [42, 69] Generated Node #0,2,1: 80:[42, 69] Operation: 79-10=69 Exploring Operation: 79-42=37, Resulting Numbers: [10, 37] Generated Node #0,2,2: 80:[10, 37] Operation: 79-42=37 Exploring Operation: 42-10=32, Resulting Numbers: [79, 32] Generated Node #0,2,3: 80:[79, 32] Operation: 42-10=32 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[10, 37], Operations: ['92-50=42', '79-42=37'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[79, 32], Operations: ['92-50=42', '42-10=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 79*32=2528, Resulting Numbers: [2528] 2528,80 unequal: No Solution Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[42, 89], Operations: ['92-50=42', '79+10=89'] Exploring Operation: 42*89=3738, Resulting Numbers: [3738] 3738,80 unequal: No Solution Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 42+89=131, Resulting Numbers: [131] 131,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[42, 69], Operations: ['92-50=42', '79-10=69'] Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,80 unequal: No Solution Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[50, 10, 13], Operations: ['92-79=13'] Exploring Operation: 13-10=3, Resulting Numbers: [50, 3] Generated Node #0,0,0: 80:[50, 3] Operation: 13-10=3 Exploring Operation: 50-10=40, Resulting Numbers: [13, 40] Generated Node #0,0,1: 80:[13, 40] Operation: 50-10=40 Exploring Operation: 50/10=5, Resulting Numbers: [13, 5] Generated Node #0,0,2: 80:[13, 5] Operation: 50/10=5 Exploring Operation: 50-13=37, Resulting Numbers: [10, 37] Generated Node #0,0,3: 80:[10, 37] Operation: 50-13=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[13, 40], Operations: ['92-79=13', '50-10=40'] Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[13, 5], Operations: ['92-79=13', '50/10=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 80:[10, 37], Operations: ['92-79=13', '50-13=37'] Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,80 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[50, 3], Operations: ['92-79=13', '13-10=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[79, 92, 5], Operations: ['50/10=5'] Exploring Operation: 92-79=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 80:[5, 13] Operation: 92-79=13 Exploring Operation: 79+5=84, Resulting Numbers: [92, 84] Generated Node #0,1,1: 80:[92, 84] Operation: 79+5=84 Exploring Operation: 92-5=87, Resulting Numbers: [79, 87] Generated Node #0,1,2: 80:[79, 87] Operation: 92-5=87 Exploring Operation: 79-5=74, Resulting Numbers: [92, 74] Generated Node #0,1,3: 80:[92, 74] Operation: 79-5=74 Moving to Node #0,1,0 Current State: 80:[5, 13], Operations: ['50/10=5', '92-79=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[79, 87], Operations: ['50/10=5', '92-5=87'] Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 79*87=6873, Resulting Numbers: [6873] 6873,80 unequal: No Solution Exploring Operation: 79+87=166, Resulting Numbers: [166] 166,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[92, 84], Operations: ['50/10=5', '79+5=84'] Exploring Operation: 92*84=7728, Resulting Numbers: [7728] 7728,80 unequal: No Solution Exploring Operation: 92+84=176, Resulting Numbers: [176] 176,80 unequal: No Solution Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[92, 74], Operations: ['50/10=5', '79-5=74'] Exploring Operation: 92+74=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 92*74=6808, Resulting Numbers: [6808] 6808,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[79, 92, 40], Operations: ['50-10=40'] Exploring Operation: 79-40=39, Resulting Numbers: [92, 39] Generated Node #0,3,0: 80:[92, 39] Operation: 79-40=39 Exploring Operation: 92-40=52, Resulting Numbers: [79, 52] Generated Node #0,3,1: 80:[79, 52] Operation: 92-40=52 Exploring Operation: 79+40=119, Resulting Numbers: [92, 119] Generated Node #0,3,2: 80:[92, 119] Operation: 79+40=119 Exploring Operation: 92-79=13, Resulting Numbers: [40, 13] Generated Node #0,3,3: 80:[40, 13] Operation: 92-79=13 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 80:[40, 13], Operations: ['50-10=40', '92-79=13'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 40*13=520, Resulting Numbers: [520] 520,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 80:[92, 39], Operations: ['50-10=40', '79-40=39'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 92+39=131, Resulting Numbers: [131] 131,80 unequal: No Solution Exploring Operation: 92*39=3588, Resulting Numbers: [3588] 3588,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 80:[79, 52], Operations: ['50-10=40', '92-40=52'] Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,80 unequal: No Solution Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 80:[92, 119], Operations: ['50-10=40', '79+40=119'] Exploring Operation: 92*119=10948, Resulting Numbers: [10948] 10948,80 unequal: No Solution Exploring Operation: 119-92=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 92+119=211, Resulting Numbers: [211] 211,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_4
mult_heuristic
[ 7, 2, 58, 8 ]
67
[ "58-7=51", "2*8=16", "51+16=67" ]
Current State: 67:[7, 2, 58, 8], Operations: [] Exploring Operation: 58-7=51, Resulting Numbers: [2, 8, 51] Generated Node #2: [2, 8, 51] from Operation: 58-7=51 Current State: 67:[2, 8, 51], Operations: ['58-7=51'] Exploring Operation: 2*8=16, Resulting Numbers: [51, 16] Generated Node #3: [51, 16] from Operation: 2*8=16 Current State: 67:[51, 16], Operations: ['58-7=51', '2*8=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[7, 2, 58, 8], Operations: [] Exploring Operation: 2*8=16, Resulting Numbers: [7, 58, 16] Generated Node #0,0: 67:[7, 58, 16] Operation: 2*8=16 Exploring Operation: 7*8=56, Resulting Numbers: [2, 58, 56] Generated Node #0,1: 67:[2, 58, 56] Operation: 7*8=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[2, 58, 56], Operations: ['7*8=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58, 58] Generated Node #0,1,0: 67:[58, 58] Operation: 2+56=58 Exploring Operation: 2+58=60, Resulting Numbers: [56, 60] Generated Node #0,1,1: 67:[56, 60] Operation: 2+58=60 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[58, 58], Operations: ['7*8=56', '2+56=58'] Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[56, 60], Operations: ['7*8=56', '2+58=60'] Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,67 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,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,0 Current State: 67:[7, 58, 16], Operations: ['2*8=16'] Exploring Operation: 7+16=23, Resulting Numbers: [58, 23] Generated Node #0,0,0: 67:[58, 23] Operation: 7+16=23 Exploring Operation: 7+58=65, Resulting Numbers: [16, 65] Generated Node #0,0,1: 67:[16, 65] Operation: 7+58=65 Moving to Node #0,0,0 Current State: 67:[58, 23], Operations: ['2*8=16', '7+16=23'] Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[16, 65], Operations: ['2*8=16', '7+58=65'] Exploring Operation: 16+65=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,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
[ 99, 2, 85, 12 ]
95
[ "85+12=97", "2*97=194", "194-99=95" ]
Current State: 95:[99, 2, 85, 12], Operations: [] Exploring Operation: 85+12=97, Resulting Numbers: [99, 2, 97] Generated Node #2: [99, 2, 97] from Operation: 85+12=97 Current State: 95:[99, 2, 97], Operations: ['85+12=97'] Exploring Operation: 2*97=194, Resulting Numbers: [99, 194] Generated Node #3: [99, 194] from Operation: 2*97=194 Current State: 95:[99, 194], Operations: ['85+12=97', '2*97=194'] Exploring Operation: 194-99=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[99, 2, 85, 12], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [2, 12, 14] Generated Node #0,0: 95:[2, 12, 14] Operation: 99-85=14 Exploring Operation: 12/2=6, Resulting Numbers: [99, 85, 6] Generated Node #0,1: 95:[99, 85, 6] Operation: 12/2=6 Exploring Operation: 85+12=97, Resulting Numbers: [99, 2, 97] Generated Node #0,2: 95:[99, 2, 97] Operation: 85+12=97 Moving to Node #0,2 Current State: 95:[99, 2, 97], Operations: ['85+12=97'] Exploring Operation: 99-97=2, Resulting Numbers: [2, 2] Generated Node #0,2,0: 95:[2, 2] Operation: 99-97=2 Exploring Operation: 99-2=97, Resulting Numbers: [97, 97] Generated Node #0,2,1: 95:[97, 97] Operation: 99-2=97 Exploring Operation: 97-2=95, Resulting Numbers: [99, 95] Generated Node #0,2,2: 95:[99, 95] Operation: 97-2=95 Moving to Node #0,0 Current State: 95:[2, 12, 14], Operations: ['99-85=14'] Exploring Operation: 12/2=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 95:[14, 6] Operation: 12/2=6 Exploring Operation: 14/2=7, Resulting Numbers: [12, 7] Generated Node #0,0,1: 95:[12, 7] Operation: 14/2=7 Exploring Operation: 14-12=2, Resulting Numbers: [2, 2] Generated Node #0,0,2: 95:[2, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[14, 6], Operations: ['99-85=14', '12/2=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,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,2 Current State: 95:[2, 2], Operations: ['99-85=14', '14-12=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,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,1 Current State: 95:[12, 7], Operations: ['99-85=14', '14/2=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,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:[99, 85, 6], Operations: ['12/2=6'] Exploring Operation: 99-6=93, Resulting Numbers: [85, 93] Generated Node #0,1,0: 95:[85, 93] Operation: 99-6=93 Exploring Operation: 99-85=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 95:[6, 14] Operation: 99-85=14 Exploring Operation: 85+6=91, Resulting Numbers: [99, 91] Generated Node #0,1,2: 95:[99, 91] Operation: 85+6=91 Moving to Node #0,2,1 Current State: 95:[97, 97], Operations: ['85+12=97', '99-2=97'] Exploring Operation: 97-97=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 97+97=194, Resulting Numbers: [194] 194,95 unequal: No Solution Exploring Operation: 97/97=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[99, 95], Operations: ['85+12=97', '97-2=95'] Exploring Operation: 99+95=194, Resulting Numbers: [194] 194,95 unequal: No Solution Exploring Operation: 99-95=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 99*95=9405, Resulting Numbers: [9405] 9405,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[2, 2], Operations: ['85+12=97', '99-97=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[6, 14], Operations: ['12/2=6', '99-85=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[99, 91], Operations: ['12/2=6', '85+6=91'] Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 99*91=9009, Resulting Numbers: [9009] 9009,95 unequal: No Solution Exploring Operation: 99+91=190, Resulting Numbers: [190] 190,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[85, 93], Operations: ['12/2=6', '99-6=93'] Exploring Operation: 93-85=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 85*93=7905, Resulting Numbers: [7905] 7905,95 unequal: No Solution Exploring Operation: 85+93=178, Resulting Numbers: [178] 178,95 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 47, 56, 2, 73 ]
92
[ "47+73=120", "56/2=28", "120-28=92" ]
Current State: 92:[47, 56, 2, 73], Operations: [] Exploring Operation: 47+73=120, Resulting Numbers: [56, 2, 120] Generated Node #2: [56, 2, 120] from Operation: 47+73=120 Current State: 92:[56, 2, 120], Operations: ['47+73=120'] Exploring Operation: 56/2=28, Resulting Numbers: [120, 28] Generated Node #3: [120, 28] from Operation: 56/2=28 Current State: 92:[120, 28], Operations: ['47+73=120', '56/2=28'] Exploring Operation: 120-28=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[47, 56, 2, 73], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [47, 73, 28] Generated Node #0,0: 92:[47, 73, 28] Operation: 56/2=28 Exploring Operation: 73-47=26, Resulting Numbers: [56, 2, 26] Generated Node #0,1: 92:[56, 2, 26] Operation: 73-47=26 Exploring Operation: 56-47=9, Resulting Numbers: [2, 73, 9] Generated Node #0,2: 92:[2, 73, 9] Operation: 56-47=9 Exploring Operation: 73-56=17, Resulting Numbers: [47, 2, 17] Generated Node #0,3: 92:[47, 2, 17] Operation: 73-56=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[47, 2, 17], Operations: ['73-56=17'] Exploring Operation: 47-17=30, Resulting Numbers: [2, 30] Generated Node #0,3,0: 92:[2, 30] Operation: 47-17=30 Exploring Operation: 2+17=19, Resulting Numbers: [47, 19] Generated Node #0,3,1: 92:[47, 19] Operation: 2+17=19 Exploring Operation: 47-2=45, Resulting Numbers: [17, 45] Generated Node #0,3,2: 92:[17, 45] Operation: 47-2=45 Exploring Operation: 47*2=94, Resulting Numbers: [17, 94] Generated Node #0,3,3: 92:[17, 94] Operation: 47*2=94 Moving to Node #0,3,1 Current State: 92:[47, 19], Operations: ['73-56=17', '2+17=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[17, 45], Operations: ['73-56=17', '47-2=45'] Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,92 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[2, 30], Operations: ['73-56=17', '47-17=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[17, 94], Operations: ['73-56=17', '47*2=94'] Exploring Operation: 17*94=1598, Resulting Numbers: [1598] 1598,92 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 17+94=111, Resulting Numbers: [111] 111,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[56, 2, 26], Operations: ['73-47=26'] Exploring Operation: 56-26=30, Resulting Numbers: [2, 30] Generated Node #0,1,0: 92:[2, 30] Operation: 56-26=30 Exploring Operation: 56/2=28, Resulting Numbers: [26, 28] Generated Node #0,1,1: 92:[26, 28] Operation: 56/2=28 Exploring Operation: 56-2=54, Resulting Numbers: [26, 54] Generated Node #0,1,2: 92:[26, 54] Operation: 56-2=54 Exploring Operation: 56+26=82, Resulting Numbers: [2, 82] Generated Node #0,1,3: 92:[2, 82] Operation: 56+26=82 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[2, 30], Operations: ['73-47=26', '56-26=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[26, 28], Operations: ['73-47=26', '56/2=28'] Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,92 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 92:[2, 82], Operations: ['73-47=26', '56+26=82'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[26, 54], Operations: ['73-47=26', '56-2=54'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,92 unequal: No Solution Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[2, 73, 9], Operations: ['56-47=9'] Exploring Operation: 9-2=7, Resulting Numbers: [73, 7] Generated Node #0,2,0: 92:[73, 7] Operation: 9-2=7 Exploring Operation: 2+73=75, Resulting Numbers: [9, 75] Generated Node #0,2,1: 92:[9, 75] Operation: 2+73=75 Exploring Operation: 73-9=64, Resulting Numbers: [2, 64] Generated Node #0,2,2: 92:[2, 64] Operation: 73-9=64 Exploring Operation: 73+9=82, Resulting Numbers: [2, 82] Generated Node #0,2,3: 92:[2, 82] Operation: 73+9=82 Moving to Node #0,2,3 Current State: 92:[2, 82], Operations: ['56-47=9', '73+9=82'] Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,92 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[2, 64], Operations: ['56-47=9', '73-9=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,92 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[9, 75], Operations: ['56-47=9', '2+73=75'] Exploring Operation: 9*75=675, Resulting Numbers: [675] 675,92 unequal: No Solution Exploring Operation: 9+75=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[73, 7], Operations: ['56-47=9', '9-2=7'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,92 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[47, 73, 28], Operations: ['56/2=28'] Exploring Operation: 47-28=19, Resulting Numbers: [73, 19] Generated Node #0,0,0: 92:[73, 19] Operation: 47-28=19 Exploring Operation: 73+28=101, Resulting Numbers: [47, 101] Generated Node #0,0,1: 92:[47, 101] Operation: 73+28=101 Exploring Operation: 73-47=26, Resulting Numbers: [28, 26] Generated Node #0,0,2: 92:[28, 26] Operation: 73-47=26 Exploring Operation: 73-28=45, Resulting Numbers: [47, 45] Generated Node #0,0,3: 92:[47, 45] Operation: 73-28=45 Moving to Node #0,0,3 Current State: 92:[47, 45], Operations: ['56/2=28', '73-28=45'] Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,92 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[47, 56, 2, 73], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [47, 73, 28] Generated Node #0,0: 92:[47, 73, 28] Operation: 56/2=28 Moving to Node #0,0 Current State: 92:[47, 73, 28], Operations: ['56/2=28'] Exploring Operation: 73-28=45, Resulting Numbers: [47, 45] Generated Node #0,0,3: 92:[47, 45] Operation: 73-28=45 Moving to Node #0,0,3 Current State: 92:[47, 45], Operations: ['56/2=28', '73-28=45'] Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_4
mult_heuristic
[ 4, 5, 1, 90 ]
25
[ "4-1=3", "90/3=30", "30-5=25" ]
Current State: 25:[4, 5, 1, 90], Operations: [] Exploring Operation: 4-1=3, Resulting Numbers: [5, 90, 3] Generated Node #2: [5, 90, 3] from Operation: 4-1=3 Current State: 25:[5, 90, 3], Operations: ['4-1=3'] Exploring Operation: 90/3=30, Resulting Numbers: [5, 30] Generated Node #3: [5, 30] from Operation: 90/3=30 Current State: 25:[5, 30], Operations: ['4-1=3', '90/3=30'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[4, 5, 1, 90], Operations: [] Exploring Operation: 90-4=86, Resulting Numbers: [5, 1, 86] Generated Node #0,0: 25:[5, 1, 86] Operation: 90-4=86 Exploring Operation: 4+1=5, Resulting Numbers: [5, 90, 5] Generated Node #0,1: 25:[5, 90, 5] Operation: 4+1=5 Exploring Operation: 90/5=18, Resulting Numbers: [4, 1, 18] Generated Node #0,2: 25:[4, 1, 18] Operation: 90/5=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[4, 1, 18], Operations: ['90/5=18'] Exploring Operation: 1+18=19, Resulting Numbers: [4, 19] Generated Node #0,2,0: 25:[4, 19] Operation: 1+18=19 Exploring Operation: 4+18=22, Resulting Numbers: [1, 22] Generated Node #0,2,1: 25:[1, 22] Operation: 4+18=22 Exploring Operation: 4+1=5, Resulting Numbers: [18, 5] Generated Node #0,2,2: 25:[18, 5] Operation: 4+1=5 Moving to Node #0,2,0 Current State: 25:[4, 19], Operations: ['90/5=18', '1+18=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[1, 22], Operations: ['90/5=18', '4+18=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[18, 5], Operations: ['90/5=18', '4+1=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[5, 1, 86], Operations: ['90-4=86'] Exploring Operation: 5*1=5, Resulting Numbers: [86, 5] Generated Node #0,0,0: 25:[86, 5] Operation: 5*1=5 Exploring Operation: 86-5=81, Resulting Numbers: [1, 81] Generated Node #0,0,1: 25:[1, 81] Operation: 86-5=81 Exploring Operation: 86-1=85, Resulting Numbers: [5, 85] Generated Node #0,0,2: 25:[5, 85] Operation: 86-1=85 Moving to Node #0,0,1 Current State: 25:[1, 81], Operations: ['90-4=86', '86-5=81'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 1*81=81, Resulting Numbers: [81] 81,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[5, 85], Operations: ['90-4=86', '86-1=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[86, 5], Operations: ['90-4=86', '5*1=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 86*5=430, Resulting Numbers: [430] 430,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 Current State: 25:[5, 90, 5], Operations: ['4+1=5'] Exploring Operation: 90-5=85, Resulting Numbers: [5, 85] Generated Node #0,1,0: 25:[5, 85] Operation: 90-5=85 Exploring Operation: 90/5=18, Resulting Numbers: [5, 18] Generated Node #0,1,1: 25:[5, 18] Operation: 90/5=18 Exploring Operation: 90/5=18, Resulting Numbers: [5, 18] Generated Node #0,1,2: 25:[5, 18] Operation: 90/5=18 Moving to Node #0,1,1 Current State: 25:[5, 18], Operations: ['4+1=5', '90/5=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[5, 18], Operations: ['4+1=5', '90/5=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[5, 85], Operations: ['4+1=5', '90-5=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,25 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
[ 34, 10, 30, 65 ]
52
[ "34-10=24", "65*24=1560", "1560/30=52" ]
Current State: 52:[34, 10, 30, 65], Operations: [] Exploring Operation: 34-10=24, Resulting Numbers: [30, 65, 24] Generated Node #2: [30, 65, 24] from Operation: 34-10=24 Current State: 52:[30, 65, 24], Operations: ['34-10=24'] Exploring Operation: 65*24=1560, Resulting Numbers: [30, 1560] Generated Node #3: [30, 1560] from Operation: 65*24=1560 Current State: 52:[30, 1560], Operations: ['34-10=24', '65*24=1560'] Exploring Operation: 1560/30=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[34, 10, 30, 65], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [10, 65, 4] Generated Node #0,0: 52:[10, 65, 4] Operation: 34-30=4 Exploring Operation: 65-10=55, Resulting Numbers: [34, 30, 55] Generated Node #0,1: 52:[34, 30, 55] Operation: 65-10=55 Exploring Operation: 65-34=31, Resulting Numbers: [10, 30, 31] Generated Node #0,2: 52:[10, 30, 31] Operation: 65-34=31 Exploring Operation: 34-10=24, Resulting Numbers: [30, 65, 24] Generated Node #0,3: 52:[30, 65, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[10, 30, 31], Operations: ['65-34=31'] Exploring Operation: 30-10=20, Resulting Numbers: [31, 20] Generated Node #0,2,0: 52:[31, 20] Operation: 30-10=20 Exploring Operation: 31-30=1, Resulting Numbers: [10, 1] Generated Node #0,2,1: 52:[10, 1] Operation: 31-30=1 Exploring Operation: 31-10=21, Resulting Numbers: [30, 21] Generated Node #0,2,2: 52:[30, 21] Operation: 31-10=21 Exploring Operation: 30/10=3, Resulting Numbers: [31, 3] Generated Node #0,2,3: 52:[31, 3] Operation: 30/10=3 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[10, 1], Operations: ['65-34=31', '31-30=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,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,3 Current State: 52:[31, 3], Operations: ['65-34=31', '30/10=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,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:[30, 21], Operations: ['65-34=31', '31-10=21'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,52 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,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:[31, 20], Operations: ['65-34=31', '30-10=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,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, 30, 55], Operations: ['65-10=55'] Exploring Operation: 34-30=4, Resulting Numbers: [55, 4] Generated Node #0,1,0: 52:[55, 4] Operation: 34-30=4 Exploring Operation: 55-30=25, Resulting Numbers: [34, 25] Generated Node #0,1,1: 52:[34, 25] Operation: 55-30=25 Exploring Operation: 34+30=64, Resulting Numbers: [55, 64] Generated Node #0,1,2: 52:[55, 64] Operation: 34+30=64 Exploring Operation: 55-34=21, Resulting Numbers: [30, 21] Generated Node #0,1,3: 52:[30, 21] Operation: 55-34=21 Moving to Node #0,1,0 Current State: 52:[55, 4], Operations: ['65-10=55', '34-30=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[30, 21], Operations: ['65-10=55', '55-34=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,52 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[34, 25], Operations: ['65-10=55', '55-30=25'] Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,52 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[55, 64], Operations: ['65-10=55', '34+30=64'] Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 55*64=3520, Resulting Numbers: [3520] 3520,52 unequal: No Solution Exploring Operation: 55+64=119, Resulting Numbers: [119] 119,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[10, 65, 4], Operations: ['34-30=4'] Exploring Operation: 10+4=14, Resulting Numbers: [65, 14] Generated Node #0,0,0: 52:[65, 14] Operation: 10+4=14 Exploring Operation: 65-4=61, Resulting Numbers: [10, 61] Generated Node #0,0,1: 52:[10, 61] Operation: 65-4=61 Exploring Operation: 10-4=6, Resulting Numbers: [65, 6] Generated Node #0,0,2: 52:[65, 6] Operation: 10-4=6 Exploring Operation: 65-10=55, Resulting Numbers: [4, 55] Generated Node #0,0,3: 52:[4, 55] Operation: 65-10=55 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[4, 55], Operations: ['34-30=4', '65-10=55'] Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,52 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,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,0,1 Current State: 52:[10, 61], Operations: ['34-30=4', '65-4=61'] Exploring Operation: 10*61=610, Resulting Numbers: [610] 610,52 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 10+61=71, Resulting Numbers: [71] 71,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,0,0 Current State: 52:[65, 14], Operations: ['34-30=4', '10+4=14'] Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,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,0,2 Current State: 52:[65, 6], Operations: ['34-30=4', '10-4=6'] Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,52 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,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,3 Current State: 52:[30, 65, 24], Operations: ['34-10=24'] Exploring Operation: 65-30=35, Resulting Numbers: [24, 35] Generated Node #0,3,0: 52:[24, 35] Operation: 65-30=35 Exploring Operation: 65-24=41, Resulting Numbers: [30, 41] Generated Node #0,3,1: 52:[30, 41] Operation: 65-24=41 Exploring Operation: 30-24=6, Resulting Numbers: [65, 6] Generated Node #0,3,2: 52:[65, 6] Operation: 30-24=6 Exploring Operation: 30+24=54, Resulting Numbers: [65, 54] Generated Node #0,3,3: 52:[65, 54] Operation: 30+24=54 Moving to Node #0,3,0 Current State: 52:[24, 35], Operations: ['34-10=24', '65-30=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,52 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[65, 6], Operations: ['34-10=24', '30-24=6'] Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,52 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[30, 41], Operations: ['34-10=24', '65-24=41'] Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,52 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[65, 54], Operations: ['34-10=24', '30+24=54'] Exploring Operation: 65+54=119, Resulting Numbers: [119] 119,52 unequal: No Solution Exploring Operation: 65*54=3510, Resulting Numbers: [3510] 3510,52 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 88, 14, 72, 11 ]
78
[ "88/11=8", "14+72=86", "86-8=78" ]
Current State: 78:[88, 14, 72, 11], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [14, 72, 8] Generated Node #2: [14, 72, 8] from Operation: 88/11=8 Current State: 78:[14, 72, 8], Operations: ['88/11=8'] Exploring Operation: 14+72=86, Resulting Numbers: [8, 86] Generated Node #3: [8, 86] from Operation: 14+72=86 Current State: 78:[8, 86], Operations: ['88/11=8', '14+72=86'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[88, 14, 72, 11], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [14, 72, 8] Generated Node #0,0: 78:[14, 72, 8] Operation: 88/11=8 Exploring Operation: 88-72=16, Resulting Numbers: [14, 11, 16] Generated Node #0,1: 78:[14, 11, 16] Operation: 88-72=16 Exploring Operation: 88-11=77, Resulting Numbers: [14, 72, 77] Generated Node #0,2: 78:[14, 72, 77] Operation: 88-11=77 Moving to Node #0,1 Current State: 78:[14, 11, 16], Operations: ['88-72=16'] Exploring Operation: 16-11=5, Resulting Numbers: [14, 5] Generated Node #0,1,0: 78:[14, 5] Operation: 16-11=5 Exploring Operation: 11+16=27, Resulting Numbers: [14, 27] Generated Node #0,1,1: 78:[14, 27] Operation: 11+16=27 Exploring Operation: 16-14=2, Resulting Numbers: [11, 2] Generated Node #0,1,2: 78:[11, 2] Operation: 16-14=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[14, 5], Operations: ['88-72=16', '16-11=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,78 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,78 unequal: No Solution No 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: 78:[14, 27], Operations: ['88-72=16', '11+16=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,78 unequal: No Solution No 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: 78:[11, 2], Operations: ['88-72=16', '16-14=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,78 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: 78:[14, 72, 77], Operations: ['88-11=77'] Exploring Operation: 77-72=5, Resulting Numbers: [14, 5] Generated Node #0,2,0: 78:[14, 5] Operation: 77-72=5 Exploring Operation: 14+72=86, Resulting Numbers: [77, 86] Generated Node #0,2,1: 78:[77, 86] Operation: 14+72=86 Exploring Operation: 14+77=91, Resulting Numbers: [72, 91] Generated Node #0,2,2: 78:[72, 91] Operation: 14+77=91 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[14, 5], Operations: ['88-11=77', '77-72=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,78 unequal: No Solution No 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: 78:[77, 86], Operations: ['88-11=77', '14+72=86'] Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,78 unequal: No Solution Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,78 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,78 unequal: No Solution No 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: 78:[72, 91], Operations: ['88-11=77', '14+77=91'] Exploring Operation: 91-72=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 72+91=163, Resulting Numbers: [163] 163,78 unequal: No Solution Exploring Operation: 72*91=6552, Resulting Numbers: [6552] 6552,78 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: 78:[14, 72, 8], Operations: ['88/11=8'] Exploring Operation: 14-8=6, Resulting Numbers: [72, 6] Generated Node #0,0,0: 78:[72, 6] Operation: 14-8=6 Exploring Operation: 72+8=80, Resulting Numbers: [14, 80] Generated Node #0,0,1: 78:[14, 80] Operation: 72+8=80 Exploring Operation: 72/8=9, Resulting Numbers: [14, 9] Generated Node #0,0,2: 78:[14, 9] Operation: 72/8=9 Moving to Node #0,0,1 Current State: 78:[14, 80], Operations: ['88/11=8', '72+8=80'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,78 unequal: No Solution Exploring Operation: 14*80=1120, Resulting Numbers: [1120] 1120,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[14, 9], Operations: ['88/11=8', '72/8=9'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,78 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[72, 6], Operations: ['88/11=8', '14-8=6'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 72+6=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[88, 14, 72, 11], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [14, 72, 8] Generated Node #0,0: 78:[14, 72, 8] Operation: 88/11=8 Moving to Node #0,0 Current State: 78:[14, 72, 8], Operations: ['88/11=8'] Exploring Operation: 14-8=6, Resulting Numbers: [72, 6] Generated Node #0,0,0: 78:[72, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 78:[72, 6], Operations: ['88/11=8', '14-8=6'] Exploring Operation: 72+6=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.963542
hs_3
mult_heuristic
[ 5, 35, 87, 1 ]
89
[ "5*35=175", "87-1=86", "175-86=89" ]
Current State: 89:[5, 35, 87, 1], Operations: [] Exploring Operation: 5*35=175, Resulting Numbers: [87, 1, 175] Generated Node #2: [87, 1, 175] from Operation: 5*35=175 Current State: 89:[87, 1, 175], Operations: ['5*35=175'] Exploring Operation: 87-1=86, Resulting Numbers: [175, 86] Generated Node #3: [175, 86] from Operation: 87-1=86 Current State: 89:[175, 86], Operations: ['5*35=175', '87-1=86'] Exploring Operation: 175-86=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[5, 35, 87, 1], Operations: [] Exploring Operation: 5+1=6, Resulting Numbers: [35, 87, 6] Generated Node #0,0: 89:[35, 87, 6] Operation: 5+1=6 Exploring Operation: 5+35=40, Resulting Numbers: [87, 1, 40] Generated Node #0,1: 89:[87, 1, 40] Operation: 5+35=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[35, 87, 6], Operations: ['5+1=6'] Exploring Operation: 87+6=93, Resulting Numbers: [35, 93] Generated Node #0,0,0: 89:[35, 93] Operation: 87+6=93 Exploring Operation: 35+6=41, Resulting Numbers: [87, 41] Generated Node #0,0,1: 89:[87, 41] Operation: 35+6=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[87, 41], Operations: ['5+1=6', '35+6=41'] Exploring Operation: 87+41=128, Resulting Numbers: [128] 128,89 unequal: No Solution Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[35, 93], Operations: ['5+1=6', '87+6=93'] Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 35+93=128, Resulting Numbers: [128] 128,89 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: 89:[87, 1, 40], Operations: ['5+35=40'] Exploring Operation: 87+1=88, Resulting Numbers: [40, 88] Generated Node #0,1,0: 89:[40, 88] Operation: 87+1=88 Exploring Operation: 1+40=41, Resulting Numbers: [87, 41] Generated Node #0,1,1: 89:[87, 41] Operation: 1+40=41 Moving to Node #0,1,0 Current State: 89:[40, 88], Operations: ['5+35=40', '87+1=88'] Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 40+88=128, Resulting Numbers: [128] 128,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[87, 41], Operations: ['5+35=40', '1+40=41'] Exploring Operation: 87+41=128, Resulting Numbers: [128] 128,89 unequal: No Solution Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,89 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
[ 87, 29, 21, 52 ]
11
[ "87/29=3", "21*3=63", "63-52=11" ]
Current State: 11:[87, 29, 21, 52], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [21, 52, 3] Generated Node #2: [21, 52, 3] from Operation: 87/29=3 Current State: 11:[21, 52, 3], Operations: ['87/29=3'] Exploring Operation: 21*3=63, Resulting Numbers: [52, 63] Generated Node #3: [52, 63] from Operation: 21*3=63 Current State: 11:[52, 63], Operations: ['87/29=3', '21*3=63'] Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[87, 29, 21, 52], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [21, 52, 3] Generated Node #0,0: 11:[21, 52, 3] Operation: 87/29=3 Exploring Operation: 87-52=35, Resulting Numbers: [29, 21, 35] Generated Node #0,1: 11:[29, 21, 35] Operation: 87-52=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[29, 21, 35], Operations: ['87-52=35'] Exploring Operation: 35-29=6, Resulting Numbers: [21, 6] Generated Node #0,1,0: 11:[21, 6] Operation: 35-29=6 Exploring Operation: 35-21=14, Resulting Numbers: [29, 14] Generated Node #0,1,1: 11:[29, 14] Operation: 35-21=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[21, 6], Operations: ['87-52=35', '35-29=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[29, 14], Operations: ['87-52=35', '35-21=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,11 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[21, 52, 3], Operations: ['87/29=3'] Exploring Operation: 21/3=7, Resulting Numbers: [52, 7] Generated Node #0,0,0: 11:[52, 7] Operation: 21/3=7 Exploring Operation: 52-21=31, Resulting Numbers: [3, 31] Generated Node #0,0,1: 11:[3, 31] Operation: 52-21=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[3, 31], Operations: ['87/29=3', '52-21=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[52, 7], Operations: ['87/29=3', '21/3=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 93, 36, 90, 87 ]
67
[ "90-87=3", "93/3=31", "36+31=67" ]
Current State: 67:[93, 36, 90, 87], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [93, 36, 3] Generated Node #2: [93, 36, 3] from Operation: 90-87=3 Current State: 67:[93, 36, 3], Operations: ['90-87=3'] Exploring Operation: 93/3=31, Resulting Numbers: [36, 31] Generated Node #3: [36, 31] from Operation: 93/3=31 Current State: 67:[36, 31], Operations: ['90-87=3', '93/3=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[93, 36, 90, 87], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [93, 87, 54] Generated Node #0,0: 67:[93, 87, 54] Operation: 90-36=54 Exploring Operation: 93-36=57, Resulting Numbers: [90, 87, 57] Generated Node #0,1: 67:[90, 87, 57] Operation: 93-36=57 Moving to Node #0,1 Current State: 67:[90, 87, 57], Operations: ['93-36=57'] Exploring Operation: 90-57=33, Resulting Numbers: [87, 33] Generated Node #0,1,0: 67:[87, 33] Operation: 90-57=33 Exploring Operation: 87-57=30, Resulting Numbers: [90, 30] Generated Node #0,1,1: 67:[90, 30] Operation: 87-57=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[87, 33], Operations: ['93-36=57', '90-57=33'] Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,67 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[90, 30], Operations: ['93-36=57', '87-57=30'] Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 90+30=120, Resulting Numbers: [120] 120,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:[93, 87, 54], Operations: ['90-36=54'] Exploring Operation: 87-54=33, Resulting Numbers: [93, 33] Generated Node #0,0,0: 67:[93, 33] Operation: 87-54=33 Exploring Operation: 93-54=39, Resulting Numbers: [87, 39] Generated Node #0,0,1: 67:[87, 39] Operation: 93-54=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[87, 39], Operations: ['90-36=54', '93-54=39'] Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,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,0 Current State: 67:[93, 33], Operations: ['90-36=54', '87-54=33'] Exploring Operation: 93+33=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,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
[ 27, 23, 9, 2 ]
40
[ "27/9=3", "23-3=20", "2*20=40" ]
Current State: 40:[27, 23, 9, 2], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [23, 2, 3] Generated Node #2: [23, 2, 3] from Operation: 27/9=3 Current State: 40:[23, 2, 3], Operations: ['27/9=3'] Exploring Operation: 23-3=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 23-3=20 Current State: 40:[2, 20], Operations: ['27/9=3', '23-3=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[27, 23, 9, 2], Operations: [] Exploring Operation: 27-23=4, Resulting Numbers: [9, 2, 4] Generated Node #0,0: 40:[9, 2, 4] Operation: 27-23=4 Exploring Operation: 27+9=36, Resulting Numbers: [23, 2, 36] Generated Node #0,1: 40:[23, 2, 36] Operation: 27+9=36 Exploring Operation: 27/9=3, Resulting Numbers: [23, 2, 3] Generated Node #0,2: 40:[23, 2, 3] Operation: 27/9=3 Exploring Operation: 27-2=25, Resulting Numbers: [23, 9, 25] Generated Node #0,3: 40:[23, 9, 25] Operation: 27-2=25 Exploring Operation: 27-9=18, Resulting Numbers: [23, 2, 18] Generated Node #0,4: 40:[23, 2, 18] Operation: 27-9=18 Moving to Node #0,0 Current State: 40:[9, 2, 4], Operations: ['27-23=4'] Exploring Operation: 9-4=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 40:[2, 5] Operation: 9-4=5 Exploring Operation: 2*4=8, Resulting Numbers: [9, 8] Generated Node #0,0,1: 40:[9, 8] Operation: 2*4=8 Exploring Operation: 4-2=2, Resulting Numbers: [9, 2] Generated Node #0,0,2: 40:[9, 2] Operation: 4-2=2 Exploring Operation: 9+2=11, Resulting Numbers: [4, 11] Generated Node #0,0,3: 40:[4, 11] Operation: 9+2=11 Exploring Operation: 9-2=7, Resulting Numbers: [4, 7] Generated Node #0,0,4: 40:[4, 7] Operation: 9-2=7 Moving to Node #0,2 Current State: 40:[23, 2, 3], Operations: ['27/9=3'] Exploring Operation: 3-2=1, Resulting Numbers: [23, 1] Generated Node #0,2,0: 40:[23, 1] Operation: 3-2=1 Exploring Operation: 2*3=6, Resulting Numbers: [23, 6] Generated Node #0,2,1: 40:[23, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [23, 5] Generated Node #0,2,2: 40:[23, 5] Operation: 2+3=5 Exploring Operation: 23-3=20, Resulting Numbers: [2, 20] Generated Node #0,2,3: 40:[2, 20] Operation: 23-3=20 Exploring Operation: 23-2=21, Resulting Numbers: [3, 21] Generated Node #0,2,4: 40:[3, 21] Operation: 23-2=21 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[2, 20], Operations: ['27/9=3', '23-3=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[27, 23, 9, 2], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [23, 2, 3] Generated Node #0,2: 40:[23, 2, 3] Operation: 27/9=3 Moving to Node #0,2 Current State: 40:[23, 2, 3], Operations: ['27/9=3'] Exploring Operation: 23-3=20, Resulting Numbers: [2, 20] Generated Node #0,2,3: 40:[2, 20] Operation: 23-3=20 Moving to Node #0,2,3 Current State: 40:[2, 20], Operations: ['27/9=3', '23-3=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 53, 17, 34, 41 ]
82
[ "53-17=36", "36-34=2", "41*2=82" ]
Current State: 82:[53, 17, 34, 41], Operations: [] Exploring Operation: 53-17=36, Resulting Numbers: [34, 41, 36] Generated Node #2: [34, 41, 36] from Operation: 53-17=36 Current State: 82:[34, 41, 36], Operations: ['53-17=36'] Exploring Operation: 36-34=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 36-34=2 Current State: 82:[41, 2], Operations: ['53-17=36', '36-34=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[53, 17, 34, 41], Operations: [] Exploring Operation: 53-17=36, Resulting Numbers: [34, 41, 36] Generated Node #0,0: 82:[34, 41, 36] Operation: 53-17=36 Exploring Operation: 34/17=2, Resulting Numbers: [53, 41, 2] Generated Node #0,1: 82:[53, 41, 2] Operation: 34/17=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[34, 41, 36], Operations: ['53-17=36'] Exploring Operation: 36-34=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 82:[41, 2] Operation: 36-34=2 Exploring Operation: 41-34=7, Resulting Numbers: [36, 7] Generated Node #0,0,1: 82:[36, 7] Operation: 41-34=7 Moving to Node #0,0,0 Current State: 82:[41, 2], Operations: ['53-17=36', '36-34=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[53, 17, 34, 41], Operations: [] Exploring Operation: 53-17=36, Resulting Numbers: [34, 41, 36] Generated Node #0,0: 82:[34, 41, 36] Operation: 53-17=36 Moving to Node #0,0 Current State: 82:[34, 41, 36], Operations: ['53-17=36'] Exploring Operation: 36-34=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 82:[41, 2] Operation: 36-34=2 Moving to Node #0,0,0 Current State: 82:[41, 2], Operations: ['53-17=36', '36-34=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 65, 83, 29, 24 ]
90
[ "83-65=18", "29-24=5", "18*5=90" ]
Current State: 90:[65, 83, 29, 24], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [29, 24, 18] Generated Node #2: [29, 24, 18] from Operation: 83-65=18 Current State: 90:[29, 24, 18], Operations: ['83-65=18'] Exploring Operation: 29-24=5, Resulting Numbers: [18, 5] Generated Node #3: [18, 5] from Operation: 29-24=5 Current State: 90:[18, 5], Operations: ['83-65=18', '29-24=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[65, 83, 29, 24], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [29, 24, 18] Generated Node #0,0: 90:[29, 24, 18] Operation: 83-65=18 Moving to Node #0,0 Current State: 90:[29, 24, 18], Operations: ['83-65=18'] Exploring Operation: 29-24=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 90:[18, 5] Operation: 29-24=5 Moving to Node #0,0,0 Current State: 90:[18, 5], Operations: ['83-65=18', '29-24=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[65, 83, 29, 24], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [29, 24, 18] Generated Node #0,0: 90:[29, 24, 18] Operation: 83-65=18 Moving to Node #0,0 Current State: 90:[29, 24, 18], Operations: ['83-65=18'] Exploring Operation: 29-24=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 90:[18, 5] Operation: 29-24=5 Moving to Node #0,0,0 Current State: 90:[18, 5], Operations: ['83-65=18', '29-24=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 3, 20, 88, 16 ]
81
[ "3+20=23", "88+16=104", "104-23=81" ]
Current State: 81:[3, 20, 88, 16], Operations: [] Exploring Operation: 3+20=23, Resulting Numbers: [88, 16, 23] Generated Node #2: [88, 16, 23] from Operation: 3+20=23 Current State: 81:[88, 16, 23], Operations: ['3+20=23'] Exploring Operation: 88+16=104, Resulting Numbers: [23, 104] Generated Node #3: [23, 104] from Operation: 88+16=104 Current State: 81:[23, 104], Operations: ['3+20=23', '88+16=104'] Exploring Operation: 104-23=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[3, 20, 88, 16], Operations: [] Exploring Operation: 20+16=36, Resulting Numbers: [3, 88, 36] Generated Node #0,0: 81:[3, 88, 36] Operation: 20+16=36 Exploring Operation: 20-16=4, Resulting Numbers: [3, 88, 4] Generated Node #0,1: 81:[3, 88, 4] Operation: 20-16=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[3, 88, 4], Operations: ['20-16=4'] Exploring Operation: 88-4=84, Resulting Numbers: [3, 84] Generated Node #0,1,0: 81:[3, 84] Operation: 88-4=84 Exploring Operation: 88-3=85, Resulting Numbers: [4, 85] Generated Node #0,1,1: 81:[4, 85] Operation: 88-3=85 Moving to Node #0,1,0 Current State: 81:[3, 84], Operations: ['20-16=4', '88-4=84'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[3, 20, 88, 16], Operations: [] Exploring Operation: 20-16=4, Resulting Numbers: [3, 88, 4] Generated Node #0,1: 81:[3, 88, 4] Operation: 20-16=4 Moving to Node #0,1 Current State: 81:[3, 88, 4], Operations: ['20-16=4'] Exploring Operation: 88-4=84, Resulting Numbers: [3, 84] Generated Node #0,1,0: 81:[3, 84] Operation: 88-4=84 Moving to Node #0,1,0 Current State: 81:[3, 84], Operations: ['20-16=4', '88-4=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 75, 23, 36, 4 ]
20
[ "75-23=52", "36-4=32", "52-32=20" ]
Current State: 20:[75, 23, 36, 4], Operations: [] Exploring Operation: 75-23=52, Resulting Numbers: [36, 4, 52] Generated Node #2: [36, 4, 52] from Operation: 75-23=52 Current State: 20:[36, 4, 52], Operations: ['75-23=52'] Exploring Operation: 36-4=32, Resulting Numbers: [52, 32] Generated Node #3: [52, 32] from Operation: 36-4=32 Current State: 20:[52, 32], Operations: ['75-23=52', '36-4=32'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[75, 23, 36, 4], Operations: [] Exploring Operation: 75-36=39, Resulting Numbers: [23, 4, 39] Generated Node #0,0: 20:[23, 4, 39] Operation: 75-36=39 Exploring Operation: 75-23=52, Resulting Numbers: [36, 4, 52] Generated Node #0,1: 20:[36, 4, 52] Operation: 75-23=52 Exploring Operation: 36-23=13, Resulting Numbers: [75, 4, 13] Generated Node #0,2: 20:[75, 4, 13] Operation: 36-23=13 Moving to Node #0,0 Current State: 20:[23, 4, 39], Operations: ['75-36=39'] Exploring Operation: 23-4=19, Resulting Numbers: [39, 19] Generated Node #0,0,0: 20:[39, 19] Operation: 23-4=19 Exploring Operation: 39-4=35, Resulting Numbers: [23, 35] Generated Node #0,0,1: 20:[23, 35] Operation: 39-4=35 Exploring Operation: 39-23=16, Resulting Numbers: [4, 16] Generated Node #0,0,2: 20:[4, 16] Operation: 39-23=16 Moving to Node #0,1 Current State: 20:[36, 4, 52], Operations: ['75-23=52'] Exploring Operation: 52/4=13, Resulting Numbers: [36, 13] Generated Node #0,1,0: 20:[36, 13] Operation: 52/4=13 Exploring Operation: 52-36=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 20:[4, 16] Operation: 52-36=16 Exploring Operation: 36/4=9, Resulting Numbers: [52, 9] Generated Node #0,1,2: 20:[52, 9] Operation: 36/4=9 Moving to Node #0,2 Current State: 20:[75, 4, 13], Operations: ['36-23=13'] Exploring Operation: 75-13=62, Resulting Numbers: [4, 62] Generated Node #0,2,0: 20:[4, 62] Operation: 75-13=62 Exploring Operation: 75-4=71, Resulting Numbers: [13, 71] Generated Node #0,2,1: 20:[13, 71] Operation: 75-4=71 Exploring Operation: 13-4=9, Resulting Numbers: [75, 9] Generated Node #0,2,2: 20:[75, 9] Operation: 13-4=9 Moving to Node #0,0,2 Current State: 20:[4, 16], Operations: ['75-36=39', '39-23=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[75, 23, 36, 4], Operations: [] Exploring Operation: 75-36=39, Resulting Numbers: [23, 4, 39] Generated Node #0,0: 20:[23, 4, 39] Operation: 75-36=39 Moving to Node #0,0 Current State: 20:[23, 4, 39], Operations: ['75-36=39'] Exploring Operation: 39-23=16, Resulting Numbers: [4, 16] Generated Node #0,0,2: 20:[4, 16] Operation: 39-23=16 Moving to Node #0,0,2 Current State: 20:[4, 16], Operations: ['75-36=39', '39-23=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 99, 51, 17, 5 ]
60
[ "99-51=48", "17-5=12", "48+12=60" ]
Current State: 60:[99, 51, 17, 5], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [17, 5, 48] Generated Node #2: [17, 5, 48] from Operation: 99-51=48 Current State: 60:[17, 5, 48], Operations: ['99-51=48'] Exploring Operation: 17-5=12, Resulting Numbers: [48, 12] Generated Node #3: [48, 12] from Operation: 17-5=12 Current State: 60:[48, 12], Operations: ['99-51=48', '17-5=12'] Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[99, 51, 17, 5], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [17, 5, 48] Generated Node #0,0: 60:[17, 5, 48] Operation: 99-51=48 Exploring Operation: 51/17=3, Resulting Numbers: [99, 5, 3] Generated Node #0,1: 60:[99, 5, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [99, 5, 34] Generated Node #0,2: 60:[99, 5, 34] Operation: 51-17=34 Exploring Operation: 99-17=82, Resulting Numbers: [51, 5, 82] Generated Node #0,3: 60:[51, 5, 82] Operation: 99-17=82 Exploring Operation: 99-5=94, Resulting Numbers: [51, 17, 94] Generated Node #0,4: 60:[51, 17, 94] Operation: 99-5=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[17, 5, 48], Operations: ['99-51=48'] Exploring Operation: 5+48=53, Resulting Numbers: [17, 53] Generated Node #0,0,0: 60:[17, 53] Operation: 5+48=53 Exploring Operation: 17-5=12, Resulting Numbers: [48, 12] Generated Node #0,0,1: 60:[48, 12] Operation: 17-5=12 Exploring Operation: 17+5=22, Resulting Numbers: [48, 22] Generated Node #0,0,2: 60:[48, 22] Operation: 17+5=22 Exploring Operation: 48-17=31, Resulting Numbers: [5, 31] Generated Node #0,0,3: 60:[5, 31] Operation: 48-17=31 Exploring Operation: 17+48=65, Resulting Numbers: [5, 65] Generated Node #0,0,4: 60:[5, 65] Operation: 17+48=65 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[5, 31], Operations: ['99-51=48', '48-17=31'] Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,60 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 60:[5, 65], Operations: ['99-51=48', '17+48=65'] Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[99, 51, 17, 5], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [17, 5, 48] Generated Node #0,0: 60:[17, 5, 48] Operation: 99-51=48 Moving to Node #0,0 Current State: 60:[17, 5, 48], Operations: ['99-51=48'] Exploring Operation: 17+48=65, Resulting Numbers: [5, 65] Generated Node #0,0,4: 60:[5, 65] Operation: 17+48=65 Moving to Node #0,0,4 Current State: 60:[5, 65], Operations: ['99-51=48', '17+48=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 81, 85, 87, 64 ]
47
[ "87-85=2", "64*2=128", "128-81=47" ]
Current State: 47:[81, 85, 87, 64], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [81, 64, 2] Generated Node #2: [81, 64, 2] from Operation: 87-85=2 Current State: 47:[81, 64, 2], Operations: ['87-85=2'] Exploring Operation: 64*2=128, Resulting Numbers: [81, 128] Generated Node #3: [81, 128] from Operation: 64*2=128 Current State: 47:[81, 128], Operations: ['87-85=2', '64*2=128'] Exploring Operation: 128-81=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[81, 85, 87, 64], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [85, 64, 6] Generated Node #0,0: 47:[85, 64, 6] Operation: 87-81=6 Moving to Node #0,0 Current State: 47:[85, 64, 6], Operations: ['87-81=6'] Exploring Operation: 85-6=79, Resulting Numbers: [64, 79] Generated Node #0,0,0: 47:[64, 79] Operation: 85-6=79 Moving to Node #0,0,0 Current State: 47:[64, 79], Operations: ['87-81=6', '85-6=79'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 13, 91, 62, 43 ]
59
[ "91-13=78", "62-43=19", "78-19=59" ]
Current State: 59:[13, 91, 62, 43], Operations: [] Exploring Operation: 91-13=78, Resulting Numbers: [62, 43, 78] Generated Node #2: [62, 43, 78] from Operation: 91-13=78 Current State: 59:[62, 43, 78], Operations: ['91-13=78'] Exploring Operation: 62-43=19, Resulting Numbers: [78, 19] Generated Node #3: [78, 19] from Operation: 62-43=19 Current State: 59:[78, 19], Operations: ['91-13=78', '62-43=19'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[13, 91, 62, 43], Operations: [] Exploring Operation: 13+43=56, Resulting Numbers: [91, 62, 56] Generated Node #0,0: 59:[91, 62, 56] Operation: 13+43=56 Exploring Operation: 62-13=49, Resulting Numbers: [91, 43, 49] Generated Node #0,1: 59:[91, 43, 49] Operation: 62-13=49 Exploring Operation: 91-13=78, Resulting Numbers: [62, 43, 78] Generated Node #0,2: 59:[62, 43, 78] Operation: 91-13=78 Moving to Node #0,0 Current State: 59:[91, 62, 56], Operations: ['13+43=56'] Exploring Operation: 91-56=35, Resulting Numbers: [62, 35] Generated Node #0,0,0: 59:[62, 35] Operation: 91-56=35 Exploring Operation: 62-56=6, Resulting Numbers: [91, 6] Generated Node #0,0,1: 59:[91, 6] Operation: 62-56=6 Exploring Operation: 91-62=29, Resulting Numbers: [56, 29] Generated Node #0,0,2: 59:[56, 29] Operation: 91-62=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[62, 35], Operations: ['13+43=56', '91-56=35'] Exploring Operation: 62+35=97, Resulting Numbers: [97] 97,59 unequal: No Solution Exploring Operation: 62*35=2170, Resulting Numbers: [2170] 2170,59 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,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,2 Current State: 59:[56, 29], Operations: ['13+43=56', '91-62=29'] Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,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:[91, 6], Operations: ['13+43=56', '62-56=6'] Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,59 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 91*6=546, Resulting Numbers: [546] 546,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:[62, 43, 78], Operations: ['91-13=78'] Exploring Operation: 78-62=16, Resulting Numbers: [43, 16] Generated Node #0,2,0: 59:[43, 16] Operation: 78-62=16 Exploring Operation: 62-43=19, Resulting Numbers: [78, 19] Generated Node #0,2,1: 59:[78, 19] Operation: 62-43=19 Exploring Operation: 78-43=35, Resulting Numbers: [62, 35] Generated Node #0,2,2: 59:[62, 35] Operation: 78-43=35 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[62, 35], Operations: ['91-13=78', '78-43=35'] Exploring Operation: 62*35=2170, Resulting Numbers: [2170] 2170,59 unequal: No Solution Exploring Operation: 62+35=97, Resulting Numbers: [97] 97,59 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[43, 16], Operations: ['91-13=78', '78-62=16'] Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,59 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[13, 91, 62, 43], Operations: [] Exploring Operation: 91-13=78, Resulting Numbers: [62, 43, 78] Generated Node #0,2: 59:[62, 43, 78] Operation: 91-13=78 Moving to Node #0,2 Current State: 59:[62, 43, 78], Operations: ['91-13=78'] Exploring Operation: 78-62=16, Resulting Numbers: [43, 16] Generated Node #0,2,0: 59:[43, 16] Operation: 78-62=16 Moving to Node #0,2,0 Current State: 59:[43, 16], Operations: ['91-13=78', '78-62=16'] Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 58, 5, 69, 7 ]
95
[ "58*7=406", "69+406=475", "475/5=95" ]
Current State: 95:[58, 5, 69, 7], Operations: [] Exploring Operation: 58*7=406, Resulting Numbers: [5, 69, 406] Generated Node #2: [5, 69, 406] from Operation: 58*7=406 Current State: 95:[5, 69, 406], Operations: ['58*7=406'] Exploring Operation: 69+406=475, Resulting Numbers: [5, 475] Generated Node #3: [5, 475] from Operation: 69+406=475 Current State: 95:[5, 475], Operations: ['58*7=406', '69+406=475'] Exploring Operation: 475/5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[58, 5, 69, 7], Operations: [] Exploring Operation: 58+69=127, Resulting Numbers: [5, 7, 127] Generated Node #0,0: 95:[5, 7, 127] Operation: 58+69=127 Exploring Operation: 69-58=11, Resulting Numbers: [5, 7, 11] Generated Node #0,1: 95:[5, 7, 11] Operation: 69-58=11 Exploring Operation: 69+7=76, Resulting Numbers: [58, 5, 76] Generated Node #0,2: 95:[58, 5, 76] Operation: 69+7=76 Exploring Operation: 58+7=65, Resulting Numbers: [5, 69, 65] Generated Node #0,3: 95:[5, 69, 65] Operation: 58+7=65 Exploring Operation: 58-7=51, Resulting Numbers: [5, 69, 51] Generated Node #0,4: 95:[5, 69, 51] Operation: 58-7=51 Moving to Node #0,1 Current State: 95:[5, 7, 11], Operations: ['69-58=11'] Exploring Operation: 11-7=4, Resulting Numbers: [5, 4] Generated Node #0,1,0: 95:[5, 4] Operation: 11-7=4 Exploring Operation: 7-5=2, Resulting Numbers: [11, 2] Generated Node #0,1,1: 95:[11, 2] Operation: 7-5=2 Exploring Operation: 7+11=18, Resulting Numbers: [5, 18] Generated Node #0,1,2: 95:[5, 18] Operation: 7+11=18 Exploring Operation: 11-5=6, Resulting Numbers: [7, 6] Generated Node #0,1,3: 95:[7, 6] Operation: 11-5=6 Exploring Operation: 5+11=16, Resulting Numbers: [7, 16] Generated Node #0,1,4: 95:[7, 16] Operation: 5+11=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[5, 4], Operations: ['69-58=11', '11-7=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[5, 18], Operations: ['69-58=11', '7+11=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[7, 6], Operations: ['69-58=11', '11-5=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 95:[7, 16], Operations: ['69-58=11', '5+11=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[11, 2], Operations: ['69-58=11', '7-5=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,95 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: 95:[5, 7, 127], Operations: ['58+69=127'] Exploring Operation: 5+7=12, Resulting Numbers: [127, 12] Generated Node #0,0,0: 95:[127, 12] Operation: 5+7=12 Exploring Operation: 127-7=120, Resulting Numbers: [5, 120] Generated Node #0,0,1: 95:[5, 120] Operation: 127-7=120 Exploring Operation: 127-5=122, Resulting Numbers: [7, 122] Generated Node #0,0,2: 95:[7, 122] Operation: 127-5=122 Exploring Operation: 5+127=132, Resulting Numbers: [7, 132] Generated Node #0,0,3: 95:[7, 132] Operation: 5+127=132 Exploring Operation: 7-5=2, Resulting Numbers: [127, 2] Generated Node #0,0,4: 95:[127, 2] Operation: 7-5=2 Moving to Node #0,2 Current State: 95:[58, 5, 76], Operations: ['69+7=76'] Exploring Operation: 58-5=53, Resulting Numbers: [76, 53] Generated Node #0,2,0: 95:[76, 53] Operation: 58-5=53 Exploring Operation: 58+76=134, Resulting Numbers: [5, 134] Generated Node #0,2,1: 95:[5, 134] Operation: 58+76=134 Exploring Operation: 76-58=18, Resulting Numbers: [5, 18] Generated Node #0,2,2: 95:[5, 18] Operation: 76-58=18 Exploring Operation: 5+76=81, Resulting Numbers: [58, 81] Generated Node #0,2,3: 95:[58, 81] Operation: 5+76=81 Exploring Operation: 58+5=63, Resulting Numbers: [76, 63] Generated Node #0,2,4: 95:[76, 63] Operation: 58+5=63 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[5, 18], Operations: ['69+7=76', '76-58=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,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:[5, 134], Operations: ['69+7=76', '58+76=134'] Exploring Operation: 134-5=129, Resulting Numbers: [129] 129,95 unequal: No Solution Exploring Operation: 5+134=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 5*134=670, Resulting Numbers: [670] 670,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:[58, 81], Operations: ['69+7=76', '5+76=81'] Exploring Operation: 58*81=4698, Resulting Numbers: [4698] 4698,95 unequal: No Solution Exploring Operation: 58+81=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,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,4 Current State: 95:[76, 63], Operations: ['69+7=76', '58+5=63'] Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 76*63=4788, Resulting Numbers: [4788] 4788,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:[76, 53], Operations: ['69+7=76', '58-5=53'] Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,95 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,95 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: 95:[5, 69, 65], Operations: ['58+7=65'] Exploring Operation: 5+69=74, Resulting Numbers: [65, 74] Generated Node #0,3,0: 95:[65, 74] Operation: 5+69=74 Exploring Operation: 5+65=70, Resulting Numbers: [69, 70] Generated Node #0,3,1: 95:[69, 70] Operation: 5+65=70 Exploring Operation: 65/5=13, Resulting Numbers: [69, 13] Generated Node #0,3,2: 95:[69, 13] Operation: 65/5=13 Exploring Operation: 69-65=4, Resulting Numbers: [5, 4] Generated Node #0,3,3: 95:[5, 4] Operation: 69-65=4 Exploring Operation: 69+65=134, Resulting Numbers: [5, 134] Generated Node #0,3,4: 95:[5, 134] Operation: 69+65=134 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[5, 4], Operations: ['58+7=65', '69-65=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,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,3,2 Current State: 95:[69, 13], Operations: ['58+7=65', '65/5=13'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,95 unequal: No Solution Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,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,3,4 Current State: 95:[5, 134], Operations: ['58+7=65', '69+65=134'] Exploring Operation: 5+134=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 134-5=129, Resulting Numbers: [129] 129,95 unequal: No Solution Exploring Operation: 5*134=670, Resulting Numbers: [670] 670,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,3,0 Current State: 95:[65, 74], Operations: ['58+7=65', '5+69=74'] Exploring Operation: 65+74=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 65*74=4810, Resulting Numbers: [4810] 4810,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,3,1 Current State: 95:[69, 70], Operations: ['58+7=65', '5+65=70'] Exploring Operation: 69+70=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 69*70=4830, Resulting Numbers: [4830] 4830,95 unequal: No Solution Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,95 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: 95:[5, 69, 51], Operations: ['58-7=51'] Exploring Operation: 51-5=46, Resulting Numbers: [69, 46] Generated Node #0,4,0: 95:[69, 46] Operation: 51-5=46 Exploring Operation: 69+51=120, Resulting Numbers: [5, 120] Generated Node #0,4,1: 95:[5, 120] Operation: 69+51=120 Exploring Operation: 69-51=18, Resulting Numbers: [5, 18] Generated Node #0,4,2: 95:[5, 18] Operation: 69-51=18 Exploring Operation: 5+69=74, Resulting Numbers: [51, 74] Generated Node #0,4,3: 95:[51, 74] Operation: 5+69=74 Exploring Operation: 69-5=64, Resulting Numbers: [51, 64] Generated Node #0,4,4: 95:[51, 64] Operation: 69-5=64 Moving to Node #0,4,2 Current State: 95:[5, 18], Operations: ['58-7=51', '69-51=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[5, 120], Operations: ['58+69=127', '127-7=120'] Exploring Operation: 5+120=125, Resulting Numbers: [125] 125,95 unequal: No Solution Exploring Operation: 120/5=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 5*120=600, Resulting Numbers: [600] 600,95 unequal: No Solution Exploring Operation: 120-5=115, Resulting Numbers: [115] 115,95 unequal: No Solution Moving to Node #0,4,1 Current State: 95:[5, 120], Operations: ['58-7=51', '69+51=120'] Exploring Operation: 5+120=125, Resulting Numbers: [125] 125,95 unequal: No Solution Exploring Operation: 120/5=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 120-5=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 5*120=600, Resulting Numbers: [600] 600,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[7, 122], Operations: ['58+69=127', '127-5=122'] Exploring Operation: 122-7=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 7*122=854, Resulting Numbers: [854] 854,95 unequal: No Solution Exploring Operation: 7+122=129, Resulting Numbers: [129] 129,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[127, 2], Operations: ['58+69=127', '7-5=2'] Exploring Operation: 127*2=254, Resulting Numbers: [254] 254,95 unequal: No Solution Exploring Operation: 127-2=125, Resulting Numbers: [125] 125,95 unequal: No Solution Exploring Operation: 127+2=129, Resulting Numbers: [129] 129,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[7, 132], Operations: ['58+69=127', '5+127=132'] Exploring Operation: 132-7=125, Resulting Numbers: [125] 125,95 unequal: No Solution Exploring Operation: 7*132=924, Resulting Numbers: [924] 924,95 unequal: No Solution Exploring Operation: 7+132=139, Resulting Numbers: [139] 139,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[127, 12], Operations: ['58+69=127', '5+7=12'] Exploring Operation: 127*12=1524, Resulting Numbers: [1524] 1524,95 unequal: No Solution Exploring Operation: 127-12=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 127+12=139, Resulting Numbers: [139] 139,95 unequal: No Solution Moving to Node #0,4,3 Current State: 95:[51, 74], Operations: ['58-7=51', '5+69=74'] Exploring Operation: 51*74=3774, Resulting Numbers: [3774] 3774,95 unequal: No Solution Exploring Operation: 51+74=125, Resulting Numbers: [125] 125,95 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,95 unequal: No Solution Moving to Node #0,4,0 Current State: 95:[69, 46], Operations: ['58-7=51', '51-5=46'] Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[51, 64], Operations: ['58-7=51', '69-5=64'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,95 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 50, 75, 66, 96 ]
52
[ "50*66=3300", "3300/75=44", "96-44=52" ]
Current State: 52:[50, 75, 66, 96], Operations: [] Exploring Operation: 50*66=3300, Resulting Numbers: [75, 96, 3300] Generated Node #2: [75, 96, 3300] from Operation: 50*66=3300 Current State: 52:[75, 96, 3300], Operations: ['50*66=3300'] Exploring Operation: 3300/75=44, Resulting Numbers: [96, 44] Generated Node #3: [96, 44] from Operation: 3300/75=44 Current State: 52:[96, 44], Operations: ['50*66=3300', '3300/75=44'] Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[50, 75, 66, 96], Operations: [] Exploring Operation: 96-66=30, Resulting Numbers: [50, 75, 30] Generated Node #0,0: 52:[50, 75, 30] Operation: 96-66=30 Exploring Operation: 75-66=9, Resulting Numbers: [50, 96, 9] Generated Node #0,1: 52:[50, 96, 9] Operation: 75-66=9 Exploring Operation: 96-50=46, Resulting Numbers: [75, 66, 46] Generated Node #0,2: 52:[75, 66, 46] Operation: 96-50=46 Exploring Operation: 96-75=21, Resulting Numbers: [50, 66, 21] Generated Node #0,3: 52:[50, 66, 21] Operation: 96-75=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[50, 66, 21], Operations: ['96-75=21'] Exploring Operation: 66-21=45, Resulting Numbers: [50, 45] Generated Node #0,3,0: 52:[50, 45] Operation: 66-21=45 Exploring Operation: 50-21=29, Resulting Numbers: [66, 29] Generated Node #0,3,1: 52:[66, 29] Operation: 50-21=29 Exploring Operation: 50+21=71, Resulting Numbers: [66, 71] Generated Node #0,3,2: 52:[66, 71] Operation: 50+21=71 Exploring Operation: 66-50=16, Resulting Numbers: [21, 16] Generated Node #0,3,3: 52:[21, 16] Operation: 66-50=16 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[21, 16], Operations: ['96-75=21', '66-50=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,52 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,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,3,0 Current State: 52:[50, 45], Operations: ['96-75=21', '66-21=45'] Exploring Operation: 50*45=2250, Resulting Numbers: [2250] 2250,52 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,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,3,1 Current State: 52:[66, 29], Operations: ['96-75=21', '50-21=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,52 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,52 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,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,3,2 Current State: 52:[66, 71], Operations: ['96-75=21', '50+21=71'] Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,52 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,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,0 Current State: 52:[50, 75, 30], Operations: ['96-66=30'] Exploring Operation: 75-50=25, Resulting Numbers: [30, 25] Generated Node #0,0,0: 52:[30, 25] Operation: 75-50=25 Exploring Operation: 75-30=45, Resulting Numbers: [50, 45] Generated Node #0,0,1: 52:[50, 45] Operation: 75-30=45 Exploring Operation: 50+30=80, Resulting Numbers: [75, 80] Generated Node #0,0,2: 52:[75, 80] Operation: 50+30=80 Exploring Operation: 50-30=20, Resulting Numbers: [75, 20] Generated Node #0,0,3: 52:[75, 20] Operation: 50-30=20 Moving to Node #0,0,0 Current State: 52:[30, 25], Operations: ['96-66=30', '75-50=25'] Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,52 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[50, 45], Operations: ['96-66=30', '75-30=45'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,52 unequal: No Solution Exploring Operation: 50*45=2250, Resulting Numbers: [2250] 2250,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[75, 20], Operations: ['96-66=30', '50-30=20'] Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,52 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[75, 80], Operations: ['96-66=30', '50+30=80'] Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,52 unequal: No Solution Exploring Operation: 75*80=6000, Resulting Numbers: [6000] 6000,52 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,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,2 Current State: 52:[75, 66, 46], Operations: ['96-50=46'] Exploring Operation: 66-46=20, Resulting Numbers: [75, 20] Generated Node #0,2,0: 52:[75, 20] Operation: 66-46=20 Exploring Operation: 75+46=121, Resulting Numbers: [66, 121] Generated Node #0,2,1: 52:[66, 121] Operation: 75+46=121 Exploring Operation: 75-46=29, Resulting Numbers: [66, 29] Generated Node #0,2,2: 52:[66, 29] Operation: 75-46=29 Exploring Operation: 75-66=9, Resulting Numbers: [46, 9] Generated Node #0,2,3: 52:[46, 9] Operation: 75-66=9 Moving to Node #0,2,3 Current State: 52:[46, 9], Operations: ['96-50=46', '75-66=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,52 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[66, 29], Operations: ['96-50=46', '75-46=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,52 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,52 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[75, 20], Operations: ['96-50=46', '66-46=20'] Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,52 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[66, 121], Operations: ['96-50=46', '75+46=121'] Exploring Operation: 66*121=7986, Resulting Numbers: [7986] 7986,52 unequal: No Solution Exploring Operation: 66+121=187, Resulting Numbers: [187] 187,52 unequal: No Solution Exploring Operation: 121-66=55, Resulting Numbers: [55] 55,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 Current State: 52:[50, 96, 9], Operations: ['75-66=9'] Exploring Operation: 96-50=46, Resulting Numbers: [9, 46] Generated Node #0,1,0: 52:[9, 46] Operation: 96-50=46 Exploring Operation: 96-9=87, Resulting Numbers: [50, 87] Generated Node #0,1,1: 52:[50, 87] Operation: 96-9=87 Exploring Operation: 50+9=59, Resulting Numbers: [96, 59] Generated Node #0,1,2: 52:[96, 59] Operation: 50+9=59 Exploring Operation: 50-9=41, Resulting Numbers: [96, 41] Generated Node #0,1,3: 52:[96, 41] Operation: 50-9=41 Moving to Node #0,1,0 Current State: 52:[9, 46], Operations: ['75-66=9', '96-50=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,52 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[50, 87], Operations: ['75-66=9', '96-9=87'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 50+87=137, Resulting Numbers: [137] 137,52 unequal: No Solution Exploring Operation: 50*87=4350, Resulting Numbers: [4350] 4350,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[96, 59], Operations: ['75-66=9', '50+9=59'] Exploring Operation: 96*59=5664, Resulting Numbers: [5664] 5664,52 unequal: No Solution Exploring Operation: 96+59=155, Resulting Numbers: [155] 155,52 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[96, 41], Operations: ['75-66=9', '50-9=41'] Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,52 unequal: No Solution Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 65, 64, 50, 64 ]
65
[ "64-64=0", "50*0=0", "65+0=65" ]
Current State: 65:[65, 64, 50, 64], Operations: [] Exploring Operation: 64-64=0, Resulting Numbers: [65, 50, 0] Generated Node #2: [65, 50, 0] from Operation: 64-64=0 Current State: 65:[65, 50, 0], Operations: ['64-64=0'] Exploring Operation: 50*0=0, Resulting Numbers: [65, 0] Generated Node #3: [65, 0] from Operation: 50*0=0 Current State: 65:[65, 0], Operations: ['64-64=0', '50*0=0'] Exploring Operation: 65+0=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[65, 64, 50, 64], Operations: [] Exploring Operation: 65-50=15, Resulting Numbers: [64, 64, 15] Generated Node #0,0: 65:[64, 64, 15] Operation: 65-50=15 Exploring Operation: 64/64=1, Resulting Numbers: [65, 50, 1] Generated Node #0,1: 65:[65, 50, 1] Operation: 64/64=1 Exploring Operation: 64-50=14, Resulting Numbers: [65, 64, 14] Generated Node #0,2: 65:[65, 64, 14] Operation: 64-50=14 Exploring Operation: 64-50=14, Resulting Numbers: [65, 64, 14] Generated Node #0,3: 65:[65, 64, 14] Operation: 64-50=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[65, 64, 14], Operations: ['64-50=14'] Exploring Operation: 65+14=79, Resulting Numbers: [64, 79] Generated Node #0,2,0: 65:[64, 79] Operation: 65+14=79 Exploring Operation: 65-64=1, Resulting Numbers: [14, 1] Generated Node #0,2,1: 65:[14, 1] Operation: 65-64=1 Exploring Operation: 64+14=78, Resulting Numbers: [65, 78] Generated Node #0,2,2: 65:[65, 78] Operation: 64+14=78 Exploring Operation: 65-14=51, Resulting Numbers: [64, 51] Generated Node #0,2,3: 65:[64, 51] Operation: 65-14=51 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 65:[14, 1], Operations: ['64-50=14', '65-64=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,65 unequal: No Solution No 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: 65:[65, 78], Operations: ['64-50=14', '64+14=78'] Exploring Operation: 65+78=143, Resulting Numbers: [143] 143,65 unequal: No Solution Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 65*78=5070, Resulting Numbers: [5070] 5070,65 unequal: No Solution No 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: 65:[64, 79], Operations: ['64-50=14', '65+14=79'] Exploring Operation: 64+79=143, Resulting Numbers: [143] 143,65 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 64*79=5056, Resulting Numbers: [5056] 5056,65 unequal: No Solution No 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: 65:[64, 51], Operations: ['64-50=14', '65-14=51'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,65 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,65 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: 65:[65, 64, 14], Operations: ['64-50=14'] Exploring Operation: 65-14=51, Resulting Numbers: [64, 51] Generated Node #0,3,0: 65:[64, 51] Operation: 65-14=51 Exploring Operation: 64+14=78, Resulting Numbers: [65, 78] Generated Node #0,3,1: 65:[65, 78] Operation: 64+14=78 Exploring Operation: 65+14=79, Resulting Numbers: [64, 79] Generated Node #0,3,2: 65:[64, 79] Operation: 65+14=79 Exploring Operation: 65-64=1, Resulting Numbers: [14, 1] Generated Node #0,3,3: 65:[14, 1] Operation: 65-64=1 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 65:[14, 1], Operations: ['64-50=14', '65-64=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,65 unequal: No Solution No 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: 65:[65, 78], Operations: ['64-50=14', '64+14=78'] Exploring Operation: 65*78=5070, Resulting Numbers: [5070] 5070,65 unequal: No Solution Exploring Operation: 65+78=143, Resulting Numbers: [143] 143,65 unequal: No Solution Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,65 unequal: No Solution No 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: 65:[64, 51], Operations: ['64-50=14', '65-14=51'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,65 unequal: No Solution No 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: 65:[64, 79], Operations: ['64-50=14', '65+14=79'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 64+79=143, Resulting Numbers: [143] 143,65 unequal: No Solution Exploring Operation: 64*79=5056, Resulting Numbers: [5056] 5056,65 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: 65:[64, 64, 15], Operations: ['65-50=15'] Exploring Operation: 64-64=0, Resulting Numbers: [15, 0] Generated Node #0,0,0: 65:[15, 0] Operation: 64-64=0 Exploring Operation: 64+15=79, Resulting Numbers: [64, 79] Generated Node #0,0,1: 65:[64, 79] Operation: 64+15=79 Exploring Operation: 64+15=79, Resulting Numbers: [64, 79] Generated Node #0,0,2: 65:[64, 79] Operation: 64+15=79 Exploring Operation: 64/64=1, Resulting Numbers: [15, 1] Generated Node #0,0,3: 65:[15, 1] Operation: 64/64=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 65:[15, 1], Operations: ['65-50=15', '64/64=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,65 unequal: No Solution No 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: 65:[15, 0], Operations: ['65-50=15', '64-64=0'] Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 15*0=0, Resulting Numbers: [0] 0,65 unequal: No Solution Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,65 unequal: No Solution No 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: 65:[64, 79], Operations: ['65-50=15', '64+15=79'] Exploring Operation: 64*79=5056, Resulting Numbers: [5056] 5056,65 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 64+79=143, Resulting Numbers: [143] 143,65 unequal: No Solution No 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: 65:[64, 79], Operations: ['65-50=15', '64+15=79'] Exploring Operation: 64+79=143, Resulting Numbers: [143] 143,65 unequal: No Solution Exploring Operation: 64*79=5056, Resulting Numbers: [5056] 5056,65 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,65 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: 65:[65, 50, 1], Operations: ['64/64=1'] Exploring Operation: 65-50=15, Resulting Numbers: [1, 15] Generated Node #0,1,0: 65:[1, 15] Operation: 65-50=15 Exploring Operation: 65/1=65, Resulting Numbers: [50, 65] Generated Node #0,1,1: 65:[50, 65] Operation: 65/1=65 Exploring Operation: 50+1=51, Resulting Numbers: [65, 51] Generated Node #0,1,2: 65:[65, 51] Operation: 50+1=51 Exploring Operation: 65*1=65, Resulting Numbers: [50, 65] Generated Node #0,1,3: 65:[50, 65] Operation: 65*1=65 Moving to Node #0,1,0 Current State: 65:[1, 15], Operations: ['64/64=1', '65-50=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[65, 51], Operations: ['64/64=1', '50+1=51'] Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,65 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 65*51=3315, Resulting Numbers: [3315] 3315,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[50, 65], Operations: ['64/64=1', '65*1=65'] Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[50, 65], Operations: ['64/64=1', '65/1=65'] Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,65 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
[ 99, 3, 11, 67 ]
18
[ "99-3=96", "11+67=78", "96-78=18" ]
Current State: 18:[99, 3, 11, 67], Operations: [] Exploring Operation: 99-3=96, Resulting Numbers: [11, 67, 96] Generated Node #2: [11, 67, 96] from Operation: 99-3=96 Current State: 18:[11, 67, 96], Operations: ['99-3=96'] Exploring Operation: 11+67=78, Resulting Numbers: [96, 78] Generated Node #3: [96, 78] from Operation: 11+67=78 Current State: 18:[96, 78], Operations: ['99-3=96', '11+67=78'] Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[99, 3, 11, 67], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [11, 67, 33] Generated Node #0,0: 18:[11, 67, 33] Operation: 99/3=33 Exploring Operation: 99/11=9, Resulting Numbers: [3, 67, 9] Generated Node #0,1: 18:[3, 67, 9] Operation: 99/11=9 Exploring Operation: 99-67=32, Resulting Numbers: [3, 11, 32] Generated Node #0,2: 18:[3, 11, 32] Operation: 99-67=32 Exploring Operation: 99-11=88, Resulting Numbers: [3, 67, 88] Generated Node #0,3: 18:[3, 67, 88] Operation: 99-11=88 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[3, 11, 32], Operations: ['99-67=32'] Exploring Operation: 3+11=14, Resulting Numbers: [32, 14] Generated Node #0,2,0: 18:[32, 14] Operation: 3+11=14 Exploring Operation: 32-11=21, Resulting Numbers: [3, 21] Generated Node #0,2,1: 18:[3, 21] Operation: 32-11=21 Exploring Operation: 32-3=29, Resulting Numbers: [11, 29] Generated Node #0,2,2: 18:[11, 29] Operation: 32-3=29 Exploring Operation: 11-3=8, Resulting Numbers: [32, 8] Generated Node #0,2,3: 18:[32, 8] Operation: 11-3=8 Moving to Node #0,2,1 Current State: 18:[3, 21], Operations: ['99-67=32', '32-11=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[99, 3, 11, 67], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [3, 11, 32] Generated Node #0,2: 18:[3, 11, 32] Operation: 99-67=32 Moving to Node #0,2 Current State: 18:[3, 11, 32], Operations: ['99-67=32'] Exploring Operation: 32-11=21, Resulting Numbers: [3, 21] Generated Node #0,2,1: 18:[3, 21] Operation: 32-11=21 Moving to Node #0,2,1 Current State: 18:[3, 21], Operations: ['99-67=32', '32-11=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 99, 3, 29, 18 ]
22
[ "99/3=33", "29-18=11", "33-11=22" ]
Current State: 22:[99, 3, 29, 18], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [29, 18, 33] Generated Node #2: [29, 18, 33] from Operation: 99/3=33 Current State: 22:[29, 18, 33], Operations: ['99/3=33'] Exploring Operation: 29-18=11, Resulting Numbers: [33, 11] Generated Node #3: [33, 11] from Operation: 29-18=11 Current State: 22:[33, 11], Operations: ['99/3=33', '29-18=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[99, 3, 29, 18], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [29, 18, 33] Generated Node #0,0: 22:[29, 18, 33] Operation: 99/3=33 Exploring Operation: 99-29=70, Resulting Numbers: [3, 18, 70] Generated Node #0,1: 22:[3, 18, 70] Operation: 99-29=70 Exploring Operation: 99-18=81, Resulting Numbers: [3, 29, 81] Generated Node #0,2: 22:[3, 29, 81] Operation: 99-18=81 Moving to Node #0,0 Current State: 22:[29, 18, 33], Operations: ['99/3=33'] Exploring Operation: 29-18=11, Resulting Numbers: [33, 11] Generated Node #0,0,0: 22:[33, 11] Operation: 29-18=11 Exploring Operation: 33-18=15, Resulting Numbers: [29, 15] Generated Node #0,0,1: 22:[29, 15] Operation: 33-18=15 Exploring Operation: 33-29=4, Resulting Numbers: [18, 4] Generated Node #0,0,2: 22:[18, 4] Operation: 33-29=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[18, 4], Operations: ['99/3=33', '33-29=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[99, 3, 29, 18], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [29, 18, 33] Generated Node #0,0: 22:[29, 18, 33] Operation: 99/3=33 Moving to Node #0,0 Current State: 22:[29, 18, 33], Operations: ['99/3=33'] Exploring Operation: 33-29=4, Resulting Numbers: [18, 4] Generated Node #0,0,2: 22:[18, 4] Operation: 33-29=4 Moving to Node #0,0,2 Current State: 22:[18, 4], Operations: ['99/3=33', '33-29=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 18, 11, 16, 13 ]
69
[ "18-13=5", "16*5=80", "80-11=69" ]
Current State: 69:[18, 11, 16, 13], Operations: [] Exploring Operation: 18-13=5, Resulting Numbers: [11, 16, 5] Generated Node #2: [11, 16, 5] from Operation: 18-13=5 Current State: 69:[11, 16, 5], Operations: ['18-13=5'] Exploring Operation: 16*5=80, Resulting Numbers: [11, 80] Generated Node #3: [11, 80] from Operation: 16*5=80 Current State: 69:[11, 80], Operations: ['18-13=5', '16*5=80'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[18, 11, 16, 13], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [18, 16, 2] Generated Node #0,0: 69:[18, 16, 2] Operation: 13-11=2 Exploring Operation: 11+13=24, Resulting Numbers: [18, 16, 24] Generated Node #0,1: 69:[18, 16, 24] Operation: 11+13=24 Moving to Node #0,0 Current State: 69:[18, 16, 2], Operations: ['13-11=2'] Exploring Operation: 18-16=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 69:[2, 2] Operation: 18-16=2 Exploring Operation: 18+2=20, Resulting Numbers: [16, 20] Generated Node #0,0,1: 69:[16, 20] Operation: 18+2=20 Moving to Node #0,1 Current State: 69:[18, 16, 24], Operations: ['11+13=24'] Exploring Operation: 18-16=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 69:[24, 2] Operation: 18-16=2 Exploring Operation: 24-18=6, Resulting Numbers: [16, 6] Generated Node #0,1,1: 69:[16, 6] Operation: 24-18=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[24, 2], Operations: ['11+13=24', '18-16=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[16, 6], Operations: ['11+13=24', '24-18=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,69 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: 69:[2, 2], Operations: ['13-11=2', '18-16=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[16, 20], Operations: ['13-11=2', '18+2=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,69 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 68, 30, 63, 84 ]
59
[ "68-30=38", "84-63=21", "38+21=59" ]
Current State: 59:[68, 30, 63, 84], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [63, 84, 38] Generated Node #2: [63, 84, 38] from Operation: 68-30=38 Current State: 59:[63, 84, 38], Operations: ['68-30=38'] Exploring Operation: 84-63=21, Resulting Numbers: [38, 21] Generated Node #3: [38, 21] from Operation: 84-63=21 Current State: 59:[38, 21], Operations: ['68-30=38', '84-63=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[68, 30, 63, 84], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [63, 84, 38] Generated Node #0,0: 59:[63, 84, 38] Operation: 68-30=38 Exploring Operation: 63-30=33, Resulting Numbers: [68, 84, 33] Generated Node #0,1: 59:[68, 84, 33] Operation: 63-30=33 Exploring Operation: 84-30=54, Resulting Numbers: [68, 63, 54] Generated Node #0,2: 59:[68, 63, 54] Operation: 84-30=54 Moving to Node #0,2 Current State: 59:[68, 63, 54], Operations: ['84-30=54'] Exploring Operation: 63-54=9, Resulting Numbers: [68, 9] Generated Node #0,2,0: 59:[68, 9] Operation: 63-54=9 Exploring Operation: 68-54=14, Resulting Numbers: [63, 14] Generated Node #0,2,1: 59:[63, 14] Operation: 68-54=14 Exploring Operation: 68-63=5, Resulting Numbers: [54, 5] Generated Node #0,2,2: 59:[54, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 59:[63, 84, 38], Operations: ['68-30=38'] Exploring Operation: 63-38=25, Resulting Numbers: [84, 25] Generated Node #0,0,0: 59:[84, 25] Operation: 63-38=25 Exploring Operation: 84-63=21, Resulting Numbers: [38, 21] Generated Node #0,0,1: 59:[38, 21] Operation: 84-63=21 Exploring Operation: 84-38=46, Resulting Numbers: [63, 46] Generated Node #0,0,2: 59:[63, 46] Operation: 84-38=46 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[63, 46], Operations: ['68-30=38', '84-38=46'] Exploring Operation: 63+46=109, Resulting Numbers: [109] 109,59 unequal: No Solution Exploring Operation: 63*46=2898, Resulting Numbers: [2898] 2898,59 unequal: No Solution Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,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:[84, 25], Operations: ['68-30=38', '63-38=25'] Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[68, 30, 63, 84], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [63, 84, 38] Generated Node #0,0: 59:[63, 84, 38] Operation: 68-30=38 Moving to Node #0,0 Current State: 59:[63, 84, 38], Operations: ['68-30=38'] Exploring Operation: 63-38=25, Resulting Numbers: [84, 25] Generated Node #0,0,0: 59:[84, 25] Operation: 63-38=25 Moving to Node #0,0,0 Current State: 59:[84, 25], Operations: ['68-30=38', '63-38=25'] Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 70, 1, 30, 2 ]
19
[ "70-30=40", "40/2=20", "20-1=19" ]
Current State: 19:[70, 1, 30, 2], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [1, 2, 40] Generated Node #2: [1, 2, 40] from Operation: 70-30=40 Current State: 19:[1, 2, 40], Operations: ['70-30=40'] Exploring Operation: 40/2=20, Resulting Numbers: [1, 20] Generated Node #3: [1, 20] from Operation: 40/2=20 Current State: 19:[1, 20], Operations: ['70-30=40', '40/2=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[70, 1, 30, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [1, 30, 35] Generated Node #0,0: 19:[1, 30, 35] Operation: 70/2=35 Exploring Operation: 70-30=40, Resulting Numbers: [1, 2, 40] Generated Node #0,1: 19:[1, 2, 40] Operation: 70-30=40 Moving to Node #0,0 Current State: 19:[1, 30, 35], Operations: ['70/2=35'] Exploring Operation: 35-1=34, Resulting Numbers: [30, 34] Generated Node #0,0,0: 19:[30, 34] Operation: 35-1=34 Exploring Operation: 30-1=29, Resulting Numbers: [35, 29] Generated Node #0,0,1: 19:[35, 29] Operation: 30-1=29 Moving to Node #0,1 Current State: 19:[1, 2, 40], Operations: ['70-30=40'] Exploring Operation: 40/2=20, Resulting Numbers: [1, 20] Generated Node #0,1,0: 19:[1, 20] Operation: 40/2=20 Exploring Operation: 1+2=3, Resulting Numbers: [40, 3] Generated Node #0,1,1: 19:[40, 3] Operation: 1+2=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[1, 20], Operations: ['70-30=40', '40/2=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[70, 1, 30, 2], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [1, 2, 40] Generated Node #0,1: 19:[1, 2, 40] Operation: 70-30=40 Moving to Node #0,1 Current State: 19:[1, 2, 40], Operations: ['70-30=40'] Exploring Operation: 40/2=20, Resulting Numbers: [1, 20] Generated Node #0,1,0: 19:[1, 20] Operation: 40/2=20 Moving to Node #0,1,0 Current State: 19:[1, 20], Operations: ['70-30=40', '40/2=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 69, 27, 4, 8 ]
26
[ "69+27=96", "8+96=104", "104/4=26" ]
Current State: 26:[69, 27, 4, 8], Operations: [] Exploring Operation: 69+27=96, Resulting Numbers: [4, 8, 96] Generated Node #2: [4, 8, 96] from Operation: 69+27=96 Current State: 26:[4, 8, 96], Operations: ['69+27=96'] Exploring Operation: 8+96=104, Resulting Numbers: [4, 104] Generated Node #3: [4, 104] from Operation: 8+96=104 Current State: 26:[4, 104], Operations: ['69+27=96', '8+96=104'] Exploring Operation: 104/4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[69, 27, 4, 8], Operations: [] Exploring Operation: 4+8=12, Resulting Numbers: [69, 27, 12] Generated Node #0,0: 26:[69, 27, 12] Operation: 4+8=12 Exploring Operation: 69-4=65, Resulting Numbers: [27, 8, 65] Generated Node #0,1: 26:[27, 8, 65] Operation: 69-4=65 Exploring Operation: 8/4=2, Resulting Numbers: [69, 27, 2] Generated Node #0,2: 26:[69, 27, 2] Operation: 8/4=2 Exploring Operation: 69-27=42, Resulting Numbers: [4, 8, 42] Generated Node #0,3: 26:[4, 8, 42] Operation: 69-27=42 Exploring Operation: 69-8=61, Resulting Numbers: [27, 4, 61] Generated Node #0,4: 26:[27, 4, 61] Operation: 69-8=61 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[4, 8, 42], Operations: ['69-27=42'] Exploring Operation: 8-4=4, Resulting Numbers: [42, 4] Generated Node #0,3,0: 26:[42, 4] Operation: 8-4=4 Exploring Operation: 4+8=12, Resulting Numbers: [42, 12] Generated Node #0,3,1: 26:[42, 12] Operation: 4+8=12 Exploring Operation: 42-4=38, Resulting Numbers: [8, 38] Generated Node #0,3,2: 26:[8, 38] Operation: 42-4=38 Exploring Operation: 42-8=34, Resulting Numbers: [4, 34] Generated Node #0,3,3: 26:[4, 34] Operation: 42-8=34 Exploring Operation: 8/4=2, Resulting Numbers: [42, 2] Generated Node #0,3,4: 26:[42, 2] Operation: 8/4=2 Moving to Node #0,3,3 Current State: 26:[4, 34], Operations: ['69-27=42', '42-8=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,26 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,26 unequal: No Solution Moving to Node #0,3,4 Current State: 26:[42, 2], Operations: ['69-27=42', '8/4=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,26 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[42, 12], Operations: ['69-27=42', '4+8=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,26 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[8, 38], Operations: ['69-27=42', '42-4=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[42, 4], Operations: ['69-27=42', '8-4=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,26 unequal: No Solution No 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: 26:[27, 4, 61], Operations: ['69-8=61'] Exploring Operation: 27-4=23, Resulting Numbers: [61, 23] Generated Node #0,4,0: 26:[61, 23] Operation: 27-4=23 Exploring Operation: 61-27=34, Resulting Numbers: [4, 34] Generated Node #0,4,1: 26:[4, 34] Operation: 61-27=34 Exploring Operation: 27+4=31, Resulting Numbers: [61, 31] Generated Node #0,4,2: 26:[61, 31] Operation: 27+4=31 Exploring Operation: 4+61=65, Resulting Numbers: [27, 65] Generated Node #0,4,3: 26:[27, 65] Operation: 4+61=65 Exploring Operation: 61-4=57, Resulting Numbers: [27, 57] Generated Node #0,4,4: 26:[27, 57] Operation: 61-4=57 Moving to Node #0,4,1 Current State: 26:[4, 34], Operations: ['69-8=61', '61-27=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,26 unequal: No Solution Moving to Node #0,4,4 Current State: 26:[27, 57], Operations: ['69-8=61', '61-4=57'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,26 unequal: No Solution Moving to Node #0,4,0 Current State: 26:[61, 23], Operations: ['69-8=61', '27-4=23'] Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,26 unequal: No Solution Moving to Node #0,4,2 Current State: 26:[61, 31], Operations: ['69-8=61', '27+4=31'] Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,26 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,26 unequal: No Solution Moving to Node #0,4,3 Current State: 26:[27, 65], Operations: ['69-8=61', '4+61=65'] Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,26 unequal: No Solution No 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: 26:[69, 27, 2], Operations: ['8/4=2'] Exploring Operation: 69+2=71, Resulting Numbers: [27, 71] Generated Node #0,2,0: 26:[27, 71] Operation: 69+2=71 Exploring Operation: 27-2=25, Resulting Numbers: [69, 25] Generated Node #0,2,1: 26:[69, 25] Operation: 27-2=25 Exploring Operation: 27+2=29, Resulting Numbers: [69, 29] Generated Node #0,2,2: 26:[69, 29] Operation: 27+2=29 Exploring Operation: 69-2=67, Resulting Numbers: [27, 67] Generated Node #0,2,3: 26:[27, 67] Operation: 69-2=67 Exploring Operation: 69-27=42, Resulting Numbers: [2, 42] Generated Node #0,2,4: 26:[2, 42] Operation: 69-27=42 Moving to Node #0,2,4 Current State: 26:[2, 42], Operations: ['8/4=2', '69-27=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,26 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[27, 67], Operations: ['8/4=2', '69-2=67'] Exploring Operation: 27+67=94, Resulting Numbers: [94] 94,26 unequal: No Solution Exploring Operation: 27*67=1809, Resulting Numbers: [1809] 1809,26 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[69, 25], Operations: ['8/4=2', '27-2=25'] Exploring Operation: 69*25=1725, Resulting Numbers: [1725] 1725,26 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,26 unequal: No Solution Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[27, 71], Operations: ['8/4=2', '69+2=71'] Exploring Operation: 27+71=98, Resulting Numbers: [98] 98,26 unequal: No Solution Exploring Operation: 27*71=1917, Resulting Numbers: [1917] 1917,26 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[69, 29], Operations: ['8/4=2', '27+2=29'] Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,26 unequal: No Solution Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,26 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,26 unequal: No Solution No 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: 26:[69, 27, 12], Operations: ['4+8=12'] Exploring Operation: 27-12=15, Resulting Numbers: [69, 15] Generated Node #0,0,0: 26:[69, 15] Operation: 27-12=15 Exploring Operation: 69-12=57, Resulting Numbers: [27, 57] Generated Node #0,0,1: 26:[27, 57] Operation: 69-12=57 Exploring Operation: 69-27=42, Resulting Numbers: [12, 42] Generated Node #0,0,2: 26:[12, 42] Operation: 69-27=42 Exploring Operation: 27+12=39, Resulting Numbers: [69, 39] Generated Node #0,0,3: 26:[69, 39] Operation: 27+12=39 Exploring Operation: 69+12=81, Resulting Numbers: [27, 81] Generated Node #0,0,4: 26:[27, 81] Operation: 69+12=81 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 26:[12, 42], Operations: ['4+8=12', '69-27=42'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,26 unequal: No Solution Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,26 unequal: No Solution No 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: 26:[27, 57], Operations: ['4+8=12', '69-12=57'] Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,26 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,26 unequal: No Solution No 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: 26:[69, 15], Operations: ['4+8=12', '27-12=15'] Exploring Operation: 69+15=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 69*15=1035, Resulting Numbers: [1035] 1035,26 unequal: No Solution No 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: 26:[69, 39], Operations: ['4+8=12', '27+12=39'] Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,26 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,26 unequal: No Solution No 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: 26:[27, 81], Operations: ['4+8=12', '69+12=81'] Exploring Operation: 27*81=2187, Resulting Numbers: [2187] 2187,26 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 27+81=108, Resulting Numbers: [108] 108,26 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: 26:[27, 8, 65], Operations: ['69-4=65'] Exploring Operation: 27-8=19, Resulting Numbers: [65, 19] Generated Node #0,1,0: 26:[65, 19] Operation: 27-8=19 Exploring Operation: 65-27=38, Resulting Numbers: [8, 38] Generated Node #0,1,1: 26:[8, 38] Operation: 65-27=38 Exploring Operation: 27+8=35, Resulting Numbers: [65, 35] Generated Node #0,1,2: 26:[65, 35] Operation: 27+8=35 Exploring Operation: 65-8=57, Resulting Numbers: [27, 57] Generated Node #0,1,3: 26:[27, 57] Operation: 65-8=57 Exploring Operation: 8+65=73, Resulting Numbers: [27, 73] Generated Node #0,1,4: 26:[27, 73] Operation: 8+65=73 Moving to Node #0,1,1 Current State: 26:[8, 38], Operations: ['69-4=65', '65-27=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[27, 57], Operations: ['69-4=65', '65-8=57'] Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,26 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[65, 19], Operations: ['69-4=65', '27-8=19'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[65, 35], Operations: ['69-4=65', '27+8=35'] Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,26 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,26 unequal: No Solution Moving to Node #0,1,4 Current State: 26:[27, 73], Operations: ['69-4=65', '8+65=73'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,26 unequal: No Solution Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 42, 26, 74, 3 ]
38
[ "42+74=116", "26*3=78", "116-78=38" ]
Current State: 38:[42, 26, 74, 3], Operations: [] Exploring Operation: 42+74=116, Resulting Numbers: [26, 3, 116] Generated Node #2: [26, 3, 116] from Operation: 42+74=116 Current State: 38:[26, 3, 116], Operations: ['42+74=116'] Exploring Operation: 26*3=78, Resulting Numbers: [116, 78] Generated Node #3: [116, 78] from Operation: 26*3=78 Current State: 38:[116, 78], Operations: ['42+74=116', '26*3=78'] Exploring Operation: 116-78=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[42, 26, 74, 3], Operations: [] Exploring Operation: 74-26=48, Resulting Numbers: [42, 3, 48] Generated Node #0,0: 38:[42, 3, 48] Operation: 74-26=48 Exploring Operation: 74-42=32, Resulting Numbers: [26, 3, 32] Generated Node #0,1: 38:[26, 3, 32] Operation: 74-42=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[26, 3, 32], Operations: ['74-42=32'] Exploring Operation: 26-3=23, Resulting Numbers: [32, 23] Generated Node #0,1,0: 38:[32, 23] Operation: 26-3=23 Exploring Operation: 32-26=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 38:[3, 6] Operation: 32-26=6 Moving to Node #0,1,1 Current State: 38:[3, 6], Operations: ['74-42=32', '32-26=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[32, 23], Operations: ['74-42=32', '26-3=23'] Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[42, 3, 48], Operations: ['74-26=48'] Exploring Operation: 48-42=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 38:[3, 6] Operation: 48-42=6 Exploring Operation: 48/3=16, Resulting Numbers: [42, 16] Generated Node #0,0,1: 38:[42, 16] Operation: 48/3=16 Moving to Node #0,0,0 Current State: 38:[3, 6], Operations: ['74-26=48', '48-42=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[42, 16], Operations: ['74-26=48', '48/3=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,38 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
[ 38, 37, 57, 6 ]
41
[ "38*6=228", "228/57=4", "37+4=41" ]
Current State: 41:[38, 37, 57, 6], Operations: [] Exploring Operation: 38*6=228, Resulting Numbers: [37, 57, 228] Generated Node #2: [37, 57, 228] from Operation: 38*6=228 Current State: 41:[37, 57, 228], Operations: ['38*6=228'] Exploring Operation: 228/57=4, Resulting Numbers: [37, 4] Generated Node #3: [37, 4] from Operation: 228/57=4 Current State: 41:[37, 4], Operations: ['38*6=228', '228/57=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[38, 37, 57, 6], Operations: [] Exploring Operation: 37+6=43, Resulting Numbers: [38, 57, 43] Generated Node #0,0: 41:[38, 57, 43] Operation: 37+6=43 Exploring Operation: 57-6=51, Resulting Numbers: [38, 37, 51] Generated Node #0,1: 41:[38, 37, 51] Operation: 57-6=51 Exploring Operation: 38+6=44, Resulting Numbers: [37, 57, 44] Generated Node #0,2: 41:[37, 57, 44] Operation: 38+6=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[38, 37, 51], Operations: ['57-6=51'] Exploring Operation: 38+37=75, Resulting Numbers: [51, 75] Generated Node #0,1,0: 41:[51, 75] Operation: 38+37=75 Exploring Operation: 51-38=13, Resulting Numbers: [37, 13] Generated Node #0,1,1: 41:[37, 13] Operation: 51-38=13 Exploring Operation: 51-37=14, Resulting Numbers: [38, 14] Generated Node #0,1,2: 41:[38, 14] Operation: 51-37=14 Moving to Node #0,1,2 Current State: 41:[38, 14], Operations: ['57-6=51', '51-37=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,41 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[37, 13], Operations: ['57-6=51', '51-38=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[51, 75], Operations: ['57-6=51', '38+37=75'] Exploring Operation: 51+75=126, Resulting Numbers: [126] 126,41 unequal: No Solution Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 51*75=3825, Resulting Numbers: [3825] 3825,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[38, 57, 43], Operations: ['37+6=43'] Exploring Operation: 57-38=19, Resulting Numbers: [43, 19] Generated Node #0,0,0: 41:[43, 19] Operation: 57-38=19 Exploring Operation: 43-38=5, Resulting Numbers: [57, 5] Generated Node #0,0,1: 41:[57, 5] Operation: 43-38=5 Exploring Operation: 57-43=14, Resulting Numbers: [38, 14] Generated Node #0,0,2: 41:[38, 14] Operation: 57-43=14 Moving to Node #0,0,0 Current State: 41:[43, 19], Operations: ['37+6=43', '57-38=19'] Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,41 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[38, 14], Operations: ['37+6=43', '57-43=14'] Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,41 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[57, 5], Operations: ['37+6=43', '43-38=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,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 Current State: 41:[37, 57, 44], Operations: ['38+6=44'] Exploring Operation: 44-37=7, Resulting Numbers: [57, 7] Generated Node #0,2,0: 41:[57, 7] Operation: 44-37=7 Exploring Operation: 57-37=20, Resulting Numbers: [44, 20] Generated Node #0,2,1: 41:[44, 20] Operation: 57-37=20 Exploring Operation: 57-44=13, Resulting Numbers: [37, 13] Generated Node #0,2,2: 41:[37, 13] Operation: 57-44=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[44, 20], Operations: ['38+6=44', '57-37=20'] Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,41 unequal: No Solution Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[37, 13], Operations: ['38+6=44', '57-44=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[57, 7], Operations: ['38+6=44', '44-37=7'] Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,41 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 91, 8, 62, 61 ]
100
[ "91+8=99", "62-61=1", "99+1=100" ]
Current State: 100:[91, 8, 62, 61], Operations: [] Exploring Operation: 91+8=99, Resulting Numbers: [62, 61, 99] Generated Node #2: [62, 61, 99] from Operation: 91+8=99 Current State: 100:[62, 61, 99], Operations: ['91+8=99'] Exploring Operation: 62-61=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 62-61=1 Current State: 100:[99, 1], Operations: ['91+8=99', '62-61=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[91, 8, 62, 61], Operations: [] Exploring Operation: 62-8=54, Resulting Numbers: [91, 61, 54] Generated Node #0,0: 100:[91, 61, 54] Operation: 62-8=54 Exploring Operation: 91-62=29, Resulting Numbers: [8, 61, 29] Generated Node #0,1: 100:[8, 61, 29] Operation: 91-62=29 Exploring Operation: 62-61=1, Resulting Numbers: [91, 8, 1] Generated Node #0,2: 100:[91, 8, 1] Operation: 62-61=1 Exploring Operation: 91+8=99, Resulting Numbers: [62, 61, 99] Generated Node #0,3: 100:[62, 61, 99] Operation: 91+8=99 Exploring Operation: 91-61=30, Resulting Numbers: [8, 62, 30] Generated Node #0,4: 100:[8, 62, 30] Operation: 91-61=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[91, 8, 1], Operations: ['62-61=1'] Exploring Operation: 91+1=92, Resulting Numbers: [8, 92] Generated Node #0,2,0: 100:[8, 92] Operation: 91+1=92 Exploring Operation: 91+8=99, Resulting Numbers: [1, 99] Generated Node #0,2,1: 100:[1, 99] Operation: 91+8=99 Exploring Operation: 8+1=9, Resulting Numbers: [91, 9] Generated Node #0,2,2: 100:[91, 9] Operation: 8+1=9 Exploring Operation: 91*1=91, Resulting Numbers: [8, 91] Generated Node #0,2,3: 100:[8, 91] Operation: 91*1=91 Exploring Operation: 91/1=91, Resulting Numbers: [8, 91] Generated Node #0,2,4: 100:[8, 91] Operation: 91/1=91 Moving to Node #0,2,1 Current State: 100:[1, 99], Operations: ['62-61=1', '91+8=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[91, 8, 62, 61], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [91, 8, 1] Generated Node #0,2: 100:[91, 8, 1] Operation: 62-61=1 Moving to Node #0,2 Current State: 100:[91, 8, 1], Operations: ['62-61=1'] Exploring Operation: 91+8=99, Resulting Numbers: [1, 99] Generated Node #0,2,1: 100:[1, 99] Operation: 91+8=99 Moving to Node #0,2,1 Current State: 100:[1, 99], Operations: ['62-61=1', '91+8=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 31, 39, 1, 13 ]
34
[ "31*1=31", "39/13=3", "31+3=34" ]
Current State: 34:[31, 39, 1, 13], Operations: [] Exploring Operation: 31*1=31, Resulting Numbers: [39, 13, 31] Generated Node #2: [39, 13, 31] from Operation: 31*1=31 Current State: 34:[39, 13, 31], Operations: ['31*1=31'] Exploring Operation: 39/13=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 39/13=3 Current State: 34:[31, 3], Operations: ['31*1=31', '39/13=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[31, 39, 1, 13], Operations: [] Exploring Operation: 39/13=3, Resulting Numbers: [31, 1, 3] Generated Node #0,0: 34:[31, 1, 3] Operation: 39/13=3 Exploring Operation: 31+1=32, Resulting Numbers: [39, 13, 32] Generated Node #0,1: 34:[39, 13, 32] Operation: 31+1=32 Exploring Operation: 39-31=8, Resulting Numbers: [1, 13, 8] Generated Node #0,2: 34:[1, 13, 8] Operation: 39-31=8 Exploring Operation: 31-13=18, Resulting Numbers: [39, 1, 18] Generated Node #0,3: 34:[39, 1, 18] Operation: 31-13=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[31, 1, 3], Operations: ['39/13=3'] Exploring Operation: 31+1=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 34:[3, 32] Operation: 31+1=32 Exploring Operation: 3-1=2, Resulting Numbers: [31, 2] Generated Node #0,0,1: 34:[31, 2] Operation: 3-1=2 Exploring Operation: 31+3=34, Resulting Numbers: [1, 34] Generated Node #0,0,2: 34:[1, 34] Operation: 31+3=34 Exploring Operation: 31*1=31, Resulting Numbers: [3, 31] Generated Node #0,0,3: 34:[3, 31] Operation: 31*1=31 Moving to Node #0,0,2 Current State: 34:[1, 34], Operations: ['39/13=3', '31+3=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[31, 39, 1, 13], Operations: [] Exploring Operation: 39/13=3, Resulting Numbers: [31, 1, 3] Generated Node #0,0: 34:[31, 1, 3] Operation: 39/13=3 Moving to Node #0,0 Current State: 34:[31, 1, 3], Operations: ['39/13=3'] Exploring Operation: 31+3=34, Resulting Numbers: [1, 34] Generated Node #0,0,2: 34:[1, 34] Operation: 31+3=34 Moving to Node #0,0,2 Current State: 34:[1, 34], Operations: ['39/13=3', '31+3=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 8, 56, 20, 72 ]
10
[ "8*20=160", "72-56=16", "160/16=10" ]
Current State: 10:[8, 56, 20, 72], Operations: [] Exploring Operation: 8*20=160, Resulting Numbers: [56, 72, 160] Generated Node #2: [56, 72, 160] from Operation: 8*20=160 Current State: 10:[56, 72, 160], Operations: ['8*20=160'] Exploring Operation: 72-56=16, Resulting Numbers: [160, 16] Generated Node #3: [160, 16] from Operation: 72-56=16 Current State: 10:[160, 16], Operations: ['8*20=160', '72-56=16'] Exploring Operation: 160/16=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[8, 56, 20, 72], Operations: [] Exploring Operation: 56-20=36, Resulting Numbers: [8, 72, 36] Generated Node #0,0: 10:[8, 72, 36] Operation: 56-20=36 Exploring Operation: 72/8=9, Resulting Numbers: [56, 20, 9] Generated Node #0,1: 10:[56, 20, 9] Operation: 72/8=9 Exploring Operation: 72-56=16, Resulting Numbers: [8, 20, 16] Generated Node #0,2: 10:[8, 20, 16] Operation: 72-56=16 Exploring Operation: 56/8=7, Resulting Numbers: [20, 72, 7] Generated Node #0,3: 10:[20, 72, 7] Operation: 56/8=7 Moving to Node #0,2 Current State: 10:[8, 20, 16], Operations: ['72-56=16'] Exploring Operation: 20-16=4, Resulting Numbers: [8, 4] Generated Node #0,2,0: 10:[8, 4] Operation: 20-16=4 Exploring Operation: 20-8=12, Resulting Numbers: [16, 12] Generated Node #0,2,1: 10:[16, 12] Operation: 20-8=12 Exploring Operation: 16/8=2, Resulting Numbers: [20, 2] Generated Node #0,2,2: 10:[20, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [20, 8] Generated Node #0,2,3: 10:[20, 8] Operation: 16-8=8 Moving to Node #0,1 Current State: 10:[56, 20, 9], Operations: ['72/8=9'] Exploring Operation: 20-9=11, Resulting Numbers: [56, 11] Generated Node #0,1,0: 10:[56, 11] Operation: 20-9=11 Exploring Operation: 56-9=47, Resulting Numbers: [20, 47] Generated Node #0,1,1: 10:[20, 47] Operation: 56-9=47 Exploring Operation: 56-20=36, Resulting Numbers: [9, 36] Generated Node #0,1,2: 10:[9, 36] Operation: 56-20=36 Exploring Operation: 56+9=65, Resulting Numbers: [20, 65] Generated Node #0,1,3: 10:[20, 65] Operation: 56+9=65 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[9, 36], Operations: ['72/8=9', '56-20=36'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 9*36=324, Resulting Numbers: [324] 324,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[56, 11], Operations: ['72/8=9', '20-9=11'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[20, 47], Operations: ['72/8=9', '56-9=47'] Exploring Operation: 20*47=940, Resulting Numbers: [940] 940,10 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 20+47=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[20, 65], Operations: ['72/8=9', '56+9=65'] Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,10 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,10 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: 10:[20, 72, 7], Operations: ['56/8=7'] Exploring Operation: 72-7=65, Resulting Numbers: [20, 65] Generated Node #0,3,0: 10:[20, 65] Operation: 72-7=65 Exploring Operation: 20+7=27, Resulting Numbers: [72, 27] Generated Node #0,3,1: 10:[72, 27] Operation: 20+7=27 Exploring Operation: 72-20=52, Resulting Numbers: [7, 52] Generated Node #0,3,2: 10:[7, 52] Operation: 72-20=52 Exploring Operation: 20-7=13, Resulting Numbers: [72, 13] Generated Node #0,3,3: 10:[72, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 10:[7, 52], Operations: ['56/8=7', '72-20=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,10 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[20, 65], Operations: ['56/8=7', '72-7=65'] Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,10 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 10:[72, 13], Operations: ['56/8=7', '20-7=13'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,10 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 10:[72, 27], Operations: ['56/8=7', '20+7=27'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,10 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,10 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: 10:[8, 72, 36], Operations: ['56-20=36'] Exploring Operation: 72/36=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 10:[8, 2] Operation: 72/36=2 Exploring Operation: 72-36=36, Resulting Numbers: [8, 36] Generated Node #0,0,1: 10:[8, 36] Operation: 72-36=36 Exploring Operation: 72-8=64, Resulting Numbers: [36, 64] Generated Node #0,0,2: 10:[36, 64] Operation: 72-8=64 Exploring Operation: 72/8=9, Resulting Numbers: [36, 9] Generated Node #0,0,3: 10:[36, 9] Operation: 72/8=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[8, 2], Operations: ['56-20=36', '72/36=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[8, 56, 20, 72], Operations: [] Exploring Operation: 56-20=36, Resulting Numbers: [8, 72, 36] Generated Node #0,0: 10:[8, 72, 36] Operation: 56-20=36 Moving to Node #0,0 Current State: 10:[8, 72, 36], Operations: ['56-20=36'] Exploring Operation: 72/36=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 10:[8, 2] Operation: 72/36=2 Moving to Node #0,0,0 Current State: 10:[8, 2], Operations: ['56-20=36', '72/36=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
mult_heuristic
[ 8, 72, 71, 82 ]
17
[ "72/8=9", "71+82=153", "153/9=17" ]
Current State: 17:[8, 72, 71, 82], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [71, 82, 9] Generated Node #2: [71, 82, 9] from Operation: 72/8=9 Current State: 17:[71, 82, 9], Operations: ['72/8=9'] Exploring Operation: 71+82=153, Resulting Numbers: [9, 153] Generated Node #3: [9, 153] from Operation: 71+82=153 Current State: 17:[9, 153], Operations: ['72/8=9', '71+82=153'] Exploring Operation: 153/9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[8, 72, 71, 82], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [8, 71, 10] Generated Node #0,0: 17:[8, 71, 10] Operation: 82-72=10 Exploring Operation: 82-71=11, Resulting Numbers: [8, 72, 11] Generated Node #0,1: 17:[8, 72, 11] Operation: 82-71=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[8, 71, 10], Operations: ['82-72=10'] Exploring Operation: 71-8=63, Resulting Numbers: [10, 63] Generated Node #0,0,0: 17:[10, 63] Operation: 71-8=63 Exploring Operation: 71-10=61, Resulting Numbers: [8, 61] Generated Node #0,0,1: 17:[8, 61] Operation: 71-10=61 Moving to Node #0,0,0 Current State: 17:[10, 63], Operations: ['82-72=10', '71-8=63'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[8, 61], Operations: ['82-72=10', '71-10=61'] Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[8, 72, 11], Operations: ['82-71=11'] Exploring Operation: 72-8=64, Resulting Numbers: [11, 64] Generated Node #0,1,0: 17:[11, 64] Operation: 72-8=64 Exploring Operation: 72/8=9, Resulting Numbers: [11, 9] Generated Node #0,1,1: 17:[11, 9] Operation: 72/8=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[11, 9], Operations: ['82-71=11', '72/8=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,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,0 Current State: 17:[11, 64], Operations: ['82-71=11', '72-8=64'] Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,17 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,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_2
mult_heuristic
[ 71, 69, 59, 14 ]
49
[ "71+69=140", "140/14=10", "59-10=49" ]
Current State: 49:[71, 69, 59, 14], Operations: [] Exploring Operation: 71+69=140, Resulting Numbers: [59, 14, 140] Generated Node #2: [59, 14, 140] from Operation: 71+69=140 Current State: 49:[59, 14, 140], Operations: ['71+69=140'] Exploring Operation: 140/14=10, Resulting Numbers: [59, 10] Generated Node #3: [59, 10] from Operation: 140/14=10 Current State: 49:[59, 10], Operations: ['71+69=140', '140/14=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[71, 69, 59, 14], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [71, 14, 10] Generated Node #0,0: 49:[71, 14, 10] Operation: 69-59=10 Exploring Operation: 71-69=2, Resulting Numbers: [59, 14, 2] Generated Node #0,1: 49:[59, 14, 2] Operation: 71-69=2 Exploring Operation: 71-14=57, Resulting Numbers: [69, 59, 57] Generated Node #0,2: 49:[69, 59, 57] Operation: 71-14=57 Exploring Operation: 69-14=55, Resulting Numbers: [71, 59, 55] Generated Node #0,3: 49:[71, 59, 55] Operation: 69-14=55 Exploring Operation: 71-59=12, Resulting Numbers: [69, 14, 12] Generated Node #0,4: 49:[69, 14, 12] Operation: 71-59=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[59, 14, 2], Operations: ['71-69=2'] Exploring Operation: 59+2=61, Resulting Numbers: [14, 61] Generated Node #0,1,0: 49:[14, 61] Operation: 59+2=61 Exploring Operation: 59-14=45, Resulting Numbers: [2, 45] Generated Node #0,1,1: 49:[2, 45] Operation: 59-14=45 Exploring Operation: 14-2=12, Resulting Numbers: [59, 12] Generated Node #0,1,2: 49:[59, 12] Operation: 14-2=12 Exploring Operation: 59-2=57, Resulting Numbers: [14, 57] Generated Node #0,1,3: 49:[14, 57] Operation: 59-2=57 Exploring Operation: 14/2=7, Resulting Numbers: [59, 7] Generated Node #0,1,4: 49:[59, 7] Operation: 14/2=7 Moving to Node #0,1,1 Current State: 49:[2, 45], Operations: ['71-69=2', '59-14=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,49 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[59, 7], Operations: ['71-69=2', '14/2=7'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,49 unequal: No Solution Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[59, 12], Operations: ['71-69=2', '14-2=12'] Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 59*12=708, Resulting Numbers: [708] 708,49 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[14, 57], Operations: ['71-69=2', '59-2=57'] Exploring Operation: 14*57=798, Resulting Numbers: [798] 798,49 unequal: No Solution Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[14, 61], Operations: ['71-69=2', '59+2=61'] Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,49 unequal: No Solution Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[71, 14, 10], Operations: ['69-59=10'] Exploring Operation: 14-10=4, Resulting Numbers: [71, 4] Generated Node #0,0,0: 49:[71, 4] Operation: 14-10=4 Exploring Operation: 71+10=81, Resulting Numbers: [14, 81] Generated Node #0,0,1: 49:[14, 81] Operation: 71+10=81 Exploring Operation: 71+14=85, Resulting Numbers: [10, 85] Generated Node #0,0,2: 49:[10, 85] Operation: 71+14=85 Exploring Operation: 71-10=61, Resulting Numbers: [14, 61] Generated Node #0,0,3: 49:[14, 61] Operation: 71-10=61 Exploring Operation: 71-14=57, Resulting Numbers: [10, 57] Generated Node #0,0,4: 49:[10, 57] Operation: 71-14=57 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 49:[10, 57], Operations: ['69-59=10', '71-14=57'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[14, 61], Operations: ['69-59=10', '71-10=61'] Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,49 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[71, 4], Operations: ['69-59=10', '14-10=4'] Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,49 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[14, 81], Operations: ['69-59=10', '71+10=81'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,49 unequal: No Solution Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[10, 85], Operations: ['69-59=10', '71+14=85'] Exploring Operation: 10*85=850, Resulting Numbers: [850] 850,49 unequal: No Solution Exploring Operation: 10+85=95, Resulting Numbers: [95] 95,49 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[69, 14, 12], Operations: ['71-59=12'] Exploring Operation: 69+12=81, Resulting Numbers: [14, 81] Generated Node #0,4,0: 49:[14, 81] Operation: 69+12=81 Exploring Operation: 69-14=55, Resulting Numbers: [12, 55] Generated Node #0,4,1: 49:[12, 55] Operation: 69-14=55 Exploring Operation: 69+14=83, Resulting Numbers: [12, 83] Generated Node #0,4,2: 49:[12, 83] Operation: 69+14=83 Exploring Operation: 14-12=2, Resulting Numbers: [69, 2] Generated Node #0,4,3: 49:[69, 2] Operation: 14-12=2 Exploring Operation: 69-12=57, Resulting Numbers: [14, 57] Generated Node #0,4,4: 49:[14, 57] Operation: 69-12=57 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 49:[12, 55], Operations: ['71-59=12', '69-14=55'] Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 49:[14, 57], Operations: ['71-59=12', '69-12=57'] Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 14*57=798, Resulting Numbers: [798] 798,49 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 49:[69, 2], Operations: ['71-59=12', '14-12=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,49 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 49:[14, 81], Operations: ['71-59=12', '69+12=81'] Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,49 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,49 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 49:[12, 83], Operations: ['71-59=12', '69+14=83'] Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,49 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[69, 59, 57], Operations: ['71-14=57'] Exploring Operation: 69-57=12, Resulting Numbers: [59, 12] Generated Node #0,2,0: 49:[59, 12] Operation: 69-57=12 Exploring Operation: 69+59=128, Resulting Numbers: [57, 128] Generated Node #0,2,1: 49:[57, 128] Operation: 69+59=128 Exploring Operation: 69+57=126, Resulting Numbers: [59, 126] Generated Node #0,2,2: 49:[59, 126] Operation: 69+57=126 Exploring Operation: 59-57=2, Resulting Numbers: [69, 2] Generated Node #0,2,3: 49:[69, 2] Operation: 59-57=2 Exploring Operation: 69-59=10, Resulting Numbers: [57, 10] Generated Node #0,2,4: 49:[57, 10] Operation: 69-59=10 Moving to Node #0,2,4 Current State: 49:[57, 10], Operations: ['71-14=57', '69-59=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,49 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[59, 12], Operations: ['71-14=57', '69-57=12'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 59*12=708, Resulting Numbers: [708] 708,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[69, 2], Operations: ['71-14=57', '59-57=2'] Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,49 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[57, 128], Operations: ['71-14=57', '69+59=128'] Exploring Operation: 128-57=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 57+128=185, Resulting Numbers: [185] 185,49 unequal: No Solution Exploring Operation: 57*128=7296, Resulting Numbers: [7296] 7296,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[59, 126], Operations: ['71-14=57', '69+57=126'] Exploring Operation: 59+126=185, Resulting Numbers: [185] 185,49 unequal: No Solution Exploring Operation: 126-59=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 59*126=7434, Resulting Numbers: [7434] 7434,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[71, 59, 55], Operations: ['69-14=55'] Exploring Operation: 71+55=126, Resulting Numbers: [59, 126] Generated Node #0,3,0: 49:[59, 126] Operation: 71+55=126 Exploring Operation: 71-55=16, Resulting Numbers: [59, 16] Generated Node #0,3,1: 49:[59, 16] Operation: 71-55=16 Exploring Operation: 59-55=4, Resulting Numbers: [71, 4] Generated Node #0,3,2: 49:[71, 4] Operation: 59-55=4 Exploring Operation: 71+59=130, Resulting Numbers: [55, 130] Generated Node #0,3,3: 49:[55, 130] Operation: 71+59=130 Exploring Operation: 71-59=12, Resulting Numbers: [55, 12] Generated Node #0,3,4: 49:[55, 12] Operation: 71-59=12 Moving to Node #0,3,4 Current State: 49:[55, 12], Operations: ['69-14=55', '71-59=12'] Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,49 unequal: No Solution Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[59, 16], Operations: ['69-14=55', '71-55=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,49 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[71, 4], Operations: ['69-14=55', '59-55=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[59, 126], Operations: ['69-14=55', '71+55=126'] Exploring Operation: 59+126=185, Resulting Numbers: [185] 185,49 unequal: No Solution Exploring Operation: 126-59=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 59*126=7434, Resulting Numbers: [7434] 7434,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[55, 130], Operations: ['69-14=55', '71+59=130'] Exploring Operation: 130-55=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 55+130=185, Resulting Numbers: [185] 185,49 unequal: No Solution Exploring Operation: 55*130=7150, Resulting Numbers: [7150] 7150,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 93, 24, 8, 1 ]
60
[ "93-24=69", "8+1=9", "69-9=60" ]
Current State: 60:[93, 24, 8, 1], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [8, 1, 69] Generated Node #2: [8, 1, 69] from Operation: 93-24=69 Current State: 60:[8, 1, 69], Operations: ['93-24=69'] Exploring Operation: 8+1=9, Resulting Numbers: [69, 9] Generated Node #3: [69, 9] from Operation: 8+1=9 Current State: 60:[69, 9], Operations: ['93-24=69', '8+1=9'] Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[93, 24, 8, 1], Operations: [] Exploring Operation: 93-8=85, Resulting Numbers: [24, 1, 85] Generated Node #0,0: 60:[24, 1, 85] Operation: 93-8=85 Exploring Operation: 93-24=69, Resulting Numbers: [8, 1, 69] Generated Node #0,1: 60:[8, 1, 69] Operation: 93-24=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[8, 1, 69], Operations: ['93-24=69'] Exploring Operation: 8+1=9, Resulting Numbers: [69, 9] Generated Node #0,1,0: 60:[69, 9] Operation: 8+1=9 Exploring Operation: 69-8=61, Resulting Numbers: [1, 61] Generated Node #0,1,1: 60:[1, 61] Operation: 69-8=61 Moving to Node #0,1,1 Current State: 60:[1, 61], Operations: ['93-24=69', '69-8=61'] Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[93, 24, 8, 1], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [8, 1, 69] Generated Node #0,1: 60:[8, 1, 69] Operation: 93-24=69 Moving to Node #0,1 Current State: 60:[8, 1, 69], Operations: ['93-24=69'] Exploring Operation: 69-8=61, Resulting Numbers: [1, 61] Generated Node #0,1,1: 60:[1, 61] Operation: 69-8=61 Moving to Node #0,1,1 Current State: 60:[1, 61], Operations: ['93-24=69', '69-8=61'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 36, 89, 23, 5 ]
97
[ "36+89=125", "23+5=28", "125-28=97" ]
Current State: 97:[36, 89, 23, 5], Operations: [] Exploring Operation: 36+89=125, Resulting Numbers: [23, 5, 125] Generated Node #2: [23, 5, 125] from Operation: 36+89=125 Current State: 97:[23, 5, 125], Operations: ['36+89=125'] Exploring Operation: 23+5=28, Resulting Numbers: [125, 28] Generated Node #3: [125, 28] from Operation: 23+5=28 Current State: 97:[125, 28], Operations: ['36+89=125', '23+5=28'] Exploring Operation: 125-28=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[36, 89, 23, 5], Operations: [] Exploring Operation: 23*5=115, Resulting Numbers: [36, 89, 115] Generated Node #0,0: 97:[36, 89, 115] Operation: 23*5=115 Moving to Node #0,0 Current State: 97:[36, 89, 115], Operations: ['23*5=115'] Exploring Operation: 115-36=79, Resulting Numbers: [89, 79] Generated Node #0,0,0: 97:[89, 79] Operation: 115-36=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[89, 79], Operations: ['23*5=115', '115-36=79'] Exploring Operation: 89+79=168, Resulting Numbers: [168] 168,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
[ 18, 30, 78, 27 ]
22
[ "18*78=1404", "1404/27=52", "52-30=22" ]
Current State: 22:[18, 30, 78, 27], Operations: [] Exploring Operation: 18*78=1404, Resulting Numbers: [30, 27, 1404] Generated Node #2: [30, 27, 1404] from Operation: 18*78=1404 Current State: 22:[30, 27, 1404], Operations: ['18*78=1404'] Exploring Operation: 1404/27=52, Resulting Numbers: [30, 52] Generated Node #3: [30, 52] from Operation: 1404/27=52 Current State: 22:[30, 52], Operations: ['18*78=1404', '1404/27=52'] Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[18, 30, 78, 27], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [18, 27, 48] Generated Node #0,0: 22:[18, 27, 48] Operation: 78-30=48 Exploring Operation: 78-18=60, Resulting Numbers: [30, 27, 60] Generated Node #0,1: 22:[30, 27, 60] Operation: 78-18=60 Exploring Operation: 78-27=51, Resulting Numbers: [18, 30, 51] Generated Node #0,2: 22:[18, 30, 51] Operation: 78-27=51 Moving to Node #0,0 Current State: 22:[18, 27, 48], Operations: ['78-30=48'] Exploring Operation: 48-18=30, Resulting Numbers: [27, 30] Generated Node #0,0,0: 22:[27, 30] Operation: 48-18=30 Exploring Operation: 27-18=9, Resulting Numbers: [48, 9] Generated Node #0,0,1: 22:[48, 9] Operation: 27-18=9 Exploring Operation: 48-27=21, Resulting Numbers: [18, 21] Generated Node #0,0,2: 22:[18, 21] Operation: 48-27=21 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[18, 21], Operations: ['78-30=48', '48-27=21'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,22 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[27, 30], Operations: ['78-30=48', '48-18=30'] Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,22 unequal: No Solution Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[48, 9], Operations: ['78-30=48', '27-18=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,22 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,22 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: 22:[18, 30, 51], Operations: ['78-27=51'] Exploring Operation: 51-30=21, Resulting Numbers: [18, 21] Generated Node #0,2,0: 22:[18, 21] Operation: 51-30=21 Exploring Operation: 51-18=33, Resulting Numbers: [30, 33] Generated Node #0,2,1: 22:[30, 33] Operation: 51-18=33 Exploring Operation: 30-18=12, Resulting Numbers: [51, 12] Generated Node #0,2,2: 22:[51, 12] Operation: 30-18=12 Moving to Node #0,1 Current State: 22:[30, 27, 60], Operations: ['78-18=60'] Exploring Operation: 60/30=2, Resulting Numbers: [27, 2] Generated Node #0,1,0: 22:[27, 2] Operation: 60/30=2 Exploring Operation: 60-27=33, Resulting Numbers: [30, 33] Generated Node #0,1,1: 22:[30, 33] Operation: 60-27=33 Exploring Operation: 60-30=30, Resulting Numbers: [27, 30] Generated Node #0,1,2: 22:[27, 30] Operation: 60-30=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[27, 2], Operations: ['78-18=60', '60/30=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,22 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[27, 30], Operations: ['78-18=60', '60-30=30'] Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[30, 33], Operations: ['78-18=60', '60-27=33'] Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,22 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,22 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: 22:[18, 21], Operations: ['78-27=51', '51-30=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,22 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[30, 33], Operations: ['78-27=51', '51-18=33'] Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,22 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[51, 12], Operations: ['78-27=51', '30-18=12'] Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,22 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,22 unequal: No Solution No solution found.
0
hs_3
mult_heuristic