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
[ 23, 96, 93, 22 ]
42
[ "96-23=73", "93+22=115", "115-73=42" ]
Current State: 42:[23, 96, 93, 22], Operations: [] Exploring Operation: 96-23=73, Resulting Numbers: [93, 22, 73] Generated Node #2: [93, 22, 73] from Operation: 96-23=73 Current State: 42:[93, 22, 73], Operations: ['96-23=73'] Exploring Operation: 93+22=115, Resulting Numbers: [73, 115] Generated Node #3: [73, 115] from Operation: 93+22=115 Current State: 42:[73, 115], Operations: ['96-23=73', '93+22=115'] Exploring Operation: 115-73=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[23, 96, 93, 22], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [23, 22, 3] Generated Node #0,0: 42:[23, 22, 3] Operation: 96-93=3 Moving to Node #0,0 Current State: 42:[23, 22, 3], Operations: ['96-93=3'] Exploring Operation: 23-22=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 42:[3, 1] Operation: 23-22=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[3, 1], Operations: ['96-93=3', '23-22=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,42 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
[ 73, 84, 67, 87 ]
73
[ "73-67=6", "84/6=14", "87-14=73" ]
Current State: 73:[73, 84, 67, 87], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [84, 87, 6] Generated Node #2: [84, 87, 6] from Operation: 73-67=6 Current State: 73:[84, 87, 6], Operations: ['73-67=6'] Exploring Operation: 84/6=14, Resulting Numbers: [87, 14] Generated Node #3: [87, 14] from Operation: 84/6=14 Current State: 73:[87, 14], Operations: ['73-67=6', '84/6=14'] Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[73, 84, 67, 87], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [84, 67, 14] Generated Node #0,0: 73:[84, 67, 14] Operation: 87-73=14 Exploring Operation: 84-73=11, Resulting Numbers: [67, 87, 11] Generated Node #0,1: 73:[67, 87, 11] Operation: 84-73=11 Exploring Operation: 84-67=17, Resulting Numbers: [73, 87, 17] Generated Node #0,2: 73:[73, 87, 17] Operation: 84-67=17 Exploring Operation: 87-84=3, Resulting Numbers: [73, 67, 3] Generated Node #0,3: 73:[73, 67, 3] Operation: 87-84=3 Exploring Operation: 87-67=20, Resulting Numbers: [73, 84, 20] Generated Node #0,4: 73:[73, 84, 20] Operation: 87-67=20 Moving to Node #0,4 Current State: 73:[73, 84, 20], Operations: ['87-67=20'] Exploring Operation: 84-20=64, Resulting Numbers: [73, 64] Generated Node #0,4,0: 73:[73, 64] Operation: 84-20=64 Exploring Operation: 73-20=53, Resulting Numbers: [84, 53] Generated Node #0,4,1: 73:[84, 53] Operation: 73-20=53 Exploring Operation: 84+20=104, Resulting Numbers: [73, 104] Generated Node #0,4,2: 73:[73, 104] Operation: 84+20=104 Exploring Operation: 84-73=11, Resulting Numbers: [20, 11] Generated Node #0,4,3: 73:[20, 11] Operation: 84-73=11 Exploring Operation: 73+20=93, Resulting Numbers: [84, 93] Generated Node #0,4,4: 73:[84, 93] Operation: 73+20=93 Moving to Node #0,2 Current State: 73:[73, 87, 17], Operations: ['84-67=17'] Exploring Operation: 73-17=56, Resulting Numbers: [87, 56] Generated Node #0,2,0: 73:[87, 56] Operation: 73-17=56 Exploring Operation: 87-17=70, Resulting Numbers: [73, 70] Generated Node #0,2,1: 73:[73, 70] Operation: 87-17=70 Exploring Operation: 87-73=14, Resulting Numbers: [17, 14] Generated Node #0,2,2: 73:[17, 14] Operation: 87-73=14 Exploring Operation: 87+17=104, Resulting Numbers: [73, 104] Generated Node #0,2,3: 73:[73, 104] Operation: 87+17=104 Exploring Operation: 73+17=90, Resulting Numbers: [87, 90] Generated Node #0,2,4: 73:[87, 90] Operation: 73+17=90 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[73, 70], Operations: ['84-67=17', '87-17=70'] Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,73 unequal: No Solution Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[87, 56], Operations: ['84-67=17', '73-17=56'] Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 87+56=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 87*56=4872, Resulting Numbers: [4872] 4872,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[73, 104], Operations: ['84-67=17', '87+17=104'] Exploring Operation: 73+104=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 104-73=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 73*104=7592, Resulting Numbers: [7592] 7592,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 73:[87, 90], Operations: ['84-67=17', '73+17=90'] Exploring Operation: 90-87=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 87*90=7830, Resulting Numbers: [7830] 7830,73 unequal: No Solution Exploring Operation: 87+90=177, Resulting Numbers: [177] 177,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[17, 14], Operations: ['84-67=17', '87-73=14'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,73 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,73 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: 73:[84, 67, 14], Operations: ['87-73=14'] Exploring Operation: 67+14=81, Resulting Numbers: [84, 81] Generated Node #0,0,0: 73:[84, 81] Operation: 67+14=81 Exploring Operation: 67-14=53, Resulting Numbers: [84, 53] Generated Node #0,0,1: 73:[84, 53] Operation: 67-14=53 Exploring Operation: 84/14=6, Resulting Numbers: [67, 6] Generated Node #0,0,2: 73:[67, 6] Operation: 84/14=6 Exploring Operation: 84+14=98, Resulting Numbers: [67, 98] Generated Node #0,0,3: 73:[67, 98] Operation: 84+14=98 Exploring Operation: 84-14=70, Resulting Numbers: [67, 70] Generated Node #0,0,4: 73:[67, 70] Operation: 84-14=70 Moving to Node #0,3 Current State: 73:[73, 67, 3], Operations: ['87-84=3'] Exploring Operation: 73-3=70, Resulting Numbers: [67, 70] Generated Node #0,3,0: 73:[67, 70] Operation: 73-3=70 Exploring Operation: 67+3=70, Resulting Numbers: [73, 70] Generated Node #0,3,1: 73:[73, 70] Operation: 67+3=70 Exploring Operation: 67*3=201, Resulting Numbers: [73, 201] Generated Node #0,3,2: 73:[73, 201] Operation: 67*3=201 Exploring Operation: 67-3=64, Resulting Numbers: [73, 64] Generated Node #0,3,3: 73:[73, 64] Operation: 67-3=64 Exploring Operation: 73+3=76, Resulting Numbers: [67, 76] Generated Node #0,3,4: 73:[67, 76] Operation: 73+3=76 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[73, 70], Operations: ['87-84=3', '67+3=70'] Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,73 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[67, 70], Operations: ['87-84=3', '73-3=70'] Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 67*70=4690, Resulting Numbers: [4690] 4690,73 unequal: No Solution Exploring Operation: 67+70=137, Resulting Numbers: [137] 137,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[73, 64], Operations: ['87-84=3', '67-3=64'] Exploring Operation: 73*64=4672, Resulting Numbers: [4672] 4672,73 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 73:[67, 76], Operations: ['87-84=3', '73+3=76'] Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,73 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[73, 201], Operations: ['87-84=3', '67*3=201'] Exploring Operation: 201-73=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 73+201=274, Resulting Numbers: [274] 274,73 unequal: No Solution Exploring Operation: 73*201=14673, Resulting Numbers: [14673] 14673,73 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: 73:[67, 87, 11], Operations: ['84-73=11'] Exploring Operation: 87+11=98, Resulting Numbers: [67, 98] Generated Node #0,1,0: 73:[67, 98] Operation: 87+11=98 Exploring Operation: 67-11=56, Resulting Numbers: [87, 56] Generated Node #0,1,1: 73:[87, 56] Operation: 67-11=56 Exploring Operation: 87-11=76, Resulting Numbers: [67, 76] Generated Node #0,1,2: 73:[67, 76] Operation: 87-11=76 Exploring Operation: 67+11=78, Resulting Numbers: [87, 78] Generated Node #0,1,3: 73:[87, 78] Operation: 67+11=78 Exploring Operation: 87-67=20, Resulting Numbers: [11, 20] Generated Node #0,1,4: 73:[11, 20] Operation: 87-67=20 Moving to Node #0,4,0 Current State: 73:[73, 64], Operations: ['87-67=20', '84-20=64'] Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,73 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 73*64=4672, Resulting Numbers: [4672] 4672,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[67, 70], Operations: ['87-73=14', '84-14=70'] Exploring Operation: 67+70=137, Resulting Numbers: [137] 137,73 unequal: No Solution Exploring Operation: 67*70=4690, Resulting Numbers: [4690] 4690,73 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[67, 76], Operations: ['84-73=11', '87-11=76'] Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,73 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[84, 81], Operations: ['87-73=14', '67+14=81'] Exploring Operation: 84+81=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 84*81=6804, Resulting Numbers: [6804] 6804,73 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[87, 78], Operations: ['84-73=11', '67+11=78'] Exploring Operation: 87*78=6786, Resulting Numbers: [6786] 6786,73 unequal: No Solution Exploring Operation: 87+78=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 87-78=9, Resulting Numbers: [9] 9,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[87, 56], Operations: ['84-73=11', '67-11=56'] Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 87+56=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 87*56=4872, Resulting Numbers: [4872] 4872,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[67, 98], Operations: ['84-73=11', '87+11=98'] Exploring Operation: 67*98=6566, Resulting Numbers: [6566] 6566,73 unequal: No Solution Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 67+98=165, Resulting Numbers: [165] 165,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[73, 104], Operations: ['87-67=20', '84+20=104'] Exploring Operation: 73*104=7592, Resulting Numbers: [7592] 7592,73 unequal: No Solution Exploring Operation: 73+104=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 104-73=31, Resulting Numbers: [31] 31,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[67, 98], Operations: ['87-73=14', '84+14=98'] Exploring Operation: 67+98=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 67*98=6566, Resulting Numbers: [6566] 6566,73 unequal: No Solution Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[84, 53], Operations: ['87-73=14', '67-14=53'] Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,73 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[84, 53], Operations: ['87-67=20', '73-20=53'] Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,73 unequal: No Solution Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[84, 93], Operations: ['87-67=20', '73+20=93'] Exploring Operation: 84*93=7812, Resulting Numbers: [7812] 7812,73 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[67, 6], Operations: ['87-73=14', '84/14=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,73 unequal: No Solution Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[73, 84, 67, 87], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [84, 67, 14] Generated Node #0,0: 73:[84, 67, 14] Operation: 87-73=14 Moving to Node #0,0 Current State: 73:[84, 67, 14], Operations: ['87-73=14'] Exploring Operation: 84/14=6, Resulting Numbers: [67, 6] Generated Node #0,0,2: 73:[67, 6] Operation: 84/14=6 Moving to Node #0,0,2 Current State: 73:[67, 6], Operations: ['87-73=14', '84/14=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.91059
hs_5
sum_heuristic
[ 4, 34, 59, 36 ]
53
[ "34-4=30", "59-36=23", "30+23=53" ]
Current State: 53:[4, 34, 59, 36], Operations: [] Exploring Operation: 34-4=30, Resulting Numbers: [59, 36, 30] Generated Node #2: [59, 36, 30] from Operation: 34-4=30 Current State: 53:[59, 36, 30], Operations: ['34-4=30'] Exploring Operation: 59-36=23, Resulting Numbers: [30, 23] Generated Node #3: [30, 23] from Operation: 59-36=23 Current State: 53:[30, 23], Operations: ['34-4=30', '59-36=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[4, 34, 59, 36], Operations: [] Exploring Operation: 4+34=38, Resulting Numbers: [59, 36, 38] Generated Node #0,0: 53:[59, 36, 38] Operation: 4+34=38 Exploring Operation: 34-4=30, Resulting Numbers: [59, 36, 30] Generated Node #0,1: 53:[59, 36, 30] Operation: 34-4=30 Exploring Operation: 59-4=55, Resulting Numbers: [34, 36, 55] Generated Node #0,2: 53:[34, 36, 55] Operation: 59-4=55 Exploring Operation: 4+36=40, Resulting Numbers: [34, 59, 40] Generated Node #0,3: 53:[34, 59, 40] Operation: 4+36=40 Moving to Node #0,0 Current State: 53:[59, 36, 38], Operations: ['4+34=38'] Exploring Operation: 36+38=74, Resulting Numbers: [59, 74] Generated Node #0,0,0: 53:[59, 74] Operation: 36+38=74 Exploring Operation: 59+36=95, Resulting Numbers: [38, 95] Generated Node #0,0,1: 53:[38, 95] Operation: 59+36=95 Exploring Operation: 59-36=23, Resulting Numbers: [38, 23] Generated Node #0,0,2: 53:[38, 23] Operation: 59-36=23 Exploring Operation: 59-38=21, Resulting Numbers: [36, 21] Generated Node #0,0,3: 53:[36, 21] Operation: 59-38=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[59, 74], Operations: ['4+34=38', '36+38=74'] Exploring Operation: 59+74=133, Resulting Numbers: [133] 133,53 unequal: No Solution Exploring Operation: 59*74=4366, Resulting Numbers: [4366] 4366,53 unequal: No Solution Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[38, 23], Operations: ['4+34=38', '59-36=23'] Exploring Operation: 38*23=874, Resulting Numbers: [874] 874,53 unequal: No Solution Exploring Operation: 38+23=61, Resulting Numbers: [61] 61,53 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[36, 21], Operations: ['4+34=38', '59-38=21'] Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,53 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[38, 95], Operations: ['4+34=38', '59+36=95'] Exploring Operation: 38+95=133, Resulting Numbers: [133] 133,53 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,53 unequal: No Solution Exploring Operation: 38*95=3610, Resulting Numbers: [3610] 3610,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 53:[34, 59, 40], Operations: ['4+36=40'] Exploring Operation: 34+59=93, Resulting Numbers: [40, 93] Generated Node #0,3,0: 53:[40, 93] Operation: 34+59=93 Exploring Operation: 34+40=74, Resulting Numbers: [59, 74] Generated Node #0,3,1: 53:[59, 74] Operation: 34+40=74 Exploring Operation: 40-34=6, Resulting Numbers: [59, 6] Generated Node #0,3,2: 53:[59, 6] Operation: 40-34=6 Exploring Operation: 59-34=25, Resulting Numbers: [40, 25] Generated Node #0,3,3: 53:[40, 25] Operation: 59-34=25 Moving to Node #0,2 Current State: 53:[34, 36, 55], Operations: ['59-4=55'] Exploring Operation: 34+36=70, Resulting Numbers: [55, 70] Generated Node #0,2,0: 53:[55, 70] Operation: 34+36=70 Exploring Operation: 55-34=21, Resulting Numbers: [36, 21] Generated Node #0,2,1: 53:[36, 21] Operation: 55-34=21 Exploring Operation: 34+55=89, Resulting Numbers: [36, 89] Generated Node #0,2,2: 53:[36, 89] Operation: 34+55=89 Exploring Operation: 36-34=2, Resulting Numbers: [55, 2] Generated Node #0,2,3: 53:[55, 2] Operation: 36-34=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[55, 70], Operations: ['59-4=55', '34+36=70'] Exploring Operation: 55*70=3850, Resulting Numbers: [3850] 3850,53 unequal: No Solution Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[36, 21], Operations: ['59-4=55', '55-34=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,53 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[36, 89], Operations: ['59-4=55', '34+55=89'] Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,53 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[4, 34, 59, 36], Operations: [] Exploring Operation: 59-4=55, Resulting Numbers: [34, 36, 55] Generated Node #0,2: 53:[34, 36, 55] Operation: 59-4=55 Moving to Node #0,2 Current State: 53:[34, 36, 55], Operations: ['59-4=55'] Exploring Operation: 34+55=89, Resulting Numbers: [36, 89] Generated Node #0,2,2: 53:[36, 89] Operation: 34+55=89 Moving to Node #0,2,2 Current State: 53:[36, 89], Operations: ['59-4=55', '34+55=89'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
mult_heuristic
[ 24, 54, 22, 76 ]
68
[ "54-24=30", "22+76=98", "98-30=68" ]
Current State: 68:[24, 54, 22, 76], Operations: [] Exploring Operation: 54-24=30, Resulting Numbers: [22, 76, 30] Generated Node #2: [22, 76, 30] from Operation: 54-24=30 Current State: 68:[22, 76, 30], Operations: ['54-24=30'] Exploring Operation: 22+76=98, Resulting Numbers: [30, 98] Generated Node #3: [30, 98] from Operation: 22+76=98 Current State: 68:[30, 98], Operations: ['54-24=30', '22+76=98'] Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[24, 54, 22, 76], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [54, 76, 2] Generated Node #0,0: 68:[54, 76, 2] Operation: 24-22=2 Exploring Operation: 54-22=32, Resulting Numbers: [24, 76, 32] Generated Node #0,1: 68:[24, 76, 32] Operation: 54-22=32 Exploring Operation: 76-54=22, Resulting Numbers: [24, 22, 22] Generated Node #0,2: 68:[24, 22, 22] Operation: 76-54=22 Exploring Operation: 54-24=30, Resulting Numbers: [22, 76, 30] Generated Node #0,3: 68:[22, 76, 30] Operation: 54-24=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[24, 76, 32], Operations: ['54-22=32'] Exploring Operation: 32-24=8, Resulting Numbers: [76, 8] Generated Node #0,1,0: 68:[76, 8] Operation: 32-24=8 Exploring Operation: 76-24=52, Resulting Numbers: [32, 52] Generated Node #0,1,1: 68:[32, 52] Operation: 76-24=52 Exploring Operation: 24+32=56, Resulting Numbers: [76, 56] Generated Node #0,1,2: 68:[76, 56] Operation: 24+32=56 Exploring Operation: 76-32=44, Resulting Numbers: [24, 44] Generated Node #0,1,3: 68:[24, 44] Operation: 76-32=44 Moving to Node #0,1,0 Current State: 68:[76, 8], Operations: ['54-22=32', '32-24=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,68 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[24, 54, 22, 76], Operations: [] Exploring Operation: 54-22=32, Resulting Numbers: [24, 76, 32] Generated Node #0,1: 68:[24, 76, 32] Operation: 54-22=32 Moving to Node #0,1 Current State: 68:[24, 76, 32], Operations: ['54-22=32'] Exploring Operation: 32-24=8, Resulting Numbers: [76, 8] Generated Node #0,1,0: 68:[76, 8] Operation: 32-24=8 Moving to Node #0,1,0 Current State: 68:[76, 8], Operations: ['54-22=32', '32-24=8'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 36, 91, 90, 72 ]
92
[ "72/36=2", "91*2=182", "182-90=92" ]
Current State: 92:[36, 91, 90, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [91, 90, 2] Generated Node #2: [91, 90, 2] from Operation: 72/36=2 Current State: 92:[91, 90, 2], Operations: ['72/36=2'] Exploring Operation: 91*2=182, Resulting Numbers: [90, 182] Generated Node #3: [90, 182] from Operation: 91*2=182 Current State: 92:[90, 182], Operations: ['72/36=2', '91*2=182'] Exploring Operation: 182-90=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[36, 91, 90, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [91, 90, 2] Generated Node #0,0: 92:[91, 90, 2] Operation: 72/36=2 Exploring Operation: 72-36=36, Resulting Numbers: [91, 90, 36] Generated Node #0,1: 92:[91, 90, 36] Operation: 72-36=36 Moving to Node #0,0 Current State: 92:[91, 90, 2], Operations: ['72/36=2'] Exploring Operation: 91-90=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 92:[2, 1] Operation: 91-90=1 Exploring Operation: 90+2=92, Resulting Numbers: [91, 92] Generated Node #0,0,1: 92:[91, 92] Operation: 90+2=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[2, 1], Operations: ['72/36=2', '91-90=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,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,1 Current State: 92:[91, 92], Operations: ['72/36=2', '90+2=92'] Exploring Operation: 92-91=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 91+92=183, Resulting Numbers: [183] 183,92 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: 92:[91, 90, 36], Operations: ['72-36=36'] Exploring Operation: 90-36=54, Resulting Numbers: [91, 54] Generated Node #0,1,0: 92:[91, 54] Operation: 90-36=54 Exploring Operation: 91-90=1, Resulting Numbers: [36, 1] Generated Node #0,1,1: 92:[36, 1] Operation: 91-90=1 Moving to Node #0,1,0 Current State: 92:[91, 54], Operations: ['72-36=36', '90-36=54'] Exploring Operation: 91+54=145, Resulting Numbers: [145] 145,92 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[36, 1], Operations: ['72-36=36', '91-90=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,92 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 42, 99, 82, 70 ]
95
[ "99-42=57", "82+70=152", "152-57=95" ]
Current State: 95:[42, 99, 82, 70], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [82, 70, 57] Generated Node #2: [82, 70, 57] from Operation: 99-42=57 Current State: 95:[82, 70, 57], Operations: ['99-42=57'] Exploring Operation: 82+70=152, Resulting Numbers: [57, 152] Generated Node #3: [57, 152] from Operation: 82+70=152 Current State: 95:[57, 152], Operations: ['99-42=57', '82+70=152'] Exploring Operation: 152-57=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[42, 99, 82, 70], Operations: [] Exploring Operation: 82-42=40, Resulting Numbers: [99, 70, 40] Generated Node #0,0: 95:[99, 70, 40] Operation: 82-42=40 Exploring Operation: 99-70=29, Resulting Numbers: [42, 82, 29] Generated Node #0,1: 95:[42, 82, 29] Operation: 99-70=29 Exploring Operation: 42+70=112, Resulting Numbers: [99, 82, 112] Generated Node #0,2: 95:[99, 82, 112] Operation: 42+70=112 Exploring Operation: 82-70=12, Resulting Numbers: [42, 99, 12] Generated Node #0,3: 95:[42, 99, 12] Operation: 82-70=12 Exploring Operation: 70-42=28, Resulting Numbers: [99, 82, 28] Generated Node #0,4: 95:[99, 82, 28] Operation: 70-42=28 Moving to Node #0,4 Current State: 95:[99, 82, 28], Operations: ['70-42=28'] Exploring Operation: 99-28=71, Resulting Numbers: [82, 71] Generated Node #0,4,0: 95:[82, 71] Operation: 99-28=71 Exploring Operation: 82+28=110, Resulting Numbers: [99, 110] Generated Node #0,4,1: 95:[99, 110] Operation: 82+28=110 Exploring Operation: 99-82=17, Resulting Numbers: [28, 17] Generated Node #0,4,2: 95:[28, 17] Operation: 99-82=17 Exploring Operation: 99+28=127, Resulting Numbers: [82, 127] Generated Node #0,4,3: 95:[82, 127] Operation: 99+28=127 Exploring Operation: 82-28=54, Resulting Numbers: [99, 54] Generated Node #0,4,4: 95:[99, 54] Operation: 82-28=54 Moving to Node #0,3 Current State: 95:[42, 99, 12], Operations: ['82-70=12'] Exploring Operation: 42+12=54, Resulting Numbers: [99, 54] Generated Node #0,3,0: 95:[99, 54] Operation: 42+12=54 Exploring Operation: 99+12=111, Resulting Numbers: [42, 111] Generated Node #0,3,1: 95:[42, 111] Operation: 99+12=111 Exploring Operation: 99-12=87, Resulting Numbers: [42, 87] Generated Node #0,3,2: 95:[42, 87] Operation: 99-12=87 Exploring Operation: 42-12=30, Resulting Numbers: [99, 30] Generated Node #0,3,3: 95:[99, 30] Operation: 42-12=30 Exploring Operation: 99-42=57, Resulting Numbers: [12, 57] Generated Node #0,3,4: 95:[12, 57] Operation: 99-42=57 Moving to Node #0,2 Current State: 95:[99, 82, 112], Operations: ['42+70=112'] Exploring Operation: 99-82=17, Resulting Numbers: [112, 17] Generated Node #0,2,0: 95:[112, 17] Operation: 99-82=17 Exploring Operation: 112-82=30, Resulting Numbers: [99, 30] Generated Node #0,2,1: 95:[99, 30] Operation: 112-82=30 Exploring Operation: 82+112=194, Resulting Numbers: [99, 194] Generated Node #0,2,2: 95:[99, 194] Operation: 82+112=194 Exploring Operation: 112-99=13, Resulting Numbers: [82, 13] Generated Node #0,2,3: 95:[82, 13] Operation: 112-99=13 Exploring Operation: 99+82=181, Resulting Numbers: [112, 181] Generated Node #0,2,4: 95:[112, 181] Operation: 99+82=181 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[99, 30], Operations: ['42+70=112', '112-82=30'] Exploring Operation: 99+30=129, Resulting Numbers: [129] 129,95 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,95 unequal: No Solution Exploring Operation: 99*30=2970, Resulting Numbers: [2970] 2970,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:[112, 17], Operations: ['42+70=112', '99-82=17'] Exploring Operation: 112-17=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[42, 99, 82, 70], Operations: [] Exploring Operation: 42+70=112, Resulting Numbers: [99, 82, 112] Generated Node #0,2: 95:[99, 82, 112] Operation: 42+70=112 Moving to Node #0,2 Current State: 95:[99, 82, 112], Operations: ['42+70=112'] Exploring Operation: 99-82=17, Resulting Numbers: [112, 17] Generated Node #0,2,0: 95:[112, 17] Operation: 99-82=17 Moving to Node #0,2,0 Current State: 95:[112, 17], Operations: ['42+70=112', '99-82=17'] Exploring Operation: 112-17=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
sum_heuristic
[ 88, 12, 5, 30 ]
41
[ "88-12=76", "5+30=35", "76-35=41" ]
Current State: 41:[88, 12, 5, 30], Operations: [] Exploring Operation: 88-12=76, Resulting Numbers: [5, 30, 76] Generated Node #2: [5, 30, 76] from Operation: 88-12=76 Current State: 41:[5, 30, 76], Operations: ['88-12=76'] Exploring Operation: 5+30=35, Resulting Numbers: [76, 35] Generated Node #3: [76, 35] from Operation: 5+30=35 Current State: 41:[76, 35], Operations: ['88-12=76', '5+30=35'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[88, 12, 5, 30], Operations: [] Exploring Operation: 88-5=83, Resulting Numbers: [12, 30, 83] Generated Node #0,0: 41:[12, 30, 83] Operation: 88-5=83 Exploring Operation: 88-30=58, Resulting Numbers: [12, 5, 58] Generated Node #0,1: 41:[12, 5, 58] Operation: 88-30=58 Exploring Operation: 12*5=60, Resulting Numbers: [88, 30, 60] Generated Node #0,2: 41:[88, 30, 60] Operation: 12*5=60 Exploring Operation: 12+5=17, Resulting Numbers: [88, 30, 17] Generated Node #0,3: 41:[88, 30, 17] Operation: 12+5=17 Exploring Operation: 88-12=76, Resulting Numbers: [5, 30, 76] Generated Node #0,4: 41:[5, 30, 76] Operation: 88-12=76 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[88, 30, 60], Operations: ['12*5=60'] Exploring Operation: 88+30=118, Resulting Numbers: [60, 118] Generated Node #0,2,0: 41:[60, 118] Operation: 88+30=118 Exploring Operation: 60-30=30, Resulting Numbers: [88, 30] Generated Node #0,2,1: 41:[88, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [88, 2] Generated Node #0,2,2: 41:[88, 2] Operation: 60/30=2 Exploring Operation: 88-30=58, Resulting Numbers: [60, 58] Generated Node #0,2,3: 41:[60, 58] Operation: 88-30=58 Exploring Operation: 88-60=28, Resulting Numbers: [30, 28] Generated Node #0,2,4: 41:[30, 28] Operation: 88-60=28 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 41:[30, 28], Operations: ['12*5=60', '88-60=28'] Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,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,3 Current State: 41:[60, 58], Operations: ['12*5=60', '88-30=58'] Exploring Operation: 60+58=118, Resulting Numbers: [118] 118,41 unequal: No Solution Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 60*58=3480, Resulting Numbers: [3480] 3480,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,1 Current State: 41:[88, 30], Operations: ['12*5=60', '60-30=30'] Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,41 unequal: No Solution Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,41 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,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:[88, 2], Operations: ['12*5=60', '60/30=2'] Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,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:[60, 118], Operations: ['12*5=60', '88+30=118'] Exploring Operation: 60+118=178, Resulting Numbers: [178] 178,41 unequal: No Solution Exploring Operation: 118-60=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 60*118=7080, Resulting Numbers: [7080] 7080,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[12, 30, 83], Operations: ['88-5=83'] Exploring Operation: 12+30=42, Resulting Numbers: [83, 42] Generated Node #0,0,0: 41:[83, 42] Operation: 12+30=42 Exploring Operation: 30-12=18, Resulting Numbers: [83, 18] Generated Node #0,0,1: 41:[83, 18] Operation: 30-12=18 Exploring Operation: 83-12=71, Resulting Numbers: [30, 71] Generated Node #0,0,2: 41:[30, 71] Operation: 83-12=71 Exploring Operation: 12+83=95, Resulting Numbers: [30, 95] Generated Node #0,0,3: 41:[30, 95] Operation: 12+83=95 Exploring Operation: 83-30=53, Resulting Numbers: [12, 53] Generated Node #0,0,4: 41:[12, 53] Operation: 83-30=53 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[30, 71], Operations: ['88-5=83', '83-12=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[88, 12, 5, 30], Operations: [] Exploring Operation: 88-5=83, Resulting Numbers: [12, 30, 83] Generated Node #0,0: 41:[12, 30, 83] Operation: 88-5=83 Moving to Node #0,0 Current State: 41:[12, 30, 83], Operations: ['88-5=83'] Exploring Operation: 83-12=71, Resulting Numbers: [30, 71] Generated Node #0,0,2: 41:[30, 71] Operation: 83-12=71 Moving to Node #0,0,2 Current State: 41:[30, 71], Operations: ['88-5=83', '83-12=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 41, 12, 11, 99 ]
38
[ "41-12=29", "99/11=9", "29+9=38" ]
Current State: 38:[41, 12, 11, 99], Operations: [] Exploring Operation: 41-12=29, Resulting Numbers: [11, 99, 29] Generated Node #2: [11, 99, 29] from Operation: 41-12=29 Current State: 38:[11, 99, 29], Operations: ['41-12=29'] Exploring Operation: 99/11=9, Resulting Numbers: [29, 9] Generated Node #3: [29, 9] from Operation: 99/11=9 Current State: 38:[29, 9], Operations: ['41-12=29', '99/11=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[41, 12, 11, 99], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [41, 12, 9] Generated Node #0,0: 38:[41, 12, 9] Operation: 99/11=9 Exploring Operation: 99-41=58, Resulting Numbers: [12, 11, 58] Generated Node #0,1: 38:[12, 11, 58] Operation: 99-41=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[41, 12, 9], Operations: ['99/11=9'] Exploring Operation: 12+9=21, Resulting Numbers: [41, 21] Generated Node #0,0,0: 38:[41, 21] Operation: 12+9=21 Exploring Operation: 12-9=3, Resulting Numbers: [41, 3] Generated Node #0,0,1: 38:[41, 3] Operation: 12-9=3 Moving to Node #0,0,1 Current State: 38:[41, 3], Operations: ['99/11=9', '12-9=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[41, 12, 11, 99], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [41, 12, 9] Generated Node #0,0: 38:[41, 12, 9] Operation: 99/11=9 Moving to Node #0,0 Current State: 38:[41, 12, 9], Operations: ['99/11=9'] Exploring Operation: 12-9=3, Resulting Numbers: [41, 3] Generated Node #0,0,1: 38:[41, 3] Operation: 12-9=3 Moving to Node #0,0,1 Current State: 38:[41, 3], Operations: ['99/11=9', '12-9=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 1, 34, 3, 15 ]
15
[ "34-1=33", "3+15=18", "33-18=15" ]
Current State: 15:[1, 34, 3, 15], Operations: [] Exploring Operation: 34-1=33, Resulting Numbers: [3, 15, 33] Generated Node #2: [3, 15, 33] from Operation: 34-1=33 Current State: 15:[3, 15, 33], Operations: ['34-1=33'] Exploring Operation: 3+15=18, Resulting Numbers: [33, 18] Generated Node #3: [33, 18] from Operation: 3+15=18 Current State: 15:[33, 18], Operations: ['34-1=33', '3+15=18'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[1, 34, 3, 15], Operations: [] Exploring Operation: 34/1=34, Resulting Numbers: [3, 15, 34] Generated Node #0,0: 15:[3, 15, 34] Operation: 34/1=34 Exploring Operation: 34-3=31, Resulting Numbers: [1, 15, 31] Generated Node #0,1: 15:[1, 15, 31] Operation: 34-3=31 Exploring Operation: 1*34=34, Resulting Numbers: [3, 15, 34] Generated Node #0,2: 15:[3, 15, 34] Operation: 1*34=34 Exploring Operation: 34-15=19, Resulting Numbers: [1, 3, 19] Generated Node #0,3: 15:[1, 3, 19] Operation: 34-15=19 Exploring Operation: 34-1=33, Resulting Numbers: [3, 15, 33] Generated Node #0,4: 15:[3, 15, 33] Operation: 34-1=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[1, 3, 19], Operations: ['34-15=19'] Exploring Operation: 3/1=3, Resulting Numbers: [19, 3] Generated Node #0,3,0: 15:[19, 3] Operation: 3/1=3 Exploring Operation: 1*3=3, Resulting Numbers: [19, 3] Generated Node #0,3,1: 15:[19, 3] Operation: 1*3=3 Exploring Operation: 1*19=19, Resulting Numbers: [3, 19] Generated Node #0,3,2: 15:[3, 19] Operation: 1*19=19 Exploring Operation: 19-1=18, Resulting Numbers: [3, 18] Generated Node #0,3,3: 15:[3, 18] Operation: 19-1=18 Exploring Operation: 19-3=16, Resulting Numbers: [1, 16] Generated Node #0,3,4: 15:[1, 16] Operation: 19-3=16 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 15:[3, 18], Operations: ['34-15=19', '19-1=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[1, 34, 3, 15], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [1, 3, 19] Generated Node #0,3: 15:[1, 3, 19] Operation: 34-15=19 Moving to Node #0,3 Current State: 15:[1, 3, 19], Operations: ['34-15=19'] Exploring Operation: 19-1=18, Resulting Numbers: [3, 18] Generated Node #0,3,3: 15:[3, 18] Operation: 19-1=18 Moving to Node #0,3,3 Current State: 15:[3, 18], Operations: ['34-15=19', '19-1=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 31, 31, 17, 77 ]
93
[ "31/31=1", "17+77=94", "94-1=93" ]
Current State: 93:[31, 31, 17, 77], Operations: [] Exploring Operation: 31/31=1, Resulting Numbers: [17, 77, 1] Generated Node #2: [17, 77, 1] from Operation: 31/31=1 Current State: 93:[17, 77, 1], Operations: ['31/31=1'] Exploring Operation: 17+77=94, Resulting Numbers: [1, 94] Generated Node #3: [1, 94] from Operation: 17+77=94 Current State: 93:[1, 94], Operations: ['31/31=1', '17+77=94'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[31, 31, 17, 77], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [31, 77, 14] Generated Node #0,0: 93:[31, 77, 14] Operation: 31-17=14 Exploring Operation: 31-17=14, Resulting Numbers: [31, 77, 14] Generated Node #0,1: 93:[31, 77, 14] Operation: 31-17=14 Exploring Operation: 17+77=94, Resulting Numbers: [31, 31, 94] Generated Node #0,2: 93:[31, 31, 94] Operation: 17+77=94 Moving to Node #0,2 Current State: 93:[31, 31, 94], Operations: ['17+77=94'] Exploring Operation: 31/31=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 93:[94, 1] Operation: 31/31=1 Exploring Operation: 31-31=0, Resulting Numbers: [94, 0] Generated Node #0,2,1: 93:[94, 0] Operation: 31-31=0 Exploring Operation: 94-31=63, Resulting Numbers: [31, 63] Generated Node #0,2,2: 93:[31, 63] Operation: 94-31=63 Moving to Node #0,0 Current State: 93:[31, 77, 14], Operations: ['31-17=14'] Exploring Operation: 77-31=46, Resulting Numbers: [14, 46] Generated Node #0,0,0: 93:[14, 46] Operation: 77-31=46 Exploring Operation: 77+14=91, Resulting Numbers: [31, 91] Generated Node #0,0,1: 93:[31, 91] Operation: 77+14=91 Exploring Operation: 31+77=108, Resulting Numbers: [14, 108] Generated Node #0,0,2: 93:[14, 108] Operation: 31+77=108 Moving to Node #0,1 Current State: 93:[31, 77, 14], Operations: ['31-17=14'] Exploring Operation: 77+14=91, Resulting Numbers: [31, 91] Generated Node #0,1,0: 93:[31, 91] Operation: 77+14=91 Exploring Operation: 77-31=46, Resulting Numbers: [14, 46] Generated Node #0,1,1: 93:[14, 46] Operation: 77-31=46 Exploring Operation: 31+77=108, Resulting Numbers: [14, 108] Generated Node #0,1,2: 93:[14, 108] Operation: 31+77=108 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[31, 91], Operations: ['31-17=14', '77+14=91'] Exploring Operation: 31+91=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 31*91=2821, Resulting Numbers: [2821] 2821,93 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[14, 46], Operations: ['31-17=14', '77-31=46'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,93 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[14, 108], Operations: ['31-17=14', '31+77=108'] Exploring Operation: 108-14=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 14+108=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 14*108=1512, Resulting Numbers: [1512] 1512,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 93:[31, 91], Operations: ['31-17=14', '77+14=91'] Exploring Operation: 31*91=2821, Resulting Numbers: [2821] 2821,93 unequal: No Solution Exploring Operation: 31+91=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[94, 1], Operations: ['17+77=94', '31/31=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[31, 31, 17, 77], Operations: [] Exploring Operation: 17+77=94, Resulting Numbers: [31, 31, 94] Generated Node #0,2: 93:[31, 31, 94] Operation: 17+77=94 Moving to Node #0,2 Current State: 93:[31, 31, 94], Operations: ['17+77=94'] Exploring Operation: 31/31=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 93:[94, 1] Operation: 31/31=1 Moving to Node #0,2,0 Current State: 93:[94, 1], Operations: ['17+77=94', '31/31=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.97309
hs_3
mult_heuristic
[ 4, 60, 53, 2 ]
23
[ "60/4=15", "2*15=30", "53-30=23" ]
Current State: 23:[4, 60, 53, 2], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [53, 2, 15] Generated Node #2: [53, 2, 15] from Operation: 60/4=15 Current State: 23:[53, 2, 15], Operations: ['60/4=15'] Exploring Operation: 2*15=30, Resulting Numbers: [53, 30] Generated Node #3: [53, 30] from Operation: 2*15=30 Current State: 23:[53, 30], Operations: ['60/4=15', '2*15=30'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[4, 60, 53, 2], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [53, 2, 15] Generated Node #0,0: 23:[53, 2, 15] Operation: 60/4=15 Exploring Operation: 60-53=7, Resulting Numbers: [4, 2, 7] Generated Node #0,1: 23:[4, 2, 7] Operation: 60-53=7 Exploring Operation: 4*2=8, Resulting Numbers: [60, 53, 8] Generated Node #0,2: 23:[60, 53, 8] Operation: 4*2=8 Exploring Operation: 60/2=30, Resulting Numbers: [4, 53, 30] Generated Node #0,3: 23:[4, 53, 30] Operation: 60/2=30 Exploring Operation: 60-4=56, Resulting Numbers: [53, 2, 56] Generated Node #0,4: 23:[53, 2, 56] Operation: 60-4=56 Moving to Node #0,1 Current State: 23:[4, 2, 7], Operations: ['60-53=7'] Exploring Operation: 4*2=8, Resulting Numbers: [7, 8] Generated Node #0,1,0: 23:[7, 8] Operation: 4*2=8 Exploring Operation: 4+7=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 23:[2, 11] Operation: 4+7=11 Exploring Operation: 2*7=14, Resulting Numbers: [4, 14] Generated Node #0,1,2: 23:[4, 14] Operation: 2*7=14 Exploring Operation: 4*7=28, Resulting Numbers: [2, 28] Generated Node #0,1,3: 23:[2, 28] Operation: 4*7=28 Exploring Operation: 4+2=6, Resulting Numbers: [7, 6] Generated Node #0,1,4: 23:[7, 6] Operation: 4+2=6 Moving to Node #0,3 Current State: 23:[4, 53, 30], Operations: ['60/2=30'] Exploring Operation: 4+30=34, Resulting Numbers: [53, 34] Generated Node #0,3,0: 23:[53, 34] Operation: 4+30=34 Exploring Operation: 53-30=23, Resulting Numbers: [4, 23] Generated Node #0,3,1: 23:[4, 23] Operation: 53-30=23 Exploring Operation: 4+53=57, Resulting Numbers: [30, 57] Generated Node #0,3,2: 23:[30, 57] Operation: 4+53=57 Exploring Operation: 30-4=26, Resulting Numbers: [53, 26] Generated Node #0,3,3: 23:[53, 26] Operation: 30-4=26 Exploring Operation: 53-4=49, Resulting Numbers: [30, 49] Generated Node #0,3,4: 23:[30, 49] Operation: 53-4=49 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 23:[4, 23], Operations: ['60/2=30', '53-30=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,23 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 23:[53, 26], Operations: ['60/2=30', '30-4=26'] Exploring Operation: 53+26=79, Resulting Numbers: [79] 79,23 unequal: No Solution Exploring Operation: 53*26=1378, Resulting Numbers: [1378] 1378,23 unequal: No Solution Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 23:[30, 49], Operations: ['60/2=30', '53-4=49'] Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,23 unequal: No Solution Exploring Operation: 30*49=1470, Resulting Numbers: [1470] 1470,23 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 23:[53, 34], Operations: ['60/2=30', '4+30=34'] Exploring Operation: 53*34=1802, Resulting Numbers: [1802] 1802,23 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 53+34=87, Resulting Numbers: [87] 87,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 23:[30, 57], Operations: ['60/2=30', '4+53=57'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 30*57=1710, Resulting Numbers: [1710] 1710,23 unequal: No Solution Exploring Operation: 30+57=87, Resulting Numbers: [87] 87,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 23:[53, 2, 15], Operations: ['60/4=15'] Exploring Operation: 2*15=30, Resulting Numbers: [53, 30] Generated Node #0,0,0: 23:[53, 30] Operation: 2*15=30 Exploring Operation: 2+15=17, Resulting Numbers: [53, 17] Generated Node #0,0,1: 23:[53, 17] Operation: 2+15=17 Exploring Operation: 53+2=55, Resulting Numbers: [15, 55] Generated Node #0,0,2: 23:[15, 55] Operation: 53+2=55 Exploring Operation: 53-2=51, Resulting Numbers: [15, 51] Generated Node #0,0,3: 23:[15, 51] Operation: 53-2=51 Exploring Operation: 53-15=38, Resulting Numbers: [2, 38] Generated Node #0,0,4: 23:[2, 38] Operation: 53-15=38 Moving to Node #0,2 Current State: 23:[60, 53, 8], Operations: ['4*2=8'] Exploring Operation: 60-53=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 23:[8, 7] Operation: 60-53=7 Exploring Operation: 60+8=68, Resulting Numbers: [53, 68] Generated Node #0,2,1: 23:[53, 68] Operation: 60+8=68 Exploring Operation: 60-8=52, Resulting Numbers: [53, 52] Generated Node #0,2,2: 23:[53, 52] Operation: 60-8=52 Exploring Operation: 53-8=45, Resulting Numbers: [60, 45] Generated Node #0,2,3: 23:[60, 45] Operation: 53-8=45 Exploring Operation: 53+8=61, Resulting Numbers: [60, 61] Generated Node #0,2,4: 23:[60, 61] Operation: 53+8=61 Moving to Node #0,4 Current State: 23:[53, 2, 56], Operations: ['60-4=56'] Exploring Operation: 56-2=54, Resulting Numbers: [53, 54] Generated Node #0,4,0: 23:[53, 54] Operation: 56-2=54 Exploring Operation: 53+2=55, Resulting Numbers: [56, 55] Generated Node #0,4,1: 23:[56, 55] Operation: 53+2=55 Exploring Operation: 56-53=3, Resulting Numbers: [2, 3] Generated Node #0,4,2: 23:[2, 3] Operation: 56-53=3 Exploring Operation: 56/2=28, Resulting Numbers: [53, 28] Generated Node #0,4,3: 23:[53, 28] Operation: 56/2=28 Exploring Operation: 53-2=51, Resulting Numbers: [56, 51] Generated Node #0,4,4: 23:[56, 51] Operation: 53-2=51 Moving to Node #0,1,3 Current State: 23:[2, 28], Operations: ['60-53=7', '4*7=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[4, 14], Operations: ['60-53=7', '2*7=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[7, 8], Operations: ['60-53=7', '4*2=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[8, 7], Operations: ['4*2=8', '60-53=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,1,4 Current State: 23:[7, 6], Operations: ['60-53=7', '4+2=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[2, 11], Operations: ['60-53=7', '4+7=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,4,3 Current State: 23:[53, 28], Operations: ['60-4=56', '56/2=28'] Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,23 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[15, 51], Operations: ['60/4=15', '53-2=51'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 15+51=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 15*51=765, Resulting Numbers: [765] 765,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[53, 17], Operations: ['60/4=15', '2+15=17'] Exploring Operation: 53+17=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 53*17=901, Resulting Numbers: [901] 901,23 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,23 unequal: No Solution Moving to Node #0,0,4 Current State: 23:[2, 38], Operations: ['60/4=15', '53-15=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,23 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[53, 30], Operations: ['60/4=15', '2*15=30'] Exploring Operation: 53*30=1590, Resulting Numbers: [1590] 1590,23 unequal: No Solution Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[4, 60, 53, 2], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [53, 2, 15] Generated Node #0,0: 23:[53, 2, 15] Operation: 60/4=15 Moving to Node #0,0 Current State: 23:[53, 2, 15], Operations: ['60/4=15'] Exploring Operation: 2*15=30, Resulting Numbers: [53, 30] Generated Node #0,0,0: 23:[53, 30] Operation: 2*15=30 Moving to Node #0,0,0 Current State: 23:[53, 30], Operations: ['60/4=15', '2*15=30'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.927083
hs_5
sum_heuristic
[ 69, 48, 73, 56 ]
12
[ "69+48=117", "73+56=129", "129-117=12" ]
Current State: 12:[69, 48, 73, 56], Operations: [] Exploring Operation: 69+48=117, Resulting Numbers: [73, 56, 117] Generated Node #2: [73, 56, 117] from Operation: 69+48=117 Current State: 12:[73, 56, 117], Operations: ['69+48=117'] Exploring Operation: 73+56=129, Resulting Numbers: [117, 129] Generated Node #3: [117, 129] from Operation: 73+56=129 Current State: 12:[117, 129], Operations: ['69+48=117', '73+56=129'] Exploring Operation: 129-117=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[69, 48, 73, 56], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [48, 56, 4] Generated Node #0,0: 12:[48, 56, 4] Operation: 73-69=4 Exploring Operation: 69-56=13, Resulting Numbers: [48, 73, 13] Generated Node #0,1: 12:[48, 73, 13] Operation: 69-56=13 Moving to Node #0,0 Current State: 12:[48, 56, 4], Operations: ['73-69=4'] Exploring Operation: 56-48=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 12:[4, 8] Operation: 56-48=8 Exploring Operation: 56/4=14, Resulting Numbers: [48, 14] Generated Node #0,0,1: 12:[48, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[4, 8], Operations: ['73-69=4', '56-48=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[69, 48, 73, 56], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [48, 56, 4] Generated Node #0,0: 12:[48, 56, 4] Operation: 73-69=4 Moving to Node #0,0 Current State: 12:[48, 56, 4], Operations: ['73-69=4'] Exploring Operation: 56-48=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 12:[4, 8] Operation: 56-48=8 Moving to Node #0,0,0 Current State: 12:[4, 8], Operations: ['73-69=4', '56-48=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 61, 34, 63, 1 ]
16
[ "63-61=2", "34/2=17", "17-1=16" ]
Current State: 16:[61, 34, 63, 1], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [34, 1, 2] Generated Node #2: [34, 1, 2] from Operation: 63-61=2 Current State: 16:[34, 1, 2], Operations: ['63-61=2'] Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #3: [1, 17] from Operation: 34/2=17 Current State: 16:[1, 17], Operations: ['63-61=2', '34/2=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[61, 34, 63, 1], Operations: [] Exploring Operation: 63-34=29, Resulting Numbers: [61, 1, 29] Generated Node #0,0: 16:[61, 1, 29] Operation: 63-34=29 Exploring Operation: 61-34=27, Resulting Numbers: [63, 1, 27] Generated Node #0,1: 16:[63, 1, 27] Operation: 61-34=27 Exploring Operation: 61-1=60, Resulting Numbers: [34, 63, 60] Generated Node #0,2: 16:[34, 63, 60] Operation: 61-1=60 Exploring Operation: 63-61=2, Resulting Numbers: [34, 1, 2] Generated Node #0,3: 16:[34, 1, 2] Operation: 63-61=2 Moving to Node #0,3 Current State: 16:[34, 1, 2], Operations: ['63-61=2'] Exploring Operation: 34*1=34, Resulting Numbers: [2, 34] Generated Node #0,3,0: 16:[2, 34] Operation: 34*1=34 Exploring Operation: 34-1=33, Resulting Numbers: [2, 33] Generated Node #0,3,1: 16:[2, 33] Operation: 34-1=33 Exploring Operation: 34-2=32, Resulting Numbers: [1, 32] Generated Node #0,3,2: 16:[1, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #0,3,3: 16:[1, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 16:[1, 17], Operations: ['63-61=2', '34/2=17'] Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[61, 34, 63, 1], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [34, 1, 2] Generated Node #0,3: 16:[34, 1, 2] Operation: 63-61=2 Moving to Node #0,3 Current State: 16:[34, 1, 2], Operations: ['63-61=2'] Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #0,3,3: 16:[1, 17] Operation: 34/2=17 Moving to Node #0,3,3 Current State: 16:[1, 17], Operations: ['63-61=2', '34/2=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 13, 12, 94, 90 ]
21
[ "13+12=25", "94-90=4", "25-4=21" ]
Current State: 21:[13, 12, 94, 90], Operations: [] Exploring Operation: 13+12=25, Resulting Numbers: [94, 90, 25] Generated Node #2: [94, 90, 25] from Operation: 13+12=25 Current State: 21:[94, 90, 25], Operations: ['13+12=25'] Exploring Operation: 94-90=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 94-90=4 Current State: 21:[25, 4], Operations: ['13+12=25', '94-90=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[13, 12, 94, 90], Operations: [] Exploring Operation: 94-13=81, Resulting Numbers: [12, 90, 81] Generated Node #0,0: 21:[12, 90, 81] Operation: 94-13=81 Exploring Operation: 94-90=4, Resulting Numbers: [13, 12, 4] Generated Node #0,1: 21:[13, 12, 4] Operation: 94-90=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[13, 12, 4], Operations: ['94-90=4'] Exploring Operation: 13-12=1, Resulting Numbers: [4, 1] Generated Node #0,1,0: 21:[4, 1] Operation: 13-12=1 Exploring Operation: 13+12=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 21:[4, 25] Operation: 13+12=25 Moving to Node #0,1,0 Current State: 21:[4, 1], Operations: ['94-90=4', '13-12=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[4, 25], Operations: ['94-90=4', '13+12=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[13, 12, 94, 90], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [13, 12, 4] Generated Node #0,1: 21:[13, 12, 4] Operation: 94-90=4 Moving to Node #0,1 Current State: 21:[13, 12, 4], Operations: ['94-90=4'] Exploring Operation: 13+12=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 21:[4, 25] Operation: 13+12=25 Moving to Node #0,1,1 Current State: 21:[4, 25], Operations: ['94-90=4', '13+12=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 84, 83, 81, 89 ]
94
[ "83-81=2", "89*2=178", "178-84=94" ]
Current State: 94:[84, 83, 81, 89], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [84, 89, 2] Generated Node #2: [84, 89, 2] from Operation: 83-81=2 Current State: 94:[84, 89, 2], Operations: ['83-81=2'] Exploring Operation: 89*2=178, Resulting Numbers: [84, 178] Generated Node #3: [84, 178] from Operation: 89*2=178 Current State: 94:[84, 178], Operations: ['83-81=2', '89*2=178'] Exploring Operation: 178-84=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[84, 83, 81, 89], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [84, 81, 6] Generated Node #0,0: 94:[84, 81, 6] Operation: 89-83=6 Exploring Operation: 84-81=3, Resulting Numbers: [83, 89, 3] Generated Node #0,1: 94:[83, 89, 3] Operation: 84-81=3 Exploring Operation: 84-83=1, Resulting Numbers: [81, 89, 1] Generated Node #0,2: 94:[81, 89, 1] Operation: 84-83=1 Exploring Operation: 89-84=5, Resulting Numbers: [83, 81, 5] Generated Node #0,3: 94:[83, 81, 5] Operation: 89-84=5 Exploring Operation: 83-81=2, Resulting Numbers: [84, 89, 2] Generated Node #0,4: 94:[84, 89, 2] Operation: 83-81=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 94:[84, 89, 2], Operations: ['83-81=2'] Exploring Operation: 84-2=82, Resulting Numbers: [89, 82] Generated Node #0,4,0: 94:[89, 82] Operation: 84-2=82 Exploring Operation: 84/2=42, Resulting Numbers: [89, 42] Generated Node #0,4,1: 94:[89, 42] Operation: 84/2=42 Exploring Operation: 89-84=5, Resulting Numbers: [2, 5] Generated Node #0,4,2: 94:[2, 5] Operation: 89-84=5 Exploring Operation: 89+2=91, Resulting Numbers: [84, 91] Generated Node #0,4,3: 94:[84, 91] Operation: 89+2=91 Exploring Operation: 84+2=86, Resulting Numbers: [89, 86] Generated Node #0,4,4: 94:[89, 86] Operation: 84+2=86 Moving to Node #0,4,2 Current State: 94:[2, 5], Operations: ['83-81=2', '89-84=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[89, 42], Operations: ['83-81=2', '84/2=42'] Exploring Operation: 89+42=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 89*42=3738, Resulting Numbers: [3738] 3738,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[84, 91], Operations: ['83-81=2', '89+2=91'] Exploring Operation: 84+91=175, Resulting Numbers: [175] 175,94 unequal: No Solution Exploring Operation: 84*91=7644, Resulting Numbers: [7644] 7644,94 unequal: No Solution Exploring Operation: 91-84=7, Resulting Numbers: [7] 7,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[89, 86], Operations: ['83-81=2', '84+2=86'] Exploring Operation: 89+86=175, Resulting Numbers: [175] 175,94 unequal: No Solution Exploring Operation: 89-86=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 89*86=7654, Resulting Numbers: [7654] 7654,94 unequal: No Solution Moving to Node #0,4,0 Current State: 94:[89, 82], Operations: ['83-81=2', '84-2=82'] Exploring Operation: 89-82=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 89*82=7298, Resulting Numbers: [7298] 7298,94 unequal: No Solution Exploring Operation: 89+82=171, Resulting Numbers: [171] 171,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[83, 89, 3], Operations: ['84-81=3'] Exploring Operation: 83-3=80, Resulting Numbers: [89, 80] Generated Node #0,1,0: 94:[89, 80] Operation: 83-3=80 Exploring Operation: 83+3=86, Resulting Numbers: [89, 86] Generated Node #0,1,1: 94:[89, 86] Operation: 83+3=86 Exploring Operation: 89+3=92, Resulting Numbers: [83, 92] Generated Node #0,1,2: 94:[83, 92] Operation: 89+3=92 Exploring Operation: 89-3=86, Resulting Numbers: [83, 86] Generated Node #0,1,3: 94:[83, 86] Operation: 89-3=86 Exploring Operation: 89-83=6, Resulting Numbers: [3, 6] Generated Node #0,1,4: 94:[3, 6] Operation: 89-83=6 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 94:[3, 6], Operations: ['84-81=3', '89-83=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[89, 86], Operations: ['84-81=3', '83+3=86'] Exploring Operation: 89*86=7654, Resulting Numbers: [7654] 7654,94 unequal: No Solution Exploring Operation: 89-86=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 89+86=175, Resulting Numbers: [175] 175,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[83, 92], Operations: ['84-81=3', '89+3=92'] Exploring Operation: 83*92=7636, Resulting Numbers: [7636] 7636,94 unequal: No Solution Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 83+92=175, Resulting Numbers: [175] 175,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[89, 80], Operations: ['84-81=3', '83-3=80'] Exploring Operation: 89*80=7120, Resulting Numbers: [7120] 7120,94 unequal: No Solution Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 89+80=169, Resulting Numbers: [169] 169,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 94:[83, 86], Operations: ['84-81=3', '89-3=86'] Exploring Operation: 83+86=169, Resulting Numbers: [169] 169,94 unequal: No Solution Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 83*86=7138, Resulting Numbers: [7138] 7138,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[81, 89, 1], Operations: ['84-83=1'] Exploring Operation: 89+1=90, Resulting Numbers: [81, 90] Generated Node #0,2,0: 94:[81, 90] Operation: 89+1=90 Exploring Operation: 89-81=8, Resulting Numbers: [1, 8] Generated Node #0,2,1: 94:[1, 8] Operation: 89-81=8 Exploring Operation: 81+1=82, Resulting Numbers: [89, 82] Generated Node #0,2,2: 94:[89, 82] Operation: 81+1=82 Exploring Operation: 81*1=81, Resulting Numbers: [89, 81] Generated Node #0,2,3: 94:[89, 81] Operation: 81*1=81 Exploring Operation: 81/1=81, Resulting Numbers: [89, 81] Generated Node #0,2,4: 94:[89, 81] Operation: 81/1=81 Moving to Node #0,2,1 Current State: 94:[1, 8], Operations: ['84-83=1', '89-81=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[89, 82], Operations: ['84-83=1', '81+1=82'] Exploring Operation: 89-82=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 89+82=171, Resulting Numbers: [171] 171,94 unequal: No Solution Exploring Operation: 89*82=7298, Resulting Numbers: [7298] 7298,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[81, 90], Operations: ['84-83=1', '89+1=90'] Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 81+90=171, Resulting Numbers: [171] 171,94 unequal: No Solution Exploring Operation: 81*90=7290, Resulting Numbers: [7290] 7290,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[89, 81], Operations: ['84-83=1', '81*1=81'] Exploring Operation: 89+81=170, Resulting Numbers: [170] 170,94 unequal: No Solution Exploring Operation: 89*81=7209, Resulting Numbers: [7209] 7209,94 unequal: No Solution Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[89, 81], Operations: ['84-83=1', '81/1=81'] Exploring Operation: 89+81=170, Resulting Numbers: [170] 170,94 unequal: No Solution Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 89*81=7209, Resulting Numbers: [7209] 7209,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[84, 81, 6], Operations: ['89-83=6'] Exploring Operation: 81+6=87, Resulting Numbers: [84, 87] Generated Node #0,0,0: 94:[84, 87] Operation: 81+6=87 Exploring Operation: 84-6=78, Resulting Numbers: [81, 78] Generated Node #0,0,1: 94:[81, 78] Operation: 84-6=78 Exploring Operation: 84+6=90, Resulting Numbers: [81, 90] Generated Node #0,0,2: 94:[81, 90] Operation: 84+6=90 Exploring Operation: 84/6=14, Resulting Numbers: [81, 14] Generated Node #0,0,3: 94:[81, 14] Operation: 84/6=14 Exploring Operation: 84-81=3, Resulting Numbers: [6, 3] Generated Node #0,0,4: 94:[6, 3] Operation: 84-81=3 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 94:[6, 3], Operations: ['89-83=6', '84-81=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[84, 87], Operations: ['89-83=6', '81+6=87'] Exploring Operation: 84*87=7308, Resulting Numbers: [7308] 7308,94 unequal: No Solution Exploring Operation: 84+87=171, Resulting Numbers: [171] 171,94 unequal: No Solution Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[81, 90], Operations: ['89-83=6', '84+6=90'] Exploring Operation: 81*90=7290, Resulting Numbers: [7290] 7290,94 unequal: No Solution Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 81+90=171, Resulting Numbers: [171] 171,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[81, 14], Operations: ['89-83=6', '84/6=14'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[81, 78], Operations: ['89-83=6', '84-6=78'] Exploring Operation: 81+78=159, Resulting Numbers: [159] 159,94 unequal: No Solution Exploring Operation: 81-78=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 81*78=6318, Resulting Numbers: [6318] 6318,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[83, 81, 5], Operations: ['89-84=5'] Exploring Operation: 83-5=78, Resulting Numbers: [81, 78] Generated Node #0,3,0: 94:[81, 78] Operation: 83-5=78 Exploring Operation: 81+5=86, Resulting Numbers: [83, 86] Generated Node #0,3,1: 94:[83, 86] Operation: 81+5=86 Exploring Operation: 83+5=88, Resulting Numbers: [81, 88] Generated Node #0,3,2: 94:[81, 88] Operation: 83+5=88 Exploring Operation: 81-5=76, Resulting Numbers: [83, 76] Generated Node #0,3,3: 94:[83, 76] Operation: 81-5=76 Exploring Operation: 83-81=2, Resulting Numbers: [5, 2] Generated Node #0,3,4: 94:[5, 2] Operation: 83-81=2 Moving to Node #0,3,4 Current State: 94:[5, 2], Operations: ['89-84=5', '83-81=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[81, 88], Operations: ['89-84=5', '83+5=88'] Exploring Operation: 81*88=7128, Resulting Numbers: [7128] 7128,94 unequal: No Solution Exploring Operation: 81+88=169, Resulting Numbers: [169] 169,94 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[83, 86], Operations: ['89-84=5', '81+5=86'] Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 83+86=169, Resulting Numbers: [169] 169,94 unequal: No Solution Exploring Operation: 83*86=7138, Resulting Numbers: [7138] 7138,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[81, 78], Operations: ['89-84=5', '83-5=78'] Exploring Operation: 81-78=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 81+78=159, Resulting Numbers: [159] 159,94 unequal: No Solution Exploring Operation: 81*78=6318, Resulting Numbers: [6318] 6318,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[83, 76], Operations: ['89-84=5', '81-5=76'] Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 83*76=6308, Resulting Numbers: [6308] 6308,94 unequal: No Solution Exploring Operation: 83+76=159, Resulting Numbers: [159] 159,94 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
[ 87, 18, 32, 8 ]
89
[ "87-32=55", "18*8=144", "144-55=89" ]
Current State: 89:[87, 18, 32, 8], Operations: [] Exploring Operation: 87-32=55, Resulting Numbers: [18, 8, 55] Generated Node #2: [18, 8, 55] from Operation: 87-32=55 Current State: 89:[18, 8, 55], Operations: ['87-32=55'] Exploring Operation: 18*8=144, Resulting Numbers: [55, 144] Generated Node #3: [55, 144] from Operation: 18*8=144 Current State: 89:[55, 144], Operations: ['87-32=55', '18*8=144'] Exploring Operation: 144-55=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[87, 18, 32, 8], Operations: [] Exploring Operation: 18*8=144, Resulting Numbers: [87, 32, 144] Generated Node #0,0: 89:[87, 32, 144] Operation: 18*8=144 Exploring Operation: 18+32=50, Resulting Numbers: [87, 8, 50] Generated Node #0,1: 89:[87, 8, 50] Operation: 18+32=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[87, 32, 144], Operations: ['18*8=144'] Exploring Operation: 87+32=119, Resulting Numbers: [144, 119] Generated Node #0,0,0: 89:[144, 119] Operation: 87+32=119 Exploring Operation: 144-32=112, Resulting Numbers: [87, 112] Generated Node #0,0,1: 89:[87, 112] Operation: 144-32=112 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[87, 112], Operations: ['18*8=144', '144-32=112'] Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,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:[144, 119], Operations: ['18*8=144', '87+32=119'] Exploring Operation: 144+119=263, Resulting Numbers: [263] 263,89 unequal: No Solution Exploring Operation: 144-119=25, Resulting Numbers: [25] 25,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, 8, 50], Operations: ['18+32=50'] Exploring Operation: 87+8=95, Resulting Numbers: [50, 95] Generated Node #0,1,0: 89:[50, 95] Operation: 87+8=95 Exploring Operation: 8+50=58, Resulting Numbers: [87, 58] Generated Node #0,1,1: 89:[87, 58] Operation: 8+50=58 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[87, 58], Operations: ['18+32=50', '8+50=58'] Exploring Operation: 87+58=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,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,1,0 Current State: 89:[50, 95], Operations: ['18+32=50', '87+8=95'] Exploring Operation: 95-50=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 50+95=145, Resulting Numbers: [145] 145,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 No solution found.
0
hs_2
sum_heuristic
[ 50, 45, 89, 70 ]
14
[ "50-45=5", "89-70=19", "19-5=14" ]
Current State: 14:[50, 45, 89, 70], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [89, 70, 5] Generated Node #2: [89, 70, 5] from Operation: 50-45=5 Current State: 14:[89, 70, 5], Operations: ['50-45=5'] Exploring Operation: 89-70=19, Resulting Numbers: [5, 19] Generated Node #3: [5, 19] from Operation: 89-70=19 Current State: 14:[5, 19], Operations: ['50-45=5', '89-70=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[50, 45, 89, 70], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [50, 45, 19] Generated Node #0,0: 14:[50, 45, 19] Operation: 89-70=19 Exploring Operation: 70-50=20, Resulting Numbers: [45, 89, 20] Generated Node #0,1: 14:[45, 89, 20] Operation: 70-50=20 Exploring Operation: 89-45=44, Resulting Numbers: [50, 70, 44] Generated Node #0,2: 14:[50, 70, 44] Operation: 89-45=44 Exploring Operation: 89-50=39, Resulting Numbers: [45, 70, 39] Generated Node #0,3: 14:[45, 70, 39] Operation: 89-50=39 Moving to Node #0,0 Current State: 14:[50, 45, 19], Operations: ['89-70=19'] Exploring Operation: 50-45=5, Resulting Numbers: [19, 5] Generated Node #0,0,0: 14:[19, 5] Operation: 50-45=5 Exploring Operation: 50+45=95, Resulting Numbers: [19, 95] Generated Node #0,0,1: 14:[19, 95] Operation: 50+45=95 Exploring Operation: 45-19=26, Resulting Numbers: [50, 26] Generated Node #0,0,2: 14:[50, 26] Operation: 45-19=26 Exploring Operation: 50-19=31, Resulting Numbers: [45, 31] Generated Node #0,0,3: 14:[45, 31] Operation: 50-19=31 Moving to Node #0,3 Current State: 14:[45, 70, 39], Operations: ['89-50=39'] Exploring Operation: 45-39=6, Resulting Numbers: [70, 6] Generated Node #0,3,0: 14:[70, 6] Operation: 45-39=6 Exploring Operation: 70-39=31, Resulting Numbers: [45, 31] Generated Node #0,3,1: 14:[45, 31] Operation: 70-39=31 Exploring Operation: 70-45=25, Resulting Numbers: [39, 25] Generated Node #0,3,2: 14:[39, 25] Operation: 70-45=25 Exploring Operation: 45+70=115, Resulting Numbers: [39, 115] Generated Node #0,3,3: 14:[39, 115] Operation: 45+70=115 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[39, 25], Operations: ['89-50=39', '70-45=25'] Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,14 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[50, 45, 89, 70], Operations: [] Exploring Operation: 89-50=39, Resulting Numbers: [45, 70, 39] Generated Node #0,3: 14:[45, 70, 39] Operation: 89-50=39 Moving to Node #0,3 Current State: 14:[45, 70, 39], Operations: ['89-50=39'] Exploring Operation: 70-45=25, Resulting Numbers: [39, 25] Generated Node #0,3,2: 14:[39, 25] Operation: 70-45=25 Moving to Node #0,3,2 Current State: 14:[39, 25], Operations: ['89-50=39', '70-45=25'] Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 72, 26, 52, 2 ]
85
[ "52-26=26", "26/2=13", "72+13=85" ]
Current State: 85:[72, 26, 52, 2], Operations: [] Exploring Operation: 52-26=26, Resulting Numbers: [72, 2, 26] Generated Node #2: [72, 2, 26] from Operation: 52-26=26 Current State: 85:[72, 2, 26], Operations: ['52-26=26'] Exploring Operation: 26/2=13, Resulting Numbers: [72, 13] Generated Node #3: [72, 13] from Operation: 26/2=13 Current State: 85:[72, 13], Operations: ['52-26=26', '26/2=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[72, 26, 52, 2], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [72, 2, 2] Generated Node #0,0: 85:[72, 2, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [72, 2, 26] Generated Node #0,1: 85:[72, 2, 26] Operation: 52-26=26 Exploring Operation: 26+52=78, Resulting Numbers: [72, 2, 78] Generated Node #0,2: 85:[72, 2, 78] Operation: 26+52=78 Exploring Operation: 72-52=20, Resulting Numbers: [26, 2, 20] Generated Node #0,3: 85:[26, 2, 20] Operation: 72-52=20 Moving to Node #0,3 Current State: 85:[26, 2, 20], Operations: ['72-52=20'] Exploring Operation: 26-2=24, Resulting Numbers: [20, 24] Generated Node #0,3,0: 85:[20, 24] Operation: 26-2=24 Exploring Operation: 26-20=6, Resulting Numbers: [2, 6] Generated Node #0,3,1: 85:[2, 6] Operation: 26-20=6 Exploring Operation: 26/2=13, Resulting Numbers: [20, 13] Generated Node #0,3,2: 85:[20, 13] Operation: 26/2=13 Exploring Operation: 20-2=18, Resulting Numbers: [26, 18] Generated Node #0,3,3: 85:[26, 18] Operation: 20-2=18 Moving to Node #0,0 Current State: 85:[72, 2, 2], Operations: ['52/26=2'] Exploring Operation: 2*2=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 85:[72, 4] Operation: 2*2=4 Exploring Operation: 2+2=4, Resulting Numbers: [72, 4] Generated Node #0,0,1: 85:[72, 4] Operation: 2+2=4 Exploring Operation: 72+2=74, Resulting Numbers: [2, 74] Generated Node #0,0,2: 85:[2, 74] Operation: 72+2=74 Exploring Operation: 72+2=74, Resulting Numbers: [2, 74] Generated Node #0,0,3: 85:[2, 74] Operation: 72+2=74 Moving to Node #0,2 Current State: 85:[72, 2, 78], Operations: ['26+52=78'] Exploring Operation: 2+78=80, Resulting Numbers: [72, 80] Generated Node #0,2,0: 85:[72, 80] Operation: 2+78=80 Exploring Operation: 78-72=6, Resulting Numbers: [2, 6] Generated Node #0,2,1: 85:[2, 6] Operation: 78-72=6 Exploring Operation: 72-2=70, Resulting Numbers: [78, 70] Generated Node #0,2,2: 85:[78, 70] Operation: 72-2=70 Exploring Operation: 72+2=74, Resulting Numbers: [78, 74] Generated Node #0,2,3: 85:[78, 74] Operation: 72+2=74 Moving to Node #0,1 Current State: 85:[72, 2, 26], Operations: ['52-26=26'] Exploring Operation: 26/2=13, Resulting Numbers: [72, 13] Generated Node #0,1,0: 85:[72, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [72, 24] Generated Node #0,1,1: 85:[72, 24] Operation: 26-2=24 Exploring Operation: 72+26=98, Resulting Numbers: [2, 98] Generated Node #0,1,2: 85:[2, 98] Operation: 72+26=98 Exploring Operation: 72+2=74, Resulting Numbers: [26, 74] Generated Node #0,1,3: 85:[26, 74] Operation: 72+2=74 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[2, 98], Operations: ['52-26=26', '72+26=98'] Exploring Operation: 2*98=196, Resulting Numbers: [196] 196,85 unequal: No Solution Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[72, 13], Operations: ['52-26=26', '26/2=13'] Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,85 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[72, 26, 52, 2], Operations: [] Exploring Operation: 52-26=26, Resulting Numbers: [72, 2, 26] Generated Node #0,1: 85:[72, 2, 26] Operation: 52-26=26 Moving to Node #0,1 Current State: 85:[72, 2, 26], Operations: ['52-26=26'] Exploring Operation: 26/2=13, Resulting Numbers: [72, 13] Generated Node #0,1,0: 85:[72, 13] Operation: 26/2=13 Moving to Node #0,1,0 Current State: 85:[72, 13], Operations: ['52-26=26', '26/2=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 35, 51, 5, 83 ]
39
[ "35/5=7", "83-51=32", "7+32=39" ]
Current State: 39:[35, 51, 5, 83], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [51, 83, 7] Generated Node #2: [51, 83, 7] from Operation: 35/5=7 Current State: 39:[51, 83, 7], Operations: ['35/5=7'] Exploring Operation: 83-51=32, Resulting Numbers: [7, 32] Generated Node #3: [7, 32] from Operation: 83-51=32 Current State: 39:[7, 32], Operations: ['35/5=7', '83-51=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[35, 51, 5, 83], Operations: [] Exploring Operation: 83-35=48, Resulting Numbers: [51, 5, 48] Generated Node #0,0: 39:[51, 5, 48] Operation: 83-35=48 Exploring Operation: 51-35=16, Resulting Numbers: [5, 83, 16] Generated Node #0,1: 39:[5, 83, 16] Operation: 51-35=16 Exploring Operation: 83-51=32, Resulting Numbers: [35, 5, 32] Generated Node #0,2: 39:[35, 5, 32] Operation: 83-51=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[35, 5, 32], Operations: ['83-51=32'] Exploring Operation: 35+5=40, Resulting Numbers: [32, 40] Generated Node #0,2,0: 39:[32, 40] Operation: 35+5=40 Exploring Operation: 5+32=37, Resulting Numbers: [35, 37] Generated Node #0,2,1: 39:[35, 37] Operation: 5+32=37 Exploring Operation: 35-32=3, Resulting Numbers: [5, 3] Generated Node #0,2,2: 39:[5, 3] Operation: 35-32=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[5, 3], Operations: ['83-51=32', '35-32=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,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:[35, 37], Operations: ['83-51=32', '5+32=37'] Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,39 unequal: No Solution Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,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:[32, 40], Operations: ['83-51=32', '35+5=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,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:[51, 5, 48], Operations: ['83-35=48'] Exploring Operation: 51-48=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 39:[5, 3] Operation: 51-48=3 Exploring Operation: 51-5=46, Resulting Numbers: [48, 46] Generated Node #0,0,1: 39:[48, 46] Operation: 51-5=46 Exploring Operation: 48-5=43, Resulting Numbers: [51, 43] Generated Node #0,0,2: 39:[51, 43] Operation: 48-5=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[5, 3], Operations: ['83-35=48', '51-48=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,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,1 Current State: 39:[48, 46], Operations: ['83-35=48', '51-5=46'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,39 unequal: No Solution Exploring Operation: 48*46=2208, Resulting Numbers: [2208] 2208,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,2 Current State: 39:[51, 43], Operations: ['83-35=48', '48-5=43'] Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,39 unequal: No Solution Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 51*43=2193, Resulting Numbers: [2193] 2193,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,1 Current State: 39:[5, 83, 16], Operations: ['51-35=16'] Exploring Operation: 83-5=78, Resulting Numbers: [16, 78] Generated Node #0,1,0: 39:[16, 78] Operation: 83-5=78 Exploring Operation: 16-5=11, Resulting Numbers: [83, 11] Generated Node #0,1,1: 39:[83, 11] Operation: 16-5=11 Exploring Operation: 83-16=67, Resulting Numbers: [5, 67] Generated Node #0,1,2: 39:[5, 67] Operation: 83-16=67 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[5, 67], Operations: ['51-35=16', '83-16=67'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,39 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[16, 78], Operations: ['51-35=16', '83-5=78'] Exploring Operation: 16+78=94, Resulting Numbers: [94] 94,39 unequal: No Solution Exploring Operation: 16*78=1248, Resulting Numbers: [1248] 1248,39 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,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:[83, 11], Operations: ['51-35=16', '16-5=11'] Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,39 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,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_3
mult_heuristic
[ 45, 18, 99, 6 ]
27
[ "45+18=63", "99+63=162", "162/6=27" ]
Current State: 27:[45, 18, 99, 6], Operations: [] Exploring Operation: 45+18=63, Resulting Numbers: [99, 6, 63] Generated Node #2: [99, 6, 63] from Operation: 45+18=63 Current State: 27:[99, 6, 63], Operations: ['45+18=63'] Exploring Operation: 99+63=162, Resulting Numbers: [6, 162] Generated Node #3: [6, 162] from Operation: 99+63=162 Current State: 27:[6, 162], Operations: ['45+18=63', '99+63=162'] Exploring Operation: 162/6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[45, 18, 99, 6], Operations: [] Exploring Operation: 99-45=54, Resulting Numbers: [18, 6, 54] Generated Node #0,0: 27:[18, 6, 54] Operation: 99-45=54 Exploring Operation: 99-18=81, Resulting Numbers: [45, 6, 81] Generated Node #0,1: 27:[45, 6, 81] Operation: 99-18=81 Exploring Operation: 45-18=27, Resulting Numbers: [99, 6, 27] Generated Node #0,2: 27:[99, 6, 27] Operation: 45-18=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[18, 6, 54], Operations: ['99-45=54'] Exploring Operation: 54-18=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 27:[6, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 27:[6, 3] Operation: 54/18=3 Exploring Operation: 54/6=9, Resulting Numbers: [18, 9] Generated Node #0,0,2: 27:[18, 9] Operation: 54/6=9 Moving to Node #0,0,1 Current State: 27:[6, 3], Operations: ['99-45=54', '54/18=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[18, 9], Operations: ['99-45=54', '54/6=9'] Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[45, 18, 99, 6], Operations: [] Exploring Operation: 99-45=54, Resulting Numbers: [18, 6, 54] Generated Node #0,0: 27:[18, 6, 54] Operation: 99-45=54 Moving to Node #0,0 Current State: 27:[18, 6, 54], Operations: ['99-45=54'] Exploring Operation: 54/6=9, Resulting Numbers: [18, 9] Generated Node #0,0,2: 27:[18, 9] Operation: 54/6=9 Moving to Node #0,0,2 Current State: 27:[18, 9], Operations: ['99-45=54', '54/6=9'] Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 65, 54, 61, 59 ]
89
[ "65*54=3510", "61*59=3599", "3599-3510=89" ]
Current State: 89:[65, 54, 61, 59], Operations: [] Exploring Operation: 65*54=3510, Resulting Numbers: [61, 59, 3510] Generated Node #2: [61, 59, 3510] from Operation: 65*54=3510 Current State: 89:[61, 59, 3510], Operations: ['65*54=3510'] Exploring Operation: 61*59=3599, Resulting Numbers: [3510, 3599] Generated Node #3: [3510, 3599] from Operation: 61*59=3599 Current State: 89:[3510, 3599], Operations: ['65*54=3510', '61*59=3599'] Exploring Operation: 3599-3510=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[65, 54, 61, 59], Operations: [] Exploring Operation: 54+59=113, Resulting Numbers: [65, 61, 113] Generated Node #0,0: 89:[65, 61, 113] Operation: 54+59=113 Exploring Operation: 61+59=120, Resulting Numbers: [65, 54, 120] Generated Node #0,1: 89:[65, 54, 120] Operation: 61+59=120 Exploring Operation: 65+54=119, Resulting Numbers: [61, 59, 119] Generated Node #0,2: 89:[61, 59, 119] Operation: 65+54=119 Exploring Operation: 54+61=115, Resulting Numbers: [65, 59, 115] Generated Node #0,3: 89:[65, 59, 115] Operation: 54+61=115 Moving to Node #0,0 Current State: 89:[65, 61, 113], Operations: ['54+59=113'] Exploring Operation: 65+61=126, Resulting Numbers: [113, 126] Generated Node #0,0,0: 89:[113, 126] Operation: 65+61=126 Exploring Operation: 65-61=4, Resulting Numbers: [113, 4] Generated Node #0,0,1: 89:[113, 4] Operation: 65-61=4 Exploring Operation: 113-65=48, Resulting Numbers: [61, 48] Generated Node #0,0,2: 89:[61, 48] Operation: 113-65=48 Exploring Operation: 113-61=52, Resulting Numbers: [65, 52] Generated Node #0,0,3: 89:[65, 52] Operation: 113-61=52 Moving to Node #0,3 Current State: 89:[65, 59, 115], Operations: ['54+61=115'] Exploring Operation: 65-59=6, Resulting Numbers: [115, 6] Generated Node #0,3,0: 89:[115, 6] Operation: 65-59=6 Exploring Operation: 65+59=124, Resulting Numbers: [115, 124] Generated Node #0,3,1: 89:[115, 124] Operation: 65+59=124 Exploring Operation: 115-65=50, Resulting Numbers: [59, 50] Generated Node #0,3,2: 89:[59, 50] Operation: 115-65=50 Exploring Operation: 115-59=56, Resulting Numbers: [65, 56] Generated Node #0,3,3: 89:[65, 56] Operation: 115-59=56 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[65, 56], Operations: ['54+61=115', '115-59=56'] Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 65+56=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 65*56=3640, Resulting Numbers: [3640] 3640,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:[115, 124], Operations: ['54+61=115', '65+59=124'] Exploring Operation: 124-115=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 115+124=239, Resulting Numbers: [239] 239,89 unequal: No Solution Exploring Operation: 115*124=14260, Resulting Numbers: [14260] 14260,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:[59, 50], Operations: ['54+61=115', '115-65=50'] Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 59*50=2950, Resulting Numbers: [2950] 2950,89 unequal: No Solution Exploring Operation: 59+50=109, Resulting Numbers: [109] 109,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,0 Current State: 89:[115, 6], Operations: ['54+61=115', '65-59=6'] Exploring Operation: 115*6=690, Resulting Numbers: [690] 690,89 unequal: No Solution Exploring Operation: 115+6=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 115-6=109, Resulting Numbers: [109] 109,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:[61, 59, 119], Operations: ['65+54=119'] Exploring Operation: 119-59=60, Resulting Numbers: [61, 60] Generated Node #0,2,0: 89:[61, 60] Operation: 119-59=60 Exploring Operation: 61+59=120, Resulting Numbers: [119, 120] Generated Node #0,2,1: 89:[119, 120] Operation: 61+59=120 Exploring Operation: 61-59=2, Resulting Numbers: [119, 2] Generated Node #0,2,2: 89:[119, 2] Operation: 61-59=2 Exploring Operation: 119-61=58, Resulting Numbers: [59, 58] Generated Node #0,2,3: 89:[59, 58] Operation: 119-61=58 Moving to Node #0,1 Current State: 89:[65, 54, 120], Operations: ['61+59=120'] Exploring Operation: 120-65=55, Resulting Numbers: [54, 55] Generated Node #0,1,0: 89:[54, 55] Operation: 120-65=55 Exploring Operation: 120-54=66, Resulting Numbers: [65, 66] Generated Node #0,1,1: 89:[65, 66] Operation: 120-54=66 Exploring Operation: 65+54=119, Resulting Numbers: [120, 119] Generated Node #0,1,2: 89:[120, 119] Operation: 65+54=119 Exploring Operation: 65-54=11, Resulting Numbers: [120, 11] Generated Node #0,1,3: 89:[120, 11] Operation: 65-54=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[65, 66], Operations: ['61+59=120', '120-54=66'] Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 65*66=4290, Resulting Numbers: [4290] 4290,89 unequal: No Solution Exploring Operation: 65+66=131, Resulting Numbers: [131] 131,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:[120, 119], Operations: ['61+59=120', '65+54=119'] Exploring Operation: 120+119=239, Resulting Numbers: [239] 239,89 unequal: No Solution Exploring Operation: 120*119=14280, Resulting Numbers: [14280] 14280,89 unequal: No Solution Exploring Operation: 120-119=1, Resulting Numbers: [1] 1,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,0 Current State: 89:[54, 55], Operations: ['61+59=120', '120-65=55'] Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,89 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,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:[120, 11], Operations: ['61+59=120', '65-54=11'] Exploring Operation: 120*11=1320, Resulting Numbers: [1320] 1320,89 unequal: No Solution Exploring Operation: 120+11=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 120-11=109, Resulting Numbers: [109] 109,89 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: 89:[61, 60], Operations: ['65+54=119', '119-59=60'] Exploring Operation: 61+60=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 61*60=3660, Resulting Numbers: [3660] 3660,89 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[119, 120], Operations: ['65+54=119', '61+59=120'] Exploring Operation: 120-119=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 119*120=14280, Resulting Numbers: [14280] 14280,89 unequal: No Solution Exploring Operation: 119+120=239, Resulting Numbers: [239] 239,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[59, 58], Operations: ['65+54=119', '119-61=58'] Exploring Operation: 59+58=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 59*58=3422, Resulting Numbers: [3422] 3422,89 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[113, 126], Operations: ['54+59=113', '65+61=126'] Exploring Operation: 126-113=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 113*126=14238, Resulting Numbers: [14238] 14238,89 unequal: No Solution Exploring Operation: 113+126=239, Resulting Numbers: [239] 239,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[65, 52], Operations: ['54+59=113', '113-61=52'] Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,89 unequal: No Solution Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[61, 48], Operations: ['54+59=113', '113-65=48'] Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,89 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[113, 4], Operations: ['54+59=113', '65-61=4'] Exploring Operation: 113-4=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 113+4=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 113*4=452, Resulting Numbers: [452] 452,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[119, 2], Operations: ['65+54=119', '61-59=2'] Exploring Operation: 119-2=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 119+2=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 119*2=238, Resulting Numbers: [238] 238,89 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 26, 1, 26, 38 ]
89
[ "26-1=25", "26+38=64", "25+64=89" ]
Current State: 89:[26, 1, 26, 38], Operations: [] Exploring Operation: 26-1=25, Resulting Numbers: [38, 25] Generated Node #2: [38, 25] from Operation: 26-1=25 Current State: 89:[38, 25], Operations: ['26-1=25'] Exploring Operation: 26+38=64, Resulting Numbers: [25, 64] Generated Node #3: [25, 64] from Operation: 26+38=64 Current State: 89:[25, 64], Operations: ['26-1=25', '26+38=64'] Exploring Operation: 25+64=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[26, 1, 26, 38], Operations: [] Exploring Operation: 26+26=52, Resulting Numbers: [1, 38, 52] Generated Node #0,0: 89:[1, 38, 52] Operation: 26+26=52 Exploring Operation: 26+1=27, Resulting Numbers: [26, 38, 27] Generated Node #0,1: 89:[26, 38, 27] Operation: 26+1=27 Moving to Node #0,0 Current State: 89:[1, 38, 52], Operations: ['26+26=52'] Exploring Operation: 1+38=39, Resulting Numbers: [52, 39] Generated Node #0,0,0: 89:[52, 39] Operation: 1+38=39 Exploring Operation: 1+52=53, Resulting Numbers: [38, 53] Generated Node #0,0,1: 89:[38, 53] Operation: 1+52=53 Moving to Node #0,1 Current State: 89:[26, 38, 27], Operations: ['26+1=27'] Exploring Operation: 26+27=53, Resulting Numbers: [38, 53] Generated Node #0,1,0: 89:[38, 53] Operation: 26+27=53 Exploring Operation: 26+38=64, Resulting Numbers: [27, 64] Generated Node #0,1,1: 89:[27, 64] Operation: 26+38=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[38, 53], Operations: ['26+1=27', '26+27=53'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,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:[27, 64], Operations: ['26+1=27', '26+38=64'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,89 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: 89:[52, 39], Operations: ['26+26=52', '1+38=39'] Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 52+39=91, Resulting Numbers: [91] 91,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[38, 53], Operations: ['26+26=52', '1+52=53'] Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 18, 89, 92, 37 ]
17
[ "92-89=3", "18*3=54", "54-37=17" ]
Current State: 17:[18, 89, 92, 37], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [18, 37, 3] Generated Node #2: [18, 37, 3] from Operation: 92-89=3 Current State: 17:[18, 37, 3], Operations: ['92-89=3'] Exploring Operation: 18*3=54, Resulting Numbers: [37, 54] Generated Node #3: [37, 54] from Operation: 18*3=54 Current State: 17:[37, 54], Operations: ['92-89=3', '18*3=54'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[18, 89, 92, 37], Operations: [] Exploring Operation: 89-37=52, Resulting Numbers: [18, 92, 52] Generated Node #0,0: 17:[18, 92, 52] Operation: 89-37=52 Exploring Operation: 92-89=3, Resulting Numbers: [18, 37, 3] Generated Node #0,1: 17:[18, 37, 3] Operation: 92-89=3 Moving to Node #0,1 Current State: 17:[18, 37, 3], Operations: ['92-89=3'] Exploring Operation: 37-18=19, Resulting Numbers: [3, 19] Generated Node #0,1,0: 17:[3, 19] Operation: 37-18=19 Exploring Operation: 37-3=34, Resulting Numbers: [18, 34] Generated Node #0,1,1: 17:[18, 34] Operation: 37-3=34 Moving to Node #0,0 Current State: 17:[18, 92, 52], Operations: ['89-37=52'] Exploring Operation: 92-18=74, Resulting Numbers: [52, 74] Generated Node #0,0,0: 17:[52, 74] Operation: 92-18=74 Exploring Operation: 92-52=40, Resulting Numbers: [18, 40] Generated Node #0,0,1: 17:[18, 40] Operation: 92-52=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[18, 40], Operations: ['89-37=52', '92-52=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,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,0 Current State: 17:[52, 74], Operations: ['89-37=52', '92-18=74'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 52+74=126, Resulting Numbers: [126] 126,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 17:[3, 19], Operations: ['92-89=3', '37-18=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[18, 34], Operations: ['92-89=3', '37-3=34'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,17 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 28, 12, 24, 80 ]
50
[ "80-28=52", "24/12=2", "52-2=50" ]
Current State: 50:[28, 12, 24, 80], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [12, 24, 52] Generated Node #2: [12, 24, 52] from Operation: 80-28=52 Current State: 50:[12, 24, 52], Operations: ['80-28=52'] Exploring Operation: 24/12=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 24/12=2 Current State: 50:[52, 2], Operations: ['80-28=52', '24/12=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[28, 12, 24, 80], Operations: [] Exploring Operation: 80-24=56, Resulting Numbers: [28, 12, 56] Generated Node #0,0: 50:[28, 12, 56] Operation: 80-24=56 Exploring Operation: 80-28=52, Resulting Numbers: [12, 24, 52] Generated Node #0,1: 50:[12, 24, 52] Operation: 80-28=52 Moving to Node #0,1 Current State: 50:[12, 24, 52], Operations: ['80-28=52'] Exploring Operation: 24-12=12, Resulting Numbers: [52, 12] Generated Node #0,1,0: 50:[52, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [52, 2] Generated Node #0,1,1: 50:[52, 2] Operation: 24/12=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[52, 2], Operations: ['80-28=52', '24/12=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[28, 12, 24, 80], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [12, 24, 52] Generated Node #0,1: 50:[12, 24, 52] Operation: 80-28=52 Moving to Node #0,1 Current State: 50:[12, 24, 52], Operations: ['80-28=52'] Exploring Operation: 24/12=2, Resulting Numbers: [52, 2] Generated Node #0,1,1: 50:[52, 2] Operation: 24/12=2 Moving to Node #0,1,1 Current State: 50:[52, 2], Operations: ['80-28=52', '24/12=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 19, 35, 70, 81 ]
97
[ "19+35=54", "70+81=151", "151-54=97" ]
Current State: 97:[19, 35, 70, 81], Operations: [] Exploring Operation: 19+35=54, Resulting Numbers: [70, 81, 54] Generated Node #2: [70, 81, 54] from Operation: 19+35=54 Current State: 97:[70, 81, 54], Operations: ['19+35=54'] Exploring Operation: 70+81=151, Resulting Numbers: [54, 151] Generated Node #3: [54, 151] from Operation: 70+81=151 Current State: 97:[54, 151], Operations: ['19+35=54', '70+81=151'] Exploring Operation: 151-54=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[19, 35, 70, 81], Operations: [] Exploring Operation: 19+70=89, Resulting Numbers: [35, 81, 89] Generated Node #0,0: 97:[35, 81, 89] Operation: 19+70=89 Exploring Operation: 19+35=54, Resulting Numbers: [70, 81, 54] Generated Node #0,1: 97:[70, 81, 54] Operation: 19+35=54 Moving to Node #0,0 Current State: 97:[35, 81, 89], Operations: ['19+70=89'] Exploring Operation: 35+89=124, Resulting Numbers: [81, 124] Generated Node #0,0,0: 97:[81, 124] Operation: 35+89=124 Exploring Operation: 35+81=116, Resulting Numbers: [89, 116] Generated Node #0,0,1: 97:[89, 116] Operation: 35+81=116 Moving to Node #0,1 Current State: 97:[70, 81, 54], Operations: ['19+35=54'] Exploring Operation: 70+54=124, Resulting Numbers: [81, 124] Generated Node #0,1,0: 97:[81, 124] Operation: 70+54=124 Exploring Operation: 81+54=135, Resulting Numbers: [70, 135] Generated Node #0,1,1: 97:[70, 135] Operation: 81+54=135 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[81, 124], Operations: ['19+35=54', '70+54=124'] Exploring Operation: 81+124=205, Resulting Numbers: [205] 205,97 unequal: No Solution Exploring Operation: 124-81=43, Resulting Numbers: [43] 43,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[70, 135], Operations: ['19+35=54', '81+54=135'] Exploring Operation: 70+135=205, Resulting Numbers: [205] 205,97 unequal: No Solution Exploring Operation: 135-70=65, Resulting Numbers: [65] 65,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 97:[89, 116], Operations: ['19+70=89', '35+81=116'] Exploring Operation: 89+116=205, Resulting Numbers: [205] 205,97 unequal: No Solution Exploring Operation: 116-89=27, Resulting Numbers: [27] 27,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[81, 124], Operations: ['19+70=89', '35+89=124'] Exploring Operation: 81+124=205, Resulting Numbers: [205] 205,97 unequal: No Solution Exploring Operation: 124-81=43, Resulting Numbers: [43] 43,97 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 66, 64, 98, 20 ]
58
[ "66-64=2", "20*2=40", "98-40=58" ]
Current State: 58:[66, 64, 98, 20], Operations: [] Exploring Operation: 66-64=2, Resulting Numbers: [98, 20, 2] Generated Node #2: [98, 20, 2] from Operation: 66-64=2 Current State: 58:[98, 20, 2], Operations: ['66-64=2'] Exploring Operation: 20*2=40, Resulting Numbers: [98, 40] Generated Node #3: [98, 40] from Operation: 20*2=40 Current State: 58:[98, 40], Operations: ['66-64=2', '20*2=40'] Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[66, 64, 98, 20], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [64, 20, 32] Generated Node #0,0: 58:[64, 20, 32] Operation: 98-66=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[64, 20, 32], Operations: ['98-66=32'] Exploring Operation: 64/32=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 58:[20, 2] Operation: 64/32=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[20, 2], Operations: ['98-66=32', '64/32=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 63, 58, 55, 5 ]
98
[ "63-55=8", "5*8=40", "58+40=98" ]
Current State: 98:[63, 58, 55, 5], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [58, 5, 8] Generated Node #2: [58, 5, 8] from Operation: 63-55=8 Current State: 98:[58, 5, 8], Operations: ['63-55=8'] Exploring Operation: 5*8=40, Resulting Numbers: [58, 40] Generated Node #3: [58, 40] from Operation: 5*8=40 Current State: 98:[58, 40], Operations: ['63-55=8', '5*8=40'] Exploring Operation: 58+40=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[63, 58, 55, 5], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [58, 5, 8] Generated Node #0,0: 98:[58, 5, 8] Operation: 63-55=8 Exploring Operation: 63-58=5, Resulting Numbers: [55, 5, 5] Generated Node #0,1: 98:[55, 5, 5] Operation: 63-58=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[55, 5, 5], Operations: ['63-58=5'] Exploring Operation: 55-5=50, Resulting Numbers: [5, 50] Generated Node #0,1,0: 98:[5, 50] Operation: 55-5=50 Exploring Operation: 55-5=50, Resulting Numbers: [5, 50] Generated Node #0,1,1: 98:[5, 50] Operation: 55-5=50 Moving to Node #0,1,0 Current State: 98:[5, 50], Operations: ['63-58=5', '55-5=50'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,98 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[5, 50], Operations: ['63-58=5', '55-5=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[58, 5, 8], Operations: ['63-55=8'] Exploring Operation: 58-8=50, Resulting Numbers: [5, 50] Generated Node #0,0,0: 98:[5, 50] Operation: 58-8=50 Exploring Operation: 58-5=53, Resulting Numbers: [8, 53] Generated Node #0,0,1: 98:[8, 53] Operation: 58-5=53 Moving to Node #0,0,0 Current State: 98:[5, 50], Operations: ['63-55=8', '58-8=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[8, 53], Operations: ['63-55=8', '58-5=53'] Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 17, 77, 4, 6 ]
49
[ "17+4=21", "6*21=126", "126-77=49" ]
Current State: 49:[17, 77, 4, 6], Operations: [] Exploring Operation: 17+4=21, Resulting Numbers: [77, 6, 21] Generated Node #2: [77, 6, 21] from Operation: 17+4=21 Current State: 49:[77, 6, 21], Operations: ['17+4=21'] Exploring Operation: 6*21=126, Resulting Numbers: [77, 126] Generated Node #3: [77, 126] from Operation: 6*21=126 Current State: 49:[77, 126], Operations: ['17+4=21', '6*21=126'] Exploring Operation: 126-77=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[17, 77, 4, 6], Operations: [] Exploring Operation: 77-17=60, Resulting Numbers: [4, 6, 60] Generated Node #0,0: 49:[4, 6, 60] Operation: 77-17=60 Exploring Operation: 77-4=73, Resulting Numbers: [17, 6, 73] Generated Node #0,1: 49:[17, 6, 73] Operation: 77-4=73 Exploring Operation: 17-6=11, Resulting Numbers: [77, 4, 11] Generated Node #0,2: 49:[77, 4, 11] Operation: 17-6=11 Exploring Operation: 17-4=13, Resulting Numbers: [77, 6, 13] Generated Node #0,3: 49:[77, 6, 13] Operation: 17-4=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[4, 6, 60], Operations: ['77-17=60'] Exploring Operation: 60-4=56, Resulting Numbers: [6, 56] Generated Node #0,0,0: 49:[6, 56] Operation: 60-4=56 Exploring Operation: 60-6=54, Resulting Numbers: [4, 54] Generated Node #0,0,1: 49:[4, 54] Operation: 60-6=54 Exploring Operation: 60/6=10, Resulting Numbers: [4, 10] Generated Node #0,0,2: 49:[4, 10] Operation: 60/6=10 Exploring Operation: 60/4=15, Resulting Numbers: [6, 15] Generated Node #0,0,3: 49:[6, 15] Operation: 60/4=15 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[4, 10], Operations: ['77-17=60', '60/6=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,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:[6, 56], Operations: ['77-17=60', '60-4=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,49 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,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:[4, 54], Operations: ['77-17=60', '60-6=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,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:[6, 15], Operations: ['77-17=60', '60/4=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[17, 6, 73], Operations: ['77-4=73'] Exploring Operation: 73-17=56, Resulting Numbers: [6, 56] Generated Node #0,1,0: 49:[6, 56] Operation: 73-17=56 Exploring Operation: 17-6=11, Resulting Numbers: [73, 11] Generated Node #0,1,1: 49:[73, 11] Operation: 17-6=11 Exploring Operation: 17+6=23, Resulting Numbers: [73, 23] Generated Node #0,1,2: 49:[73, 23] Operation: 17+6=23 Exploring Operation: 73-6=67, Resulting Numbers: [17, 67] Generated Node #0,1,3: 49:[17, 67] Operation: 73-6=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[6, 56], Operations: ['77-4=73', '73-17=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,49 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[73, 11], Operations: ['77-4=73', '17-6=11'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,49 unequal: No Solution Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[17, 67], Operations: ['77-4=73', '73-6=67'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,49 unequal: No Solution Exploring Operation: 17*67=1139, Resulting Numbers: [1139] 1139,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[73, 23], Operations: ['77-4=73', '17+6=23'] Exploring Operation: 73*23=1679, Resulting Numbers: [1679] 1679,49 unequal: No Solution Exploring Operation: 73+23=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,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:[77, 4, 11], Operations: ['17-6=11'] Exploring Operation: 11-4=7, Resulting Numbers: [77, 7] Generated Node #0,2,0: 49:[77, 7] Operation: 11-4=7 Exploring Operation: 77-4=73, Resulting Numbers: [11, 73] Generated Node #0,2,1: 49:[11, 73] Operation: 77-4=73 Exploring Operation: 77/11=7, Resulting Numbers: [4, 7] Generated Node #0,2,2: 49:[4, 7] Operation: 77/11=7 Exploring Operation: 77-11=66, Resulting Numbers: [4, 66] Generated Node #0,2,3: 49:[4, 66] Operation: 77-11=66 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[4, 7], Operations: ['17-6=11', '77/11=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,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,2,3 Current State: 49:[4, 66], Operations: ['17-6=11', '77-11=66'] Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,49 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,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,2,0 Current State: 49:[77, 7], Operations: ['17-6=11', '11-4=7'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,49 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,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,2,1 Current State: 49:[11, 73], Operations: ['17-6=11', '77-4=73'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,49 unequal: No Solution Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,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,3 Current State: 49:[77, 6, 13], Operations: ['17-4=13'] Exploring Operation: 77-6=71, Resulting Numbers: [13, 71] Generated Node #0,3,0: 49:[13, 71] Operation: 77-6=71 Exploring Operation: 77-13=64, Resulting Numbers: [6, 64] Generated Node #0,3,1: 49:[6, 64] Operation: 77-13=64 Exploring Operation: 77+6=83, Resulting Numbers: [13, 83] Generated Node #0,3,2: 49:[13, 83] Operation: 77+6=83 Exploring Operation: 13-6=7, Resulting Numbers: [77, 7] Generated Node #0,3,3: 49:[77, 7] Operation: 13-6=7 Moving to Node #0,3,1 Current State: 49:[6, 64], Operations: ['17-4=13', '77-13=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[77, 7], Operations: ['17-4=13', '13-6=7'] Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,49 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,49 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[13, 71], Operations: ['17-4=13', '77-6=71'] Exploring Operation: 13+71=84, Resulting Numbers: [84] 84,49 unequal: No Solution Exploring Operation: 13*71=923, Resulting Numbers: [923] 923,49 unequal: No Solution Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[13, 83], Operations: ['17-4=13', '77+6=83'] Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 13*83=1079, Resulting Numbers: [1079] 1079,49 unequal: No Solution Exploring Operation: 13+83=96, Resulting Numbers: [96] 96,49 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
[ 3, 69, 25, 29 ]
57
[ "29-25=4", "3*4=12", "69-12=57" ]
Current State: 57:[3, 69, 25, 29], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [3, 69, 4] Generated Node #2: [3, 69, 4] from Operation: 29-25=4 Current State: 57:[3, 69, 4], Operations: ['29-25=4'] Exploring Operation: 3*4=12, Resulting Numbers: [69, 12] Generated Node #3: [69, 12] from Operation: 3*4=12 Current State: 57:[69, 12], Operations: ['29-25=4', '3*4=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[3, 69, 25, 29], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [3, 69, 4] Generated Node #0,0: 57:[3, 69, 4] Operation: 29-25=4 Exploring Operation: 69-25=44, Resulting Numbers: [3, 29, 44] Generated Node #0,1: 57:[3, 29, 44] Operation: 69-25=44 Exploring Operation: 25+29=54, Resulting Numbers: [3, 69, 54] Generated Node #0,2: 57:[3, 69, 54] Operation: 25+29=54 Exploring Operation: 69/3=23, Resulting Numbers: [25, 29, 23] Generated Node #0,3: 57:[25, 29, 23] Operation: 69/3=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[3, 69, 4], Operations: ['29-25=4'] Exploring Operation: 69/3=23, Resulting Numbers: [4, 23] Generated Node #0,0,0: 57:[4, 23] Operation: 69/3=23 Exploring Operation: 4-3=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 57:[69, 1] Operation: 4-3=1 Exploring Operation: 69-3=66, Resulting Numbers: [4, 66] Generated Node #0,0,2: 57:[4, 66] Operation: 69-3=66 Exploring Operation: 69-4=65, Resulting Numbers: [3, 65] Generated Node #0,0,3: 57:[3, 65] Operation: 69-4=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[4, 23], Operations: ['29-25=4', '69/3=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 57:[3, 65], Operations: ['29-25=4', '69-4=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,57 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 57:[4, 66], Operations: ['29-25=4', '69-3=66'] Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,57 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[69, 1], Operations: ['29-25=4', '4-3=1'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,57 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[3, 69, 54], Operations: ['25+29=54'] Exploring Operation: 3+54=57, Resulting Numbers: [69, 57] Generated Node #0,2,0: 57:[69, 57] Operation: 3+54=57 Exploring Operation: 69/3=23, Resulting Numbers: [54, 23] Generated Node #0,2,1: 57:[54, 23] Operation: 69/3=23 Exploring Operation: 69-3=66, Resulting Numbers: [54, 66] Generated Node #0,2,2: 57:[54, 66] Operation: 69-3=66 Exploring Operation: 69-54=15, Resulting Numbers: [3, 15] Generated Node #0,2,3: 57:[3, 15] Operation: 69-54=15 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 57:[3, 15], Operations: ['25+29=54', '69-54=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,57 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[54, 23], Operations: ['25+29=54', '69/3=23'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,57 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[69, 57], Operations: ['25+29=54', '3+54=57'] Exploring Operation: 69-57=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 69+57=126, Resulting Numbers: [126] 126,57 unequal: No Solution Exploring Operation: 69*57=3933, Resulting Numbers: [3933] 3933,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[54, 66], Operations: ['25+29=54', '69-3=66'] Exploring Operation: 54*66=3564, Resulting Numbers: [3564] 3564,57 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 54+66=120, Resulting Numbers: [120] 120,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[25, 29, 23], Operations: ['69/3=23'] Exploring Operation: 25-23=2, Resulting Numbers: [29, 2] Generated Node #0,3,0: 57:[29, 2] Operation: 25-23=2 Exploring Operation: 29-23=6, Resulting Numbers: [25, 6] Generated Node #0,3,1: 57:[25, 6] Operation: 29-23=6 Exploring Operation: 29-25=4, Resulting Numbers: [23, 4] Generated Node #0,3,2: 57:[23, 4] Operation: 29-25=4 Exploring Operation: 25+29=54, Resulting Numbers: [23, 54] Generated Node #0,3,3: 57:[23, 54] Operation: 25+29=54 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 57:[23, 4], Operations: ['69/3=23', '29-25=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 57:[23, 54], Operations: ['69/3=23', '25+29=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,57 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 57:[25, 6], Operations: ['69/3=23', '29-23=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,57 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 57:[29, 2], Operations: ['69/3=23', '25-23=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[3, 29, 44], Operations: ['69-25=44'] Exploring Operation: 44-29=15, Resulting Numbers: [3, 15] Generated Node #0,1,0: 57:[3, 15] Operation: 44-29=15 Exploring Operation: 29-3=26, Resulting Numbers: [44, 26] Generated Node #0,1,1: 57:[44, 26] Operation: 29-3=26 Exploring Operation: 3+44=47, Resulting Numbers: [29, 47] Generated Node #0,1,2: 57:[29, 47] Operation: 3+44=47 Exploring Operation: 29+44=73, Resulting Numbers: [3, 73] Generated Node #0,1,3: 57:[3, 73] Operation: 29+44=73 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[3, 15], Operations: ['69-25=44', '44-29=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,57 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 57:[3, 73], Operations: ['69-25=44', '29+44=73'] Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,57 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[44, 26], Operations: ['69-25=44', '29-3=26'] Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,57 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[29, 47], Operations: ['69-25=44', '3+44=47'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,57 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 89, 57, 79, 21 ]
68
[ "89-57=32", "79+21=100", "100-32=68" ]
Current State: 68:[89, 57, 79, 21], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [79, 21, 32] Generated Node #2: [79, 21, 32] from Operation: 89-57=32 Current State: 68:[79, 21, 32], Operations: ['89-57=32'] Exploring Operation: 79+21=100, Resulting Numbers: [32, 100] Generated Node #3: [32, 100] from Operation: 79+21=100 Current State: 68:[32, 100], Operations: ['89-57=32', '79+21=100'] Exploring Operation: 100-32=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[89, 57, 79, 21], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [79, 21, 32] Generated Node #0,0: 68:[79, 21, 32] Operation: 89-57=32 Exploring Operation: 89-79=10, Resulting Numbers: [57, 21, 10] Generated Node #0,1: 68:[57, 21, 10] Operation: 89-79=10 Moving to Node #0,0 Current State: 68:[79, 21, 32], Operations: ['89-57=32'] Exploring Operation: 79-32=47, Resulting Numbers: [21, 47] Generated Node #0,0,0: 68:[21, 47] Operation: 79-32=47 Exploring Operation: 79-21=58, Resulting Numbers: [32, 58] Generated Node #0,0,1: 68:[32, 58] Operation: 79-21=58 Moving to Node #0,1 Current State: 68:[57, 21, 10], Operations: ['89-79=10'] Exploring Operation: 57+10=67, Resulting Numbers: [21, 67] Generated Node #0,1,0: 68:[21, 67] Operation: 57+10=67 Exploring Operation: 57-21=36, Resulting Numbers: [10, 36] Generated Node #0,1,1: 68:[10, 36] Operation: 57-21=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[21, 67], Operations: ['89-79=10', '57+10=67'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[10, 36], Operations: ['89-79=10', '57-21=36'] Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 68:[32, 58], Operations: ['89-57=32', '79-21=58'] Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,68 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[21, 47], Operations: ['89-57=32', '79-32=47'] Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[89, 57, 79, 21], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [79, 21, 32] Generated Node #0,0: 68:[79, 21, 32] Operation: 89-57=32 Moving to Node #0,0 Current State: 68:[79, 21, 32], Operations: ['89-57=32'] Exploring Operation: 79-32=47, Resulting Numbers: [21, 47] Generated Node #0,0,0: 68:[21, 47] Operation: 79-32=47 Moving to Node #0,0,0 Current State: 68:[21, 47], Operations: ['89-57=32', '79-32=47'] Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 6, 46, 50, 85 ]
75
[ "46-6=40", "85-50=35", "40+35=75" ]
Current State: 75:[6, 46, 50, 85], Operations: [] Exploring Operation: 46-6=40, Resulting Numbers: [50, 85, 40] Generated Node #2: [50, 85, 40] from Operation: 46-6=40 Current State: 75:[50, 85, 40], Operations: ['46-6=40'] Exploring Operation: 85-50=35, Resulting Numbers: [40, 35] Generated Node #3: [40, 35] from Operation: 85-50=35 Current State: 75:[40, 35], Operations: ['46-6=40', '85-50=35'] Exploring Operation: 40+35=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[6, 46, 50, 85], Operations: [] Exploring Operation: 46+50=96, Resulting Numbers: [6, 85, 96] Generated Node #0,0: 75:[6, 85, 96] Operation: 46+50=96 Exploring Operation: 50-46=4, Resulting Numbers: [6, 85, 4] Generated Node #0,1: 75:[6, 85, 4] Operation: 50-46=4 Moving to Node #0,1 Current State: 75:[6, 85, 4], Operations: ['50-46=4'] Exploring Operation: 85-6=79, Resulting Numbers: [4, 79] Generated Node #0,1,0: 75:[4, 79] Operation: 85-6=79 Exploring Operation: 85-4=81, Resulting Numbers: [6, 81] Generated Node #0,1,1: 75:[6, 81] Operation: 85-4=81 Moving to Node #0,0 Current State: 75:[6, 85, 96], Operations: ['46+50=96'] Exploring Operation: 96/6=16, Resulting Numbers: [85, 16] Generated Node #0,0,0: 75:[85, 16] Operation: 96/6=16 Exploring Operation: 96-85=11, Resulting Numbers: [6, 11] Generated Node #0,0,1: 75:[6, 11] Operation: 96-85=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[6, 11], Operations: ['46+50=96', '96-85=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[85, 16], Operations: ['46+50=96', '96/6=16'] Exploring Operation: 85+16=101, Resulting Numbers: [101] 101,75 unequal: No Solution Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 75:[4, 79], Operations: ['50-46=4', '85-6=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[6, 46, 50, 85], Operations: [] Exploring Operation: 50-46=4, Resulting Numbers: [6, 85, 4] Generated Node #0,1: 75:[6, 85, 4] Operation: 50-46=4 Moving to Node #0,1 Current State: 75:[6, 85, 4], Operations: ['50-46=4'] Exploring Operation: 85-6=79, Resulting Numbers: [4, 79] Generated Node #0,1,0: 75:[4, 79] Operation: 85-6=79 Moving to Node #0,1,0 Current State: 75:[4, 79], Operations: ['50-46=4', '85-6=79'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 4, 27, 18, 60 ]
96
[ "4+60=64", "27*64=1728", "1728/18=96" ]
Current State: 96:[4, 27, 18, 60], Operations: [] Exploring Operation: 4+60=64, Resulting Numbers: [27, 18, 64] Generated Node #2: [27, 18, 64] from Operation: 4+60=64 Current State: 96:[27, 18, 64], Operations: ['4+60=64'] Exploring Operation: 27*64=1728, Resulting Numbers: [18, 1728] Generated Node #3: [18, 1728] from Operation: 27*64=1728 Current State: 96:[18, 1728], Operations: ['4+60=64', '27*64=1728'] Exploring Operation: 1728/18=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[4, 27, 18, 60], Operations: [] Exploring Operation: 60-27=33, Resulting Numbers: [4, 18, 33] Generated Node #0,0: 96:[4, 18, 33] Operation: 60-27=33 Exploring Operation: 60/4=15, Resulting Numbers: [27, 18, 15] Generated Node #0,1: 96:[27, 18, 15] Operation: 60/4=15 Exploring Operation: 60-18=42, Resulting Numbers: [4, 27, 42] Generated Node #0,2: 96:[4, 27, 42] Operation: 60-18=42 Moving to Node #0,0 Current State: 96:[4, 18, 33], Operations: ['60-27=33'] Exploring Operation: 4+18=22, Resulting Numbers: [33, 22] Generated Node #0,0,0: 96:[33, 22] Operation: 4+18=22 Exploring Operation: 18-4=14, Resulting Numbers: [33, 14] Generated Node #0,0,1: 96:[33, 14] Operation: 18-4=14 Exploring Operation: 33-18=15, Resulting Numbers: [4, 15] Generated Node #0,0,2: 96:[4, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[4, 15], Operations: ['60-27=33', '33-18=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,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,0 Current State: 96:[33, 22], Operations: ['60-27=33', '4+18=22'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,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,1 Current State: 96:[33, 14], Operations: ['60-27=33', '18-4=14'] Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,96 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,96 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: 96:[27, 18, 15], Operations: ['60/4=15'] Exploring Operation: 27-15=12, Resulting Numbers: [18, 12] Generated Node #0,1,0: 96:[18, 12] Operation: 27-15=12 Exploring Operation: 18-15=3, Resulting Numbers: [27, 3] Generated Node #0,1,1: 96:[27, 3] Operation: 18-15=3 Exploring Operation: 27-18=9, Resulting Numbers: [15, 9] Generated Node #0,1,2: 96:[15, 9] Operation: 27-18=9 Moving to Node #0,2 Current State: 96:[4, 27, 42], Operations: ['60-18=42'] Exploring Operation: 42-27=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 96:[4, 15] Operation: 42-27=15 Exploring Operation: 4+27=31, Resulting Numbers: [42, 31] Generated Node #0,2,1: 96:[42, 31] Operation: 4+27=31 Exploring Operation: 4+42=46, Resulting Numbers: [27, 46] Generated Node #0,2,2: 96:[27, 46] Operation: 4+42=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[4, 15], Operations: ['60-18=42', '42-27=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[27, 46], Operations: ['60-18=42', '4+42=46'] Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,96 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[42, 31], Operations: ['60-18=42', '4+27=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,96 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 96:[18, 12], Operations: ['60/4=15', '27-15=12'] Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[15, 9], Operations: ['60/4=15', '27-18=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[27, 3], Operations: ['60/4=15', '18-15=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,96 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 15, 21, 51, 79 ]
94
[ "15+21=36", "51+79=130", "130-36=94" ]
Current State: 94:[15, 21, 51, 79], Operations: [] Exploring Operation: 15+21=36, Resulting Numbers: [51, 79, 36] Generated Node #2: [51, 79, 36] from Operation: 15+21=36 Current State: 94:[51, 79, 36], Operations: ['15+21=36'] Exploring Operation: 51+79=130, Resulting Numbers: [36, 130] Generated Node #3: [36, 130] from Operation: 51+79=130 Current State: 94:[36, 130], Operations: ['15+21=36', '51+79=130'] Exploring Operation: 130-36=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[15, 21, 51, 79], Operations: [] Exploring Operation: 21+79=100, Resulting Numbers: [15, 51, 100] Generated Node #0,0: 94:[15, 51, 100] Operation: 21+79=100 Exploring Operation: 79-21=58, Resulting Numbers: [15, 51, 58] Generated Node #0,1: 94:[15, 51, 58] Operation: 79-21=58 Exploring Operation: 21-15=6, Resulting Numbers: [51, 79, 6] Generated Node #0,2: 94:[51, 79, 6] Operation: 21-15=6 Exploring Operation: 15+79=94, Resulting Numbers: [21, 51, 94] Generated Node #0,3: 94:[21, 51, 94] Operation: 15+79=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[15, 51, 100], Operations: ['21+79=100'] Exploring Operation: 51-15=36, Resulting Numbers: [100, 36] Generated Node #0,0,0: 94:[100, 36] Operation: 51-15=36 Exploring Operation: 100-51=49, Resulting Numbers: [15, 49] Generated Node #0,0,1: 94:[15, 49] Operation: 100-51=49 Exploring Operation: 15+51=66, Resulting Numbers: [100, 66] Generated Node #0,0,2: 94:[100, 66] Operation: 15+51=66 Exploring Operation: 100-15=85, Resulting Numbers: [51, 85] Generated Node #0,0,3: 94:[51, 85] Operation: 100-15=85 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[51, 85], Operations: ['21+79=100', '100-15=85'] Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,94 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[15, 49], Operations: ['21+79=100', '100-51=49'] Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,94 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[100, 36], Operations: ['21+79=100', '51-15=36'] Exploring Operation: 100-36=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 100+36=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 100*36=3600, Resulting Numbers: [3600] 3600,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[100, 66], Operations: ['21+79=100', '15+51=66'] Exploring Operation: 100-66=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 100+66=166, Resulting Numbers: [166] 166,94 unequal: No Solution Exploring Operation: 100*66=6600, Resulting Numbers: [6600] 6600,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[51, 79, 6], Operations: ['21-15=6'] Exploring Operation: 79+6=85, Resulting Numbers: [51, 85] Generated Node #0,2,0: 94:[51, 85] Operation: 79+6=85 Exploring Operation: 51+6=57, Resulting Numbers: [79, 57] Generated Node #0,2,1: 94:[79, 57] Operation: 51+6=57 Exploring Operation: 51-6=45, Resulting Numbers: [79, 45] Generated Node #0,2,2: 94:[79, 45] Operation: 51-6=45 Exploring Operation: 79-51=28, Resulting Numbers: [6, 28] Generated Node #0,2,3: 94:[6, 28] Operation: 79-51=28 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[51, 85], Operations: ['21-15=6', '79+6=85'] Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,94 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 94:[79, 45], Operations: ['21-15=6', '51-6=45'] Exploring Operation: 79+45=124, Resulting Numbers: [124] 124,94 unequal: No Solution Exploring Operation: 79*45=3555, Resulting Numbers: [3555] 3555,94 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 94:[6, 28], Operations: ['21-15=6', '79-51=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[79, 57], Operations: ['21-15=6', '51+6=57'] Exploring Operation: 79*57=4503, Resulting Numbers: [4503] 4503,94 unequal: No Solution Exploring Operation: 79+57=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[21, 51, 94], Operations: ['15+79=94'] Exploring Operation: 94-51=43, Resulting Numbers: [21, 43] Generated Node #0,3,0: 94:[21, 43] Operation: 94-51=43 Exploring Operation: 21+51=72, Resulting Numbers: [94, 72] Generated Node #0,3,1: 94:[94, 72] Operation: 21+51=72 Exploring Operation: 21+94=115, Resulting Numbers: [51, 115] Generated Node #0,3,2: 94:[51, 115] Operation: 21+94=115 Exploring Operation: 51-21=30, Resulting Numbers: [94, 30] Generated Node #0,3,3: 94:[94, 30] Operation: 51-21=30 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 94:[94, 30], Operations: ['15+79=94', '51-21=30'] Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,94 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 94:[94, 72], Operations: ['15+79=94', '21+51=72'] Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 94*72=6768, Resulting Numbers: [6768] 6768,94 unequal: No Solution Exploring Operation: 94+72=166, Resulting Numbers: [166] 166,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 94:[21, 43], Operations: ['15+79=94', '94-51=43'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 94:[51, 115], Operations: ['15+79=94', '21+94=115'] Exploring Operation: 115-51=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 51*115=5865, Resulting Numbers: [5865] 5865,94 unequal: No Solution Exploring Operation: 51+115=166, Resulting Numbers: [166] 166,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[15, 51, 58], Operations: ['79-21=58'] Exploring Operation: 15+58=73, Resulting Numbers: [51, 73] Generated Node #0,1,0: 94:[51, 73] Operation: 15+58=73 Exploring Operation: 58-15=43, Resulting Numbers: [51, 43] Generated Node #0,1,1: 94:[51, 43] Operation: 58-15=43 Exploring Operation: 58-51=7, Resulting Numbers: [15, 7] Generated Node #0,1,2: 94:[15, 7] Operation: 58-51=7 Exploring Operation: 51-15=36, Resulting Numbers: [58, 36] Generated Node #0,1,3: 94:[58, 36] Operation: 51-15=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[51, 43], Operations: ['79-21=58', '58-15=43'] Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[15, 21, 51, 79], Operations: [] Exploring Operation: 79-21=58, Resulting Numbers: [15, 51, 58] Generated Node #0,1: 94:[15, 51, 58] Operation: 79-21=58 Moving to Node #0,1 Current State: 94:[15, 51, 58], Operations: ['79-21=58'] Exploring Operation: 58-15=43, Resulting Numbers: [51, 43] Generated Node #0,1,1: 94:[51, 43] Operation: 58-15=43 Moving to Node #0,1,1 Current State: 94:[51, 43], Operations: ['79-21=58', '58-15=43'] Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947049
hs_4
sum_heuristic
[ 23, 57, 79, 25 ]
69
[ "79-57=22", "25-22=3", "23*3=69" ]
Current State: 69:[23, 57, 79, 25], Operations: [] Exploring Operation: 79-57=22, Resulting Numbers: [23, 25, 22] Generated Node #2: [23, 25, 22] from Operation: 79-57=22 Current State: 69:[23, 25, 22], Operations: ['79-57=22'] Exploring Operation: 25-22=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 25-22=3 Current State: 69:[23, 3], Operations: ['79-57=22', '25-22=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[23, 57, 79, 25], Operations: [] Exploring Operation: 79-57=22, Resulting Numbers: [23, 25, 22] Generated Node #0,0: 69:[23, 25, 22] Operation: 79-57=22 Moving to Node #0,0 Current State: 69:[23, 25, 22], Operations: ['79-57=22'] Exploring Operation: 25-22=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 69:[23, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[23, 3], Operations: ['79-57=22', '25-22=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[23, 57, 79, 25], Operations: [] Exploring Operation: 79-57=22, Resulting Numbers: [23, 25, 22] Generated Node #0,0: 69:[23, 25, 22] Operation: 79-57=22 Moving to Node #0,0 Current State: 69:[23, 25, 22], Operations: ['79-57=22'] Exploring Operation: 25-22=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 69:[23, 3] Operation: 25-22=3 Moving to Node #0,0,0 Current State: 69:[23, 3], Operations: ['79-57=22', '25-22=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 59, 62, 24, 60 ]
33
[ "62-59=3", "60-24=36", "36-3=33" ]
Current State: 33:[59, 62, 24, 60], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [24, 60, 3] Generated Node #2: [24, 60, 3] from Operation: 62-59=3 Current State: 33:[24, 60, 3], Operations: ['62-59=3'] Exploring Operation: 60-24=36, Resulting Numbers: [3, 36] Generated Node #3: [3, 36] from Operation: 60-24=36 Current State: 33:[3, 36], Operations: ['62-59=3', '60-24=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[59, 62, 24, 60], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [59, 24, 2] Generated Node #0,0: 33:[59, 24, 2] Operation: 62-60=2 Exploring Operation: 62-59=3, Resulting Numbers: [24, 60, 3] Generated Node #0,1: 33:[24, 60, 3] Operation: 62-59=3 Exploring Operation: 60-59=1, Resulting Numbers: [62, 24, 1] Generated Node #0,2: 33:[62, 24, 1] Operation: 60-59=1 Exploring Operation: 62-24=38, Resulting Numbers: [59, 60, 38] Generated Node #0,3: 33:[59, 60, 38] Operation: 62-24=38 Exploring Operation: 59-24=35, Resulting Numbers: [62, 60, 35] Generated Node #0,4: 33:[62, 60, 35] Operation: 59-24=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[59, 24, 2], Operations: ['62-60=2'] Exploring Operation: 59+2=61, Resulting Numbers: [24, 61] Generated Node #0,0,0: 33:[24, 61] Operation: 59+2=61 Exploring Operation: 24/2=12, Resulting Numbers: [59, 12] Generated Node #0,0,1: 33:[59, 12] Operation: 24/2=12 Exploring Operation: 24+2=26, Resulting Numbers: [59, 26] Generated Node #0,0,2: 33:[59, 26] Operation: 24+2=26 Exploring Operation: 59-24=35, Resulting Numbers: [2, 35] Generated Node #0,0,3: 33:[2, 35] Operation: 59-24=35 Exploring Operation: 59-2=57, Resulting Numbers: [24, 57] Generated Node #0,0,4: 33:[24, 57] Operation: 59-2=57 Moving to Node #0,0,3 Current State: 33:[2, 35], Operations: ['62-60=2', '59-24=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[59, 62, 24, 60], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [59, 24, 2] Generated Node #0,0: 33:[59, 24, 2] Operation: 62-60=2 Moving to Node #0,0 Current State: 33:[59, 24, 2], Operations: ['62-60=2'] Exploring Operation: 59-24=35, Resulting Numbers: [2, 35] Generated Node #0,0,3: 33:[2, 35] Operation: 59-24=35 Moving to Node #0,0,3 Current State: 33:[2, 35], Operations: ['62-60=2', '59-24=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 99, 76, 99, 45 ]
30
[ "99/99=1", "76-45=31", "31-1=30" ]
Current State: 30:[99, 76, 99, 45], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [76, 45, 1] Generated Node #2: [76, 45, 1] from Operation: 99/99=1 Current State: 30:[76, 45, 1], Operations: ['99/99=1'] Exploring Operation: 76-45=31, Resulting Numbers: [1, 31] Generated Node #3: [1, 31] from Operation: 76-45=31 Current State: 30:[1, 31], Operations: ['99/99=1', '76-45=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[99, 76, 99, 45], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [76, 45, 0] Generated Node #0,0: 30:[76, 45, 0] Operation: 99-99=0 Exploring Operation: 99-76=23, Resulting Numbers: [99, 45, 23] Generated Node #0,1: 30:[99, 45, 23] Operation: 99-76=23 Exploring Operation: 99/99=1, Resulting Numbers: [76, 45, 1] Generated Node #0,2: 30:[76, 45, 1] Operation: 99/99=1 Exploring Operation: 99-76=23, Resulting Numbers: [99, 45, 23] Generated Node #0,3: 30:[99, 45, 23] Operation: 99-76=23 Moving to Node #0,2 Current State: 30:[76, 45, 1], Operations: ['99/99=1'] Exploring Operation: 76-45=31, Resulting Numbers: [1, 31] Generated Node #0,2,0: 30:[1, 31] Operation: 76-45=31 Exploring Operation: 76-1=75, Resulting Numbers: [45, 75] Generated Node #0,2,1: 30:[45, 75] Operation: 76-1=75 Exploring Operation: 76*1=76, Resulting Numbers: [45, 76] Generated Node #0,2,2: 30:[45, 76] Operation: 76*1=76 Exploring Operation: 45-1=44, Resulting Numbers: [76, 44] Generated Node #0,2,3: 30:[76, 44] Operation: 45-1=44 Moving to Node #0,0 Current State: 30:[76, 45, 0], Operations: ['99-99=0'] Exploring Operation: 76-45=31, Resulting Numbers: [0, 31] Generated Node #0,0,0: 30:[0, 31] Operation: 76-45=31 Exploring Operation: 76*0=0, Resulting Numbers: [45, 0] Generated Node #0,0,1: 30:[45, 0] Operation: 76*0=0 Exploring Operation: 45*0=0, Resulting Numbers: [76, 0] Generated Node #0,0,2: 30:[76, 0] Operation: 45*0=0 Exploring Operation: 76+0=76, Resulting Numbers: [45, 76] Generated Node #0,0,3: 30:[45, 76] Operation: 76+0=76 Moving to Node #0,3 Current State: 30:[99, 45, 23], Operations: ['99-76=23'] Exploring Operation: 99-23=76, Resulting Numbers: [45, 76] Generated Node #0,3,0: 30:[45, 76] Operation: 99-23=76 Exploring Operation: 99+23=122, Resulting Numbers: [45, 122] Generated Node #0,3,1: 30:[45, 122] Operation: 99+23=122 Exploring Operation: 45-23=22, Resulting Numbers: [99, 22] Generated Node #0,3,2: 30:[99, 22] Operation: 45-23=22 Exploring Operation: 99-45=54, Resulting Numbers: [23, 54] Generated Node #0,3,3: 30:[23, 54] Operation: 99-45=54 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 30:[23, 54], Operations: ['99-76=23', '99-45=54'] Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,30 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,30 unequal: No Solution No 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: 30:[45, 76], Operations: ['99-76=23', '99-23=76'] Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,30 unequal: No Solution Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,30 unequal: No Solution No 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: 30:[99, 22], Operations: ['99-76=23', '45-23=22'] Exploring Operation: 99+22=121, Resulting Numbers: [121] 121,30 unequal: No Solution Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 99*22=2178, Resulting Numbers: [2178] 2178,30 unequal: No Solution No 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: 30:[45, 122], Operations: ['99-76=23', '99+23=122'] Exploring Operation: 45*122=5490, Resulting Numbers: [5490] 5490,30 unequal: No Solution Exploring Operation: 122-45=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 45+122=167, Resulting Numbers: [167] 167,30 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: 30:[99, 45, 23], Operations: ['99-76=23'] Exploring Operation: 45-23=22, Resulting Numbers: [99, 22] Generated Node #0,1,0: 30:[99, 22] Operation: 45-23=22 Exploring Operation: 99+23=122, Resulting Numbers: [45, 122] Generated Node #0,1,1: 30:[45, 122] Operation: 99+23=122 Exploring Operation: 99-45=54, Resulting Numbers: [23, 54] Generated Node #0,1,2: 30:[23, 54] Operation: 99-45=54 Exploring Operation: 99-23=76, Resulting Numbers: [45, 76] Generated Node #0,1,3: 30:[45, 76] Operation: 99-23=76 Moving to Node #0,2,0 Current State: 30:[1, 31], Operations: ['99/99=1', '76-45=31'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[99, 76, 99, 45], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [76, 45, 1] Generated Node #0,2: 30:[76, 45, 1] Operation: 99/99=1 Moving to Node #0,2 Current State: 30:[76, 45, 1], Operations: ['99/99=1'] Exploring Operation: 76-45=31, Resulting Numbers: [1, 31] Generated Node #0,2,0: 30:[1, 31] Operation: 76-45=31 Moving to Node #0,2,0 Current State: 30:[1, 31], Operations: ['99/99=1', '76-45=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 95, 86, 32, 85 ]
63
[ "95-32=63", "86-85=1", "63*1=63" ]
Current State: 63:[95, 86, 32, 85], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [86, 85, 63] Generated Node #2: [86, 85, 63] from Operation: 95-32=63 Current State: 63:[86, 85, 63], Operations: ['95-32=63'] Exploring Operation: 86-85=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 86-85=1 Current State: 63:[63, 1], Operations: ['95-32=63', '86-85=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[95, 86, 32, 85], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [86, 32, 10] Generated Node #0,0: 63:[86, 32, 10] Operation: 95-85=10 Exploring Operation: 95-86=9, Resulting Numbers: [32, 85, 9] Generated Node #0,1: 63:[32, 85, 9] Operation: 95-86=9 Exploring Operation: 95-32=63, Resulting Numbers: [86, 85, 63] Generated Node #0,2: 63:[86, 85, 63] Operation: 95-32=63 Moving to Node #0,1 Current State: 63:[32, 85, 9], Operations: ['95-86=9'] Exploring Operation: 85-9=76, Resulting Numbers: [32, 76] Generated Node #0,1,0: 63:[32, 76] Operation: 85-9=76 Exploring Operation: 85-32=53, Resulting Numbers: [9, 53] Generated Node #0,1,1: 63:[9, 53] Operation: 85-32=53 Exploring Operation: 32-9=23, Resulting Numbers: [85, 23] Generated Node #0,1,2: 63:[85, 23] Operation: 32-9=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[9, 53], Operations: ['95-86=9', '85-32=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 9*53=477, Resulting Numbers: [477] 477,63 unequal: No Solution No 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: 63:[32, 76], Operations: ['95-86=9', '85-9=76'] Exploring Operation: 32+76=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 32*76=2432, Resulting Numbers: [2432] 2432,63 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,63 unequal: No Solution No 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: 63:[85, 23], Operations: ['95-86=9', '32-9=23'] Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,63 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,63 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: 63:[86, 32, 10], Operations: ['95-85=10'] Exploring Operation: 86-10=76, Resulting Numbers: [32, 76] Generated Node #0,0,0: 63:[32, 76] Operation: 86-10=76 Exploring Operation: 86-32=54, Resulting Numbers: [10, 54] Generated Node #0,0,1: 63:[10, 54] Operation: 86-32=54 Exploring Operation: 32-10=22, Resulting Numbers: [86, 22] Generated Node #0,0,2: 63:[86, 22] Operation: 32-10=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[10, 54], Operations: ['95-85=10', '86-32=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,63 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,63 unequal: No Solution No 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: 63:[32, 76], Operations: ['95-85=10', '86-10=76'] Exploring Operation: 32+76=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 32*76=2432, Resulting Numbers: [2432] 2432,63 unequal: No Solution No 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: 63:[86, 22], Operations: ['95-85=10', '32-10=22'] Exploring Operation: 86*22=1892, Resulting Numbers: [1892] 1892,63 unequal: No Solution Exploring Operation: 86+22=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,63 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: 63:[86, 85, 63], Operations: ['95-32=63'] Exploring Operation: 85-63=22, Resulting Numbers: [86, 22] Generated Node #0,2,0: 63:[86, 22] Operation: 85-63=22 Exploring Operation: 86-85=1, Resulting Numbers: [63, 1] Generated Node #0,2,1: 63:[63, 1] Operation: 86-85=1 Exploring Operation: 86-63=23, Resulting Numbers: [85, 23] Generated Node #0,2,2: 63:[85, 23] Operation: 86-63=23 Moving to Node #0,2,1 Current State: 63:[63, 1], Operations: ['95-32=63', '86-85=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[95, 86, 32, 85], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [86, 85, 63] Generated Node #0,2: 63:[86, 85, 63] Operation: 95-32=63 Moving to Node #0,2 Current State: 63:[86, 85, 63], Operations: ['95-32=63'] Exploring Operation: 86-85=1, Resulting Numbers: [63, 1] Generated Node #0,2,1: 63:[63, 1] Operation: 86-85=1 Moving to Node #0,2,1 Current State: 63:[63, 1], Operations: ['95-32=63', '86-85=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 37, 48, 73, 97 ]
39
[ "97-73=24", "48/24=2", "37+2=39" ]
Current State: 39:[37, 48, 73, 97], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [37, 48, 24] Generated Node #2: [37, 48, 24] from Operation: 97-73=24 Current State: 39:[37, 48, 24], Operations: ['97-73=24'] Exploring Operation: 48/24=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 48/24=2 Current State: 39:[37, 2], Operations: ['97-73=24', '48/24=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[37, 48, 73, 97], Operations: [] Exploring Operation: 97-37=60, Resulting Numbers: [48, 73, 60] Generated Node #0,0: 39:[48, 73, 60] Operation: 97-37=60 Exploring Operation: 73-37=36, Resulting Numbers: [48, 97, 36] Generated Node #0,1: 39:[48, 97, 36] Operation: 73-37=36 Exploring Operation: 97-48=49, Resulting Numbers: [37, 73, 49] Generated Node #0,2: 39:[37, 73, 49] Operation: 97-48=49 Exploring Operation: 73-48=25, Resulting Numbers: [37, 97, 25] Generated Node #0,3: 39:[37, 97, 25] Operation: 73-48=25 Exploring Operation: 97-73=24, Resulting Numbers: [37, 48, 24] Generated Node #0,4: 39:[37, 48, 24] Operation: 97-73=24 Moving to Node #0,4 Current State: 39:[37, 48, 24], Operations: ['97-73=24'] Exploring Operation: 37-24=13, Resulting Numbers: [48, 13] Generated Node #0,4,0: 39:[48, 13] Operation: 37-24=13 Exploring Operation: 48-37=11, Resulting Numbers: [24, 11] Generated Node #0,4,1: 39:[24, 11] Operation: 48-37=11 Exploring Operation: 48/24=2, Resulting Numbers: [37, 2] Generated Node #0,4,2: 39:[37, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [37, 24] Generated Node #0,4,3: 39:[37, 24] Operation: 48-24=24 Exploring Operation: 37+24=61, Resulting Numbers: [48, 61] Generated Node #0,4,4: 39:[48, 61] Operation: 37+24=61 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 39:[37, 2], Operations: ['97-73=24', '48/24=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[37, 48, 73, 97], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [37, 48, 24] Generated Node #0,4: 39:[37, 48, 24] Operation: 97-73=24 Moving to Node #0,4 Current State: 39:[37, 48, 24], Operations: ['97-73=24'] Exploring Operation: 48/24=2, Resulting Numbers: [37, 2] Generated Node #0,4,2: 39:[37, 2] Operation: 48/24=2 Moving to Node #0,4,2 Current State: 39:[37, 2], Operations: ['97-73=24', '48/24=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 7, 68, 56, 3 ]
87
[ "68-56=12", "7*12=84", "3+84=87" ]
Current State: 87:[7, 68, 56, 3], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [7, 3, 12] Generated Node #2: [7, 3, 12] from Operation: 68-56=12 Current State: 87:[7, 3, 12], Operations: ['68-56=12'] Exploring Operation: 7*12=84, Resulting Numbers: [3, 84] Generated Node #3: [3, 84] from Operation: 7*12=84 Current State: 87:[3, 84], Operations: ['68-56=12', '7*12=84'] Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[7, 68, 56, 3], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [7, 3, 12] Generated Node #0,0: 87:[7, 3, 12] Operation: 68-56=12 Exploring Operation: 56/7=8, Resulting Numbers: [68, 3, 8] Generated Node #0,1: 87:[68, 3, 8] Operation: 56/7=8 Moving to Node #0,0 Current State: 87:[7, 3, 12], Operations: ['68-56=12'] Exploring Operation: 12-7=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 87:[3, 5] Operation: 12-7=5 Exploring Operation: 7*12=84, Resulting Numbers: [3, 84] Generated Node #0,0,1: 87:[3, 84] Operation: 7*12=84 Moving to Node #0,1 Current State: 87:[68, 3, 8], Operations: ['56/7=8'] Exploring Operation: 68+8=76, Resulting Numbers: [3, 76] Generated Node #0,1,0: 87:[3, 76] Operation: 68+8=76 Exploring Operation: 68+3=71, Resulting Numbers: [8, 71] Generated Node #0,1,1: 87:[8, 71] Operation: 68+3=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[3, 76], Operations: ['56/7=8', '68+8=76'] Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[8, 71], Operations: ['56/7=8', '68+3=71'] Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,87 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: 87:[3, 5], Operations: ['68-56=12', '12-7=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[3, 84], Operations: ['68-56=12', '7*12=84'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[7, 68, 56, 3], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [7, 3, 12] Generated Node #0,0: 87:[7, 3, 12] Operation: 68-56=12 Moving to Node #0,0 Current State: 87:[7, 3, 12], Operations: ['68-56=12'] Exploring Operation: 7*12=84, Resulting Numbers: [3, 84] Generated Node #0,0,1: 87:[3, 84] Operation: 7*12=84 Moving to Node #0,0,1 Current State: 87:[3, 84], Operations: ['68-56=12', '7*12=84'] Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 92, 24, 17, 85 ]
49
[ "92-85=7", "24-17=7", "7*7=49" ]
Current State: 49:[92, 24, 17, 85], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [24, 17, 7] Generated Node #2: [24, 17, 7] from Operation: 92-85=7 Current State: 49:[24, 17, 7], Operations: ['92-85=7'] Exploring Operation: 24-17=7, Resulting Numbers: [7, 7] Generated Node #3: [7, 7] from Operation: 24-17=7 Current State: 49:[7, 7], Operations: ['92-85=7', '24-17=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[92, 24, 17, 85], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [24, 17, 7] Generated Node #0,0: 49:[24, 17, 7] Operation: 92-85=7 Moving to Node #0,0 Current State: 49:[24, 17, 7], Operations: ['92-85=7'] Exploring Operation: 24-17=7, Resulting Numbers: [7, 7] Generated Node #0,0,0: 49:[7, 7] Operation: 24-17=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[7, 7], Operations: ['92-85=7', '24-17=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[92, 24, 17, 85], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [24, 17, 7] Generated Node #0,0: 49:[24, 17, 7] Operation: 92-85=7 Moving to Node #0,0 Current State: 49:[24, 17, 7], Operations: ['92-85=7'] Exploring Operation: 24-17=7, Resulting Numbers: [7, 7] Generated Node #0,0,0: 49:[7, 7] Operation: 24-17=7 Moving to Node #0,0,0 Current State: 49:[7, 7], Operations: ['92-85=7', '24-17=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 78, 84, 68, 29 ]
65
[ "78+84=162", "68+29=97", "162-97=65" ]
Current State: 65:[78, 84, 68, 29], Operations: [] Exploring Operation: 78+84=162, Resulting Numbers: [68, 29, 162] Generated Node #2: [68, 29, 162] from Operation: 78+84=162 Current State: 65:[68, 29, 162], Operations: ['78+84=162'] Exploring Operation: 68+29=97, Resulting Numbers: [162, 97] Generated Node #3: [162, 97] from Operation: 68+29=97 Current State: 65:[162, 97], Operations: ['78+84=162', '68+29=97'] Exploring Operation: 162-97=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[78, 84, 68, 29], Operations: [] Exploring Operation: 84-29=55, Resulting Numbers: [78, 68, 55] Generated Node #0,0: 65:[78, 68, 55] Operation: 84-29=55 Exploring Operation: 84-68=16, Resulting Numbers: [78, 29, 16] Generated Node #0,1: 65:[78, 29, 16] Operation: 84-68=16 Exploring Operation: 78-29=49, Resulting Numbers: [84, 68, 49] Generated Node #0,2: 65:[84, 68, 49] Operation: 78-29=49 Exploring Operation: 78-68=10, Resulting Numbers: [84, 29, 10] Generated Node #0,3: 65:[84, 29, 10] Operation: 78-68=10 Exploring Operation: 84-78=6, Resulting Numbers: [68, 29, 6] Generated Node #0,4: 65:[68, 29, 6] Operation: 84-78=6 Moving to Node #0,4 Current State: 65:[68, 29, 6], Operations: ['84-78=6'] Exploring Operation: 68-6=62, Resulting Numbers: [29, 62] Generated Node #0,4,0: 65:[29, 62] Operation: 68-6=62 Exploring Operation: 68-29=39, Resulting Numbers: [6, 39] Generated Node #0,4,1: 65:[6, 39] Operation: 68-29=39 Exploring Operation: 29-6=23, Resulting Numbers: [68, 23] Generated Node #0,4,2: 65:[68, 23] Operation: 29-6=23 Exploring Operation: 68+6=74, Resulting Numbers: [29, 74] Generated Node #0,4,3: 65:[29, 74] Operation: 68+6=74 Exploring Operation: 29+6=35, Resulting Numbers: [68, 35] Generated Node #0,4,4: 65:[68, 35] Operation: 29+6=35 Moving to Node #0,0 Current State: 65:[78, 68, 55], Operations: ['84-29=55'] Exploring Operation: 68-55=13, Resulting Numbers: [78, 13] Generated Node #0,0,0: 65:[78, 13] Operation: 68-55=13 Exploring Operation: 68+55=123, Resulting Numbers: [78, 123] Generated Node #0,0,1: 65:[78, 123] Operation: 68+55=123 Exploring Operation: 78+55=133, Resulting Numbers: [68, 133] Generated Node #0,0,2: 65:[68, 133] Operation: 78+55=133 Exploring Operation: 78-55=23, Resulting Numbers: [68, 23] Generated Node #0,0,3: 65:[68, 23] Operation: 78-55=23 Exploring Operation: 78-68=10, Resulting Numbers: [55, 10] Generated Node #0,0,4: 65:[55, 10] Operation: 78-68=10 Moving to Node #0,1 Current State: 65:[78, 29, 16], Operations: ['84-68=16'] Exploring Operation: 78+29=107, Resulting Numbers: [16, 107] Generated Node #0,1,0: 65:[16, 107] Operation: 78+29=107 Exploring Operation: 78-16=62, Resulting Numbers: [29, 62] Generated Node #0,1,1: 65:[29, 62] Operation: 78-16=62 Exploring Operation: 29-16=13, Resulting Numbers: [78, 13] Generated Node #0,1,2: 65:[78, 13] Operation: 29-16=13 Exploring Operation: 78-29=49, Resulting Numbers: [16, 49] Generated Node #0,1,3: 65:[16, 49] Operation: 78-29=49 Exploring Operation: 29+16=45, Resulting Numbers: [78, 45] Generated Node #0,1,4: 65:[78, 45] Operation: 29+16=45 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[78, 13], Operations: ['84-68=16', '29-16=13'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[78, 84, 68, 29], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [78, 29, 16] Generated Node #0,1: 65:[78, 29, 16] Operation: 84-68=16 Moving to Node #0,1 Current State: 65:[78, 29, 16], Operations: ['84-68=16'] Exploring Operation: 29-16=13, Resulting Numbers: [78, 13] Generated Node #0,1,2: 65:[78, 13] Operation: 29-16=13 Moving to Node #0,1,2 Current State: 65:[78, 13], Operations: ['84-68=16', '29-16=13'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 77, 65, 52, 26 ]
64
[ "77+65=142", "52+26=78", "142-78=64" ]
Current State: 64:[77, 65, 52, 26], Operations: [] Exploring Operation: 77+65=142, Resulting Numbers: [52, 26, 142] Generated Node #2: [52, 26, 142] from Operation: 77+65=142 Current State: 64:[52, 26, 142], Operations: ['77+65=142'] Exploring Operation: 52+26=78, Resulting Numbers: [142, 78] Generated Node #3: [142, 78] from Operation: 52+26=78 Current State: 64:[142, 78], Operations: ['77+65=142', '52+26=78'] Exploring Operation: 142-78=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[77, 65, 52, 26], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [52, 26, 12] Generated Node #0,0: 64:[52, 26, 12] Operation: 77-65=12 Exploring Operation: 77-52=25, Resulting Numbers: [65, 26, 25] Generated Node #0,1: 64:[65, 26, 25] Operation: 77-52=25 Exploring Operation: 52-26=26, Resulting Numbers: [77, 65, 26] Generated Node #0,2: 64:[77, 65, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [77, 65, 2] Generated Node #0,3: 64:[77, 65, 2] Operation: 52/26=2 Moving to Node #0,1 Current State: 64:[65, 26, 25], Operations: ['77-52=25'] Exploring Operation: 65-26=39, Resulting Numbers: [25, 39] Generated Node #0,1,0: 64:[25, 39] Operation: 65-26=39 Exploring Operation: 65-25=40, Resulting Numbers: [26, 40] Generated Node #0,1,1: 64:[26, 40] Operation: 65-25=40 Exploring Operation: 26-25=1, Resulting Numbers: [65, 1] Generated Node #0,1,2: 64:[65, 1] Operation: 26-25=1 Exploring Operation: 26+25=51, Resulting Numbers: [65, 51] Generated Node #0,1,3: 64:[65, 51] Operation: 26+25=51 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[65, 1], Operations: ['77-52=25', '26-25=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[77, 65, 52, 26], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [65, 26, 25] Generated Node #0,1: 64:[65, 26, 25] Operation: 77-52=25 Moving to Node #0,1 Current State: 64:[65, 26, 25], Operations: ['77-52=25'] Exploring Operation: 26-25=1, Resulting Numbers: [65, 1] Generated Node #0,1,2: 64:[65, 1] Operation: 26-25=1 Moving to Node #0,1,2 Current State: 64:[65, 1], Operations: ['77-52=25', '26-25=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 98, 19, 41, 98 ]
61
[ "98/98=1", "19+41=60", "1+60=61" ]
Current State: 61:[98, 19, 41, 98], Operations: [] Exploring Operation: 98/98=1, Resulting Numbers: [19, 41, 1] Generated Node #2: [19, 41, 1] from Operation: 98/98=1 Current State: 61:[19, 41, 1], Operations: ['98/98=1'] Exploring Operation: 19+41=60, Resulting Numbers: [1, 60] Generated Node #3: [1, 60] from Operation: 19+41=60 Current State: 61:[1, 60], Operations: ['98/98=1', '19+41=60'] Exploring Operation: 1+60=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[98, 19, 41, 98], Operations: [] Exploring Operation: 98-41=57, Resulting Numbers: [19, 98, 57] Generated Node #0,0: 61:[19, 98, 57] Operation: 98-41=57 Exploring Operation: 98-19=79, Resulting Numbers: [98, 41, 79] Generated Node #0,1: 61:[98, 41, 79] Operation: 98-19=79 Exploring Operation: 19+41=60, Resulting Numbers: [98, 98, 60] Generated Node #0,2: 61:[98, 98, 60] Operation: 19+41=60 Exploring Operation: 98-19=79, Resulting Numbers: [41, 98, 79] Generated Node #0,3: 61:[41, 98, 79] Operation: 98-19=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[98, 41, 79], Operations: ['98-19=79'] Exploring Operation: 98-41=57, Resulting Numbers: [79, 57] Generated Node #0,1,0: 61:[79, 57] Operation: 98-41=57 Exploring Operation: 98+41=139, Resulting Numbers: [79, 139] Generated Node #0,1,1: 61:[79, 139] Operation: 98+41=139 Exploring Operation: 98-79=19, Resulting Numbers: [41, 19] Generated Node #0,1,2: 61:[41, 19] Operation: 98-79=19 Exploring Operation: 79-41=38, Resulting Numbers: [98, 38] Generated Node #0,1,3: 61:[98, 38] Operation: 79-41=38 Moving to Node #0,1,0 Current State: 61:[79, 57], Operations: ['98-19=79', '98-41=57'] Exploring Operation: 79+57=136, Resulting Numbers: [136] 136,61 unequal: No Solution Exploring Operation: 79*57=4503, Resulting Numbers: [4503] 4503,61 unequal: No Solution Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[98, 38], Operations: ['98-19=79', '79-41=38'] Exploring Operation: 98*38=3724, Resulting Numbers: [3724] 3724,61 unequal: No Solution Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[41, 19], Operations: ['98-19=79', '98-79=19'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[79, 139], Operations: ['98-19=79', '98+41=139'] Exploring Operation: 139-79=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 79*139=10981, Resulting Numbers: [10981] 10981,61 unequal: No Solution Exploring Operation: 79+139=218, Resulting Numbers: [218] 218,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[98, 98, 60], Operations: ['19+41=60'] Exploring Operation: 98/98=1, Resulting Numbers: [60, 1] Generated Node #0,2,0: 61:[60, 1] Operation: 98/98=1 Exploring Operation: 98-60=38, Resulting Numbers: [98, 38] Generated Node #0,2,1: 61:[98, 38] Operation: 98-60=38 Exploring Operation: 98-98=0, Resulting Numbers: [60, 0] Generated Node #0,2,2: 61:[60, 0] Operation: 98-98=0 Exploring Operation: 98-60=38, Resulting Numbers: [98, 38] Generated Node #0,2,3: 61:[98, 38] Operation: 98-60=38 Moving to Node #0,2,1 Current State: 61:[98, 38], Operations: ['19+41=60', '98-60=38'] Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 98*38=3724, Resulting Numbers: [3724] 3724,61 unequal: No Solution Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[98, 38], Operations: ['19+41=60', '98-60=38'] Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,61 unequal: No Solution Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 98*38=3724, Resulting Numbers: [3724] 3724,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[60, 1], Operations: ['19+41=60', '98/98=1'] Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[98, 19, 41, 98], Operations: [] Exploring Operation: 19+41=60, Resulting Numbers: [98, 98, 60] Generated Node #0,2: 61:[98, 98, 60] Operation: 19+41=60 Moving to Node #0,2 Current State: 61:[98, 98, 60], Operations: ['19+41=60'] Exploring Operation: 98/98=1, Resulting Numbers: [60, 1] Generated Node #0,2,0: 61:[60, 1] Operation: 98/98=1 Moving to Node #0,2,0 Current State: 61:[60, 1], Operations: ['19+41=60', '98/98=1'] Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 59, 76, 61, 36 ]
74
[ "61-59=2", "76/2=38", "36+38=74" ]
Current State: 74:[59, 76, 61, 36], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [76, 36, 2] Generated Node #2: [76, 36, 2] from Operation: 61-59=2 Current State: 74:[76, 36, 2], Operations: ['61-59=2'] Exploring Operation: 76/2=38, Resulting Numbers: [36, 38] Generated Node #3: [36, 38] from Operation: 76/2=38 Current State: 74:[36, 38], Operations: ['61-59=2', '76/2=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[59, 76, 61, 36], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [76, 36, 2] Generated Node #0,0: 74:[76, 36, 2] Operation: 61-59=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[76, 36, 2], Operations: ['61-59=2'] Exploring Operation: 76-2=74, Resulting Numbers: [36, 74] Generated Node #0,0,0: 74:[36, 74] Operation: 76-2=74 Moving to Node #0,0,0 Current State: 74:[36, 74], Operations: ['61-59=2', '76-2=74'] Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,74 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
[ 2, 54, 96, 45 ]
89
[ "54-2=52", "96+45=141", "141-52=89" ]
Current State: 89:[2, 54, 96, 45], Operations: [] Exploring Operation: 54-2=52, Resulting Numbers: [96, 45, 52] Generated Node #2: [96, 45, 52] from Operation: 54-2=52 Current State: 89:[96, 45, 52], Operations: ['54-2=52'] Exploring Operation: 96+45=141, Resulting Numbers: [52, 141] Generated Node #3: [52, 141] from Operation: 96+45=141 Current State: 89:[52, 141], Operations: ['54-2=52', '96+45=141'] Exploring Operation: 141-52=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[2, 54, 96, 45], Operations: [] Exploring Operation: 2*45=90, Resulting Numbers: [54, 96, 90] Generated Node #0,0: 89:[54, 96, 90] Operation: 2*45=90 Exploring Operation: 2*54=108, Resulting Numbers: [96, 45, 108] Generated Node #0,1: 89:[96, 45, 108] Operation: 2*54=108 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[54, 96, 90], Operations: ['2*45=90'] Exploring Operation: 96-54=42, Resulting Numbers: [90, 42] Generated Node #0,0,0: 89:[90, 42] Operation: 96-54=42 Exploring Operation: 90-54=36, Resulting Numbers: [96, 36] Generated Node #0,0,1: 89:[96, 36] Operation: 90-54=36 Moving to Node #0,0,0 Current State: 89:[90, 42], Operations: ['2*45=90', '96-54=42'] Exploring Operation: 90+42=132, Resulting Numbers: [132] 132,89 unequal: No Solution Exploring Operation: 90-42=48, Resulting Numbers: [48] 48,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[96, 36], Operations: ['2*45=90', '90-54=36'] Exploring Operation: 96-36=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 96+36=132, Resulting Numbers: [132] 132,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 Current State: 89:[96, 45, 108], Operations: ['2*54=108'] Exploring Operation: 108-45=63, Resulting Numbers: [96, 63] Generated Node #0,1,0: 89:[96, 63] Operation: 108-45=63 Exploring Operation: 96-45=51, Resulting Numbers: [108, 51] Generated Node #0,1,1: 89:[108, 51] Operation: 96-45=51 Moving to Node #0,1,0 Current State: 89:[96, 63], Operations: ['2*54=108', '108-45=63'] Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 96+63=159, Resulting Numbers: [159] 159,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[108, 51], Operations: ['2*54=108', '96-45=51'] Exploring Operation: 108+51=159, Resulting Numbers: [159] 159,89 unequal: No Solution Exploring Operation: 108-51=57, Resulting Numbers: [57] 57,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
mult_heuristic
[ 88, 78, 37, 44 ]
82
[ "88/44=2", "78-37=41", "2*41=82" ]
Current State: 82:[88, 78, 37, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [78, 37, 2] Generated Node #2: [78, 37, 2] from Operation: 88/44=2 Current State: 82:[78, 37, 2], Operations: ['88/44=2'] Exploring Operation: 78-37=41, Resulting Numbers: [2, 41] Generated Node #3: [2, 41] from Operation: 78-37=41 Current State: 82:[2, 41], Operations: ['88/44=2', '78-37=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[88, 78, 37, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [78, 37, 2] Generated Node #0,0: 82:[78, 37, 2] Operation: 88/44=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[78, 37, 2], Operations: ['88/44=2'] Exploring Operation: 78-37=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 82:[2, 41] Operation: 78-37=41 Moving to Node #0,0,0 Current State: 82:[2, 41], Operations: ['88/44=2', '78-37=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[88, 78, 37, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [78, 37, 2] Generated Node #0,0: 82:[78, 37, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 82:[78, 37, 2], Operations: ['88/44=2'] Exploring Operation: 78-37=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 82:[2, 41] Operation: 78-37=41 Moving to Node #0,0,0 Current State: 82:[2, 41], Operations: ['88/44=2', '78-37=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 31, 64, 43, 32 ]
43
[ "64-31=33", "33-32=1", "43*1=43" ]
Current State: 43:[31, 64, 43, 32], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [43, 32, 33] Generated Node #2: [43, 32, 33] from Operation: 64-31=33 Current State: 43:[43, 32, 33], Operations: ['64-31=33'] Exploring Operation: 33-32=1, Resulting Numbers: [43, 1] Generated Node #3: [43, 1] from Operation: 33-32=1 Current State: 43:[43, 1], Operations: ['64-31=33', '33-32=1'] Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[31, 64, 43, 32], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [43, 32, 33] Generated Node #0,0: 43:[43, 32, 33] Operation: 64-31=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[43, 32, 33], Operations: ['64-31=33'] Exploring Operation: 32+33=65, Resulting Numbers: [43, 65] Generated Node #0,0,0: 43:[43, 65] Operation: 32+33=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[43, 65], Operations: ['64-31=33', '32+33=65'] Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 46, 10, 60, 52 ]
34
[ "60-52=8", "10*8=80", "80-46=34" ]
Current State: 34:[46, 10, 60, 52], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [46, 10, 8] Generated Node #2: [46, 10, 8] from Operation: 60-52=8 Current State: 34:[46, 10, 8], Operations: ['60-52=8'] Exploring Operation: 10*8=80, Resulting Numbers: [46, 80] Generated Node #3: [46, 80] from Operation: 10*8=80 Current State: 34:[46, 80], Operations: ['60-52=8', '10*8=80'] Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[46, 10, 60, 52], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [46, 10, 8] Generated Node #0,0: 34:[46, 10, 8] Operation: 60-52=8 Exploring Operation: 60/10=6, Resulting Numbers: [46, 52, 6] Generated Node #0,1: 34:[46, 52, 6] Operation: 60/10=6 Exploring Operation: 60-46=14, Resulting Numbers: [10, 52, 14] Generated Node #0,2: 34:[10, 52, 14] Operation: 60-46=14 Moving to Node #0,0 Current State: 34:[46, 10, 8], Operations: ['60-52=8'] Exploring Operation: 10-8=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 34:[46, 2] Operation: 10-8=2 Exploring Operation: 46-8=38, Resulting Numbers: [10, 38] Generated Node #0,0,1: 34:[10, 38] Operation: 46-8=38 Exploring Operation: 46-10=36, Resulting Numbers: [8, 36] Generated Node #0,0,2: 34:[8, 36] Operation: 46-10=36 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[8, 36], Operations: ['60-52=8', '46-10=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,34 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[10, 38], Operations: ['60-52=8', '46-8=38'] Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,34 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[46, 2], Operations: ['60-52=8', '10-8=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 34:[10, 52, 14], Operations: ['60-46=14'] Exploring Operation: 52-14=38, Resulting Numbers: [10, 38] Generated Node #0,2,0: 34:[10, 38] Operation: 52-14=38 Exploring Operation: 14-10=4, Resulting Numbers: [52, 4] Generated Node #0,2,1: 34:[52, 4] Operation: 14-10=4 Exploring Operation: 52-10=42, Resulting Numbers: [14, 42] Generated Node #0,2,2: 34:[14, 42] Operation: 52-10=42 Moving to Node #0,1 Current State: 34:[46, 52, 6], Operations: ['60/10=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46, 46] Generated Node #0,1,0: 34:[46, 46] Operation: 52-6=46 Exploring Operation: 52-46=6, Resulting Numbers: [6, 6] Generated Node #0,1,1: 34:[6, 6] Operation: 52-46=6 Exploring Operation: 46-6=40, Resulting Numbers: [52, 40] Generated Node #0,1,2: 34:[52, 40] Operation: 46-6=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[6, 6], Operations: ['60/10=6', '52-46=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[46, 46], Operations: ['60/10=6', '52-6=46'] Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[52, 40], Operations: ['60/10=6', '46-6=40'] Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,34 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: 34:[10, 38], Operations: ['60-46=14', '52-14=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,34 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[14, 42], Operations: ['60-46=14', '52-10=42'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[52, 4], Operations: ['60-46=14', '14-10=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,34 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 13, 14, 39, 43 ]
69
[ "43-39=4", "14*4=56", "13+56=69" ]
Current State: 69:[13, 14, 39, 43], Operations: [] Exploring Operation: 43-39=4, Resulting Numbers: [13, 14, 4] Generated Node #2: [13, 14, 4] from Operation: 43-39=4 Current State: 69:[13, 14, 4], Operations: ['43-39=4'] Exploring Operation: 14*4=56, Resulting Numbers: [13, 56] Generated Node #3: [13, 56] from Operation: 14*4=56 Current State: 69:[13, 56], Operations: ['43-39=4', '14*4=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[13, 14, 39, 43], Operations: [] Exploring Operation: 39-14=25, Resulting Numbers: [13, 43, 25] Generated Node #0,0: 69:[13, 43, 25] Operation: 39-14=25 Exploring Operation: 43-39=4, Resulting Numbers: [13, 14, 4] Generated Node #0,1: 69:[13, 14, 4] Operation: 43-39=4 Exploring Operation: 39/13=3, Resulting Numbers: [14, 43, 3] Generated Node #0,2: 69:[14, 43, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [14, 43, 26] Generated Node #0,3: 69:[14, 43, 26] Operation: 39-13=26 Exploring Operation: 43-13=30, Resulting Numbers: [14, 39, 30] Generated Node #0,4: 69:[14, 39, 30] Operation: 43-13=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[13, 14, 4], Operations: ['43-39=4'] Exploring Operation: 13+4=17, Resulting Numbers: [14, 17] Generated Node #0,1,0: 69:[14, 17] Operation: 13+4=17 Exploring Operation: 14-13=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 69:[4, 1] Operation: 14-13=1 Exploring Operation: 13-4=9, Resulting Numbers: [14, 9] Generated Node #0,1,2: 69:[14, 9] Operation: 13-4=9 Exploring Operation: 13+14=27, Resulting Numbers: [4, 27] Generated Node #0,1,3: 69:[4, 27] Operation: 13+14=27 Exploring Operation: 14+4=18, Resulting Numbers: [13, 18] Generated Node #0,1,4: 69:[13, 18] Operation: 14+4=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[4, 1], Operations: ['43-39=4', '14-13=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[4, 27], Operations: ['43-39=4', '13+14=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[14, 17], Operations: ['43-39=4', '13+4=17'] Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,69 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,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:[14, 9], Operations: ['43-39=4', '13-4=9'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,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,4 Current State: 69:[13, 18], Operations: ['43-39=4', '14+4=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[14, 43, 3], Operations: ['39/13=3'] Exploring Operation: 43-3=40, Resulting Numbers: [14, 40] Generated Node #0,2,0: 69:[14, 40] Operation: 43-3=40 Exploring Operation: 14+3=17, Resulting Numbers: [43, 17] Generated Node #0,2,1: 69:[43, 17] Operation: 14+3=17 Exploring Operation: 14-3=11, Resulting Numbers: [43, 11] Generated Node #0,2,2: 69:[43, 11] Operation: 14-3=11 Exploring Operation: 43-14=29, Resulting Numbers: [3, 29] Generated Node #0,2,3: 69:[3, 29] Operation: 43-14=29 Exploring Operation: 14+43=57, Resulting Numbers: [3, 57] Generated Node #0,2,4: 69:[3, 57] Operation: 14+43=57 Moving to Node #0,2,3 Current State: 69:[3, 29], Operations: ['39/13=3', '43-14=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[3, 57], Operations: ['39/13=3', '14+43=57'] Exploring Operation: 3*57=171, Resulting Numbers: [171] 171,69 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,69 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[14, 40], Operations: ['39/13=3', '43-3=40'] Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,69 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[43, 17], Operations: ['39/13=3', '14+3=17'] Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,69 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[43, 11], Operations: ['39/13=3', '14-3=11'] Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,69 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,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,0 Current State: 69:[13, 43, 25], Operations: ['39-14=25'] Exploring Operation: 13+43=56, Resulting Numbers: [25, 56] Generated Node #0,0,0: 69:[25, 56] Operation: 13+43=56 Exploring Operation: 43+25=68, Resulting Numbers: [13, 68] Generated Node #0,0,1: 69:[13, 68] Operation: 43+25=68 Exploring Operation: 43-13=30, Resulting Numbers: [25, 30] Generated Node #0,0,2: 69:[25, 30] Operation: 43-13=30 Exploring Operation: 25-13=12, Resulting Numbers: [43, 12] Generated Node #0,0,3: 69:[43, 12] Operation: 25-13=12 Exploring Operation: 43-25=18, Resulting Numbers: [13, 18] Generated Node #0,0,4: 69:[13, 18] Operation: 43-25=18 Moving to Node #0,0,2 Current State: 69:[25, 30], Operations: ['39-14=25', '43-13=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,69 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[13, 68], Operations: ['39-14=25', '43+25=68'] Exploring Operation: 13+68=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 13*68=884, Resulting Numbers: [884] 884,69 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[25, 56], Operations: ['39-14=25', '13+43=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 25*56=1400, Resulting Numbers: [1400] 1400,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[13, 18], Operations: ['39-14=25', '43-25=18'] Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,69 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[43, 12], Operations: ['39-14=25', '25-13=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[14, 43, 26], Operations: ['39-13=26'] Exploring Operation: 14+43=57, Resulting Numbers: [26, 57] Generated Node #0,3,0: 69:[26, 57] Operation: 14+43=57 Exploring Operation: 43-26=17, Resulting Numbers: [14, 17] Generated Node #0,3,1: 69:[14, 17] Operation: 43-26=17 Exploring Operation: 43-14=29, Resulting Numbers: [26, 29] Generated Node #0,3,2: 69:[26, 29] Operation: 43-14=29 Exploring Operation: 26-14=12, Resulting Numbers: [43, 12] Generated Node #0,3,3: 69:[43, 12] Operation: 26-14=12 Exploring Operation: 43+26=69, Resulting Numbers: [14, 69] Generated Node #0,3,4: 69:[14, 69] Operation: 43+26=69 Moving to Node #0,3,2 Current State: 69:[26, 29], Operations: ['39-13=26', '43-14=29'] Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[14, 69], Operations: ['39-13=26', '43+26=69'] Exploring Operation: 14*69=966, Resulting Numbers: [966] 966,69 unequal: No Solution Exploring Operation: 14+69=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[26, 57], Operations: ['39-13=26', '14+43=57'] Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 26*57=1482, Resulting Numbers: [1482] 1482,69 unequal: No Solution Exploring Operation: 26+57=83, Resulting Numbers: [83] 83,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[14, 17], Operations: ['39-13=26', '43-26=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[43, 12], Operations: ['39-13=26', '26-14=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,69 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[14, 39, 30], Operations: ['43-13=30'] Exploring Operation: 39+30=69, Resulting Numbers: [14, 69] Generated Node #0,4,0: 69:[14, 69] Operation: 39+30=69 Exploring Operation: 39-30=9, Resulting Numbers: [14, 9] Generated Node #0,4,1: 69:[14, 9] Operation: 39-30=9 Exploring Operation: 30-14=16, Resulting Numbers: [39, 16] Generated Node #0,4,2: 69:[39, 16] Operation: 30-14=16 Exploring Operation: 39-14=25, Resulting Numbers: [30, 25] Generated Node #0,4,3: 69:[30, 25] Operation: 39-14=25 Exploring Operation: 14+39=53, Resulting Numbers: [30, 53] Generated Node #0,4,4: 69:[30, 53] Operation: 14+39=53 Moving to Node #0,4,0 Current State: 69:[14, 69], Operations: ['43-13=30', '39+30=69'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 14+69=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 14*69=966, Resulting Numbers: [966] 966,69 unequal: No Solution Moving to Node #0,4,3 Current State: 69:[30, 25], Operations: ['43-13=30', '39-14=25'] Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,69 unequal: No Solution Moving to Node #0,4,1 Current State: 69:[14, 9], Operations: ['43-13=30', '39-30=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[39, 16], Operations: ['43-13=30', '30-14=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[30, 53], Operations: ['43-13=30', '14+39=53'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 60, 55, 22, 7 ]
39
[ "60+55=115", "22*7=154", "154-115=39" ]
Current State: 39:[60, 55, 22, 7], Operations: [] Exploring Operation: 60+55=115, Resulting Numbers: [22, 7, 115] Generated Node #2: [22, 7, 115] from Operation: 60+55=115 Current State: 39:[22, 7, 115], Operations: ['60+55=115'] Exploring Operation: 22*7=154, Resulting Numbers: [115, 154] Generated Node #3: [115, 154] from Operation: 22*7=154 Current State: 39:[115, 154], Operations: ['60+55=115', '22*7=154'] Exploring Operation: 154-115=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[60, 55, 22, 7], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [22, 7, 5] Generated Node #0,0: 39:[22, 7, 5] Operation: 60-55=5 Moving to Node #0,0 Current State: 39:[22, 7, 5], Operations: ['60-55=5'] Exploring Operation: 22-7=15, Resulting Numbers: [5, 15] Generated Node #0,0,0: 39:[5, 15] Operation: 22-7=15 Moving to Node #0,0,0 Current State: 39:[5, 15], Operations: ['60-55=5', '22-7=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 21, 4, 91, 95 ]
67
[ "21+91=112", "112/4=28", "95-28=67" ]
Current State: 67:[21, 4, 91, 95], Operations: [] Exploring Operation: 21+91=112, Resulting Numbers: [4, 95, 112] Generated Node #2: [4, 95, 112] from Operation: 21+91=112 Current State: 67:[4, 95, 112], Operations: ['21+91=112'] Exploring Operation: 112/4=28, Resulting Numbers: [95, 28] Generated Node #3: [95, 28] from Operation: 112/4=28 Current State: 67:[95, 28], Operations: ['21+91=112', '112/4=28'] Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[21, 4, 91, 95], Operations: [] Exploring Operation: 21*4=84, Resulting Numbers: [91, 95, 84] Generated Node #0,0: 67:[91, 95, 84] Operation: 21*4=84 Moving to Node #0,0 Current State: 67:[91, 95, 84], Operations: ['21*4=84'] Exploring Operation: 95-91=4, Resulting Numbers: [84, 4] Generated Node #0,0,0: 67:[84, 4] Operation: 95-91=4 Moving to Node #0,0,0 Current State: 67:[84, 4], Operations: ['21*4=84', '95-91=4'] Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 44, 95, 88 ]
86
[ "95-7=88", "88/44=2", "88-2=86" ]
Current State: 86:[7, 44, 95, 88], Operations: [] Exploring Operation: 95-7=88, Resulting Numbers: [44, 88, 88] Generated Node #2: [44, 88, 88] from Operation: 95-7=88 Current State: 86:[44, 88, 88], Operations: ['95-7=88'] Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,86 equal: Goal Reached Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[7, 44, 95, 88], Operations: [] Exploring Operation: 88-7=81, Resulting Numbers: [44, 95, 81] Generated Node #0,0: 86:[44, 95, 81] Operation: 88-7=81 Exploring Operation: 95-44=51, Resulting Numbers: [7, 88, 51] Generated Node #0,1: 86:[7, 88, 51] Operation: 95-44=51 Exploring Operation: 95-7=88, Resulting Numbers: [44, 88, 88] Generated Node #0,2: 86:[44, 88, 88] Operation: 95-7=88 Exploring Operation: 88/44=2, Resulting Numbers: [7, 95, 2] Generated Node #0,3: 86:[7, 95, 2] Operation: 88/44=2 Exploring Operation: 95-88=7, Resulting Numbers: [7, 44, 7] Generated Node #0,4: 86:[7, 44, 7] Operation: 95-88=7 Moving to Node #0,2 Current State: 86:[44, 88, 88], Operations: ['95-7=88'] Exploring Operation: 88-44=44, Resulting Numbers: [88, 44] Generated Node #0,2,0: 86:[88, 44] Operation: 88-44=44 Exploring Operation: 88-44=44, Resulting Numbers: [88, 44] Generated Node #0,2,1: 86:[88, 44] Operation: 88-44=44 Exploring Operation: 88/44=2, Resulting Numbers: [88, 2] Generated Node #0,2,2: 86:[88, 2] Operation: 88/44=2 Exploring Operation: 88/88=1, Resulting Numbers: [44, 1] Generated Node #0,2,3: 86:[44, 1] Operation: 88/88=1 Exploring Operation: 88/44=2, Resulting Numbers: [88, 2] Generated Node #0,2,4: 86:[88, 2] Operation: 88/44=2 Moving to Node #0,4 Current State: 86:[7, 44, 7], Operations: ['95-88=7'] Exploring Operation: 7-7=0, Resulting Numbers: [44, 0] Generated Node #0,4,0: 86:[44, 0] Operation: 7-7=0 Exploring Operation: 7*7=49, Resulting Numbers: [44, 49] Generated Node #0,4,1: 86:[44, 49] Operation: 7*7=49 Exploring Operation: 44-7=37, Resulting Numbers: [7, 37] Generated Node #0,4,2: 86:[7, 37] Operation: 44-7=37 Exploring Operation: 7/7=1, Resulting Numbers: [44, 1] Generated Node #0,4,3: 86:[44, 1] Operation: 7/7=1 Exploring Operation: 44-7=37, Resulting Numbers: [7, 37] Generated Node #0,4,4: 86:[7, 37] Operation: 44-7=37 Moving to Node #0,3 Current State: 86:[7, 95, 2], Operations: ['88/44=2'] Exploring Operation: 7+95=102, Resulting Numbers: [2, 102] Generated Node #0,3,0: 86:[2, 102] Operation: 7+95=102 Exploring Operation: 7+2=9, Resulting Numbers: [95, 9] Generated Node #0,3,1: 86:[95, 9] Operation: 7+2=9 Exploring Operation: 95-7=88, Resulting Numbers: [2, 88] Generated Node #0,3,2: 86:[2, 88] Operation: 95-7=88 Exploring Operation: 95-2=93, Resulting Numbers: [7, 93] Generated Node #0,3,3: 86:[7, 93] Operation: 95-2=93 Exploring Operation: 7-2=5, Resulting Numbers: [95, 5] Generated Node #0,3,4: 86:[95, 5] Operation: 7-2=5 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[2, 88], Operations: ['88/44=2', '95-7=88'] Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,86 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,86 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[7, 44, 95, 88], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [7, 95, 2] Generated Node #0,3: 86:[7, 95, 2] Operation: 88/44=2 Moving to Node #0,3 Current State: 86:[7, 95, 2], Operations: ['88/44=2'] Exploring Operation: 95-7=88, Resulting Numbers: [2, 88] Generated Node #0,3,2: 86:[2, 88] Operation: 95-7=88 Moving to Node #0,3,2 Current State: 86:[2, 88], Operations: ['88/44=2', '95-7=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 80, 57, 61, 69 ]
47
[ "69-61=8", "80/8=10", "57-10=47" ]
Current State: 47:[80, 57, 61, 69], Operations: [] Exploring Operation: 69-61=8, Resulting Numbers: [80, 57, 8] Generated Node #2: [80, 57, 8] from Operation: 69-61=8 Current State: 47:[80, 57, 8], Operations: ['69-61=8'] Exploring Operation: 80/8=10, Resulting Numbers: [57, 10] Generated Node #3: [57, 10] from Operation: 80/8=10 Current State: 47:[57, 10], Operations: ['69-61=8', '80/8=10'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[80, 57, 61, 69], Operations: [] Exploring Operation: 80-57=23, Resulting Numbers: [61, 69, 23] Generated Node #0,0: 47:[61, 69, 23] Operation: 80-57=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[61, 69, 23], Operations: ['80-57=23'] Exploring Operation: 69-23=46, Resulting Numbers: [61, 46] Generated Node #0,0,0: 47:[61, 46] Operation: 69-23=46 Moving to Node #0,0,0 Current State: 47:[61, 46], Operations: ['80-57=23', '69-23=46'] Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 81, 16, 17, 19 ]
95
[ "81+16=97", "19-17=2", "97-2=95" ]
Current State: 95:[81, 16, 17, 19], Operations: [] Exploring Operation: 81+16=97, Resulting Numbers: [17, 19, 97] Generated Node #2: [17, 19, 97] from Operation: 81+16=97 Current State: 95:[17, 19, 97], Operations: ['81+16=97'] Exploring Operation: 19-17=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 19-17=2 Current State: 95:[97, 2], Operations: ['81+16=97', '19-17=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[81, 16, 17, 19], Operations: [] Exploring Operation: 81+17=98, Resulting Numbers: [16, 19, 98] Generated Node #0,0: 95:[16, 19, 98] Operation: 81+17=98 Exploring Operation: 81+19=100, Resulting Numbers: [16, 17, 100] Generated Node #0,1: 95:[16, 17, 100] Operation: 81+19=100 Exploring Operation: 81+16=97, Resulting Numbers: [17, 19, 97] Generated Node #0,2: 95:[17, 19, 97] Operation: 81+16=97 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[17, 19, 97], Operations: ['81+16=97'] Exploring Operation: 19-17=2, Resulting Numbers: [97, 2] Generated Node #0,2,0: 95:[97, 2] Operation: 19-17=2 Exploring Operation: 17+19=36, Resulting Numbers: [97, 36] Generated Node #0,2,1: 95:[97, 36] Operation: 17+19=36 Exploring Operation: 97-17=80, Resulting Numbers: [19, 80] Generated Node #0,2,2: 95:[19, 80] Operation: 97-17=80 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[97, 2], Operations: ['81+16=97', '19-17=2'] Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,95 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[81, 16, 17, 19], Operations: [] Exploring Operation: 81+16=97, Resulting Numbers: [17, 19, 97] Generated Node #0,2: 95:[17, 19, 97] Operation: 81+16=97 Moving to Node #0,2 Current State: 95:[17, 19, 97], Operations: ['81+16=97'] Exploring Operation: 19-17=2, Resulting Numbers: [97, 2] Generated Node #0,2,0: 95:[97, 2] Operation: 19-17=2 Moving to Node #0,2,0 Current State: 95:[97, 2], Operations: ['81+16=97', '19-17=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 96, 69, 39, 75 ]
49
[ "96*39=3744", "3744-69=3675", "3675/75=49" ]
Current State: 49:[96, 69, 39, 75], Operations: [] Exploring Operation: 96*39=3744, Resulting Numbers: [69, 75, 3744] Generated Node #2: [69, 75, 3744] from Operation: 96*39=3744 Current State: 49:[69, 75, 3744], Operations: ['96*39=3744'] Exploring Operation: 3744-69=3675, Resulting Numbers: [75, 3675] Generated Node #3: [75, 3675] from Operation: 3744-69=3675 Current State: 49:[75, 3675], Operations: ['96*39=3744', '3744-69=3675'] Exploring Operation: 3675/75=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[96, 69, 39, 75], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [39, 75, 27] Generated Node #0,0: 49:[39, 75, 27] Operation: 96-69=27 Exploring Operation: 96-75=21, Resulting Numbers: [69, 39, 21] Generated Node #0,1: 49:[69, 39, 21] Operation: 96-75=21 Exploring Operation: 96-39=57, Resulting Numbers: [69, 75, 57] Generated Node #0,2: 49:[69, 75, 57] Operation: 96-39=57 Moving to Node #0,1 Current State: 49:[69, 39, 21], Operations: ['96-75=21'] Exploring Operation: 39-21=18, Resulting Numbers: [69, 18] Generated Node #0,1,0: 49:[69, 18] Operation: 39-21=18 Exploring Operation: 69-21=48, Resulting Numbers: [39, 48] Generated Node #0,1,1: 49:[39, 48] Operation: 69-21=48 Exploring Operation: 39+21=60, Resulting Numbers: [69, 60] Generated Node #0,1,2: 49:[69, 60] Operation: 39+21=60 Moving to Node #0,2 Current State: 49:[69, 75, 57], Operations: ['96-39=57'] Exploring Operation: 75-69=6, Resulting Numbers: [57, 6] Generated Node #0,2,0: 49:[57, 6] Operation: 75-69=6 Exploring Operation: 69-57=12, Resulting Numbers: [75, 12] Generated Node #0,2,1: 49:[75, 12] Operation: 69-57=12 Exploring Operation: 75-57=18, Resulting Numbers: [69, 18] Generated Node #0,2,2: 49:[69, 18] Operation: 75-57=18 Moving to Node #0,0 Current State: 49:[39, 75, 27], Operations: ['96-69=27'] Exploring Operation: 75-39=36, Resulting Numbers: [27, 36] Generated Node #0,0,0: 49:[27, 36] Operation: 75-39=36 Exploring Operation: 39-27=12, Resulting Numbers: [75, 12] Generated Node #0,0,1: 49:[75, 12] Operation: 39-27=12 Exploring Operation: 75-27=48, Resulting Numbers: [39, 48] Generated Node #0,0,2: 49:[39, 48] Operation: 75-27=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[39, 48], Operations: ['96-69=27', '75-27=48'] Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,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,1 Current State: 49:[75, 12], Operations: ['96-69=27', '39-27=12'] Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 75*12=900, Resulting Numbers: [900] 900,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,0 Current State: 49:[27, 36], Operations: ['96-69=27', '75-39=36'] Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 27*36=972, Resulting Numbers: [972] 972,49 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: 49:[57, 6], Operations: ['96-39=57', '75-69=6'] Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,49 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[39, 48], Operations: ['96-75=21', '69-21=48'] Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,49 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[69, 60], Operations: ['96-75=21', '39+21=60'] Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,49 unequal: No Solution Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,49 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[69, 18], Operations: ['96-39=57', '75-57=18'] Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[75, 12], Operations: ['96-39=57', '69-57=12'] Exploring Operation: 75*12=900, Resulting Numbers: [900] 900,49 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[69, 18], Operations: ['96-75=21', '39-21=18'] Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,49 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 5, 81, 42, 35 ]
83
[ "81-5=76", "42-35=7", "76+7=83" ]
Current State: 83:[5, 81, 42, 35], Operations: [] Exploring Operation: 81-5=76, Resulting Numbers: [42, 35, 76] Generated Node #2: [42, 35, 76] from Operation: 81-5=76 Current State: 83:[42, 35, 76], Operations: ['81-5=76'] Exploring Operation: 42-35=7, Resulting Numbers: [76, 7] Generated Node #3: [76, 7] from Operation: 42-35=7 Current State: 83:[76, 7], Operations: ['81-5=76', '42-35=7'] Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[5, 81, 42, 35], Operations: [] Exploring Operation: 5+35=40, Resulting Numbers: [81, 42, 40] Generated Node #0,0: 83:[81, 42, 40] Operation: 5+35=40 Exploring Operation: 42+35=77, Resulting Numbers: [5, 81, 77] Generated Node #0,1: 83:[5, 81, 77] Operation: 42+35=77 Exploring Operation: 5+42=47, Resulting Numbers: [81, 35, 47] Generated Node #0,2: 83:[81, 35, 47] Operation: 5+42=47 Exploring Operation: 5+81=86, Resulting Numbers: [42, 35, 86] Generated Node #0,3: 83:[42, 35, 86] Operation: 5+81=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[81, 42, 40], Operations: ['5+35=40'] Exploring Operation: 42+40=82, Resulting Numbers: [81, 82] Generated Node #0,0,0: 83:[81, 82] Operation: 42+40=82 Exploring Operation: 81-40=41, Resulting Numbers: [42, 41] Generated Node #0,0,1: 83:[42, 41] Operation: 81-40=41 Exploring Operation: 81+40=121, Resulting Numbers: [42, 121] Generated Node #0,0,2: 83:[42, 121] Operation: 81+40=121 Exploring Operation: 81+42=123, Resulting Numbers: [40, 123] Generated Node #0,0,3: 83:[40, 123] Operation: 81+42=123 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[81, 82], Operations: ['5+35=40', '42+40=82'] Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 81+82=163, Resulting Numbers: [163] 163,83 unequal: No Solution Exploring Operation: 81*82=6642, Resulting Numbers: [6642] 6642,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[42, 121], Operations: ['5+35=40', '81+40=121'] Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 42+121=163, Resulting Numbers: [163] 163,83 unequal: No Solution Exploring Operation: 42*121=5082, Resulting Numbers: [5082] 5082,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[42, 41], Operations: ['5+35=40', '81-40=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,83 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[5, 81, 42, 35], Operations: [] Exploring Operation: 5+35=40, Resulting Numbers: [81, 42, 40] Generated Node #0,0: 83:[81, 42, 40] Operation: 5+35=40 Moving to Node #0,0 Current State: 83:[81, 42, 40], Operations: ['5+35=40'] Exploring Operation: 81-40=41, Resulting Numbers: [42, 41] Generated Node #0,0,1: 83:[42, 41] Operation: 81-40=41 Moving to Node #0,0,1 Current State: 83:[42, 41], Operations: ['5+35=40', '81-40=41'] Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 88, 94, 31, 63 ]
87
[ "94-31=63", "63/63=1", "88-1=87" ]
Current State: 87:[88, 94, 31, 63], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [88, 63, 63] Generated Node #2: [88, 63, 63] from Operation: 94-31=63 Current State: 87:[88, 63, 63], Operations: ['94-31=63'] Exploring Operation: 63/63=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 63/63=1 Current State: 87:[88, 1], Operations: ['94-31=63', '63/63=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[88, 94, 31, 63], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [88, 31, 31] Generated Node #0,0: 87:[88, 31, 31] Operation: 94-63=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[88, 31, 31], Operations: ['94-63=31'] Exploring Operation: 31/31=1, Resulting Numbers: [88, 1] Generated Node #0,0,0: 87:[88, 1] Operation: 31/31=1 Moving to Node #0,0,0 Current State: 87:[88, 1], Operations: ['94-63=31', '31/31=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[88, 94, 31, 63], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [88, 31, 31] Generated Node #0,0: 87:[88, 31, 31] Operation: 94-63=31 Moving to Node #0,0 Current State: 87:[88, 31, 31], Operations: ['94-63=31'] Exploring Operation: 31/31=1, Resulting Numbers: [88, 1] Generated Node #0,0,0: 87:[88, 1] Operation: 31/31=1 Moving to Node #0,0,0 Current State: 87:[88, 1], Operations: ['94-63=31', '31/31=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 12, 73, 74, 67 ]
76
[ "73-67=6", "12/6=2", "74+2=76" ]
Current State: 76:[12, 73, 74, 67], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [12, 74, 6] Generated Node #2: [12, 74, 6] from Operation: 73-67=6 Current State: 76:[12, 74, 6], Operations: ['73-67=6'] Exploring Operation: 12/6=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 12/6=2 Current State: 76:[74, 2], Operations: ['73-67=6', '12/6=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[12, 73, 74, 67], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [12, 74, 6] Generated Node #0,0: 76:[12, 74, 6] Operation: 73-67=6 Exploring Operation: 74-67=7, Resulting Numbers: [12, 73, 7] Generated Node #0,1: 76:[12, 73, 7] Operation: 74-67=7 Exploring Operation: 12+67=79, Resulting Numbers: [73, 74, 79] Generated Node #0,2: 76:[73, 74, 79] Operation: 12+67=79 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[73, 74, 79], Operations: ['12+67=79'] Exploring Operation: 79-74=5, Resulting Numbers: [73, 5] Generated Node #0,2,0: 76:[73, 5] Operation: 79-74=5 Exploring Operation: 74-73=1, Resulting Numbers: [79, 1] Generated Node #0,2,1: 76:[79, 1] Operation: 74-73=1 Exploring Operation: 79-73=6, Resulting Numbers: [74, 6] Generated Node #0,2,2: 76:[74, 6] Operation: 79-73=6 Moving to Node #0,2,0 Current State: 76:[73, 5], Operations: ['12+67=79', '79-74=5'] Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,76 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[79, 1], Operations: ['12+67=79', '74-73=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[74, 6], Operations: ['12+67=79', '79-73=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,76 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,76 unequal: No Solution No 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: 76:[12, 74, 6], Operations: ['73-67=6'] Exploring Operation: 12/6=2, Resulting Numbers: [74, 2] Generated Node #0,0,0: 76:[74, 2] Operation: 12/6=2 Exploring Operation: 12+6=18, Resulting Numbers: [74, 18] Generated Node #0,0,1: 76:[74, 18] Operation: 12+6=18 Exploring Operation: 12-6=6, Resulting Numbers: [74, 6] Generated Node #0,0,2: 76:[74, 6] Operation: 12-6=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[74, 2], Operations: ['73-67=6', '12/6=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[12, 73, 74, 67], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [12, 74, 6] Generated Node #0,0: 76:[12, 74, 6] Operation: 73-67=6 Moving to Node #0,0 Current State: 76:[12, 74, 6], Operations: ['73-67=6'] Exploring Operation: 12/6=2, Resulting Numbers: [74, 2] Generated Node #0,0,0: 76:[74, 2] Operation: 12/6=2 Moving to Node #0,0,0 Current State: 76:[74, 2], Operations: ['73-67=6', '12/6=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 61, 90, 80, 55 ]
95
[ "61-55=6", "90/6=15", "80+15=95" ]
Current State: 95:[61, 90, 80, 55], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [90, 80, 6] Generated Node #2: [90, 80, 6] from Operation: 61-55=6 Current State: 95:[90, 80, 6], Operations: ['61-55=6'] Exploring Operation: 90/6=15, Resulting Numbers: [80, 15] Generated Node #3: [80, 15] from Operation: 90/6=15 Current State: 95:[80, 15], Operations: ['61-55=6', '90/6=15'] Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[61, 90, 80, 55], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [90, 80, 6] Generated Node #0,0: 95:[90, 80, 6] Operation: 61-55=6 Moving to Node #0,0 Current State: 95:[90, 80, 6], Operations: ['61-55=6'] Exploring Operation: 90-80=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 95:[6, 10] Operation: 90-80=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[6, 10], Operations: ['61-55=6', '90-80=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,95 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
[ 21, 94, 11, 23 ]
98
[ "21+23=44", "44/11=4", "94+4=98" ]
Current State: 98:[21, 94, 11, 23], Operations: [] Exploring Operation: 21+23=44, Resulting Numbers: [94, 11, 44] Generated Node #2: [94, 11, 44] from Operation: 21+23=44 Current State: 98:[94, 11, 44], Operations: ['21+23=44'] Exploring Operation: 44/11=4, Resulting Numbers: [94, 4] Generated Node #3: [94, 4] from Operation: 44/11=4 Current State: 98:[94, 4], Operations: ['21+23=44', '44/11=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[21, 94, 11, 23], Operations: [] Exploring Operation: 23-11=12, Resulting Numbers: [21, 94, 12] Generated Node #0,0: 98:[21, 94, 12] Operation: 23-11=12 Exploring Operation: 21-11=10, Resulting Numbers: [94, 23, 10] Generated Node #0,1: 98:[94, 23, 10] Operation: 21-11=10 Exploring Operation: 23-21=2, Resulting Numbers: [94, 11, 2] Generated Node #0,2: 98:[94, 11, 2] Operation: 23-21=2 Exploring Operation: 21+23=44, Resulting Numbers: [94, 11, 44] Generated Node #0,3: 98:[94, 11, 44] Operation: 21+23=44 Exploring Operation: 94+11=105, Resulting Numbers: [21, 23, 105] Generated Node #0,4: 98:[21, 23, 105] Operation: 94+11=105 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[94, 11, 2], Operations: ['23-21=2'] Exploring Operation: 94+11=105, Resulting Numbers: [2, 105] Generated Node #0,2,0: 98:[2, 105] Operation: 94+11=105 Exploring Operation: 94+2=96, Resulting Numbers: [11, 96] Generated Node #0,2,1: 98:[11, 96] Operation: 94+2=96 Exploring Operation: 11+2=13, Resulting Numbers: [94, 13] Generated Node #0,2,2: 98:[94, 13] Operation: 11+2=13 Exploring Operation: 11-2=9, Resulting Numbers: [94, 9] Generated Node #0,2,3: 98:[94, 9] Operation: 11-2=9 Exploring Operation: 94/2=47, Resulting Numbers: [11, 47] Generated Node #0,2,4: 98:[11, 47] Operation: 94/2=47 Moving to Node #0,2,1 Current State: 98:[11, 96], Operations: ['23-21=2', '94+2=96'] Exploring Operation: 11*96=1056, Resulting Numbers: [1056] 1056,98 unequal: No Solution Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,98 unequal: No Solution Moving to Node #0,2,4 Current State: 98:[11, 47], Operations: ['23-21=2', '94/2=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,98 unequal: No Solution Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[94, 13], Operations: ['23-21=2', '11+2=13'] Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,98 unequal: No Solution Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[94, 9], Operations: ['23-21=2', '11-2=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,98 unequal: No Solution Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,98 unequal: No Solution Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[2, 105], Operations: ['23-21=2', '94+11=105'] Exploring Operation: 2+105=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 105-2=103, Resulting Numbers: [103] 103,98 unequal: No Solution Exploring Operation: 2*105=210, Resulting Numbers: [210] 210,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,3 Current State: 98:[94, 11, 44], Operations: ['21+23=44'] Exploring Operation: 44/11=4, Resulting Numbers: [94, 4] Generated Node #0,3,0: 98:[94, 4] Operation: 44/11=4 Exploring Operation: 94-44=50, Resulting Numbers: [11, 50] Generated Node #0,3,1: 98:[11, 50] Operation: 94-44=50 Exploring Operation: 11+44=55, Resulting Numbers: [94, 55] Generated Node #0,3,2: 98:[94, 55] Operation: 11+44=55 Exploring Operation: 94-11=83, Resulting Numbers: [44, 83] Generated Node #0,3,3: 98:[44, 83] Operation: 94-11=83 Exploring Operation: 94+11=105, Resulting Numbers: [44, 105] Generated Node #0,3,4: 98:[44, 105] Operation: 94+11=105 Moving to Node #0,3,1 Current State: 98:[11, 50], Operations: ['21+23=44', '94-44=50'] Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,98 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[94, 4], Operations: ['21+23=44', '44/11=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[21, 94, 11, 23], Operations: [] Exploring Operation: 21+23=44, Resulting Numbers: [94, 11, 44] Generated Node #0,3: 98:[94, 11, 44] Operation: 21+23=44 Moving to Node #0,3 Current State: 98:[94, 11, 44], Operations: ['21+23=44'] Exploring Operation: 44/11=4, Resulting Numbers: [94, 4] Generated Node #0,3,0: 98:[94, 4] Operation: 44/11=4 Moving to Node #0,3,0 Current State: 98:[94, 4], Operations: ['21+23=44', '44/11=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 52, 20, 35, 79 ]
28
[ "52+20=72", "79-35=44", "72-44=28" ]
Current State: 28:[52, 20, 35, 79], Operations: [] Exploring Operation: 52+20=72, Resulting Numbers: [35, 79, 72] Generated Node #2: [35, 79, 72] from Operation: 52+20=72 Current State: 28:[35, 79, 72], Operations: ['52+20=72'] Exploring Operation: 79-35=44, Resulting Numbers: [72, 44] Generated Node #3: [72, 44] from Operation: 79-35=44 Current State: 28:[72, 44], Operations: ['52+20=72', '79-35=44'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[52, 20, 35, 79], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [20, 79, 17] Generated Node #0,0: 28:[20, 79, 17] Operation: 52-35=17 Exploring Operation: 79-52=27, Resulting Numbers: [20, 35, 27] Generated Node #0,1: 28:[20, 35, 27] Operation: 79-52=27 Exploring Operation: 79-35=44, Resulting Numbers: [52, 20, 44] Generated Node #0,2: 28:[52, 20, 44] Operation: 79-35=44 Moving to Node #0,1 Current State: 28:[20, 35, 27], Operations: ['79-52=27'] Exploring Operation: 35-20=15, Resulting Numbers: [27, 15] Generated Node #0,1,0: 28:[27, 15] Operation: 35-20=15 Exploring Operation: 35-27=8, Resulting Numbers: [20, 8] Generated Node #0,1,1: 28:[20, 8] Operation: 35-27=8 Exploring Operation: 27-20=7, Resulting Numbers: [35, 7] Generated Node #0,1,2: 28:[35, 7] Operation: 27-20=7 Moving to Node #0,2 Current State: 28:[52, 20, 44], Operations: ['79-35=44'] Exploring Operation: 52-44=8, Resulting Numbers: [20, 8] Generated Node #0,2,0: 28:[20, 8] Operation: 52-44=8 Exploring Operation: 52-20=32, Resulting Numbers: [44, 32] Generated Node #0,2,1: 28:[44, 32] Operation: 52-20=32 Exploring Operation: 44-20=24, Resulting Numbers: [52, 24] Generated Node #0,2,2: 28:[52, 24] Operation: 44-20=24 Moving to Node #0,0 Current State: 28:[20, 79, 17], Operations: ['52-35=17'] Exploring Operation: 20-17=3, Resulting Numbers: [79, 3] Generated Node #0,0,0: 28:[79, 3] Operation: 20-17=3 Exploring Operation: 79-20=59, Resulting Numbers: [17, 59] Generated Node #0,0,1: 28:[17, 59] Operation: 79-20=59 Exploring Operation: 79-17=62, Resulting Numbers: [20, 62] Generated Node #0,0,2: 28:[20, 62] Operation: 79-17=62 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[17, 59], Operations: ['52-35=17', '79-20=59'] Exploring Operation: 17*59=1003, Resulting Numbers: [1003] 1003,28 unequal: No Solution Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 17+59=76, Resulting Numbers: [76] 76,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[20, 62], Operations: ['52-35=17', '79-17=62'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[79, 3], Operations: ['52-35=17', '20-17=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,28 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,28 unequal: No Solution Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 28:[27, 15], Operations: ['79-52=27', '35-20=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,28 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[35, 7], Operations: ['79-52=27', '27-20=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[52, 20, 35, 79], Operations: [] Exploring Operation: 79-52=27, Resulting Numbers: [20, 35, 27] Generated Node #0,1: 28:[20, 35, 27] Operation: 79-52=27 Moving to Node #0,1 Current State: 28:[20, 35, 27], Operations: ['79-52=27'] Exploring Operation: 27-20=7, Resulting Numbers: [35, 7] Generated Node #0,1,2: 28:[35, 7] Operation: 27-20=7 Moving to Node #0,1,2 Current State: 28:[35, 7], Operations: ['79-52=27', '27-20=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.973958
hs_3
mult_heuristic
[ 72, 84, 28, 52 ]
87
[ "52-28=24", "72/24=3", "84+3=87" ]
Current State: 87:[72, 84, 28, 52], Operations: [] Exploring Operation: 52-28=24, Resulting Numbers: [72, 84, 24] Generated Node #2: [72, 84, 24] from Operation: 52-28=24 Current State: 87:[72, 84, 24], Operations: ['52-28=24'] Exploring Operation: 72/24=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 72/24=3 Current State: 87:[84, 3], Operations: ['52-28=24', '72/24=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[72, 84, 28, 52], Operations: [] Exploring Operation: 84-52=32, Resulting Numbers: [72, 28, 32] Generated Node #0,0: 87:[72, 28, 32] Operation: 84-52=32 Exploring Operation: 72-52=20, Resulting Numbers: [84, 28, 20] Generated Node #0,1: 87:[84, 28, 20] Operation: 72-52=20 Exploring Operation: 52-28=24, Resulting Numbers: [72, 84, 24] Generated Node #0,2: 87:[72, 84, 24] Operation: 52-28=24 Exploring Operation: 28+52=80, Resulting Numbers: [72, 84, 80] Generated Node #0,3: 87:[72, 84, 80] Operation: 28+52=80 Exploring Operation: 84-72=12, Resulting Numbers: [28, 52, 12] Generated Node #0,4: 87:[28, 52, 12] Operation: 84-72=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[84, 28, 20], Operations: ['72-52=20'] Exploring Operation: 28+20=48, Resulting Numbers: [84, 48] Generated Node #0,1,0: 87:[84, 48] Operation: 28+20=48 Exploring Operation: 84-20=64, Resulting Numbers: [28, 64] Generated Node #0,1,1: 87:[28, 64] Operation: 84-20=64 Exploring Operation: 84+20=104, Resulting Numbers: [28, 104] Generated Node #0,1,2: 87:[28, 104] Operation: 84+20=104 Exploring Operation: 28-20=8, Resulting Numbers: [84, 8] Generated Node #0,1,3: 87:[84, 8] Operation: 28-20=8 Exploring Operation: 84/28=3, Resulting Numbers: [20, 3] Generated Node #0,1,4: 87:[20, 3] Operation: 84/28=3 Moving to Node #0,1,3 Current State: 87:[84, 8], Operations: ['72-52=20', '28-20=8'] Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,87 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,87 unequal: No Solution Moving to Node #0,1,4 Current State: 87:[20, 3], Operations: ['72-52=20', '84/28=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[28, 104], Operations: ['72-52=20', '84+20=104'] Exploring Operation: 28+104=132, Resulting Numbers: [132] 132,87 unequal: No Solution Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 28*104=2912, Resulting Numbers: [2912] 2912,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[84, 48], Operations: ['72-52=20', '28+20=48'] Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,87 unequal: No Solution Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,87 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[28, 64], Operations: ['72-52=20', '84-20=64'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,87 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[72, 28, 32], Operations: ['84-52=32'] Exploring Operation: 72+32=104, Resulting Numbers: [28, 104] Generated Node #0,0,0: 87:[28, 104] Operation: 72+32=104 Exploring Operation: 72+28=100, Resulting Numbers: [32, 100] Generated Node #0,0,1: 87:[32, 100] Operation: 72+28=100 Exploring Operation: 72-28=44, Resulting Numbers: [32, 44] Generated Node #0,0,2: 87:[32, 44] Operation: 72-28=44 Exploring Operation: 32-28=4, Resulting Numbers: [72, 4] Generated Node #0,0,3: 87:[72, 4] Operation: 32-28=4 Exploring Operation: 72-32=40, Resulting Numbers: [28, 40] Generated Node #0,0,4: 87:[28, 40] Operation: 72-32=40 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 87:[28, 40], Operations: ['84-52=32', '72-32=40'] Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,87 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[32, 100], Operations: ['84-52=32', '72+28=100'] Exploring Operation: 32*100=3200, Resulting Numbers: [3200] 3200,87 unequal: No Solution Exploring Operation: 100-32=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 32+100=132, Resulting Numbers: [132] 132,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[72, 4], Operations: ['84-52=32', '32-28=4'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,87 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[28, 104], Operations: ['84-52=32', '72+32=104'] Exploring Operation: 28+104=132, Resulting Numbers: [132] 132,87 unequal: No Solution Exploring Operation: 28*104=2912, Resulting Numbers: [2912] 2912,87 unequal: No Solution Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[32, 44], Operations: ['84-52=32', '72-28=44'] Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,87 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[72, 84, 24], Operations: ['52-28=24'] Exploring Operation: 72-24=48, Resulting Numbers: [84, 48] Generated Node #0,2,0: 87:[84, 48] Operation: 72-24=48 Exploring Operation: 84-72=12, Resulting Numbers: [24, 12] Generated Node #0,2,1: 87:[24, 12] Operation: 84-72=12 Exploring Operation: 72/24=3, Resulting Numbers: [84, 3] Generated Node #0,2,2: 87:[84, 3] Operation: 72/24=3 Exploring Operation: 72+24=96, Resulting Numbers: [84, 96] Generated Node #0,2,3: 87:[84, 96] Operation: 72+24=96 Exploring Operation: 84+24=108, Resulting Numbers: [72, 108] Generated Node #0,2,4: 87:[72, 108] Operation: 84+24=108 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[84, 3], Operations: ['52-28=24', '72/24=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,87 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,87 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[72, 84, 28, 52], Operations: [] Exploring Operation: 52-28=24, Resulting Numbers: [72, 84, 24] Generated Node #0,2: 87:[72, 84, 24] Operation: 52-28=24 Moving to Node #0,2 Current State: 87:[72, 84, 24], Operations: ['52-28=24'] Exploring Operation: 72/24=3, Resulting Numbers: [84, 3] Generated Node #0,2,2: 87:[84, 3] Operation: 72/24=3 Moving to Node #0,2,2 Current State: 87:[84, 3], Operations: ['52-28=24', '72/24=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.948785
hs_5
mult_heuristic
[ 37, 39, 83, 19 ]
100
[ "39-37=2", "83+19=102", "102-2=100" ]
Current State: 100:[37, 39, 83, 19], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [83, 19, 2] Generated Node #2: [83, 19, 2] from Operation: 39-37=2 Current State: 100:[83, 19, 2], Operations: ['39-37=2'] Exploring Operation: 83+19=102, Resulting Numbers: [2, 102] Generated Node #3: [2, 102] from Operation: 83+19=102 Current State: 100:[2, 102], Operations: ['39-37=2', '83+19=102'] Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[37, 39, 83, 19], Operations: [] Exploring Operation: 83+19=102, Resulting Numbers: [37, 39, 102] Generated Node #0,0: 100:[37, 39, 102] Operation: 83+19=102 Exploring Operation: 39-37=2, Resulting Numbers: [83, 19, 2] Generated Node #0,1: 100:[83, 19, 2] Operation: 39-37=2 Exploring Operation: 83-37=46, Resulting Numbers: [39, 19, 46] Generated Node #0,2: 100:[39, 19, 46] Operation: 83-37=46 Exploring Operation: 83-39=44, Resulting Numbers: [37, 19, 44] Generated Node #0,3: 100:[37, 19, 44] Operation: 83-39=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[39, 19, 46], Operations: ['83-37=46'] Exploring Operation: 46-19=27, Resulting Numbers: [39, 27] Generated Node #0,2,0: 100:[39, 27] Operation: 46-19=27 Exploring Operation: 46-39=7, Resulting Numbers: [19, 7] Generated Node #0,2,1: 100:[19, 7] Operation: 46-39=7 Exploring Operation: 39-19=20, Resulting Numbers: [46, 20] Generated Node #0,2,2: 100:[46, 20] Operation: 39-19=20 Exploring Operation: 39+19=58, Resulting Numbers: [46, 58] Generated Node #0,2,3: 100:[46, 58] Operation: 39+19=58 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[19, 7], Operations: ['83-37=46', '46-39=7'] Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,100 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,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:[46, 20], Operations: ['83-37=46', '39-19=20'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 100:[46, 58], Operations: ['83-37=46', '39+19=58'] Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,100 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 46*58=2668, Resulting Numbers: [2668] 2668,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:[39, 27], Operations: ['83-37=46', '46-19=27'] Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[83, 19, 2], Operations: ['39-37=2'] Exploring Operation: 19+2=21, Resulting Numbers: [83, 21] Generated Node #0,1,0: 100:[83, 21] Operation: 19+2=21 Exploring Operation: 83+2=85, Resulting Numbers: [19, 85] Generated Node #0,1,1: 100:[19, 85] Operation: 83+2=85 Exploring Operation: 83+19=102, Resulting Numbers: [2, 102] Generated Node #0,1,2: 100:[2, 102] Operation: 83+19=102 Exploring Operation: 83-19=64, Resulting Numbers: [2, 64] Generated Node #0,1,3: 100:[2, 64] Operation: 83-19=64 Moving to Node #0,1,2 Current State: 100:[2, 102], Operations: ['39-37=2', '83+19=102'] Exploring Operation: 2*102=204, Resulting Numbers: [204] 204,100 unequal: No Solution Exploring Operation: 2+102=104, Resulting Numbers: [104] 104,100 unequal: No Solution Exploring Operation: 102/2=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[37, 39, 83, 19], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [83, 19, 2] Generated Node #0,1: 100:[83, 19, 2] Operation: 39-37=2 Moving to Node #0,1 Current State: 100:[83, 19, 2], Operations: ['39-37=2'] Exploring Operation: 83+19=102, Resulting Numbers: [2, 102] Generated Node #0,1,2: 100:[2, 102] Operation: 83+19=102 Moving to Node #0,1,2 Current State: 100:[2, 102], Operations: ['39-37=2', '83+19=102'] Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 46, 56, 69, 2 ]
36
[ "46+56=102", "69*2=138", "138-102=36" ]
Current State: 36:[46, 56, 69, 2], Operations: [] Exploring Operation: 46+56=102, Resulting Numbers: [69, 2, 102] Generated Node #2: [69, 2, 102] from Operation: 46+56=102 Current State: 36:[69, 2, 102], Operations: ['46+56=102'] Exploring Operation: 69*2=138, Resulting Numbers: [102, 138] Generated Node #3: [102, 138] from Operation: 69*2=138 Current State: 36:[102, 138], Operations: ['46+56=102', '69*2=138'] Exploring Operation: 138-102=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[46, 56, 69, 2], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [69, 2, 10] Generated Node #0,0: 36:[69, 2, 10] Operation: 56-46=10 Exploring Operation: 69-46=23, Resulting Numbers: [56, 2, 23] Generated Node #0,1: 36:[56, 2, 23] Operation: 69-46=23 Exploring Operation: 69-56=13, Resulting Numbers: [46, 2, 13] Generated Node #0,2: 36:[46, 2, 13] Operation: 69-56=13 Exploring Operation: 56/2=28, Resulting Numbers: [46, 69, 28] Generated Node #0,3: 36:[46, 69, 28] Operation: 56/2=28 Exploring Operation: 46/2=23, Resulting Numbers: [56, 69, 23] Generated Node #0,4: 36:[56, 69, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[46, 2, 13], Operations: ['69-56=13'] Exploring Operation: 46-13=33, Resulting Numbers: [2, 33] Generated Node #0,2,0: 36:[2, 33] Operation: 46-13=33 Exploring Operation: 46-2=44, Resulting Numbers: [13, 44] Generated Node #0,2,1: 36:[13, 44] Operation: 46-2=44 Exploring Operation: 46+2=48, Resulting Numbers: [13, 48] Generated Node #0,2,2: 36:[13, 48] Operation: 46+2=48 Exploring Operation: 46/2=23, Resulting Numbers: [13, 23] Generated Node #0,2,3: 36:[13, 23] Operation: 46/2=23 Exploring Operation: 13-2=11, Resulting Numbers: [46, 11] Generated Node #0,2,4: 36:[46, 11] Operation: 13-2=11 Moving to Node #0,2,0 Current State: 36:[2, 33], Operations: ['69-56=13', '46-13=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[13, 23], Operations: ['69-56=13', '46/2=23'] Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,36 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[46, 56, 69, 2], Operations: [] Exploring Operation: 69-56=13, Resulting Numbers: [46, 2, 13] Generated Node #0,2: 36:[46, 2, 13] Operation: 69-56=13 Moving to Node #0,2 Current State: 36:[46, 2, 13], Operations: ['69-56=13'] Exploring Operation: 46/2=23, Resulting Numbers: [13, 23] Generated Node #0,2,3: 36:[13, 23] Operation: 46/2=23 Moving to Node #0,2,3 Current State: 36:[13, 23], Operations: ['69-56=13', '46/2=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 34, 61, 18, 52 ]
68
[ "34*18=612", "61-52=9", "612/9=68" ]
Current State: 68:[34, 61, 18, 52], Operations: [] Exploring Operation: 34*18=612, Resulting Numbers: [61, 52, 612] Generated Node #2: [61, 52, 612] from Operation: 34*18=612 Current State: 68:[61, 52, 612], Operations: ['34*18=612'] Exploring Operation: 61-52=9, Resulting Numbers: [612, 9] Generated Node #3: [612, 9] from Operation: 61-52=9 Current State: 68:[612, 9], Operations: ['34*18=612', '61-52=9'] Exploring Operation: 612/9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[34, 61, 18, 52], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [34, 61, 34] Generated Node #0,0: 68:[34, 61, 34] Operation: 52-18=34 Exploring Operation: 52-34=18, Resulting Numbers: [61, 18, 18] Generated Node #0,1: 68:[61, 18, 18] Operation: 52-34=18 Exploring Operation: 61-52=9, Resulting Numbers: [34, 18, 9] Generated Node #0,2: 68:[34, 18, 9] Operation: 61-52=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[34, 18, 9], Operations: ['61-52=9'] Exploring Operation: 18-9=9, Resulting Numbers: [34, 9] Generated Node #0,2,0: 68:[34, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [34, 2] Generated Node #0,2,1: 68:[34, 2] Operation: 18/9=2 Exploring Operation: 34-18=16, Resulting Numbers: [9, 16] Generated Node #0,2,2: 68:[9, 16] Operation: 34-18=16 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 68:[34, 2], Operations: ['61-52=9', '18/9=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[34, 61, 18, 52], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [34, 18, 9] Generated Node #0,2: 68:[34, 18, 9] Operation: 61-52=9 Moving to Node #0,2 Current State: 68:[34, 18, 9], Operations: ['61-52=9'] Exploring Operation: 18/9=2, Resulting Numbers: [34, 2] Generated Node #0,2,1: 68:[34, 2] Operation: 18/9=2 Moving to Node #0,2,1 Current State: 68:[34, 2], Operations: ['61-52=9', '18/9=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 84, 83, 24, 36 ]
59
[ "84-83=1", "24+36=60", "60-1=59" ]
Current State: 59:[84, 83, 24, 36], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [24, 36, 1] Generated Node #2: [24, 36, 1] from Operation: 84-83=1 Current State: 59:[24, 36, 1], Operations: ['84-83=1'] Exploring Operation: 24+36=60, Resulting Numbers: [1, 60] Generated Node #3: [1, 60] from Operation: 24+36=60 Current State: 59:[1, 60], Operations: ['84-83=1', '24+36=60'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[84, 83, 24, 36], Operations: [] Exploring Operation: 83-36=47, Resulting Numbers: [84, 24, 47] Generated Node #0,0: 59:[84, 24, 47] Operation: 83-36=47 Exploring Operation: 83-24=59, Resulting Numbers: [84, 36, 59] Generated Node #0,1: 59:[84, 36, 59] Operation: 83-24=59 Exploring Operation: 84-24=60, Resulting Numbers: [83, 36, 60] Generated Node #0,2: 59:[83, 36, 60] Operation: 84-24=60 Exploring Operation: 84-36=48, Resulting Numbers: [83, 24, 48] Generated Node #0,3: 59:[83, 24, 48] Operation: 84-36=48 Exploring Operation: 24+36=60, Resulting Numbers: [84, 83, 60] Generated Node #0,4: 59:[84, 83, 60] Operation: 24+36=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[84, 36, 59], Operations: ['83-24=59'] Exploring Operation: 36+59=95, Resulting Numbers: [84, 95] Generated Node #0,1,0: 59:[84, 95] Operation: 36+59=95 Exploring Operation: 84-36=48, Resulting Numbers: [59, 48] Generated Node #0,1,1: 59:[59, 48] Operation: 84-36=48 Exploring Operation: 84+36=120, Resulting Numbers: [59, 120] Generated Node #0,1,2: 59:[59, 120] Operation: 84+36=120 Exploring Operation: 84-59=25, Resulting Numbers: [36, 25] Generated Node #0,1,3: 59:[36, 25] Operation: 84-59=25 Exploring Operation: 59-36=23, Resulting Numbers: [84, 23] Generated Node #0,1,4: 59:[84, 23] Operation: 59-36=23 Moving to Node #0,1,1 Current State: 59:[59, 48], Operations: ['83-24=59', '84-36=48'] Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,59 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[36, 25], Operations: ['83-24=59', '84-59=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,59 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[84, 95], Operations: ['83-24=59', '36+59=95'] Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 84*95=7980, Resulting Numbers: [7980] 7980,59 unequal: No Solution Exploring Operation: 84+95=179, Resulting Numbers: [179] 179,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[59, 120], Operations: ['83-24=59', '84+36=120'] Exploring Operation: 59*120=7080, Resulting Numbers: [7080] 7080,59 unequal: No Solution Exploring Operation: 59+120=179, Resulting Numbers: [179] 179,59 unequal: No Solution Exploring Operation: 120-59=61, Resulting Numbers: [61] 61,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[84, 23], Operations: ['83-24=59', '59-36=23'] Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,59 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,59 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,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 Current State: 59:[83, 36, 60], Operations: ['84-24=60'] Exploring Operation: 60-36=24, Resulting Numbers: [83, 24] Generated Node #0,2,0: 59:[83, 24] Operation: 60-36=24 Exploring Operation: 36+60=96, Resulting Numbers: [83, 96] Generated Node #0,2,1: 59:[83, 96] Operation: 36+60=96 Exploring Operation: 83+36=119, Resulting Numbers: [60, 119] Generated Node #0,2,2: 59:[60, 119] Operation: 83+36=119 Exploring Operation: 83-36=47, Resulting Numbers: [60, 47] Generated Node #0,2,3: 59:[60, 47] Operation: 83-36=47 Exploring Operation: 83-60=23, Resulting Numbers: [36, 23] Generated Node #0,2,4: 59:[36, 23] Operation: 83-60=23 Moving to Node #0,2,3 Current State: 59:[60, 47], Operations: ['84-24=60', '83-36=47'] Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,59 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[36, 23], Operations: ['84-24=60', '83-60=23'] Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,59 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[84, 83, 24, 36], Operations: [] Exploring Operation: 84-24=60, Resulting Numbers: [83, 36, 60] Generated Node #0,2: 59:[83, 36, 60] Operation: 84-24=60 Moving to Node #0,2 Current State: 59:[83, 36, 60], Operations: ['84-24=60'] Exploring Operation: 83-60=23, Resulting Numbers: [36, 23] Generated Node #0,2,4: 59:[36, 23] Operation: 83-60=23 Moving to Node #0,2,4 Current State: 59:[36, 23], Operations: ['84-24=60', '83-60=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 84, 28, 20, 19 ]
95
[ "84-28=56", "20+19=39", "56+39=95" ]
Current State: 95:[84, 28, 20, 19], Operations: [] Exploring Operation: 84-28=56, Resulting Numbers: [20, 19, 56] Generated Node #2: [20, 19, 56] from Operation: 84-28=56 Current State: 95:[20, 19, 56], Operations: ['84-28=56'] Exploring Operation: 20+19=39, Resulting Numbers: [56, 39] Generated Node #3: [56, 39] from Operation: 20+19=39 Current State: 95:[56, 39], Operations: ['84-28=56', '20+19=39'] Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[84, 28, 20, 19], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [20, 19, 3] Generated Node #0,0: 95:[20, 19, 3] Operation: 84/28=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[20, 19, 3], Operations: ['84/28=3'] Exploring Operation: 20-3=17, Resulting Numbers: [19, 17] Generated Node #0,0,0: 95:[19, 17] Operation: 20-3=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[19, 17], Operations: ['84/28=3', '20-3=17'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 78, 55, 81 ]
61
[ "4*55=220", "78+81=159", "220-159=61" ]
Current State: 61:[4, 78, 55, 81], Operations: [] Exploring Operation: 4*55=220, Resulting Numbers: [78, 81, 220] Generated Node #2: [78, 81, 220] from Operation: 4*55=220 Current State: 61:[78, 81, 220], Operations: ['4*55=220'] Exploring Operation: 78+81=159, Resulting Numbers: [220, 159] Generated Node #3: [220, 159] from Operation: 78+81=159 Current State: 61:[220, 159], Operations: ['4*55=220', '78+81=159'] Exploring Operation: 220-159=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[4, 78, 55, 81], Operations: [] Exploring Operation: 4+55=59, Resulting Numbers: [78, 81, 59] Generated Node #0,0: 61:[78, 81, 59] Operation: 4+55=59 Exploring Operation: 78-4=74, Resulting Numbers: [55, 81, 74] Generated Node #0,1: 61:[55, 81, 74] Operation: 78-4=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[78, 81, 59], Operations: ['4+55=59'] Exploring Operation: 81-59=22, Resulting Numbers: [78, 22] Generated Node #0,0,0: 61:[78, 22] Operation: 81-59=22 Exploring Operation: 81-78=3, Resulting Numbers: [59, 3] Generated Node #0,0,1: 61:[59, 3] Operation: 81-78=3 Moving to Node #0,0,0 Current State: 61:[78, 22], Operations: ['4+55=59', '81-59=22'] Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[59, 3], Operations: ['4+55=59', '81-78=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[55, 81, 74], Operations: ['78-4=74'] Exploring Operation: 81-55=26, Resulting Numbers: [74, 26] Generated Node #0,1,0: 61:[74, 26] Operation: 81-55=26 Exploring Operation: 81-74=7, Resulting Numbers: [55, 7] Generated Node #0,1,1: 61:[55, 7] Operation: 81-74=7 Moving to Node #0,1,0 Current State: 61:[74, 26], Operations: ['78-4=74', '81-55=26'] Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,61 unequal: No Solution Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[55, 7], Operations: ['78-4=74', '81-74=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,61 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,61 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
[ 98, 42, 30, 4 ]
90
[ "98-42=56", "30+4=34", "56+34=90" ]
Current State: 90:[98, 42, 30, 4], Operations: [] Exploring Operation: 98-42=56, Resulting Numbers: [30, 4, 56] Generated Node #2: [30, 4, 56] from Operation: 98-42=56 Current State: 90:[30, 4, 56], Operations: ['98-42=56'] Exploring Operation: 30+4=34, Resulting Numbers: [56, 34] Generated Node #3: [56, 34] from Operation: 30+4=34 Current State: 90:[56, 34], Operations: ['98-42=56', '30+4=34'] Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[98, 42, 30, 4], Operations: [] Exploring Operation: 98+4=102, Resulting Numbers: [42, 30, 102] Generated Node #0,0: 90:[42, 30, 102] Operation: 98+4=102 Exploring Operation: 42-30=12, Resulting Numbers: [98, 4, 12] Generated Node #0,1: 90:[98, 4, 12] Operation: 42-30=12 Exploring Operation: 98-4=94, Resulting Numbers: [42, 30, 94] Generated Node #0,2: 90:[42, 30, 94] Operation: 98-4=94 Exploring Operation: 42+4=46, Resulting Numbers: [98, 30, 46] Generated Node #0,3: 90:[98, 30, 46] Operation: 42+4=46 Exploring Operation: 98-42=56, Resulting Numbers: [30, 4, 56] Generated Node #0,4: 90:[30, 4, 56] Operation: 98-42=56 Moving to Node #0,2 Current State: 90:[42, 30, 94], Operations: ['98-4=94'] Exploring Operation: 42-30=12, Resulting Numbers: [94, 12] Generated Node #0,2,0: 90:[94, 12] Operation: 42-30=12 Exploring Operation: 94-42=52, Resulting Numbers: [30, 52] Generated Node #0,2,1: 90:[30, 52] Operation: 94-42=52 Exploring Operation: 42+30=72, Resulting Numbers: [94, 72] Generated Node #0,2,2: 90:[94, 72] Operation: 42+30=72 Exploring Operation: 30+94=124, Resulting Numbers: [42, 124] Generated Node #0,2,3: 90:[42, 124] Operation: 30+94=124 Exploring Operation: 94-30=64, Resulting Numbers: [42, 64] Generated Node #0,2,4: 90:[42, 64] Operation: 94-30=64 Moving to Node #0,3 Current State: 90:[98, 30, 46], Operations: ['42+4=46'] Exploring Operation: 98-46=52, Resulting Numbers: [30, 52] Generated Node #0,3,0: 90:[30, 52] Operation: 98-46=52 Exploring Operation: 98+30=128, Resulting Numbers: [46, 128] Generated Node #0,3,1: 90:[46, 128] Operation: 98+30=128 Exploring Operation: 46-30=16, Resulting Numbers: [98, 16] Generated Node #0,3,2: 90:[98, 16] Operation: 46-30=16 Exploring Operation: 30+46=76, Resulting Numbers: [98, 76] Generated Node #0,3,3: 90:[98, 76] Operation: 30+46=76 Exploring Operation: 98-30=68, Resulting Numbers: [46, 68] Generated Node #0,3,4: 90:[46, 68] Operation: 98-30=68 Moving to Node #0,1 Current State: 90:[98, 4, 12], Operations: ['42-30=12'] Exploring Operation: 98-4=94, Resulting Numbers: [12, 94] Generated Node #0,1,0: 90:[12, 94] Operation: 98-4=94 Exploring Operation: 4+12=16, Resulting Numbers: [98, 16] Generated Node #0,1,1: 90:[98, 16] Operation: 4+12=16 Exploring Operation: 12-4=8, Resulting Numbers: [98, 8] Generated Node #0,1,2: 90:[98, 8] Operation: 12-4=8 Exploring Operation: 12/4=3, Resulting Numbers: [98, 3] Generated Node #0,1,3: 90:[98, 3] Operation: 12/4=3 Exploring Operation: 98-12=86, Resulting Numbers: [4, 86] Generated Node #0,1,4: 90:[4, 86] Operation: 98-12=86 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 90:[4, 86], Operations: ['42-30=12', '98-12=86'] Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[98, 42, 30, 4], Operations: [] Exploring Operation: 42-30=12, Resulting Numbers: [98, 4, 12] Generated Node #0,1: 90:[98, 4, 12] Operation: 42-30=12 Moving to Node #0,1 Current State: 90:[98, 4, 12], Operations: ['42-30=12'] Exploring Operation: 98-12=86, Resulting Numbers: [4, 86] Generated Node #0,1,4: 90:[4, 86] Operation: 98-12=86 Moving to Node #0,1,4 Current State: 90:[4, 86], Operations: ['42-30=12', '98-12=86'] Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 24, 74, 13, 25 ]
86
[ "24+74=98", "25-13=12", "98-12=86" ]
Current State: 86:[24, 74, 13, 25], Operations: [] Exploring Operation: 24+74=98, Resulting Numbers: [13, 25, 98] Generated Node #2: [13, 25, 98] from Operation: 24+74=98 Current State: 86:[13, 25, 98], Operations: ['24+74=98'] Exploring Operation: 25-13=12, Resulting Numbers: [98, 12] Generated Node #3: [98, 12] from Operation: 25-13=12 Current State: 86:[98, 12], Operations: ['24+74=98', '25-13=12'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[24, 74, 13, 25], Operations: [] Exploring Operation: 74-24=50, Resulting Numbers: [13, 25, 50] Generated Node #0,0: 86:[13, 25, 50] Operation: 74-24=50 Exploring Operation: 24+13=37, Resulting Numbers: [74, 25, 37] Generated Node #0,1: 86:[74, 25, 37] Operation: 24+13=37 Exploring Operation: 74-25=49, Resulting Numbers: [24, 13, 49] Generated Node #0,2: 86:[24, 13, 49] Operation: 74-25=49 Exploring Operation: 24+25=49, Resulting Numbers: [74, 13, 49] Generated Node #0,3: 86:[74, 13, 49] Operation: 24+25=49 Exploring Operation: 25-24=1, Resulting Numbers: [74, 13, 1] Generated Node #0,4: 86:[74, 13, 1] Operation: 25-24=1 Moving to Node #0,4 Current State: 86:[74, 13, 1], Operations: ['25-24=1'] Exploring Operation: 74-13=61, Resulting Numbers: [1, 61] Generated Node #0,4,0: 86:[1, 61] Operation: 74-13=61 Exploring Operation: 74+1=75, Resulting Numbers: [13, 75] Generated Node #0,4,1: 86:[13, 75] Operation: 74+1=75 Exploring Operation: 74+13=87, Resulting Numbers: [1, 87] Generated Node #0,4,2: 86:[1, 87] Operation: 74+13=87 Exploring Operation: 74*1=74, Resulting Numbers: [13, 74] Generated Node #0,4,3: 86:[13, 74] Operation: 74*1=74 Exploring Operation: 13-1=12, Resulting Numbers: [74, 12] Generated Node #0,4,4: 86:[74, 12] Operation: 13-1=12 Moving to Node #0,3 Current State: 86:[74, 13, 49], Operations: ['24+25=49'] Exploring Operation: 74-49=25, Resulting Numbers: [13, 25] Generated Node #0,3,0: 86:[13, 25] Operation: 74-49=25 Exploring Operation: 13+49=62, Resulting Numbers: [74, 62] Generated Node #0,3,1: 86:[74, 62] Operation: 13+49=62 Exploring Operation: 74+13=87, Resulting Numbers: [49, 87] Generated Node #0,3,2: 86:[49, 87] Operation: 74+13=87 Exploring Operation: 49-13=36, Resulting Numbers: [74, 36] Generated Node #0,3,3: 86:[74, 36] Operation: 49-13=36 Exploring Operation: 74-13=61, Resulting Numbers: [49, 61] Generated Node #0,3,4: 86:[49, 61] Operation: 74-13=61 Moving to Node #0,0 Current State: 86:[13, 25, 50], Operations: ['74-24=50'] Exploring Operation: 25-13=12, Resulting Numbers: [50, 12] Generated Node #0,0,0: 86:[50, 12] Operation: 25-13=12 Exploring Operation: 50/25=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 86:[13, 2] Operation: 50/25=2 Exploring Operation: 50-13=37, Resulting Numbers: [25, 37] Generated Node #0,0,2: 86:[25, 37] Operation: 50-13=37 Exploring Operation: 25+50=75, Resulting Numbers: [13, 75] Generated Node #0,0,3: 86:[13, 75] Operation: 25+50=75 Exploring Operation: 13+25=38, Resulting Numbers: [50, 38] Generated Node #0,0,4: 86:[50, 38] Operation: 13+25=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[13, 2], Operations: ['74-24=50', '50/25=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,86 unequal: No Solution No 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: 86:[50, 38], Operations: ['74-24=50', '13+25=38'] Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 50+38=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 50*38=1900, Resulting Numbers: [1900] 1900,86 unequal: No Solution No 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: 86:[50, 12], Operations: ['74-24=50', '25-13=12'] Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,86 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,86 unequal: No Solution No 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: 86:[13, 75], Operations: ['74-24=50', '25+50=75'] Exploring Operation: 13+75=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 13*75=975, Resulting Numbers: [975] 975,86 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,86 unequal: No Solution No 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: 86:[25, 37], Operations: ['74-24=50', '50-13=37'] Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,86 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,86 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: 86:[74, 25, 37], Operations: ['24+13=37'] Exploring Operation: 74-25=49, Resulting Numbers: [37, 49] Generated Node #0,1,0: 86:[37, 49] Operation: 74-25=49 Exploring Operation: 74-37=37, Resulting Numbers: [25, 37] Generated Node #0,1,1: 86:[25, 37] Operation: 74-37=37 Exploring Operation: 74/37=2, Resulting Numbers: [25, 2] Generated Node #0,1,2: 86:[25, 2] Operation: 74/37=2 Exploring Operation: 74+25=99, Resulting Numbers: [37, 99] Generated Node #0,1,3: 86:[37, 99] Operation: 74+25=99 Exploring Operation: 37-25=12, Resulting Numbers: [74, 12] Generated Node #0,1,4: 86:[74, 12] Operation: 37-25=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[37, 49], Operations: ['24+13=37', '74-25=49'] Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,86 unequal: No Solution Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[24, 74, 13, 25], Operations: [] Exploring Operation: 24+13=37, Resulting Numbers: [74, 25, 37] Generated Node #0,1: 86:[74, 25, 37] Operation: 24+13=37 Moving to Node #0,1 Current State: 86:[74, 25, 37], Operations: ['24+13=37'] Exploring Operation: 74-25=49, Resulting Numbers: [37, 49] Generated Node #0,1,0: 86:[37, 49] Operation: 74-25=49 Moving to Node #0,1,0 Current State: 86:[37, 49], Operations: ['24+13=37', '74-25=49'] Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 3, 81, 88, 40 ]
44
[ "3+81=84", "88+40=128", "128-84=44" ]
Current State: 44:[3, 81, 88, 40], Operations: [] Exploring Operation: 3+81=84, Resulting Numbers: [88, 40, 84] Generated Node #2: [88, 40, 84] from Operation: 3+81=84 Current State: 44:[88, 40, 84], Operations: ['3+81=84'] Exploring Operation: 88+40=128, Resulting Numbers: [84, 128] Generated Node #3: [84, 128] from Operation: 88+40=128 Current State: 44:[84, 128], Operations: ['3+81=84', '88+40=128'] Exploring Operation: 128-84=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[3, 81, 88, 40], Operations: [] Exploring Operation: 88-81=7, Resulting Numbers: [3, 40, 7] Generated Node #0,0: 44:[3, 40, 7] Operation: 88-81=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[3, 40, 7], Operations: ['88-81=7'] Exploring Operation: 3+40=43, Resulting Numbers: [7, 43] Generated Node #0,0,0: 44:[7, 43] Operation: 3+40=43 Moving to Node #0,0,0 Current State: 44:[7, 43], Operations: ['88-81=7', '3+40=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,44 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
[ 47, 23, 5, 13 ]
62
[ "47+23=70", "13-5=8", "70-8=62" ]
Current State: 62:[47, 23, 5, 13], Operations: [] Exploring Operation: 47+23=70, Resulting Numbers: [5, 13, 70] Generated Node #2: [5, 13, 70] from Operation: 47+23=70 Current State: 62:[5, 13, 70], Operations: ['47+23=70'] Exploring Operation: 13-5=8, Resulting Numbers: [70, 8] Generated Node #3: [70, 8] from Operation: 13-5=8 Current State: 62:[70, 8], Operations: ['47+23=70', '13-5=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[47, 23, 5, 13], Operations: [] Exploring Operation: 47+23=70, Resulting Numbers: [5, 13, 70] Generated Node #0,0: 62:[5, 13, 70] Operation: 47+23=70 Exploring Operation: 47-13=34, Resulting Numbers: [23, 5, 34] Generated Node #0,1: 62:[23, 5, 34] Operation: 47-13=34 Exploring Operation: 47+13=60, Resulting Numbers: [23, 5, 60] Generated Node #0,2: 62:[23, 5, 60] Operation: 47+13=60 Exploring Operation: 47-23=24, Resulting Numbers: [5, 13, 24] Generated Node #0,3: 62:[5, 13, 24] Operation: 47-23=24 Exploring Operation: 23+13=36, Resulting Numbers: [47, 5, 36] Generated Node #0,4: 62:[47, 5, 36] Operation: 23+13=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[23, 5, 60], Operations: ['47+13=60'] Exploring Operation: 23-5=18, Resulting Numbers: [60, 18] Generated Node #0,2,0: 62:[60, 18] Operation: 23-5=18 Exploring Operation: 23+5=28, Resulting Numbers: [60, 28] Generated Node #0,2,1: 62:[60, 28] Operation: 23+5=28 Exploring Operation: 60-23=37, Resulting Numbers: [5, 37] Generated Node #0,2,2: 62:[5, 37] Operation: 60-23=37 Exploring Operation: 60-5=55, Resulting Numbers: [23, 55] Generated Node #0,2,3: 62:[23, 55] Operation: 60-5=55 Exploring Operation: 5+60=65, Resulting Numbers: [23, 65] Generated Node #0,2,4: 62:[23, 65] Operation: 5+60=65 Moving to Node #0,2,1 Current State: 62:[60, 28], Operations: ['47+13=60', '23+5=28'] Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,62 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[5, 37], Operations: ['47+13=60', '60-23=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,62 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[23, 65], Operations: ['47+13=60', '5+60=65'] Exploring Operation: 23*65=1495, Resulting Numbers: [1495] 1495,62 unequal: No Solution Exploring Operation: 23+65=88, Resulting Numbers: [88] 88,62 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[60, 18], Operations: ['47+13=60', '23-5=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,62 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[23, 55], Operations: ['47+13=60', '60-5=55'] Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,62 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[23, 5, 34], Operations: ['47-13=34'] Exploring Operation: 23+34=57, Resulting Numbers: [5, 57] Generated Node #0,1,0: 62:[5, 57] Operation: 23+34=57 Exploring Operation: 34-5=29, Resulting Numbers: [23, 29] Generated Node #0,1,1: 62:[23, 29] Operation: 34-5=29 Exploring Operation: 23-5=18, Resulting Numbers: [34, 18] Generated Node #0,1,2: 62:[34, 18] Operation: 23-5=18 Exploring Operation: 34-23=11, Resulting Numbers: [5, 11] Generated Node #0,1,3: 62:[5, 11] Operation: 34-23=11 Exploring Operation: 23+5=28, Resulting Numbers: [34, 28] Generated Node #0,1,4: 62:[34, 28] Operation: 23+5=28 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 62:[34, 28], Operations: ['47-13=34', '23+5=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[47, 23, 5, 13], Operations: [] Exploring Operation: 47-13=34, Resulting Numbers: [23, 5, 34] Generated Node #0,1: 62:[23, 5, 34] Operation: 47-13=34 Moving to Node #0,1 Current State: 62:[23, 5, 34], Operations: ['47-13=34'] Exploring Operation: 23+5=28, Resulting Numbers: [34, 28] Generated Node #0,1,4: 62:[34, 28] Operation: 23+5=28 Moving to Node #0,1,4 Current State: 62:[34, 28], Operations: ['47-13=34', '23+5=28'] Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 4, 6, 8, 87 ]
58
[ "8-4=4", "87*4=348", "348/6=58" ]
Current State: 58:[4, 6, 8, 87], Operations: [] Exploring Operation: 8-4=4, Resulting Numbers: [6, 87, 4] Generated Node #2: [6, 87, 4] from Operation: 8-4=4 Current State: 58:[6, 87, 4], Operations: ['8-4=4'] Exploring Operation: 87*4=348, Resulting Numbers: [6, 348] Generated Node #3: [6, 348] from Operation: 87*4=348 Current State: 58:[6, 348], Operations: ['8-4=4', '87*4=348'] Exploring Operation: 348/6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[4, 6, 8, 87], Operations: [] Exploring Operation: 87-8=79, Resulting Numbers: [4, 6, 79] Generated Node #0,0: 58:[4, 6, 79] Operation: 87-8=79 Exploring Operation: 87-6=81, Resulting Numbers: [4, 8, 81] Generated Node #0,1: 58:[4, 8, 81] Operation: 87-6=81 Exploring Operation: 8-6=2, Resulting Numbers: [4, 87, 2] Generated Node #0,2: 58:[4, 87, 2] Operation: 8-6=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[4, 6, 79], Operations: ['87-8=79'] Exploring Operation: 79-6=73, Resulting Numbers: [4, 73] Generated Node #0,0,0: 58:[4, 73] Operation: 79-6=73 Exploring Operation: 79-4=75, Resulting Numbers: [6, 75] Generated Node #0,0,1: 58:[6, 75] Operation: 79-4=75 Exploring Operation: 6-4=2, Resulting Numbers: [79, 2] Generated Node #0,0,2: 58:[79, 2] Operation: 6-4=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[4, 73], Operations: ['87-8=79', '79-6=73'] Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 4*73=292, Resulting Numbers: [292] 292,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[6, 75], Operations: ['87-8=79', '79-4=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 6*75=450, Resulting Numbers: [450] 450,58 unequal: No Solution Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[79, 2], Operations: ['87-8=79', '6-4=2'] Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,58 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[4, 8, 81], Operations: ['87-6=81'] Exploring Operation: 8/4=2, Resulting Numbers: [81, 2] Generated Node #0,1,0: 58:[81, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [81, 4] Generated Node #0,1,1: 58:[81, 4] Operation: 8-4=4 Exploring Operation: 81-8=73, Resulting Numbers: [4, 73] Generated Node #0,1,2: 58:[4, 73] Operation: 81-8=73 Moving to Node #0,1,2 Current State: 58:[4, 73], Operations: ['87-6=81', '81-8=73'] Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 4*73=292, Resulting Numbers: [292] 292,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[81, 2], Operations: ['87-6=81', '8/4=2'] Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,58 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[81, 4], Operations: ['87-6=81', '8-4=4'] Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,58 unequal: No Solution Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,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,2 Current State: 58:[4, 87, 2], Operations: ['8-6=2'] Exploring Operation: 87-4=83, Resulting Numbers: [2, 83] Generated Node #0,2,0: 58:[2, 83] Operation: 87-4=83 Exploring Operation: 4/2=2, Resulting Numbers: [87, 2] Generated Node #0,2,1: 58:[87, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [87, 2] Generated Node #0,2,2: 58:[87, 2] Operation: 4-2=2 Moving to Node #0,2,0 Current State: 58:[2, 83], Operations: ['8-6=2', '87-4=83'] Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,58 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[87, 2], Operations: ['8-6=2', '4/2=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,58 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[87, 2], Operations: ['8-6=2', '4-2=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,58 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,58 unequal: No Solution Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,58 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
[ 15, 34, 29, 53 ]
63
[ "34-15=19", "29+53=82", "82-19=63" ]
Current State: 63:[15, 34, 29, 53], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [29, 53, 19] Generated Node #2: [29, 53, 19] from Operation: 34-15=19 Current State: 63:[29, 53, 19], Operations: ['34-15=19'] Exploring Operation: 29+53=82, Resulting Numbers: [19, 82] Generated Node #3: [19, 82] from Operation: 29+53=82 Current State: 63:[19, 82], Operations: ['34-15=19', '29+53=82'] Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[15, 34, 29, 53], Operations: [] Exploring Operation: 53-34=19, Resulting Numbers: [15, 29, 19] Generated Node #0,0: 63:[15, 29, 19] Operation: 53-34=19 Exploring Operation: 34+29=63, Resulting Numbers: [15, 53, 63] Generated Node #0,1: 63:[15, 53, 63] Operation: 34+29=63 Exploring Operation: 34-29=5, Resulting Numbers: [15, 53, 5] Generated Node #0,2: 63:[15, 53, 5] Operation: 34-29=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[15, 29, 19], Operations: ['53-34=19'] Exploring Operation: 29-15=14, Resulting Numbers: [19, 14] Generated Node #0,0,0: 63:[19, 14] Operation: 29-15=14 Exploring Operation: 29-19=10, Resulting Numbers: [15, 10] Generated Node #0,0,1: 63:[15, 10] Operation: 29-19=10 Exploring Operation: 19-15=4, Resulting Numbers: [29, 4] Generated Node #0,0,2: 63:[29, 4] Operation: 19-15=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[19, 14], Operations: ['53-34=19', '29-15=14'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,63 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[15, 10], Operations: ['53-34=19', '29-19=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,63 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[29, 4], Operations: ['53-34=19', '19-15=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,63 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,63 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,63 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: 63:[15, 53, 63], Operations: ['34+29=63'] Exploring Operation: 63-53=10, Resulting Numbers: [15, 10] Generated Node #0,1,0: 63:[15, 10] Operation: 63-53=10 Exploring Operation: 15+53=68, Resulting Numbers: [63, 68] Generated Node #0,1,1: 63:[63, 68] Operation: 15+53=68 Exploring Operation: 53-15=38, Resulting Numbers: [63, 38] Generated Node #0,1,2: 63:[63, 38] Operation: 53-15=38 Moving to Node #0,1,1 Current State: 63:[63, 68], Operations: ['34+29=63', '15+53=68'] Exploring Operation: 63*68=4284, Resulting Numbers: [4284] 4284,63 unequal: No Solution Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,63 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[15, 10], Operations: ['34+29=63', '63-53=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[63, 38], Operations: ['34+29=63', '53-15=38'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,63 unequal: No Solution Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,63 unequal: No Solution No 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: 63:[15, 53, 5], Operations: ['34-29=5'] Exploring Operation: 15+53=68, Resulting Numbers: [5, 68] Generated Node #0,2,0: 63:[5, 68] Operation: 15+53=68 Exploring Operation: 15+5=20, Resulting Numbers: [53, 20] Generated Node #0,2,1: 63:[53, 20] Operation: 15+5=20 Exploring Operation: 15/5=3, Resulting Numbers: [53, 3] Generated Node #0,2,2: 63:[53, 3] Operation: 15/5=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[5, 68], Operations: ['34-29=5', '15+53=68'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[15, 34, 29, 53], Operations: [] Exploring Operation: 34-29=5, Resulting Numbers: [15, 53, 5] Generated Node #0,2: 63:[15, 53, 5] Operation: 34-29=5 Moving to Node #0,2 Current State: 63:[15, 53, 5], Operations: ['34-29=5'] Exploring Operation: 15+53=68, Resulting Numbers: [5, 68] Generated Node #0,2,0: 63:[5, 68] Operation: 15+53=68 Moving to Node #0,2,0 Current State: 63:[5, 68], Operations: ['34-29=5', '15+53=68'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 18, 42, 71, 62 ]
73
[ "18+42=60", "71+62=133", "133-60=73" ]
Current State: 73:[18, 42, 71, 62], Operations: [] Exploring Operation: 18+42=60, Resulting Numbers: [71, 62, 60] Generated Node #2: [71, 62, 60] from Operation: 18+42=60 Current State: 73:[71, 62, 60], Operations: ['18+42=60'] Exploring Operation: 71+62=133, Resulting Numbers: [60, 133] Generated Node #3: [60, 133] from Operation: 71+62=133 Current State: 73:[60, 133], Operations: ['18+42=60', '71+62=133'] Exploring Operation: 133-60=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[18, 42, 71, 62], Operations: [] Exploring Operation: 18+71=89, Resulting Numbers: [42, 62, 89] Generated Node #0,0: 73:[42, 62, 89] Operation: 18+71=89 Exploring Operation: 18+42=60, Resulting Numbers: [71, 62, 60] Generated Node #0,1: 73:[71, 62, 60] Operation: 18+42=60 Exploring Operation: 42-18=24, Resulting Numbers: [71, 62, 24] Generated Node #0,2: 73:[71, 62, 24] Operation: 42-18=24 Exploring Operation: 18+62=80, Resulting Numbers: [42, 71, 80] Generated Node #0,3: 73:[42, 71, 80] Operation: 18+62=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[71, 62, 60], Operations: ['18+42=60'] Exploring Operation: 71+60=131, Resulting Numbers: [62, 131] Generated Node #0,1,0: 73:[62, 131] Operation: 71+60=131 Exploring Operation: 62+60=122, Resulting Numbers: [71, 122] Generated Node #0,1,1: 73:[71, 122] Operation: 62+60=122 Exploring Operation: 71+62=133, Resulting Numbers: [60, 133] Generated Node #0,1,2: 73:[60, 133] Operation: 71+62=133 Exploring Operation: 71-60=11, Resulting Numbers: [62, 11] Generated Node #0,1,3: 73:[62, 11] Operation: 71-60=11 Moving to Node #0,1,1 Current State: 73:[71, 122], Operations: ['18+42=60', '62+60=122'] Exploring Operation: 122-71=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 71+122=193, Resulting Numbers: [193] 193,73 unequal: No Solution Exploring Operation: 71*122=8662, Resulting Numbers: [8662] 8662,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[62, 131], Operations: ['18+42=60', '71+60=131'] Exploring Operation: 131-62=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 62*131=8122, Resulting Numbers: [8122] 8122,73 unequal: No Solution Exploring Operation: 62+131=193, Resulting Numbers: [193] 193,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[62, 11], Operations: ['18+42=60', '71-60=11'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,73 unequal: No Solution Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[18, 42, 71, 62], Operations: [] Exploring Operation: 18+42=60, Resulting Numbers: [71, 62, 60] Generated Node #0,1: 73:[71, 62, 60] Operation: 18+42=60 Moving to Node #0,1 Current State: 73:[71, 62, 60], Operations: ['18+42=60'] Exploring Operation: 71-60=11, Resulting Numbers: [62, 11] Generated Node #0,1,3: 73:[62, 11] Operation: 71-60=11 Moving to Node #0,1,3 Current State: 73:[62, 11], Operations: ['18+42=60', '71-60=11'] Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 31, 2, 33, 38 ]
37
[ "31+2=33", "33/33=1", "38-1=37" ]
Current State: 37:[31, 2, 33, 38], Operations: [] Exploring Operation: 31+2=33, Resulting Numbers: [33, 38, 33] Generated Node #2: [33, 38, 33] from Operation: 31+2=33 Current State: 37:[33, 38, 33], Operations: ['31+2=33'] Exploring Operation: 33/33=1, Resulting Numbers: [38, 1] Generated Node #3: [38, 1] from Operation: 33/33=1 Current State: 37:[38, 1], Operations: ['31+2=33', '33/33=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[31, 2, 33, 38], Operations: [] Exploring Operation: 31+2=33, Resulting Numbers: [33, 38, 33] Generated Node #0,0: 37:[33, 38, 33] Operation: 31+2=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[33, 38, 33], Operations: ['31+2=33'] Exploring Operation: 33+33=66, Resulting Numbers: [38, 66] Generated Node #0,0,0: 37:[38, 66] Operation: 33+33=66 Moving to Node #0,0,0 Current State: 37:[38, 66], Operations: ['31+2=33', '33+33=66'] Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,37 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
[ 41, 62, 57, 58 ]
64
[ "57-41=16", "62-58=4", "16*4=64" ]
Current State: 64:[41, 62, 57, 58], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [62, 58, 16] Generated Node #2: [62, 58, 16] from Operation: 57-41=16 Current State: 64:[62, 58, 16], Operations: ['57-41=16'] Exploring Operation: 62-58=4, Resulting Numbers: [16, 4] Generated Node #3: [16, 4] from Operation: 62-58=4 Current State: 64:[16, 4], Operations: ['57-41=16', '62-58=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[41, 62, 57, 58], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [41, 57, 4] Generated Node #0,0: 64:[41, 57, 4] Operation: 62-58=4 Exploring Operation: 57-41=16, Resulting Numbers: [62, 58, 16] Generated Node #0,1: 64:[62, 58, 16] Operation: 57-41=16 Exploring Operation: 58-41=17, Resulting Numbers: [62, 57, 17] Generated Node #0,2: 64:[62, 57, 17] Operation: 58-41=17 Exploring Operation: 62-57=5, Resulting Numbers: [41, 58, 5] Generated Node #0,3: 64:[41, 58, 5] Operation: 62-57=5 Exploring Operation: 58-57=1, Resulting Numbers: [41, 62, 1] Generated Node #0,4: 64:[41, 62, 1] Operation: 58-57=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[62, 58, 16], Operations: ['57-41=16'] Exploring Operation: 62-58=4, Resulting Numbers: [16, 4] Generated Node #0,1,0: 64:[16, 4] Operation: 62-58=4 Exploring Operation: 58-16=42, Resulting Numbers: [62, 42] Generated Node #0,1,1: 64:[62, 42] Operation: 58-16=42 Exploring Operation: 58+16=74, Resulting Numbers: [62, 74] Generated Node #0,1,2: 64:[62, 74] Operation: 58+16=74 Exploring Operation: 62-16=46, Resulting Numbers: [58, 46] Generated Node #0,1,3: 64:[58, 46] Operation: 62-16=46 Exploring Operation: 62+16=78, Resulting Numbers: [58, 78] Generated Node #0,1,4: 64:[58, 78] Operation: 62+16=78 Moving to Node #0,1,0 Current State: 64:[16, 4], Operations: ['57-41=16', '62-58=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[41, 62, 57, 58], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [62, 58, 16] Generated Node #0,1: 64:[62, 58, 16] Operation: 57-41=16 Moving to Node #0,1 Current State: 64:[62, 58, 16], Operations: ['57-41=16'] Exploring Operation: 62-58=4, Resulting Numbers: [16, 4] Generated Node #0,1,0: 64:[16, 4] Operation: 62-58=4 Moving to Node #0,1,0 Current State: 64:[16, 4], Operations: ['57-41=16', '62-58=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 31, 43, 56, 90 ]
40
[ "31+43=74", "90-56=34", "74-34=40" ]
Current State: 40:[31, 43, 56, 90], Operations: [] Exploring Operation: 31+43=74, Resulting Numbers: [56, 90, 74] Generated Node #2: [56, 90, 74] from Operation: 31+43=74 Current State: 40:[56, 90, 74], Operations: ['31+43=74'] Exploring Operation: 90-56=34, Resulting Numbers: [74, 34] Generated Node #3: [74, 34] from Operation: 90-56=34 Current State: 40:[74, 34], Operations: ['31+43=74', '90-56=34'] Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[31, 43, 56, 90], Operations: [] Exploring Operation: 90-43=47, Resulting Numbers: [31, 56, 47] Generated Node #0,0: 40:[31, 56, 47] Operation: 90-43=47 Exploring Operation: 56-31=25, Resulting Numbers: [43, 90, 25] Generated Node #0,1: 40:[43, 90, 25] Operation: 56-31=25 Exploring Operation: 56-43=13, Resulting Numbers: [31, 90, 13] Generated Node #0,2: 40:[31, 90, 13] Operation: 56-43=13 Exploring Operation: 90-56=34, Resulting Numbers: [31, 43, 34] Generated Node #0,3: 40:[31, 43, 34] Operation: 90-56=34 Exploring Operation: 90-31=59, Resulting Numbers: [43, 56, 59] Generated Node #0,4: 40:[43, 56, 59] Operation: 90-31=59 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[31, 43, 34], Operations: ['90-56=34'] Exploring Operation: 43-34=9, Resulting Numbers: [31, 9] Generated Node #0,3,0: 40:[31, 9] Operation: 43-34=9 Exploring Operation: 31+43=74, Resulting Numbers: [34, 74] Generated Node #0,3,1: 40:[34, 74] Operation: 31+43=74 Exploring Operation: 31+34=65, Resulting Numbers: [43, 65] Generated Node #0,3,2: 40:[43, 65] Operation: 31+34=65 Exploring Operation: 43-31=12, Resulting Numbers: [34, 12] Generated Node #0,3,3: 40:[34, 12] Operation: 43-31=12 Exploring Operation: 34-31=3, Resulting Numbers: [43, 3] Generated Node #0,3,4: 40:[43, 3] Operation: 34-31=3 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 40:[43, 3], Operations: ['90-56=34', '34-31=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,40 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[31, 43, 56, 90], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [31, 43, 34] Generated Node #0,3: 40:[31, 43, 34] Operation: 90-56=34 Moving to Node #0,3 Current State: 40:[31, 43, 34], Operations: ['90-56=34'] Exploring Operation: 34-31=3, Resulting Numbers: [43, 3] Generated Node #0,3,4: 40:[43, 3] Operation: 34-31=3 Moving to Node #0,3,4 Current State: 40:[43, 3], Operations: ['90-56=34', '34-31=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 43, 97, 1, 59 ]
82
[ "43+97=140", "59-1=58", "140-58=82" ]
Current State: 82:[43, 97, 1, 59], Operations: [] Exploring Operation: 43+97=140, Resulting Numbers: [1, 59, 140] Generated Node #2: [1, 59, 140] from Operation: 43+97=140 Current State: 82:[1, 59, 140], Operations: ['43+97=140'] Exploring Operation: 59-1=58, Resulting Numbers: [140, 58] Generated Node #3: [140, 58] from Operation: 59-1=58 Current State: 82:[140, 58], Operations: ['43+97=140', '59-1=58'] Exploring Operation: 140-58=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[43, 97, 1, 59], Operations: [] Exploring Operation: 59-43=16, Resulting Numbers: [97, 1, 16] Generated Node #0,0: 82:[97, 1, 16] Operation: 59-43=16 Exploring Operation: 97-59=38, Resulting Numbers: [43, 1, 38] Generated Node #0,1: 82:[43, 1, 38] Operation: 97-59=38 Moving to Node #0,1 Current State: 82:[43, 1, 38], Operations: ['97-59=38'] Exploring Operation: 43+38=81, Resulting Numbers: [1, 81] Generated Node #0,1,0: 82:[1, 81] Operation: 43+38=81 Exploring Operation: 43-1=42, Resulting Numbers: [38, 42] Generated Node #0,1,1: 82:[38, 42] Operation: 43-1=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[1, 81], Operations: ['97-59=38', '43+38=81'] Exploring Operation: 1+81=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[43, 97, 1, 59], Operations: [] Exploring Operation: 97-59=38, Resulting Numbers: [43, 1, 38] Generated Node #0,1: 82:[43, 1, 38] Operation: 97-59=38 Moving to Node #0,1 Current State: 82:[43, 1, 38], Operations: ['97-59=38'] Exploring Operation: 43+38=81, Resulting Numbers: [1, 81] Generated Node #0,1,0: 82:[1, 81] Operation: 43+38=81 Moving to Node #0,1,0 Current State: 82:[1, 81], Operations: ['97-59=38', '43+38=81'] Exploring Operation: 1+81=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 81, 51, 97, 81 ]
46
[ "81+51=132", "97+81=178", "178-132=46" ]
Current State: 46:[81, 51, 97, 81], Operations: [] Exploring Operation: 81+51=132, Resulting Numbers: [97, 132] Generated Node #2: [97, 132] from Operation: 81+51=132 Current State: 46:[97, 132], Operations: ['81+51=132'] Exploring Operation: 97+81=178, Resulting Numbers: [132, 178] Generated Node #3: [132, 178] from Operation: 97+81=178 Current State: 46:[132, 178], Operations: ['81+51=132', '97+81=178'] Exploring Operation: 178-132=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[81, 51, 97, 81], Operations: [] Exploring Operation: 81-81=0, Resulting Numbers: [51, 97, 0] Generated Node #0,0: 46:[51, 97, 0] Operation: 81-81=0 Exploring Operation: 81/81=1, Resulting Numbers: [51, 97, 1] Generated Node #0,1: 46:[51, 97, 1] Operation: 81/81=1 Exploring Operation: 97-81=16, Resulting Numbers: [51, 81, 16] Generated Node #0,2: 46:[51, 81, 16] Operation: 97-81=16 Exploring Operation: 97-81=16, Resulting Numbers: [81, 51, 16] Generated Node #0,3: 46:[81, 51, 16] Operation: 97-81=16 Moving to Node #0,2 Current State: 46:[51, 81, 16], Operations: ['97-81=16'] Exploring Operation: 51+16=67, Resulting Numbers: [81, 67] Generated Node #0,2,0: 46:[81, 67] Operation: 51+16=67 Exploring Operation: 51-16=35, Resulting Numbers: [81, 35] Generated Node #0,2,1: 46:[81, 35] Operation: 51-16=35 Exploring Operation: 81-51=30, Resulting Numbers: [16, 30] Generated Node #0,2,2: 46:[16, 30] Operation: 81-51=30 Exploring Operation: 81-16=65, Resulting Numbers: [51, 65] Generated Node #0,2,3: 46:[51, 65] Operation: 81-16=65 Moving to Node #0,3 Current State: 46:[81, 51, 16], Operations: ['97-81=16'] Exploring Operation: 81+16=97, Resulting Numbers: [51, 97] Generated Node #0,3,0: 46:[51, 97] Operation: 81+16=97 Exploring Operation: 81-51=30, Resulting Numbers: [16, 30] Generated Node #0,3,1: 46:[16, 30] Operation: 81-51=30 Exploring Operation: 81-16=65, Resulting Numbers: [51, 65] Generated Node #0,3,2: 46:[51, 65] Operation: 81-16=65 Exploring Operation: 51-16=35, Resulting Numbers: [81, 35] Generated Node #0,3,3: 46:[81, 35] Operation: 51-16=35 Moving to Node #0,1 Current State: 46:[51, 97, 1], Operations: ['81/81=1'] Exploring Operation: 51*1=51, Resulting Numbers: [97, 51] Generated Node #0,1,0: 46:[97, 51] Operation: 51*1=51 Exploring Operation: 97-1=96, Resulting Numbers: [51, 96] Generated Node #0,1,1: 46:[51, 96] Operation: 97-1=96 Exploring Operation: 97-51=46, Resulting Numbers: [1, 46] Generated Node #0,1,2: 46:[1, 46] Operation: 97-51=46 Exploring Operation: 51-1=50, Resulting Numbers: [97, 50] Generated Node #0,1,3: 46:[97, 50] Operation: 51-1=50 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[1, 46], Operations: ['81/81=1', '97-51=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[81, 51, 97, 81], Operations: [] Exploring Operation: 81/81=1, Resulting Numbers: [51, 97, 1] Generated Node #0,1: 46:[51, 97, 1] Operation: 81/81=1 Moving to Node #0,1 Current State: 46:[51, 97, 1], Operations: ['81/81=1'] Exploring Operation: 97-51=46, Resulting Numbers: [1, 46] Generated Node #0,1,2: 46:[1, 46] Operation: 97-51=46 Moving to Node #0,1,2 Current State: 46:[1, 46], Operations: ['81/81=1', '97-51=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 28, 66, 87, 44 ]
33
[ "87-66=21", "44*21=924", "924/28=33" ]
Current State: 33:[28, 66, 87, 44], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [28, 44, 21] Generated Node #2: [28, 44, 21] from Operation: 87-66=21 Current State: 33:[28, 44, 21], Operations: ['87-66=21'] Exploring Operation: 44*21=924, Resulting Numbers: [28, 924] Generated Node #3: [28, 924] from Operation: 44*21=924 Current State: 33:[28, 924], Operations: ['87-66=21', '44*21=924'] Exploring Operation: 924/28=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[28, 66, 87, 44], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [28, 44, 21] Generated Node #0,0: 33:[28, 44, 21] Operation: 87-66=21 Moving to Node #0,0 Current State: 33:[28, 44, 21], Operations: ['87-66=21'] Exploring Operation: 44-28=16, Resulting Numbers: [21, 16] Generated Node #0,0,0: 33:[21, 16] Operation: 44-28=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[21, 16], Operations: ['87-66=21', '44-28=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 81, 28, 94, 66 ]
80
[ "94-28=66", "66/66=1", "81-1=80" ]
Current State: 80:[81, 28, 94, 66], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [81, 66, 66] Generated Node #2: [81, 66, 66] from Operation: 94-28=66 Current State: 80:[81, 66, 66], Operations: ['94-28=66'] Exploring Operation: 66/66=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 66/66=1 Current State: 80:[81, 1], Operations: ['94-28=66', '66/66=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[81, 28, 94, 66], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [28, 66, 13] Generated Node #0,0: 80:[28, 66, 13] Operation: 94-81=13 Exploring Operation: 66-28=38, Resulting Numbers: [81, 94, 38] Generated Node #0,1: 80:[81, 94, 38] Operation: 66-28=38 Exploring Operation: 94-66=28, Resulting Numbers: [81, 28, 28] Generated Node #0,2: 80:[81, 28, 28] Operation: 94-66=28 Exploring Operation: 81-66=15, Resulting Numbers: [28, 94, 15] Generated Node #0,3: 80:[28, 94, 15] Operation: 81-66=15 Exploring Operation: 94-28=66, Resulting Numbers: [81, 66, 66] Generated Node #0,4: 80:[81, 66, 66] Operation: 94-28=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[81, 94, 38], Operations: ['66-28=38'] Exploring Operation: 94+38=132, Resulting Numbers: [81, 132] Generated Node #0,1,0: 80:[81, 132] Operation: 94+38=132 Exploring Operation: 81+38=119, Resulting Numbers: [94, 119] Generated Node #0,1,1: 80:[94, 119] Operation: 81+38=119 Exploring Operation: 94-38=56, Resulting Numbers: [81, 56] Generated Node #0,1,2: 80:[81, 56] Operation: 94-38=56 Exploring Operation: 94-81=13, Resulting Numbers: [38, 13] Generated Node #0,1,3: 80:[38, 13] Operation: 94-81=13 Exploring Operation: 81-38=43, Resulting Numbers: [94, 43] Generated Node #0,1,4: 80:[94, 43] Operation: 81-38=43 Moving to Node #0,1,3 Current State: 80:[38, 13], Operations: ['66-28=38', '94-81=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[94, 43], Operations: ['66-28=38', '81-38=43'] Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,80 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[81, 56], Operations: ['66-28=38', '94-38=56'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,80 unequal: No Solution Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[81, 132], Operations: ['66-28=38', '94+38=132'] Exploring Operation: 132-81=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 81*132=10692, Resulting Numbers: [10692] 10692,80 unequal: No Solution Exploring Operation: 81+132=213, Resulting Numbers: [213] 213,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[94, 119], Operations: ['66-28=38', '81+38=119'] Exploring Operation: 119-94=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 94+119=213, Resulting Numbers: [213] 213,80 unequal: No Solution Exploring Operation: 94*119=11186, Resulting Numbers: [11186] 11186,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,2 Current State: 80:[81, 28, 28], Operations: ['94-66=28'] Exploring Operation: 28-28=0, Resulting Numbers: [81, 0] Generated Node #0,2,0: 80:[81, 0] Operation: 28-28=0 Exploring Operation: 81-28=53, Resulting Numbers: [28, 53] Generated Node #0,2,1: 80:[28, 53] Operation: 81-28=53 Exploring Operation: 81-28=53, Resulting Numbers: [28, 53] Generated Node #0,2,2: 80:[28, 53] Operation: 81-28=53 Exploring Operation: 28+28=56, Resulting Numbers: [81, 56] Generated Node #0,2,3: 80:[81, 56] Operation: 28+28=56 Exploring Operation: 28/28=1, Resulting Numbers: [81, 1] Generated Node #0,2,4: 80:[81, 1] Operation: 28/28=1 Moving to Node #0,2,4 Current State: 80:[81, 1], Operations: ['94-66=28', '28/28=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[81, 28, 94, 66], Operations: [] Exploring Operation: 94-66=28, Resulting Numbers: [81, 28, 28] Generated Node #0,2: 80:[81, 28, 28] Operation: 94-66=28 Moving to Node #0,2 Current State: 80:[81, 28, 28], Operations: ['94-66=28'] Exploring Operation: 28/28=1, Resulting Numbers: [81, 1] Generated Node #0,2,4: 80:[81, 1] Operation: 28/28=1 Moving to Node #0,2,4 Current State: 80:[81, 1], Operations: ['94-66=28', '28/28=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 88, 30, 66, 38 ]
51
[ "30+38=68", "66*68=4488", "4488/88=51" ]
Current State: 51:[88, 30, 66, 38], Operations: [] Exploring Operation: 30+38=68, Resulting Numbers: [88, 66, 68] Generated Node #2: [88, 66, 68] from Operation: 30+38=68 Current State: 51:[88, 66, 68], Operations: ['30+38=68'] Exploring Operation: 66*68=4488, Resulting Numbers: [88, 4488] Generated Node #3: [88, 4488] from Operation: 66*68=4488 Current State: 51:[88, 4488], Operations: ['30+38=68', '66*68=4488'] Exploring Operation: 4488/88=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[88, 30, 66, 38], Operations: [] Exploring Operation: 88-38=50, Resulting Numbers: [30, 66, 50] Generated Node #0,0: 51:[30, 66, 50] Operation: 88-38=50 Exploring Operation: 88-66=22, Resulting Numbers: [30, 38, 22] Generated Node #0,1: 51:[30, 38, 22] Operation: 88-66=22 Exploring Operation: 38-30=8, Resulting Numbers: [88, 66, 8] Generated Node #0,2: 51:[88, 66, 8] Operation: 38-30=8 Exploring Operation: 88-30=58, Resulting Numbers: [66, 38, 58] Generated Node #0,3: 51:[66, 38, 58] Operation: 88-30=58 Moving to Node #0,0 Current State: 51:[30, 66, 50], Operations: ['88-38=50'] Exploring Operation: 66-50=16, Resulting Numbers: [30, 16] Generated Node #0,0,0: 51:[30, 16] Operation: 66-50=16 Exploring Operation: 66-30=36, Resulting Numbers: [50, 36] Generated Node #0,0,1: 51:[50, 36] Operation: 66-30=36 Exploring Operation: 30+50=80, Resulting Numbers: [66, 80] Generated Node #0,0,2: 51:[66, 80] Operation: 30+50=80 Exploring Operation: 50-30=20, Resulting Numbers: [66, 20] Generated Node #0,0,3: 51:[66, 20] Operation: 50-30=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[30, 16], Operations: ['88-38=50', '66-50=16'] Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[50, 36], Operations: ['88-38=50', '66-30=36'] Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,51 unequal: No Solution Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,51 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[66, 20], Operations: ['88-38=50', '50-30=20'] Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,51 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,51 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[66, 80], Operations: ['88-38=50', '30+50=80'] Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 66*80=5280, Resulting Numbers: [5280] 5280,51 unequal: No Solution Exploring Operation: 66+80=146, Resulting Numbers: [146] 146,51 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: 51:[30, 38, 22], Operations: ['88-66=22'] Exploring Operation: 30+22=52, Resulting Numbers: [38, 52] Generated Node #0,1,0: 51:[38, 52] Operation: 30+22=52 Exploring Operation: 38-22=16, Resulting Numbers: [30, 16] Generated Node #0,1,1: 51:[30, 16] Operation: 38-22=16 Exploring Operation: 30-22=8, Resulting Numbers: [38, 8] Generated Node #0,1,2: 51:[38, 8] Operation: 30-22=8 Exploring Operation: 38-30=8, Resulting Numbers: [22, 8] Generated Node #0,1,3: 51:[22, 8] Operation: 38-30=8 Moving to Node #0,3 Current State: 51:[66, 38, 58], Operations: ['88-30=58'] Exploring Operation: 58-38=20, Resulting Numbers: [66, 20] Generated Node #0,3,0: 51:[66, 20] Operation: 58-38=20 Exploring Operation: 66-38=28, Resulting Numbers: [58, 28] Generated Node #0,3,1: 51:[58, 28] Operation: 66-38=28 Exploring Operation: 66-58=8, Resulting Numbers: [38, 8] Generated Node #0,3,2: 51:[38, 8] Operation: 66-58=8 Exploring Operation: 66+38=104, Resulting Numbers: [58, 104] Generated Node #0,3,3: 51:[58, 104] Operation: 66+38=104 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[66, 20], Operations: ['88-30=58', '58-38=20'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,51 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[58, 28], Operations: ['88-30=58', '66-38=28'] Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,51 unequal: No Solution Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,51 unequal: No Solution Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[38, 8], Operations: ['88-30=58', '66-58=8'] Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,51 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[58, 104], Operations: ['88-30=58', '66+38=104'] Exploring Operation: 104-58=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 58*104=6032, Resulting Numbers: [6032] 6032,51 unequal: No Solution Exploring Operation: 58+104=162, Resulting Numbers: [162] 162,51 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: 51:[88, 66, 8], Operations: ['38-30=8'] Exploring Operation: 88-66=22, Resulting Numbers: [8, 22] Generated Node #0,2,0: 51:[8, 22] Operation: 88-66=22 Exploring Operation: 88/8=11, Resulting Numbers: [66, 11] Generated Node #0,2,1: 51:[66, 11] Operation: 88/8=11 Exploring Operation: 66-8=58, Resulting Numbers: [88, 58] Generated Node #0,2,2: 51:[88, 58] Operation: 66-8=58 Exploring Operation: 88-8=80, Resulting Numbers: [66, 80] Generated Node #0,2,3: 51:[66, 80] Operation: 88-8=80 Moving to Node #0,1,3 Current State: 51:[22, 8], Operations: ['88-66=22', '38-30=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,51 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[8, 22], Operations: ['38-30=8', '88-66=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[30, 16], Operations: ['88-66=22', '38-22=16'] Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,51 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[38, 52], Operations: ['88-66=22', '30+22=52'] Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,51 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[38, 8], Operations: ['88-66=22', '30-22=8'] Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,51 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[66, 11], Operations: ['38-30=8', '88/8=11'] Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,51 unequal: No Solution Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,51 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[88, 58], Operations: ['38-30=8', '66-8=58'] Exploring Operation: 88+58=146, Resulting Numbers: [146] 146,51 unequal: No Solution Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 88*58=5104, Resulting Numbers: [5104] 5104,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[66, 80], Operations: ['38-30=8', '88-8=80'] Exploring Operation: 66+80=146, Resulting Numbers: [146] 146,51 unequal: No Solution Exploring Operation: 66*80=5280, Resulting Numbers: [5280] 5280,51 unequal: No Solution Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,51 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 41, 16, 53, 29 ]
81
[ "41+16=57", "53-29=24", "57+24=81" ]
Current State: 81:[41, 16, 53, 29], Operations: [] Exploring Operation: 41+16=57, Resulting Numbers: [53, 29, 57] Generated Node #2: [53, 29, 57] from Operation: 41+16=57 Current State: 81:[53, 29, 57], Operations: ['41+16=57'] Exploring Operation: 53-29=24, Resulting Numbers: [57, 24] Generated Node #3: [57, 24] from Operation: 53-29=24 Current State: 81:[57, 24], Operations: ['41+16=57', '53-29=24'] Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[41, 16, 53, 29], Operations: [] Exploring Operation: 53+29=82, Resulting Numbers: [41, 16, 82] Generated Node #0,0: 81:[41, 16, 82] Operation: 53+29=82 Exploring Operation: 53-41=12, Resulting Numbers: [16, 29, 12] Generated Node #0,1: 81:[16, 29, 12] Operation: 53-41=12 Exploring Operation: 53-29=24, Resulting Numbers: [41, 16, 24] Generated Node #0,2: 81:[41, 16, 24] Operation: 53-29=24 Exploring Operation: 41+53=94, Resulting Numbers: [16, 29, 94] Generated Node #0,3: 81:[16, 29, 94] Operation: 41+53=94 Moving to Node #0,1 Current State: 81:[16, 29, 12], Operations: ['53-41=12'] Exploring Operation: 29-16=13, Resulting Numbers: [12, 13] Generated Node #0,1,0: 81:[12, 13] Operation: 29-16=13 Exploring Operation: 29-12=17, Resulting Numbers: [16, 17] Generated Node #0,1,1: 81:[16, 17] Operation: 29-12=17 Exploring Operation: 16+12=28, Resulting Numbers: [29, 28] Generated Node #0,1,2: 81:[29, 28] Operation: 16+12=28 Exploring Operation: 16-12=4, Resulting Numbers: [29, 4] Generated Node #0,1,3: 81:[29, 4] Operation: 16-12=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[29, 28], Operations: ['53-41=12', '16+12=28'] Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,81 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,81 unequal: No Solution No 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: 81:[29, 4], Operations: ['53-41=12', '16-12=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,81 unequal: No Solution No 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: 81:[12, 13], Operations: ['53-41=12', '29-16=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,81 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,81 unequal: No Solution No 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: 81:[16, 17], Operations: ['53-41=12', '29-12=17'] Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,81 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,81 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: 81:[16, 29, 94], Operations: ['41+53=94'] Exploring Operation: 16+29=45, Resulting Numbers: [94, 45] Generated Node #0,3,0: 81:[94, 45] Operation: 16+29=45 Exploring Operation: 29-16=13, Resulting Numbers: [94, 13] Generated Node #0,3,1: 81:[94, 13] Operation: 29-16=13 Exploring Operation: 94-29=65, Resulting Numbers: [16, 65] Generated Node #0,3,2: 81:[16, 65] Operation: 94-29=65 Exploring Operation: 94-16=78, Resulting Numbers: [29, 78] Generated Node #0,3,3: 81:[29, 78] Operation: 94-16=78 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[29, 78], Operations: ['41+53=94', '94-16=78'] Exploring Operation: 29*78=2262, Resulting Numbers: [2262] 2262,81 unequal: No Solution Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 29+78=107, Resulting Numbers: [107] 107,81 unequal: No Solution No 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: 81:[94, 13], Operations: ['41+53=94', '29-16=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[41, 16, 53, 29], Operations: [] Exploring Operation: 41+53=94, Resulting Numbers: [16, 29, 94] Generated Node #0,3: 81:[16, 29, 94] Operation: 41+53=94 Moving to Node #0,3 Current State: 81:[16, 29, 94], Operations: ['41+53=94'] Exploring Operation: 29-16=13, Resulting Numbers: [94, 13] Generated Node #0,3,1: 81:[94, 13] Operation: 29-16=13 Moving to Node #0,3,1 Current State: 81:[94, 13], Operations: ['41+53=94', '29-16=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 72, 90, 23, 96 ]
35
[ "96-90=6", "72/6=12", "23+12=35" ]
Current State: 35:[72, 90, 23, 96], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [72, 23, 6] Generated Node #2: [72, 23, 6] from Operation: 96-90=6 Current State: 35:[72, 23, 6], Operations: ['96-90=6'] Exploring Operation: 72/6=12, Resulting Numbers: [23, 12] Generated Node #3: [23, 12] from Operation: 72/6=12 Current State: 35:[23, 12], Operations: ['96-90=6', '72/6=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[72, 90, 23, 96], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [90, 23, 24] Generated Node #0,0: 35:[90, 23, 24] Operation: 96-72=24 Exploring Operation: 96-90=6, Resulting Numbers: [72, 23, 6] Generated Node #0,1: 35:[72, 23, 6] Operation: 96-90=6 Exploring Operation: 90-72=18, Resulting Numbers: [23, 96, 18] Generated Node #0,2: 35:[23, 96, 18] Operation: 90-72=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[72, 23, 6], Operations: ['96-90=6'] Exploring Operation: 72-23=49, Resulting Numbers: [6, 49] Generated Node #0,1,0: 35:[6, 49] Operation: 72-23=49 Exploring Operation: 72-6=66, Resulting Numbers: [23, 66] Generated Node #0,1,1: 35:[23, 66] Operation: 72-6=66 Exploring Operation: 72/6=12, Resulting Numbers: [23, 12] Generated Node #0,1,2: 35:[23, 12] Operation: 72/6=12 Moving to Node #0,1,0 Current State: 35:[6, 49], Operations: ['96-90=6', '72-23=49'] Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,35 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,35 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[23, 12], Operations: ['96-90=6', '72/6=12'] Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,35 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[72, 90, 23, 96], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [72, 23, 6] Generated Node #0,1: 35:[72, 23, 6] Operation: 96-90=6 Moving to Node #0,1 Current State: 35:[72, 23, 6], Operations: ['96-90=6'] Exploring Operation: 72/6=12, Resulting Numbers: [23, 12] Generated Node #0,1,2: 35:[23, 12] Operation: 72/6=12 Moving to Node #0,1,2 Current State: 35:[23, 12], Operations: ['96-90=6', '72/6=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 93, 3, 4, 31 ]
61
[ "93+3=96", "4+31=35", "96-35=61" ]
Current State: 61:[93, 3, 4, 31], Operations: [] Exploring Operation: 93+3=96, Resulting Numbers: [4, 31, 96] Generated Node #2: [4, 31, 96] from Operation: 93+3=96 Current State: 61:[4, 31, 96], Operations: ['93+3=96'] Exploring Operation: 4+31=35, Resulting Numbers: [96, 35] Generated Node #3: [96, 35] from Operation: 4+31=35 Current State: 61:[96, 35], Operations: ['93+3=96', '4+31=35'] Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[93, 3, 4, 31], Operations: [] Exploring Operation: 3*4=12, Resulting Numbers: [93, 31, 12] Generated Node #0,0: 61:[93, 31, 12] Operation: 3*4=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[93, 31, 12], Operations: ['3*4=12'] Exploring Operation: 93-31=62, Resulting Numbers: [12, 62] Generated Node #0,0,0: 61:[12, 62] Operation: 93-31=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[12, 62], Operations: ['3*4=12', '93-31=62'] Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 12, 42, 24, 57 ]
27
[ "12+42=54", "24+57=81", "81-54=27" ]
Current State: 27:[12, 42, 24, 57], Operations: [] Exploring Operation: 12+42=54, Resulting Numbers: [24, 57, 54] Generated Node #2: [24, 57, 54] from Operation: 12+42=54 Current State: 27:[24, 57, 54], Operations: ['12+42=54'] Exploring Operation: 24+57=81, Resulting Numbers: [54, 81] Generated Node #3: [54, 81] from Operation: 24+57=81 Current State: 27:[54, 81], Operations: ['12+42=54', '24+57=81'] Exploring Operation: 81-54=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[12, 42, 24, 57], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [12, 42, 33] Generated Node #0,0: 27:[12, 42, 33] Operation: 57-24=33 Exploring Operation: 57-12=45, Resulting Numbers: [42, 24, 45] Generated Node #0,1: 27:[42, 24, 45] Operation: 57-12=45 Exploring Operation: 57-42=15, Resulting Numbers: [12, 24, 15] Generated Node #0,2: 27:[12, 24, 15] Operation: 57-42=15 Exploring Operation: 42-12=30, Resulting Numbers: [24, 57, 30] Generated Node #0,3: 27:[24, 57, 30] Operation: 42-12=30 Moving to Node #0,2 Current State: 27:[12, 24, 15], Operations: ['57-42=15'] Exploring Operation: 24-15=9, Resulting Numbers: [12, 9] Generated Node #0,2,0: 27:[12, 9] Operation: 24-15=9 Exploring Operation: 12+15=27, Resulting Numbers: [24, 27] Generated Node #0,2,1: 27:[24, 27] Operation: 12+15=27 Exploring Operation: 15-12=3, Resulting Numbers: [24, 3] Generated Node #0,2,2: 27:[24, 3] Operation: 15-12=3 Exploring Operation: 24/12=2, Resulting Numbers: [15, 2] Generated Node #0,2,3: 27:[15, 2] Operation: 24/12=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[12, 9], Operations: ['57-42=15', '24-15=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,27 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[24, 27], Operations: ['57-42=15', '12+15=27'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,27 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[24, 3], Operations: ['57-42=15', '15-12=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[12, 42, 24, 57], Operations: [] Exploring Operation: 57-42=15, Resulting Numbers: [12, 24, 15] Generated Node #0,2: 27:[12, 24, 15] Operation: 57-42=15 Moving to Node #0,2 Current State: 27:[12, 24, 15], Operations: ['57-42=15'] Exploring Operation: 15-12=3, Resulting Numbers: [24, 3] Generated Node #0,2,2: 27:[24, 3] Operation: 15-12=3 Moving to Node #0,2,2 Current State: 27:[24, 3], Operations: ['57-42=15', '15-12=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 71, 40, 79, 4 ]
72
[ "79-71=8", "4*8=32", "40+32=72" ]
Current State: 72:[71, 40, 79, 4], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [40, 4, 8] Generated Node #2: [40, 4, 8] from Operation: 79-71=8 Current State: 72:[40, 4, 8], Operations: ['79-71=8'] Exploring Operation: 4*8=32, Resulting Numbers: [40, 32] Generated Node #3: [40, 32] from Operation: 4*8=32 Current State: 72:[40, 32], Operations: ['79-71=8', '4*8=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[71, 40, 79, 4], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [40, 4, 8] Generated Node #0,0: 72:[40, 4, 8] Operation: 79-71=8 Moving to Node #0,0 Current State: 72:[40, 4, 8], Operations: ['79-71=8'] Exploring Operation: 40-4=36, Resulting Numbers: [8, 36] Generated Node #0,0,0: 72:[8, 36] Operation: 40-4=36 Moving to Node #0,0,0 Current State: 72:[8, 36], Operations: ['79-71=8', '40-4=36'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,72 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 16, 85, 33, 78 ]
56
[ "16+85=101", "78-33=45", "101-45=56" ]
Current State: 56:[16, 85, 33, 78], Operations: [] Exploring Operation: 16+85=101, Resulting Numbers: [33, 78, 101] Generated Node #2: [33, 78, 101] from Operation: 16+85=101 Current State: 56:[33, 78, 101], Operations: ['16+85=101'] Exploring Operation: 78-33=45, Resulting Numbers: [101, 45] Generated Node #3: [101, 45] from Operation: 78-33=45 Current State: 56:[101, 45], Operations: ['16+85=101', '78-33=45'] Exploring Operation: 101-45=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[16, 85, 33, 78], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [16, 33, 7] Generated Node #0,0: 56:[16, 33, 7] Operation: 85-78=7 Moving to Node #0,0 Current State: 56:[16, 33, 7], Operations: ['85-78=7'] Exploring Operation: 33-16=17, Resulting Numbers: [7, 17] Generated Node #0,0,0: 56:[7, 17] Operation: 33-16=17 Moving to Node #0,0,0 Current State: 56:[7, 17], Operations: ['85-78=7', '33-16=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,56 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 26, 62, 13, 14 ]
89
[ "26+62=88", "14-13=1", "88+1=89" ]
Current State: 89:[26, 62, 13, 14], Operations: [] Exploring Operation: 26+62=88, Resulting Numbers: [13, 14, 88] Generated Node #2: [13, 14, 88] from Operation: 26+62=88 Current State: 89:[13, 14, 88], Operations: ['26+62=88'] Exploring Operation: 14-13=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 14-13=1 Current State: 89:[88, 1], Operations: ['26+62=88', '14-13=1'] Exploring Operation: 88+1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[26, 62, 13, 14], Operations: [] Exploring Operation: 26+62=88, Resulting Numbers: [13, 14, 88] Generated Node #0,0: 89:[13, 14, 88] Operation: 26+62=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[13, 14, 88], Operations: ['26+62=88'] Exploring Operation: 13+14=27, Resulting Numbers: [88, 27] Generated Node #0,0,0: 89:[88, 27] Operation: 13+14=27 Moving to Node #0,0,0 Current State: 89:[88, 27], Operations: ['26+62=88', '13+14=27'] Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 21, 26, 87, 3 ]
72
[ "26-21=5", "3*5=15", "87-15=72" ]
Current State: 72:[21, 26, 87, 3], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [87, 3, 5] Generated Node #2: [87, 3, 5] from Operation: 26-21=5 Current State: 72:[87, 3, 5], Operations: ['26-21=5'] Exploring Operation: 3*5=15, Resulting Numbers: [87, 15] Generated Node #3: [87, 15] from Operation: 3*5=15 Current State: 72:[87, 15], Operations: ['26-21=5', '3*5=15'] Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[21, 26, 87, 3], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [26, 3, 66] Generated Node #0,0: 72:[26, 3, 66] Operation: 87-21=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[26, 3, 66], Operations: ['87-21=66'] Exploring Operation: 66-26=40, Resulting Numbers: [3, 40] Generated Node #0,0,0: 72:[3, 40] Operation: 66-26=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[3, 40], Operations: ['87-21=66', '66-26=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 11, 60, 47, 3 ]
78
[ "11+47=58", "60/3=20", "58+20=78" ]
Current State: 78:[11, 60, 47, 3], Operations: [] Exploring Operation: 11+47=58, Resulting Numbers: [60, 3, 58] Generated Node #2: [60, 3, 58] from Operation: 11+47=58 Current State: 78:[60, 3, 58], Operations: ['11+47=58'] Exploring Operation: 60/3=20, Resulting Numbers: [58, 20] Generated Node #3: [58, 20] from Operation: 60/3=20 Current State: 78:[58, 20], Operations: ['11+47=58', '60/3=20'] Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[11, 60, 47, 3], Operations: [] Exploring Operation: 60-47=13, Resulting Numbers: [11, 3, 13] Generated Node #0,0: 78:[11, 3, 13] Operation: 60-47=13 Exploring Operation: 60-11=49, Resulting Numbers: [47, 3, 49] Generated Node #0,1: 78:[47, 3, 49] Operation: 60-11=49 Exploring Operation: 60/3=20, Resulting Numbers: [11, 47, 20] Generated Node #0,2: 78:[11, 47, 20] Operation: 60/3=20 Exploring Operation: 11+60=71, Resulting Numbers: [47, 3, 71] Generated Node #0,3: 78:[47, 3, 71] Operation: 11+60=71 Moving to Node #0,0 Current State: 78:[11, 3, 13], Operations: ['60-47=13'] Exploring Operation: 11+3=14, Resulting Numbers: [13, 14] Generated Node #0,0,0: 78:[13, 14] Operation: 11+3=14 Exploring Operation: 11-3=8, Resulting Numbers: [13, 8] Generated Node #0,0,1: 78:[13, 8] Operation: 11-3=8 Exploring Operation: 13-11=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 78:[3, 2] Operation: 13-11=2 Exploring Operation: 11+13=24, Resulting Numbers: [3, 24] Generated Node #0,0,3: 78:[3, 24] Operation: 11+13=24 Moving to Node #0,3 Current State: 78:[47, 3, 71], Operations: ['11+60=71'] Exploring Operation: 47+3=50, Resulting Numbers: [71, 50] Generated Node #0,3,0: 78:[71, 50] Operation: 47+3=50 Exploring Operation: 3+71=74, Resulting Numbers: [47, 74] Generated Node #0,3,1: 78:[47, 74] Operation: 3+71=74 Exploring Operation: 47-3=44, Resulting Numbers: [71, 44] Generated Node #0,3,2: 78:[71, 44] Operation: 47-3=44 Exploring Operation: 71-47=24, Resulting Numbers: [3, 24] Generated Node #0,3,3: 78:[3, 24] Operation: 71-47=24 Moving to Node #0,2 Current State: 78:[11, 47, 20], Operations: ['60/3=20'] Exploring Operation: 47-11=36, Resulting Numbers: [20, 36] Generated Node #0,2,0: 78:[20, 36] Operation: 47-11=36 Exploring Operation: 11+20=31, Resulting Numbers: [47, 31] Generated Node #0,2,1: 78:[47, 31] Operation: 11+20=31 Exploring Operation: 20-11=9, Resulting Numbers: [47, 9] Generated Node #0,2,2: 78:[47, 9] Operation: 20-11=9 Exploring Operation: 47-20=27, Resulting Numbers: [11, 27] Generated Node #0,2,3: 78:[11, 27] Operation: 47-20=27 Moving to Node #0,1 Current State: 78:[47, 3, 49], Operations: ['60-11=49'] Exploring Operation: 49-3=46, Resulting Numbers: [47, 46] Generated Node #0,1,0: 78:[47, 46] Operation: 49-3=46 Exploring Operation: 47-3=44, Resulting Numbers: [49, 44] Generated Node #0,1,1: 78:[49, 44] Operation: 47-3=44 Exploring Operation: 49-47=2, Resulting Numbers: [3, 2] Generated Node #0,1,2: 78:[3, 2] Operation: 49-47=2 Exploring Operation: 47+49=96, Resulting Numbers: [3, 96] Generated Node #0,1,3: 78:[3, 96] Operation: 47+49=96 Moving to Node #0,0,2 Current State: 78:[3, 2], Operations: ['60-47=13', '13-11=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[3, 2], Operations: ['60-11=49', '49-47=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[13, 14], Operations: ['60-47=13', '11+3=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,78 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[13, 8], Operations: ['60-47=13', '11-3=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[3, 24], Operations: ['11+60=71', '71-47=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,78 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[3, 24], Operations: ['60-47=13', '11+13=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[11, 27], Operations: ['60/3=20', '47-20=27'] Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,78 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[20, 36], Operations: ['60/3=20', '47-11=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[47, 9], Operations: ['60/3=20', '20-11=9'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[71, 44], Operations: ['11+60=71', '47-3=44'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,78 unequal: No Solution Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[47, 74], Operations: ['11+60=71', '3+71=74'] Exploring Operation: 47*74=3478, Resulting Numbers: [3478] 3478,78 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 47+74=121, Resulting Numbers: [121] 121,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[47, 31], Operations: ['60/3=20', '11+20=31'] Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[11, 60, 47, 3], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [11, 47, 20] Generated Node #0,2: 78:[11, 47, 20] Operation: 60/3=20 Moving to Node #0,2 Current State: 78:[11, 47, 20], Operations: ['60/3=20'] Exploring Operation: 11+20=31, Resulting Numbers: [47, 31] Generated Node #0,2,1: 78:[47, 31] Operation: 11+20=31 Moving to Node #0,2,1 Current State: 78:[47, 31], Operations: ['60/3=20', '11+20=31'] Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.947917
hs_4
sum_heuristic
[ 94, 60, 40, 6 ]
86
[ "94+60=154", "40*6=240", "240-154=86" ]
Current State: 86:[94, 60, 40, 6], Operations: [] Exploring Operation: 94+60=154, Resulting Numbers: [40, 6, 154] Generated Node #2: [40, 6, 154] from Operation: 94+60=154 Current State: 86:[40, 6, 154], Operations: ['94+60=154'] Exploring Operation: 40*6=240, Resulting Numbers: [154, 240] Generated Node #3: [154, 240] from Operation: 40*6=240 Current State: 86:[154, 240], Operations: ['94+60=154', '40*6=240'] Exploring Operation: 240-154=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[94, 60, 40, 6], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [40, 6, 34] Generated Node #0,0: 86:[40, 6, 34] Operation: 94-60=34 Moving to Node #0,0 Current State: 86:[40, 6, 34], Operations: ['94-60=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40, 40] Generated Node #0,0,0: 86:[40, 40] Operation: 6+34=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[40, 40], Operations: ['94-60=34', '6+34=40'] Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,86 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
[ 4, 6, 38, 36 ]
13
[ "4+38=42", "36+42=78", "78/6=13" ]
Current State: 13:[4, 6, 38, 36], Operations: [] Exploring Operation: 4+38=42, Resulting Numbers: [6, 36, 42] Generated Node #2: [6, 36, 42] from Operation: 4+38=42 Current State: 13:[6, 36, 42], Operations: ['4+38=42'] Exploring Operation: 36+42=78, Resulting Numbers: [6, 78] Generated Node #3: [6, 78] from Operation: 36+42=78 Current State: 13:[6, 78], Operations: ['4+38=42', '36+42=78'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[4, 6, 38, 36], Operations: [] Exploring Operation: 36/4=9, Resulting Numbers: [6, 38, 9] Generated Node #0,0: 13:[6, 38, 9] Operation: 36/4=9 Exploring Operation: 36/6=6, Resulting Numbers: [4, 38, 6] Generated Node #0,1: 13:[4, 38, 6] Operation: 36/6=6 Exploring Operation: 4+6=10, Resulting Numbers: [38, 36, 10] Generated Node #0,2: 13:[38, 36, 10] Operation: 4+6=10 Exploring Operation: 38-36=2, Resulting Numbers: [4, 6, 2] Generated Node #0,3: 13:[4, 6, 2] Operation: 38-36=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[4, 6, 2], Operations: ['38-36=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6, 6] Generated Node #0,3,0: 13:[6, 6] Operation: 4+2=6 Exploring Operation: 4+6=10, Resulting Numbers: [2, 10] Generated Node #0,3,1: 13:[2, 10] Operation: 4+6=10 Exploring Operation: 6*2=12, Resulting Numbers: [4, 12] Generated Node #0,3,2: 13:[4, 12] Operation: 6*2=12 Exploring Operation: 4*2=8, Resulting Numbers: [6, 8] Generated Node #0,3,3: 13:[6, 8] Operation: 4*2=8 Moving to Node #0,3,2 Current State: 13:[4, 12], Operations: ['38-36=2', '6*2=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[6, 8], Operations: ['38-36=2', '4*2=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[2, 10], Operations: ['38-36=2', '4+6=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[6, 6], Operations: ['38-36=2', '4+2=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,13 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[6, 38, 9], Operations: ['36/4=9'] Exploring Operation: 38-6=32, Resulting Numbers: [9, 32] Generated Node #0,0,0: 13:[9, 32] Operation: 38-6=32 Exploring Operation: 6+38=44, Resulting Numbers: [9, 44] Generated Node #0,0,1: 13:[9, 44] Operation: 6+38=44 Exploring Operation: 6+9=15, Resulting Numbers: [38, 15] Generated Node #0,0,2: 13:[38, 15] Operation: 6+9=15 Exploring Operation: 38-9=29, Resulting Numbers: [6, 29] Generated Node #0,0,3: 13:[6, 29] Operation: 38-9=29 Moving to Node #0,0,0 Current State: 13:[9, 32], Operations: ['36/4=9', '38-6=32'] Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[6, 29], Operations: ['36/4=9', '38-9=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,13 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[38, 15], Operations: ['36/4=9', '6+9=15'] Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,13 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,13 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[9, 44], Operations: ['36/4=9', '6+38=44'] Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,13 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[4, 38, 6], Operations: ['36/6=6'] Exploring Operation: 4+38=42, Resulting Numbers: [6, 42] Generated Node #0,1,0: 13:[6, 42] Operation: 4+38=42 Exploring Operation: 38-6=32, Resulting Numbers: [4, 32] Generated Node #0,1,1: 13:[4, 32] Operation: 38-6=32 Exploring Operation: 4+6=10, Resulting Numbers: [38, 10] Generated Node #0,1,2: 13:[38, 10] Operation: 4+6=10 Exploring Operation: 38-4=34, Resulting Numbers: [6, 34] Generated Node #0,1,3: 13:[6, 34] Operation: 38-4=34 Moving to Node #0,1,1 Current State: 13:[4, 32], Operations: ['36/6=6', '38-6=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,13 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[6, 34], Operations: ['36/6=6', '38-4=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,13 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[38, 10], Operations: ['36/6=6', '4+6=10'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,13 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[6, 42], Operations: ['36/6=6', '4+38=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,13 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[38, 36, 10], Operations: ['4+6=10'] Exploring Operation: 36-10=26, Resulting Numbers: [38, 26] Generated Node #0,2,0: 13:[38, 26] Operation: 36-10=26 Exploring Operation: 38-10=28, Resulting Numbers: [36, 28] Generated Node #0,2,1: 13:[36, 28] Operation: 38-10=28 Exploring Operation: 38-36=2, Resulting Numbers: [10, 2] Generated Node #0,2,2: 13:[10, 2] Operation: 38-36=2 Exploring Operation: 38+10=48, Resulting Numbers: [36, 48] Generated Node #0,2,3: 13:[36, 48] Operation: 38+10=48 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 13:[10, 2], Operations: ['4+6=10', '38-36=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,13 unequal: No Solution No 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: 13:[38, 26], Operations: ['4+6=10', '36-10=26'] Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,13 unequal: No Solution No 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: 13:[36, 28], Operations: ['4+6=10', '38-10=28'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,13 unequal: No Solution No 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: 13:[36, 48], Operations: ['4+6=10', '38+10=48'] Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 36*48=1728, Resulting Numbers: [1728] 1728,13 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,13 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, 5, 45, 66 ]
38
[ "78-5=73", "45+66=111", "111-73=38" ]
Current State: 38:[78, 5, 45, 66], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [45, 66, 73] Generated Node #2: [45, 66, 73] from Operation: 78-5=73 Current State: 38:[45, 66, 73], Operations: ['78-5=73'] Exploring Operation: 45+66=111, Resulting Numbers: [73, 111] Generated Node #3: [73, 111] from Operation: 45+66=111 Current State: 38:[73, 111], Operations: ['78-5=73', '45+66=111'] Exploring Operation: 111-73=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[78, 5, 45, 66], Operations: [] Exploring Operation: 78-66=12, Resulting Numbers: [5, 45, 12] Generated Node #0,0: 38:[5, 45, 12] Operation: 78-66=12 Exploring Operation: 78-45=33, Resulting Numbers: [5, 66, 33] Generated Node #0,1: 38:[5, 66, 33] Operation: 78-45=33 Moving to Node #0,0 Current State: 38:[5, 45, 12], Operations: ['78-66=12'] Exploring Operation: 45-5=40, Resulting Numbers: [12, 40] Generated Node #0,0,0: 38:[12, 40] Operation: 45-5=40 Exploring Operation: 45-12=33, Resulting Numbers: [5, 33] Generated Node #0,0,1: 38:[5, 33] Operation: 45-12=33 Moving to Node #0,1 Current State: 38:[5, 66, 33], Operations: ['78-45=33'] Exploring Operation: 66/33=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 38:[5, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [5, 33] Generated Node #0,1,1: 38:[5, 33] Operation: 66-33=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[5, 2], Operations: ['78-45=33', '66/33=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,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,1,1 Current State: 38:[5, 33], Operations: ['78-45=33', '66-33=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[78, 5, 45, 66], Operations: [] Exploring Operation: 78-45=33, Resulting Numbers: [5, 66, 33] Generated Node #0,1: 38:[5, 66, 33] Operation: 78-45=33 Moving to Node #0,1 Current State: 38:[5, 66, 33], Operations: ['78-45=33'] Exploring Operation: 66-33=33, Resulting Numbers: [5, 33] Generated Node #0,1,1: 38:[5, 33] Operation: 66-33=33 Moving to Node #0,1,1 Current State: 38:[5, 33], Operations: ['78-45=33', '66-33=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 3, 95, 5, 14 ]
30
[ "14-3=11", "95/5=19", "11+19=30" ]
Current State: 30:[3, 95, 5, 14], Operations: [] Exploring Operation: 14-3=11, Resulting Numbers: [95, 5, 11] Generated Node #2: [95, 5, 11] from Operation: 14-3=11 Current State: 30:[95, 5, 11], Operations: ['14-3=11'] Exploring Operation: 95/5=19, Resulting Numbers: [11, 19] Generated Node #3: [11, 19] from Operation: 95/5=19 Current State: 30:[11, 19], Operations: ['14-3=11', '95/5=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[3, 95, 5, 14], Operations: [] Exploring Operation: 95-14=81, Resulting Numbers: [3, 5, 81] Generated Node #0,0: 30:[3, 5, 81] Operation: 95-14=81 Exploring Operation: 95/5=19, Resulting Numbers: [3, 14, 19] Generated Node #0,1: 30:[3, 14, 19] Operation: 95/5=19 Moving to Node #0,1 Current State: 30:[3, 14, 19], Operations: ['95/5=19'] Exploring Operation: 19-14=5, Resulting Numbers: [3, 5] Generated Node #0,1,0: 30:[3, 5] Operation: 19-14=5 Exploring Operation: 19-3=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 30:[14, 16] Operation: 19-3=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[3, 5], Operations: ['95/5=19', '19-14=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,30 unequal: No Solution No 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: 30:[14, 16], Operations: ['95/5=19', '19-3=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[3, 95, 5, 14], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [3, 14, 19] Generated Node #0,1: 30:[3, 14, 19] Operation: 95/5=19 Moving to Node #0,1 Current State: 30:[3, 14, 19], Operations: ['95/5=19'] Exploring Operation: 19-3=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 30:[14, 16] Operation: 19-3=16 Moving to Node #0,1,1 Current State: 30:[14, 16], Operations: ['95/5=19', '19-3=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 62, 57, 70, 65 ]
57
[ "62-57=5", "65/5=13", "70-13=57" ]
Current State: 57:[62, 57, 70, 65], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [70, 65, 5] Generated Node #2: [70, 65, 5] from Operation: 62-57=5 Current State: 57:[70, 65, 5], Operations: ['62-57=5'] Exploring Operation: 65/5=13, Resulting Numbers: [70, 13] Generated Node #3: [70, 13] from Operation: 65/5=13 Current State: 57:[70, 13], Operations: ['62-57=5', '65/5=13'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[62, 57, 70, 65], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [57, 70, 3] Generated Node #0,0: 57:[57, 70, 3] Operation: 65-62=3 Exploring Operation: 70-62=8, Resulting Numbers: [57, 65, 8] Generated Node #0,1: 57:[57, 65, 8] Operation: 70-62=8 Exploring Operation: 70-57=13, Resulting Numbers: [62, 65, 13] Generated Node #0,2: 57:[62, 65, 13] Operation: 70-57=13 Exploring Operation: 70-65=5, Resulting Numbers: [62, 57, 5] Generated Node #0,3: 57:[62, 57, 5] Operation: 70-65=5 Moving to Node #0,3 Current State: 57:[62, 57, 5], Operations: ['70-65=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57, 57] Generated Node #0,3,0: 57:[57, 57] Operation: 62-5=57 Exploring Operation: 57+5=62, Resulting Numbers: [62, 62] Generated Node #0,3,1: 57:[62, 62] Operation: 57+5=62 Exploring Operation: 62+5=67, Resulting Numbers: [57, 67] Generated Node #0,3,2: 57:[57, 67] Operation: 62+5=67 Exploring Operation: 62-57=5, Resulting Numbers: [5, 5] Generated Node #0,3,3: 57:[5, 5] Operation: 62-57=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 57:[57, 57], Operations: ['70-65=5', '62-5=57'] Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[5, 5], Operations: ['70-65=5', '62-57=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 57:[62, 62], Operations: ['70-65=5', '57+5=62'] Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,57 unequal: No Solution Exploring Operation: 62*62=3844, Resulting Numbers: [3844] 3844,57 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[57, 67], Operations: ['70-65=5', '62+5=67'] Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 57*67=3819, Resulting Numbers: [3819] 3819,57 unequal: No Solution Exploring Operation: 57+67=124, Resulting Numbers: [124] 124,57 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: 57:[57, 65, 8], Operations: ['70-62=8'] Exploring Operation: 65-57=8, Resulting Numbers: [8, 8] Generated Node #0,1,0: 57:[8, 8] Operation: 65-57=8 Exploring Operation: 57-8=49, Resulting Numbers: [65, 49] Generated Node #0,1,1: 57:[65, 49] Operation: 57-8=49 Exploring Operation: 57+8=65, Resulting Numbers: [65, 65] Generated Node #0,1,2: 57:[65, 65] Operation: 57+8=65 Exploring Operation: 65-8=57, Resulting Numbers: [57, 57] Generated Node #0,1,3: 57:[57, 57] Operation: 65-8=57 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[57, 57], Operations: ['70-62=8', '65-8=57'] Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,57 unequal: No Solution Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[8, 8], Operations: ['70-62=8', '65-57=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[65, 49], Operations: ['70-62=8', '57-8=49'] Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[65, 65], Operations: ['70-62=8', '57+8=65'] Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,57 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,57 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: 57:[57, 70, 3], Operations: ['65-62=3'] Exploring Operation: 70-57=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 57:[3, 13] Operation: 70-57=13 Exploring Operation: 70-3=67, Resulting Numbers: [57, 67] Generated Node #0,0,1: 57:[57, 67] Operation: 70-3=67 Exploring Operation: 57+3=60, Resulting Numbers: [70, 60] Generated Node #0,0,2: 57:[70, 60] Operation: 57+3=60 Exploring Operation: 57/3=19, Resulting Numbers: [70, 19] Generated Node #0,0,3: 57:[70, 19] Operation: 57/3=19 Moving to Node #0,2 Current State: 57:[62, 65, 13], Operations: ['70-57=13'] Exploring Operation: 65/13=5, Resulting Numbers: [62, 5] Generated Node #0,2,0: 57:[62, 5] Operation: 65/13=5 Exploring Operation: 65-62=3, Resulting Numbers: [13, 3] Generated Node #0,2,1: 57:[13, 3] Operation: 65-62=3 Exploring Operation: 62-13=49, Resulting Numbers: [65, 49] Generated Node #0,2,2: 57:[65, 49] Operation: 62-13=49 Exploring Operation: 65-13=52, Resulting Numbers: [62, 52] Generated Node #0,2,3: 57:[62, 52] Operation: 65-13=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[13, 3], Operations: ['70-57=13', '65-62=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[62, 5], Operations: ['70-57=13', '65/13=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[62, 57, 70, 65], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [62, 65, 13] Generated Node #0,2: 57:[62, 65, 13] Operation: 70-57=13 Moving to Node #0,2 Current State: 57:[62, 65, 13], Operations: ['70-57=13'] Exploring Operation: 65/13=5, Resulting Numbers: [62, 5] Generated Node #0,2,0: 57:[62, 5] Operation: 65/13=5 Moving to Node #0,2,0 Current State: 57:[62, 5], Operations: ['70-57=13', '65/13=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.949653
hs_4
sum_heuristic
[ 8, 14, 44, 1 ]
77
[ "8*1=8", "14*44=616", "616/8=77" ]
Current State: 77:[8, 14, 44, 1], Operations: [] Exploring Operation: 8*1=8, Resulting Numbers: [14, 44, 8] Generated Node #2: [14, 44, 8] from Operation: 8*1=8 Current State: 77:[14, 44, 8], Operations: ['8*1=8'] Exploring Operation: 14*44=616, Resulting Numbers: [8, 616] Generated Node #3: [8, 616] from Operation: 14*44=616 Current State: 77:[8, 616], Operations: ['8*1=8', '14*44=616'] Exploring Operation: 616/8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[8, 14, 44, 1], Operations: [] Exploring Operation: 8-1=7, Resulting Numbers: [14, 44, 7] Generated Node #0,0: 77:[14, 44, 7] Operation: 8-1=7 Exploring Operation: 14+44=58, Resulting Numbers: [8, 1, 58] Generated Node #0,1: 77:[8, 1, 58] Operation: 14+44=58 Exploring Operation: 8+44=52, Resulting Numbers: [14, 1, 52] Generated Node #0,2: 77:[14, 1, 52] Operation: 8+44=52 Exploring Operation: 44-14=30, Resulting Numbers: [8, 1, 30] Generated Node #0,3: 77:[8, 1, 30] Operation: 44-14=30 Exploring Operation: 44-8=36, Resulting Numbers: [14, 1, 36] Generated Node #0,4: 77:[14, 1, 36] Operation: 44-8=36 Moving to Node #0,1 Current State: 77:[8, 1, 58], Operations: ['14+44=58'] Exploring Operation: 8-1=7, Resulting Numbers: [58, 7] Generated Node #0,1,0: 77:[58, 7] Operation: 8-1=7 Exploring Operation: 8*1=8, Resulting Numbers: [58, 8] Generated Node #0,1,1: 77:[58, 8] Operation: 8*1=8 Exploring Operation: 1+58=59, Resulting Numbers: [8, 59] Generated Node #0,1,2: 77:[8, 59] Operation: 1+58=59 Exploring Operation: 8/1=8, Resulting Numbers: [58, 8] Generated Node #0,1,3: 77:[58, 8] Operation: 8/1=8 Exploring Operation: 8+58=66, Resulting Numbers: [1, 66] Generated Node #0,1,4: 77:[1, 66] Operation: 8+58=66 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 77:[1, 66], Operations: ['14+44=58', '8+58=66'] Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[58, 7], Operations: ['14+44=58', '8-1=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[8, 59], Operations: ['14+44=58', '1+58=59'] Exploring Operation: 8*59=472, Resulting Numbers: [472] 472,77 unequal: No Solution Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[58, 8], Operations: ['14+44=58', '8*1=8'] Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[58, 8], Operations: ['14+44=58', '8/1=8'] Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,77 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,77 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: 77:[8, 1, 30], Operations: ['44-14=30'] Exploring Operation: 8-1=7, Resulting Numbers: [30, 7] Generated Node #0,3,0: 77:[30, 7] Operation: 8-1=7 Exploring Operation: 8/1=8, Resulting Numbers: [30, 8] Generated Node #0,3,1: 77:[30, 8] Operation: 8/1=8 Exploring Operation: 30-1=29, Resulting Numbers: [8, 29] Generated Node #0,3,2: 77:[8, 29] Operation: 30-1=29 Exploring Operation: 8*1=8, Resulting Numbers: [30, 8] Generated Node #0,3,3: 77:[30, 8] Operation: 8*1=8 Exploring Operation: 30-8=22, Resulting Numbers: [1, 22] Generated Node #0,3,4: 77:[1, 22] Operation: 30-8=22 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 77:[1, 22], Operations: ['44-14=30', '30-8=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[30, 7], Operations: ['44-14=30', '8-1=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[8, 29], Operations: ['44-14=30', '30-1=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[30, 8], Operations: ['44-14=30', '8/1=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[30, 8], Operations: ['44-14=30', '8*1=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,77 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: 77:[14, 1, 52], Operations: ['8+44=52'] Exploring Operation: 14-1=13, Resulting Numbers: [52, 13] Generated Node #0,2,0: 77:[52, 13] Operation: 14-1=13 Exploring Operation: 14*1=14, Resulting Numbers: [52, 14] Generated Node #0,2,1: 77:[52, 14] Operation: 14*1=14 Exploring Operation: 14/1=14, Resulting Numbers: [52, 14] Generated Node #0,2,2: 77:[52, 14] Operation: 14/1=14 Exploring Operation: 14+52=66, Resulting Numbers: [1, 66] Generated Node #0,2,3: 77:[1, 66] Operation: 14+52=66 Exploring Operation: 1+52=53, Resulting Numbers: [14, 53] Generated Node #0,2,4: 77:[14, 53] Operation: 1+52=53 Moving to Node #0,4 Current State: 77:[14, 1, 36], Operations: ['44-8=36'] Exploring Operation: 36-1=35, Resulting Numbers: [14, 35] Generated Node #0,4,0: 77:[14, 35] Operation: 36-1=35 Exploring Operation: 14/1=14, Resulting Numbers: [36, 14] Generated Node #0,4,1: 77:[36, 14] Operation: 14/1=14 Exploring Operation: 14*1=14, Resulting Numbers: [36, 14] Generated Node #0,4,2: 77:[36, 14] Operation: 14*1=14 Exploring Operation: 14-1=13, Resulting Numbers: [36, 13] Generated Node #0,4,3: 77:[36, 13] Operation: 14-1=13 Exploring Operation: 36-14=22, Resulting Numbers: [1, 22] Generated Node #0,4,4: 77:[1, 22] Operation: 36-14=22 Moving to Node #0,0 Current State: 77:[14, 44, 7], Operations: ['8-1=7'] Exploring Operation: 14+44=58, Resulting Numbers: [7, 58] Generated Node #0,0,0: 77:[7, 58] Operation: 14+44=58 Exploring Operation: 44-7=37, Resulting Numbers: [14, 37] Generated Node #0,0,1: 77:[14, 37] Operation: 44-7=37 Exploring Operation: 44-14=30, Resulting Numbers: [7, 30] Generated Node #0,0,2: 77:[7, 30] Operation: 44-14=30 Exploring Operation: 44+7=51, Resulting Numbers: [14, 51] Generated Node #0,0,3: 77:[14, 51] Operation: 44+7=51 Exploring Operation: 14-7=7, Resulting Numbers: [44, 7] Generated Node #0,0,4: 77:[44, 7] Operation: 14-7=7 Moving to Node #0,2,3 Current State: 77:[1, 66], Operations: ['8+44=52', '14+52=66'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[1, 22], Operations: ['44-8=36', '36-14=22'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[7, 30], Operations: ['8-1=7', '44-14=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[7, 58], Operations: ['8-1=7', '14+44=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,77 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,77 unequal: No Solution Moving to Node #0,4,0 Current State: 77:[14, 35], Operations: ['44-8=36', '36-1=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,77 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,77 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[14, 53], Operations: ['8+44=52', '1+52=53'] Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[52, 13], Operations: ['8+44=52', '14-1=13'] Exploring Operation: 52+13=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 52*13=676, Resulting Numbers: [676] 676,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[36, 13], Operations: ['44-8=36', '14-1=13'] Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,77 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[52, 14], Operations: ['8+44=52', '14/1=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[36, 14], Operations: ['44-8=36', '14*1=14'] Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,77 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[52, 14], Operations: ['8+44=52', '14*1=14'] Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,77 unequal: No Solution Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[36, 14], Operations: ['44-8=36', '14/1=14'] Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,77 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[14, 51], Operations: ['8-1=7', '44+7=51'] Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,77 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[14, 37], Operations: ['8-1=7', '44-7=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,77 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[44, 7], Operations: ['8-1=7', '14-7=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,77 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 25, 82, 93, 1 ]
35
[ "82-25=57", "93-1=92", "92-57=35" ]
Current State: 35:[25, 82, 93, 1], Operations: [] Exploring Operation: 82-25=57, Resulting Numbers: [93, 1, 57] Generated Node #2: [93, 1, 57] from Operation: 82-25=57 Current State: 35:[93, 1, 57], Operations: ['82-25=57'] Exploring Operation: 93-1=92, Resulting Numbers: [57, 92] Generated Node #3: [57, 92] from Operation: 93-1=92 Current State: 35:[57, 92], Operations: ['82-25=57', '93-1=92'] Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[25, 82, 93, 1], Operations: [] Exploring Operation: 82-25=57, Resulting Numbers: [93, 1, 57] Generated Node #0,0: 35:[93, 1, 57] Operation: 82-25=57 Exploring Operation: 93-82=11, Resulting Numbers: [25, 1, 11] Generated Node #0,1: 35:[25, 1, 11] Operation: 93-82=11 Moving to Node #0,1 Current State: 35:[25, 1, 11], Operations: ['93-82=11'] Exploring Operation: 25+11=36, Resulting Numbers: [1, 36] Generated Node #0,1,0: 35:[1, 36] Operation: 25+11=36 Exploring Operation: 25-11=14, Resulting Numbers: [1, 14] Generated Node #0,1,1: 35:[1, 14] Operation: 25-11=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[1, 36], Operations: ['93-82=11', '25+11=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[25, 82, 93, 1], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [25, 1, 11] Generated Node #0,1: 35:[25, 1, 11] Operation: 93-82=11 Moving to Node #0,1 Current State: 35:[25, 1, 11], Operations: ['93-82=11'] Exploring Operation: 25+11=36, Resulting Numbers: [1, 36] Generated Node #0,1,0: 35:[1, 36] Operation: 25+11=36 Moving to Node #0,1,0 Current State: 35:[1, 36], Operations: ['93-82=11', '25+11=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 53, 1, 38, 73 ]
87
[ "53-1=52", "73-38=35", "52+35=87" ]
Current State: 87:[53, 1, 38, 73], Operations: [] Exploring Operation: 53-1=52, Resulting Numbers: [38, 73, 52] Generated Node #2: [38, 73, 52] from Operation: 53-1=52 Current State: 87:[38, 73, 52], Operations: ['53-1=52'] Exploring Operation: 73-38=35, Resulting Numbers: [52, 35] Generated Node #3: [52, 35] from Operation: 73-38=35 Current State: 87:[52, 35], Operations: ['53-1=52', '73-38=35'] Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[53, 1, 38, 73], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [53, 1, 35] Generated Node #0,0: 87:[53, 1, 35] Operation: 73-38=35 Exploring Operation: 53-38=15, Resulting Numbers: [1, 73, 15] Generated Node #0,1: 87:[1, 73, 15] Operation: 53-38=15 Exploring Operation: 73-53=20, Resulting Numbers: [1, 38, 20] Generated Node #0,2: 87:[1, 38, 20] Operation: 73-53=20 Exploring Operation: 53-1=52, Resulting Numbers: [38, 73, 52] Generated Node #0,3: 87:[38, 73, 52] Operation: 53-1=52 Exploring Operation: 53+38=91, Resulting Numbers: [1, 73, 91] Generated Node #0,4: 87:[1, 73, 91] Operation: 53+38=91 Moving to Node #0,2 Current State: 87:[1, 38, 20], Operations: ['73-53=20'] Exploring Operation: 38-20=18, Resulting Numbers: [1, 18] Generated Node #0,2,0: 87:[1, 18] Operation: 38-20=18 Exploring Operation: 38-1=37, Resulting Numbers: [20, 37] Generated Node #0,2,1: 87:[20, 37] Operation: 38-1=37 Exploring Operation: 1+20=21, Resulting Numbers: [38, 21] Generated Node #0,2,2: 87:[38, 21] Operation: 1+20=21 Exploring Operation: 1*38=38, Resulting Numbers: [20, 38] Generated Node #0,2,3: 87:[20, 38] Operation: 1*38=38 Exploring Operation: 38/1=38, Resulting Numbers: [20, 38] Generated Node #0,2,4: 87:[20, 38] Operation: 38/1=38 Moving to Node #0,4 Current State: 87:[1, 73, 91], Operations: ['53+38=91'] Exploring Operation: 1*73=73, Resulting Numbers: [91, 73] Generated Node #0,4,0: 87:[91, 73] Operation: 1*73=73 Exploring Operation: 91-73=18, Resulting Numbers: [1, 18] Generated Node #0,4,1: 87:[1, 18] Operation: 91-73=18 Exploring Operation: 73/1=73, Resulting Numbers: [91, 73] Generated Node #0,4,2: 87:[91, 73] Operation: 73/1=73 Exploring Operation: 91-1=90, Resulting Numbers: [73, 90] Generated Node #0,4,3: 87:[73, 90] Operation: 91-1=90 Exploring Operation: 1+73=74, Resulting Numbers: [91, 74] Generated Node #0,4,4: 87:[91, 74] Operation: 1+73=74 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 87:[1, 18], Operations: ['53+38=91', '91-73=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 87:[73, 90], Operations: ['53+38=91', '91-1=90'] Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 73+90=163, Resulting Numbers: [163] 163,87 unequal: No Solution Exploring Operation: 73*90=6570, Resulting Numbers: [6570] 6570,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 87:[91, 74], Operations: ['53+38=91', '1+73=74'] Exploring Operation: 91+74=165, Resulting Numbers: [165] 165,87 unequal: No Solution Exploring Operation: 91*74=6734, Resulting Numbers: [6734] 6734,87 unequal: No Solution Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 87:[91, 73], Operations: ['53+38=91', '1*73=73'] Exploring Operation: 91+73=164, Resulting Numbers: [164] 164,87 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 91*73=6643, Resulting Numbers: [6643] 6643,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 87:[91, 73], Operations: ['53+38=91', '73/1=73'] Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 91*73=6643, Resulting Numbers: [6643] 6643,87 unequal: No Solution Exploring Operation: 91+73=164, Resulting Numbers: [164] 164,87 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: 87:[1, 73, 15], Operations: ['53-38=15'] Exploring Operation: 1*73=73, Resulting Numbers: [15, 73] Generated Node #0,1,0: 87:[15, 73] Operation: 1*73=73 Exploring Operation: 1+73=74, Resulting Numbers: [15, 74] Generated Node #0,1,1: 87:[15, 74] Operation: 1+73=74 Exploring Operation: 73/1=73, Resulting Numbers: [15, 73] Generated Node #0,1,2: 87:[15, 73] Operation: 73/1=73 Exploring Operation: 73+15=88, Resulting Numbers: [1, 88] Generated Node #0,1,3: 87:[1, 88] Operation: 73+15=88 Exploring Operation: 15-1=14, Resulting Numbers: [73, 14] Generated Node #0,1,4: 87:[73, 14] Operation: 15-1=14 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[1, 88], Operations: ['53-38=15', '73+15=88'] Exploring Operation: 1+88=89, Resulting Numbers: [89] 89,87 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[53, 1, 38, 73], Operations: [] Exploring Operation: 53-38=15, Resulting Numbers: [1, 73, 15] Generated Node #0,1: 87:[1, 73, 15] Operation: 53-38=15 Moving to Node #0,1 Current State: 87:[1, 73, 15], Operations: ['53-38=15'] Exploring Operation: 73+15=88, Resulting Numbers: [1, 88] Generated Node #0,1,3: 87:[1, 88] Operation: 73+15=88 Moving to Node #0,1,3 Current State: 87:[1, 88], Operations: ['53-38=15', '73+15=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic