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
[ 16, 11, 85, 24 ]
88
[ "16+11=27", "85-24=61", "27+61=88" ]
Current State: 88:[16, 11, 85, 24], Operations: [] Exploring Operation: 16+11=27, Resulting Numbers: [85, 24, 27] Generated Node #2: [85, 24, 27] from Operation: 16+11=27 Current State: 88:[85, 24, 27], Operations: ['16+11=27'] Exploring Operation: 85-24=61, Resulting Numbers: [27, 61] Generated Node #3: [27, 61] from Operation: 85-24=61 Current State: 88:[27, 61], Operations: ['16+11=27', '85-24=61'] Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[16, 11, 85, 24], Operations: [] Exploring Operation: 24-16=8, Resulting Numbers: [11, 85, 8] Generated Node #0,0: 88:[11, 85, 8] Operation: 24-16=8 Exploring Operation: 16-11=5, Resulting Numbers: [85, 24, 5] Generated Node #0,1: 88:[85, 24, 5] Operation: 16-11=5 Moving to Node #0,0 Current State: 88:[11, 85, 8], Operations: ['24-16=8'] Exploring Operation: 11*8=88, Resulting Numbers: [85, 88] Generated Node #0,0,0: 88:[85, 88] Operation: 11*8=88 Exploring Operation: 11-8=3, Resulting Numbers: [85, 3] Generated Node #0,0,1: 88:[85, 3] Operation: 11-8=3 Moving to Node #0,1 Current State: 88:[85, 24, 5], Operations: ['16-11=5'] Exploring Operation: 24-5=19, Resulting Numbers: [85, 19] Generated Node #0,1,0: 88:[85, 19] Operation: 24-5=19 Exploring Operation: 85+5=90, Resulting Numbers: [24, 90] Generated Node #0,1,1: 88:[24, 90] Operation: 85+5=90 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[24, 90], Operations: ['16-11=5', '85+5=90'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,88 unequal: No Solution Exploring Operation: 24+90=114, Resulting Numbers: [114] 114,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[85, 19], Operations: ['16-11=5', '24-5=19'] Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,88 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,88 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: 88:[85, 88], Operations: ['24-16=8', '11*8=88'] Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,88 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[85, 3], Operations: ['24-16=8', '11-8=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[16, 11, 85, 24], Operations: [] Exploring Operation: 24-16=8, Resulting Numbers: [11, 85, 8] Generated Node #0,0: 88:[11, 85, 8] Operation: 24-16=8 Moving to Node #0,0 Current State: 88:[11, 85, 8], Operations: ['24-16=8'] Exploring Operation: 11-8=3, Resulting Numbers: [85, 3] Generated Node #0,0,1: 88:[85, 3] Operation: 11-8=3 Moving to Node #0,0,1 Current State: 88:[85, 3], Operations: ['24-16=8', '11-8=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 94, 20, 4, 60 ]
29
[ "94-60=34", "20/4=5", "34-5=29" ]
Current State: 29:[94, 20, 4, 60], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [20, 4, 34] Generated Node #2: [20, 4, 34] from Operation: 94-60=34 Current State: 29:[20, 4, 34], Operations: ['94-60=34'] Exploring Operation: 20/4=5, Resulting Numbers: [34, 5] Generated Node #3: [34, 5] from Operation: 20/4=5 Current State: 29:[34, 5], Operations: ['94-60=34', '20/4=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[94, 20, 4, 60], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [94, 20, 15] Generated Node #0,0: 29:[94, 20, 15] Operation: 60/4=15 Exploring Operation: 94-60=34, Resulting Numbers: [20, 4, 34] Generated Node #0,1: 29:[20, 4, 34] Operation: 94-60=34 Moving to Node #0,1 Current State: 29:[20, 4, 34], Operations: ['94-60=34'] Exploring Operation: 20+4=24, Resulting Numbers: [34, 24] Generated Node #0,1,0: 29:[34, 24] Operation: 20+4=24 Exploring Operation: 34-4=30, Resulting Numbers: [20, 30] Generated Node #0,1,1: 29:[20, 30] Operation: 34-4=30 Moving to Node #0,0 Current State: 29:[94, 20, 15], Operations: ['60/4=15'] Exploring Operation: 94-15=79, Resulting Numbers: [20, 79] Generated Node #0,0,0: 29:[20, 79] Operation: 94-15=79 Exploring Operation: 94-20=74, Resulting Numbers: [15, 74] Generated Node #0,0,1: 29:[15, 74] Operation: 94-20=74 Moving to Node #0,1,0 Current State: 29:[34, 24], Operations: ['94-60=34', '20+4=24'] Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[20, 30], Operations: ['94-60=34', '34-4=30'] Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[15, 74], Operations: ['60/4=15', '94-20=74'] Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,29 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[20, 79], Operations: ['60/4=15', '94-15=79'] Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,29 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,29 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 17, 10, 27, 56 ]
76
[ "17-10=7", "27+56=83", "83-7=76" ]
Current State: 76:[17, 10, 27, 56], Operations: [] Exploring Operation: 17-10=7, Resulting Numbers: [27, 56, 7] Generated Node #2: [27, 56, 7] from Operation: 17-10=7 Current State: 76:[27, 56, 7], Operations: ['17-10=7'] Exploring Operation: 27+56=83, Resulting Numbers: [7, 83] Generated Node #3: [7, 83] from Operation: 27+56=83 Current State: 76:[7, 83], Operations: ['17-10=7', '27+56=83'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[17, 10, 27, 56], Operations: [] Exploring Operation: 27+56=83, Resulting Numbers: [17, 10, 83] Generated Node #0,0: 76:[17, 10, 83] Operation: 27+56=83 Exploring Operation: 17+56=73, Resulting Numbers: [10, 27, 73] Generated Node #0,1: 76:[10, 27, 73] Operation: 17+56=73 Exploring Operation: 56-17=39, Resulting Numbers: [10, 27, 39] Generated Node #0,2: 76:[10, 27, 39] Operation: 56-17=39 Moving to Node #0,0 Current State: 76:[17, 10, 83], Operations: ['27+56=83'] Exploring Operation: 17-10=7, Resulting Numbers: [83, 7] Generated Node #0,0,0: 76:[83, 7] Operation: 17-10=7 Exploring Operation: 83-10=73, Resulting Numbers: [17, 73] Generated Node #0,0,1: 76:[17, 73] Operation: 83-10=73 Exploring Operation: 17+10=27, Resulting Numbers: [83, 27] Generated Node #0,0,2: 76:[83, 27] Operation: 17+10=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[17, 73], Operations: ['27+56=83', '83-10=73'] Exploring Operation: 17+73=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 17*73=1241, Resulting Numbers: [1241] 1241,76 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,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,0 Current State: 76:[83, 7], Operations: ['27+56=83', '17-10=7'] Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,76 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[17, 10, 27, 56], Operations: [] Exploring Operation: 27+56=83, Resulting Numbers: [17, 10, 83] Generated Node #0,0: 76:[17, 10, 83] Operation: 27+56=83 Moving to Node #0,0 Current State: 76:[17, 10, 83], Operations: ['27+56=83'] Exploring Operation: 17-10=7, Resulting Numbers: [83, 7] Generated Node #0,0,0: 76:[83, 7] Operation: 17-10=7 Moving to Node #0,0,0 Current State: 76:[83, 7], Operations: ['27+56=83', '17-10=7'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 8, 76, 68, 21 ]
24
[ "8*21=168", "76+68=144", "168-144=24" ]
Current State: 24:[8, 76, 68, 21], Operations: [] Exploring Operation: 8*21=168, Resulting Numbers: [76, 68, 168] Generated Node #2: [76, 68, 168] from Operation: 8*21=168 Current State: 24:[76, 68, 168], Operations: ['8*21=168'] Exploring Operation: 76+68=144, Resulting Numbers: [168, 144] Generated Node #3: [168, 144] from Operation: 76+68=144 Current State: 24:[168, 144], Operations: ['8*21=168', '76+68=144'] Exploring Operation: 168-144=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[8, 76, 68, 21], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [8, 21, 8] Generated Node #0,0: 24:[8, 21, 8] Operation: 76-68=8 Moving to Node #0,0 Current State: 24:[8, 21, 8], Operations: ['76-68=8'] Exploring Operation: 21-8=13, Resulting Numbers: [8, 13] Generated Node #0,0,0: 24:[8, 13] Operation: 21-8=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[8, 13], Operations: ['76-68=8', '21-8=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 68, 54, 66, 45 ]
97
[ "68-54=14", "66+45=111", "111-14=97" ]
Current State: 97:[68, 54, 66, 45], Operations: [] Exploring Operation: 68-54=14, Resulting Numbers: [66, 45, 14] Generated Node #2: [66, 45, 14] from Operation: 68-54=14 Current State: 97:[66, 45, 14], Operations: ['68-54=14'] Exploring Operation: 66+45=111, Resulting Numbers: [14, 111] Generated Node #3: [14, 111] from Operation: 66+45=111 Current State: 97:[14, 111], Operations: ['68-54=14', '66+45=111'] Exploring Operation: 111-14=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[68, 54, 66, 45], Operations: [] Exploring Operation: 54+45=99, Resulting Numbers: [68, 66, 99] Generated Node #0,0: 97:[68, 66, 99] Operation: 54+45=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[68, 66, 99], Operations: ['54+45=99'] Exploring Operation: 68+66=134, Resulting Numbers: [99, 134] Generated Node #0,0,0: 97:[99, 134] Operation: 68+66=134 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[99, 134], Operations: ['54+45=99', '68+66=134'] Exploring Operation: 134-99=35, Resulting Numbers: [35] 35,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 12, 83, 84 ]
18
[ "31-12=19", "84-83=1", "19-1=18" ]
Current State: 18:[31, 12, 83, 84], Operations: [] Exploring Operation: 31-12=19, Resulting Numbers: [83, 84, 19] Generated Node #2: [83, 84, 19] from Operation: 31-12=19 Current State: 18:[83, 84, 19], Operations: ['31-12=19'] Exploring Operation: 84-83=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 84-83=1 Current State: 18:[19, 1], Operations: ['31-12=19', '84-83=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[31, 12, 83, 84], Operations: [] Exploring Operation: 83-31=52, Resulting Numbers: [12, 84, 52] Generated Node #0,0: 18:[12, 84, 52] Operation: 83-31=52 Exploring Operation: 84-31=53, Resulting Numbers: [12, 83, 53] Generated Node #0,1: 18:[12, 83, 53] Operation: 84-31=53 Exploring Operation: 84/12=7, Resulting Numbers: [31, 83, 7] Generated Node #0,2: 18:[31, 83, 7] Operation: 84/12=7 Exploring Operation: 84-83=1, Resulting Numbers: [31, 12, 1] Generated Node #0,3: 18:[31, 12, 1] Operation: 84-83=1 Moving to Node #0,3 Current State: 18:[31, 12, 1], Operations: ['84-83=1'] Exploring Operation: 31-12=19, Resulting Numbers: [1, 19] Generated Node #0,3,0: 18:[1, 19] Operation: 31-12=19 Exploring Operation: 12-1=11, Resulting Numbers: [31, 11] Generated Node #0,3,1: 18:[31, 11] Operation: 12-1=11 Exploring Operation: 31*1=31, Resulting Numbers: [12, 31] Generated Node #0,3,2: 18:[12, 31] Operation: 31*1=31 Exploring Operation: 31-1=30, Resulting Numbers: [12, 30] Generated Node #0,3,3: 18:[12, 30] Operation: 31-1=30 Moving to Node #0,2 Current State: 18:[31, 83, 7], Operations: ['84/12=7'] Exploring Operation: 83-7=76, Resulting Numbers: [31, 76] Generated Node #0,2,0: 18:[31, 76] Operation: 83-7=76 Exploring Operation: 31-7=24, Resulting Numbers: [83, 24] Generated Node #0,2,1: 18:[83, 24] Operation: 31-7=24 Exploring Operation: 31+7=38, Resulting Numbers: [83, 38] Generated Node #0,2,2: 18:[83, 38] Operation: 31+7=38 Exploring Operation: 83-31=52, Resulting Numbers: [7, 52] Generated Node #0,2,3: 18:[7, 52] Operation: 83-31=52 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[7, 52], Operations: ['84/12=7', '83-31=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[31, 76], Operations: ['84/12=7', '83-7=76'] Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 31*76=2356, Resulting Numbers: [2356] 2356,18 unequal: No Solution Exploring Operation: 31+76=107, Resulting Numbers: [107] 107,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[83, 24], Operations: ['84/12=7', '31-7=24'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,18 unequal: No Solution Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[83, 38], Operations: ['84/12=7', '31+7=38'] Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,18 unequal: No Solution Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,18 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,18 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: 18:[12, 83, 53], Operations: ['84-31=53'] Exploring Operation: 83-53=30, Resulting Numbers: [12, 30] Generated Node #0,1,0: 18:[12, 30] Operation: 83-53=30 Exploring Operation: 12+83=95, Resulting Numbers: [53, 95] Generated Node #0,1,1: 18:[53, 95] Operation: 12+83=95 Exploring Operation: 83-12=71, Resulting Numbers: [53, 71] Generated Node #0,1,2: 18:[53, 71] Operation: 83-12=71 Exploring Operation: 53-12=41, Resulting Numbers: [83, 41] Generated Node #0,1,3: 18:[83, 41] Operation: 53-12=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[12, 30], Operations: ['84-31=53', '83-53=30'] Exploring Operation: 12*30=360, Resulting Numbers: [360] 360,18 unequal: No Solution Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[31, 12, 83, 84], Operations: [] Exploring Operation: 84-31=53, Resulting Numbers: [12, 83, 53] Generated Node #0,1: 18:[12, 83, 53] Operation: 84-31=53 Moving to Node #0,1 Current State: 18:[12, 83, 53], Operations: ['84-31=53'] Exploring Operation: 83-53=30, Resulting Numbers: [12, 30] Generated Node #0,1,0: 18:[12, 30] Operation: 83-53=30 Moving to Node #0,1,0 Current State: 18:[12, 30], Operations: ['84-31=53', '83-53=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 63, 75, 37, 14 ]
39
[ "75-63=12", "37+14=51", "51-12=39" ]
Current State: 39:[63, 75, 37, 14], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [37, 14, 12] Generated Node #2: [37, 14, 12] from Operation: 75-63=12 Current State: 39:[37, 14, 12], Operations: ['75-63=12'] Exploring Operation: 37+14=51, Resulting Numbers: [12, 51] Generated Node #3: [12, 51] from Operation: 37+14=51 Current State: 39:[12, 51], Operations: ['75-63=12', '37+14=51'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[63, 75, 37, 14], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [37, 14, 12] Generated Node #0,0: 39:[37, 14, 12] Operation: 75-63=12 Moving to Node #0,0 Current State: 39:[37, 14, 12], Operations: ['75-63=12'] Exploring Operation: 14-12=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 39:[37, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[37, 2], Operations: ['75-63=12', '14-12=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[63, 75, 37, 14], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [37, 14, 12] Generated Node #0,0: 39:[37, 14, 12] Operation: 75-63=12 Moving to Node #0,0 Current State: 39:[37, 14, 12], Operations: ['75-63=12'] Exploring Operation: 14-12=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 39:[37, 2] Operation: 14-12=2 Moving to Node #0,0,0 Current State: 39:[37, 2], Operations: ['75-63=12', '14-12=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 41, 58, 92, 87 ]
60
[ "87-41=46", "92/46=2", "58+2=60" ]
Current State: 60:[41, 58, 92, 87], Operations: [] Exploring Operation: 87-41=46, Resulting Numbers: [58, 92, 46] Generated Node #2: [58, 92, 46] from Operation: 87-41=46 Current State: 60:[58, 92, 46], Operations: ['87-41=46'] Exploring Operation: 92/46=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 92/46=2 Current State: 60:[58, 2], Operations: ['87-41=46', '92/46=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[41, 58, 92, 87], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [58, 87, 51] Generated Node #0,0: 60:[58, 87, 51] Operation: 92-41=51 Exploring Operation: 92-58=34, Resulting Numbers: [41, 87, 34] Generated Node #0,1: 60:[41, 87, 34] Operation: 92-58=34 Exploring Operation: 92-87=5, Resulting Numbers: [41, 58, 5] Generated Node #0,2: 60:[41, 58, 5] Operation: 92-87=5 Exploring Operation: 87-58=29, Resulting Numbers: [41, 92, 29] Generated Node #0,3: 60:[41, 92, 29] Operation: 87-58=29 Exploring Operation: 87-41=46, Resulting Numbers: [58, 92, 46] Generated Node #0,4: 60:[58, 92, 46] Operation: 87-41=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[41, 58, 5], Operations: ['92-87=5'] Exploring Operation: 58+5=63, Resulting Numbers: [41, 63] Generated Node #0,2,0: 60:[41, 63] Operation: 58+5=63 Exploring Operation: 58-5=53, Resulting Numbers: [41, 53] Generated Node #0,2,1: 60:[41, 53] Operation: 58-5=53 Exploring Operation: 58-41=17, Resulting Numbers: [5, 17] Generated Node #0,2,2: 60:[5, 17] Operation: 58-41=17 Exploring Operation: 41+5=46, Resulting Numbers: [58, 46] Generated Node #0,2,3: 60:[58, 46] Operation: 41+5=46 Exploring Operation: 41-5=36, Resulting Numbers: [58, 36] Generated Node #0,2,4: 60:[58, 36] Operation: 41-5=36 Moving to Node #0,2,2 Current State: 60:[5, 17], Operations: ['92-87=5', '58-41=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,60 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,60 unequal: No Solution Moving to Node #0,2,4 Current State: 60:[58, 36], Operations: ['92-87=5', '41-5=36'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[41, 63], Operations: ['92-87=5', '58+5=63'] Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,60 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[58, 46], Operations: ['92-87=5', '41+5=46'] Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,60 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[41, 53], Operations: ['92-87=5', '58-5=53'] Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[58, 87, 51], Operations: ['92-41=51'] Exploring Operation: 87-58=29, Resulting Numbers: [51, 29] Generated Node #0,0,0: 60:[51, 29] Operation: 87-58=29 Exploring Operation: 87+51=138, Resulting Numbers: [58, 138] Generated Node #0,0,1: 60:[58, 138] Operation: 87+51=138 Exploring Operation: 87-51=36, Resulting Numbers: [58, 36] Generated Node #0,0,2: 60:[58, 36] Operation: 87-51=36 Exploring Operation: 58+51=109, Resulting Numbers: [87, 109] Generated Node #0,0,3: 60:[87, 109] Operation: 58+51=109 Exploring Operation: 58-51=7, Resulting Numbers: [87, 7] Generated Node #0,0,4: 60:[87, 7] Operation: 58-51=7 Moving to Node #0,0,2 Current State: 60:[58, 36], Operations: ['92-41=51', '87-51=36'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,60 unequal: No Solution Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[51, 29], Operations: ['92-41=51', '87-58=29'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,60 unequal: No Solution Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,60 unequal: No Solution Moving to Node #0,0,4 Current State: 60:[87, 7], Operations: ['92-41=51', '58-51=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,60 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[87, 109], Operations: ['92-41=51', '58+51=109'] Exploring Operation: 109-87=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 87+109=196, Resulting Numbers: [196] 196,60 unequal: No Solution Exploring Operation: 87*109=9483, Resulting Numbers: [9483] 9483,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[58, 138], Operations: ['92-41=51', '87+51=138'] Exploring Operation: 138-58=80, Resulting Numbers: [80] 80,60 unequal: No Solution Exploring Operation: 58*138=8004, Resulting Numbers: [8004] 8004,60 unequal: No Solution Exploring Operation: 58+138=196, Resulting Numbers: [196] 196,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[41, 87, 34], Operations: ['92-58=34'] Exploring Operation: 41+34=75, Resulting Numbers: [87, 75] Generated Node #0,1,0: 60:[87, 75] Operation: 41+34=75 Exploring Operation: 41+87=128, Resulting Numbers: [34, 128] Generated Node #0,1,1: 60:[34, 128] Operation: 41+87=128 Exploring Operation: 41-34=7, Resulting Numbers: [87, 7] Generated Node #0,1,2: 60:[87, 7] Operation: 41-34=7 Exploring Operation: 87-34=53, Resulting Numbers: [41, 53] Generated Node #0,1,3: 60:[41, 53] Operation: 87-34=53 Exploring Operation: 87-41=46, Resulting Numbers: [34, 46] Generated Node #0,1,4: 60:[34, 46] Operation: 87-41=46 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 60:[41, 53], Operations: ['92-58=34', '87-34=53'] Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,60 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 60:[34, 46], Operations: ['92-58=34', '87-41=46'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,60 unequal: No Solution Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[87, 7], Operations: ['92-58=34', '41-34=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,60 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[87, 75], Operations: ['92-58=34', '41+34=75'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 87+75=162, Resulting Numbers: [162] 162,60 unequal: No Solution Exploring Operation: 87*75=6525, Resulting Numbers: [6525] 6525,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[34, 128], Operations: ['92-58=34', '41+87=128'] Exploring Operation: 34+128=162, Resulting Numbers: [162] 162,60 unequal: No Solution Exploring Operation: 34*128=4352, Resulting Numbers: [4352] 4352,60 unequal: No Solution Exploring Operation: 128-34=94, Resulting Numbers: [94] 94,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[41, 92, 29], Operations: ['87-58=29'] Exploring Operation: 92-29=63, Resulting Numbers: [41, 63] Generated Node #0,3,0: 60:[41, 63] Operation: 92-29=63 Exploring Operation: 41-29=12, Resulting Numbers: [92, 12] Generated Node #0,3,1: 60:[92, 12] Operation: 41-29=12 Exploring Operation: 92+29=121, Resulting Numbers: [41, 121] Generated Node #0,3,2: 60:[41, 121] Operation: 92+29=121 Exploring Operation: 92-41=51, Resulting Numbers: [29, 51] Generated Node #0,3,3: 60:[29, 51] Operation: 92-41=51 Exploring Operation: 41+29=70, Resulting Numbers: [92, 70] Generated Node #0,3,4: 60:[92, 70] Operation: 41+29=70 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 60:[29, 51], Operations: ['87-58=29', '92-41=51'] Exploring Operation: 29*51=1479, Resulting Numbers: [1479] 1479,60 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 29+51=80, Resulting Numbers: [80] 80,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 60:[41, 63], Operations: ['87-58=29', '92-29=63'] Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,60 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 60:[92, 12], Operations: ['87-58=29', '41-29=12'] Exploring Operation: 92*12=1104, Resulting Numbers: [1104] 1104,60 unequal: No Solution Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,60 unequal: No Solution Exploring Operation: 92+12=104, Resulting Numbers: [104] 104,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 60:[92, 70], Operations: ['87-58=29', '41+29=70'] Exploring Operation: 92+70=162, Resulting Numbers: [162] 162,60 unequal: No Solution Exploring Operation: 92*70=6440, Resulting Numbers: [6440] 6440,60 unequal: No Solution Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 60:[41, 121], Operations: ['87-58=29', '92+29=121'] Exploring Operation: 41*121=4961, Resulting Numbers: [4961] 4961,60 unequal: No Solution Exploring Operation: 121-41=80, Resulting Numbers: [80] 80,60 unequal: No Solution Exploring Operation: 41+121=162, Resulting Numbers: [162] 162,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 60:[58, 92, 46], Operations: ['87-41=46'] Exploring Operation: 92/46=2, Resulting Numbers: [58, 2] Generated Node #0,4,0: 60:[58, 2] Operation: 92/46=2 Exploring Operation: 58+46=104, Resulting Numbers: [92, 104] Generated Node #0,4,1: 60:[92, 104] Operation: 58+46=104 Exploring Operation: 92-58=34, Resulting Numbers: [46, 34] Generated Node #0,4,2: 60:[46, 34] Operation: 92-58=34 Exploring Operation: 92-46=46, Resulting Numbers: [58, 46] Generated Node #0,4,3: 60:[58, 46] Operation: 92-46=46 Exploring Operation: 58-46=12, Resulting Numbers: [92, 12] Generated Node #0,4,4: 60:[92, 12] Operation: 58-46=12 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 60:[58, 2], Operations: ['87-41=46', '92/46=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[41, 58, 92, 87], Operations: [] Exploring Operation: 87-41=46, Resulting Numbers: [58, 92, 46] Generated Node #0,4: 60:[58, 92, 46] Operation: 87-41=46 Moving to Node #0,4 Current State: 60:[58, 92, 46], Operations: ['87-41=46'] Exploring Operation: 92/46=2, Resulting Numbers: [58, 2] Generated Node #0,4,0: 60:[58, 2] Operation: 92/46=2 Moving to Node #0,4,0 Current State: 60:[58, 2], Operations: ['87-41=46', '92/46=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.914931
hs_5
sum_heuristic
[ 56, 28, 94, 10 ]
100
[ "56+28=84", "94-84=10", "10*10=100" ]
Current State: 100:[56, 28, 94, 10], Operations: [] Exploring Operation: 56+28=84, Resulting Numbers: [94, 10, 84] Generated Node #2: [94, 10, 84] from Operation: 56+28=84 Current State: 100:[94, 10, 84], Operations: ['56+28=84'] Exploring Operation: 94-84=10, Resulting Numbers: [10, 10] Generated Node #3: [10, 10] from Operation: 94-84=10 Current State: 100:[10, 10], Operations: ['56+28=84', '94-84=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[56, 28, 94, 10], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [94, 10, 2] Generated Node #0,0: 100:[94, 10, 2] Operation: 56/28=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[94, 10, 2], Operations: ['56/28=2'] Exploring Operation: 94/2=47, Resulting Numbers: [10, 47] Generated Node #0,0,0: 100:[10, 47] Operation: 94/2=47 Moving to Node #0,0,0 Current State: 100:[10, 47], Operations: ['56/28=2', '94/2=47'] Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,100 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
[ 7, 7, 7, 59 ]
57
[ "7+7=14", "14/7=2", "59-2=57" ]
Current State: 57:[7, 7, 7, 59], Operations: [] Exploring Operation: 7+7=14, Resulting Numbers: [59, 14] Generated Node #2: [59, 14] from Operation: 7+7=14 Current State: 57:[59, 14], Operations: ['7+7=14'] Exploring Operation: 14/7=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 14/7=2 Current State: 57:[59, 2], Operations: ['7+7=14', '14/7=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[7, 7, 7, 59], Operations: [] Exploring Operation: 7/7=1, Resulting Numbers: [7, 59, 1] Generated Node #0,0: 57:[7, 59, 1] Operation: 7/7=1 Exploring Operation: 7/7=1, Resulting Numbers: [7, 59, 1] Generated Node #0,1: 57:[7, 59, 1] Operation: 7/7=1 Moving to Node #0,0 Current State: 57:[7, 59, 1], Operations: ['7/7=1'] Exploring Operation: 59-1=58, Resulting Numbers: [7, 58] Generated Node #0,0,0: 57:[7, 58] Operation: 59-1=58 Exploring Operation: 7-1=6, Resulting Numbers: [59, 6] Generated Node #0,0,1: 57:[59, 6] Operation: 7-1=6 Moving to Node #0,1 Current State: 57:[7, 59, 1], Operations: ['7/7=1'] Exploring Operation: 59-1=58, Resulting Numbers: [7, 58] Generated Node #0,1,0: 57:[7, 58] Operation: 59-1=58 Exploring Operation: 7-1=6, Resulting Numbers: [59, 6] Generated Node #0,1,1: 57:[59, 6] Operation: 7-1=6 Moving to Node #0,0,0 Current State: 57:[7, 58], Operations: ['7/7=1', '59-1=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[7, 58], Operations: ['7/7=1', '59-1=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[59, 6], Operations: ['7/7=1', '7-1=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[59, 6], Operations: ['7/7=1', '7-1=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,57 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,57 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 46, 18, 40, 27 ]
40
[ "46-18=28", "28-27=1", "40*1=40" ]
Current State: 40:[46, 18, 40, 27], Operations: [] Exploring Operation: 46-18=28, Resulting Numbers: [40, 27, 28] Generated Node #2: [40, 27, 28] from Operation: 46-18=28 Current State: 40:[40, 27, 28], Operations: ['46-18=28'] Exploring Operation: 28-27=1, Resulting Numbers: [40, 1] Generated Node #3: [40, 1] from Operation: 28-27=1 Current State: 40:[40, 1], Operations: ['46-18=28', '28-27=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[46, 18, 40, 27], Operations: [] Exploring Operation: 46-27=19, Resulting Numbers: [18, 40, 19] Generated Node #0,0: 40:[18, 40, 19] Operation: 46-27=19 Exploring Operation: 27-18=9, Resulting Numbers: [46, 40, 9] Generated Node #0,1: 40:[46, 40, 9] Operation: 27-18=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[18, 40, 19], Operations: ['46-27=19'] Exploring Operation: 19-18=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 40:[40, 1] Operation: 19-18=1 Exploring Operation: 40-18=22, Resulting Numbers: [19, 22] Generated Node #0,0,1: 40:[19, 22] Operation: 40-18=22 Moving to Node #0,0,0 Current State: 40:[40, 1], Operations: ['46-27=19', '19-18=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[46, 18, 40, 27], Operations: [] Exploring Operation: 46-27=19, Resulting Numbers: [18, 40, 19] Generated Node #0,0: 40:[18, 40, 19] Operation: 46-27=19 Moving to Node #0,0 Current State: 40:[18, 40, 19], Operations: ['46-27=19'] Exploring Operation: 19-18=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 40:[40, 1] Operation: 19-18=1 Moving to Node #0,0,0 Current State: 40:[40, 1], Operations: ['46-27=19', '19-18=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 10, 19, 15, 17 ]
95
[ "10*19=190", "17-15=2", "190/2=95" ]
Current State: 95:[10, 19, 15, 17], Operations: [] Exploring Operation: 10*19=190, Resulting Numbers: [15, 17, 190] Generated Node #2: [15, 17, 190] from Operation: 10*19=190 Current State: 95:[15, 17, 190], Operations: ['10*19=190'] Exploring Operation: 17-15=2, Resulting Numbers: [190, 2] Generated Node #3: [190, 2] from Operation: 17-15=2 Current State: 95:[190, 2], Operations: ['10*19=190', '17-15=2'] Exploring Operation: 190/2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[10, 19, 15, 17], Operations: [] Exploring Operation: 19-15=4, Resulting Numbers: [10, 17, 4] Generated Node #0,0: 95:[10, 17, 4] Operation: 19-15=4 Exploring Operation: 10+15=25, Resulting Numbers: [19, 17, 25] Generated Node #0,1: 95:[19, 17, 25] Operation: 10+15=25 Exploring Operation: 17-10=7, Resulting Numbers: [19, 15, 7] Generated Node #0,2: 95:[19, 15, 7] Operation: 17-10=7 Exploring Operation: 15-10=5, Resulting Numbers: [19, 17, 5] Generated Node #0,3: 95:[19, 17, 5] Operation: 15-10=5 Moving to Node #0,3 Current State: 95:[19, 17, 5], Operations: ['15-10=5'] Exploring Operation: 19*5=95, Resulting Numbers: [17, 95] Generated Node #0,3,0: 95:[17, 95] Operation: 19*5=95 Exploring Operation: 19-17=2, Resulting Numbers: [5, 2] Generated Node #0,3,1: 95:[5, 2] Operation: 19-17=2 Exploring Operation: 19+5=24, Resulting Numbers: [17, 24] Generated Node #0,3,2: 95:[17, 24] Operation: 19+5=24 Exploring Operation: 17+5=22, Resulting Numbers: [19, 22] Generated Node #0,3,3: 95:[19, 22] Operation: 17+5=22 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[17, 95], Operations: ['15-10=5', '19*5=95'] Exploring Operation: 17*95=1615, Resulting Numbers: [1615] 1615,95 unequal: No Solution Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,95 unequal: No Solution Exploring Operation: 17+95=112, Resulting Numbers: [112] 112,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[5, 2], Operations: ['15-10=5', '19-17=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[19, 22], Operations: ['15-10=5', '17+5=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,95 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 95:[17, 24], Operations: ['15-10=5', '19+5=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,95 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,95 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: 95:[19, 15, 7], Operations: ['17-10=7'] Exploring Operation: 15*7=105, Resulting Numbers: [19, 105] Generated Node #0,2,0: 95:[19, 105] Operation: 15*7=105 Exploring Operation: 15+7=22, Resulting Numbers: [19, 22] Generated Node #0,2,1: 95:[19, 22] Operation: 15+7=22 Exploring Operation: 19-15=4, Resulting Numbers: [7, 4] Generated Node #0,2,2: 95:[7, 4] Operation: 19-15=4 Exploring Operation: 15-7=8, Resulting Numbers: [19, 8] Generated Node #0,2,3: 95:[19, 8] Operation: 15-7=8 Moving to Node #0,1 Current State: 95:[19, 17, 25], Operations: ['10+15=25'] Exploring Operation: 25-17=8, Resulting Numbers: [19, 8] Generated Node #0,1,0: 95:[19, 8] Operation: 25-17=8 Exploring Operation: 25-19=6, Resulting Numbers: [17, 6] Generated Node #0,1,1: 95:[17, 6] Operation: 25-19=6 Exploring Operation: 19-17=2, Resulting Numbers: [25, 2] Generated Node #0,1,2: 95:[25, 2] Operation: 19-17=2 Exploring Operation: 19+17=36, Resulting Numbers: [25, 36] Generated Node #0,1,3: 95:[25, 36] Operation: 19+17=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[19, 8], Operations: ['10+15=25', '25-17=8'] Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,95 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[17, 6], Operations: ['10+15=25', '25-19=6'] Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[25, 2], Operations: ['10+15=25', '19-17=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,95 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[25, 36], Operations: ['10+15=25', '19+17=36'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 25*36=900, Resulting Numbers: [900] 900,95 unequal: No Solution Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 95:[10, 17, 4], Operations: ['19-15=4'] Exploring Operation: 17+4=21, Resulting Numbers: [10, 21] Generated Node #0,0,0: 95:[10, 21] Operation: 17+4=21 Exploring Operation: 10+4=14, Resulting Numbers: [17, 14] Generated Node #0,0,1: 95:[17, 14] Operation: 10+4=14 Exploring Operation: 10-4=6, Resulting Numbers: [17, 6] Generated Node #0,0,2: 95:[17, 6] Operation: 10-4=6 Exploring Operation: 17-10=7, Resulting Numbers: [4, 7] Generated Node #0,0,3: 95:[4, 7] Operation: 17-10=7 Moving to Node #0,2,1 Current State: 95:[19, 22], Operations: ['17-10=7', '15+7=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,95 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[19, 8], Operations: ['17-10=7', '15-7=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,95 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[4, 7], Operations: ['19-15=4', '17-10=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[7, 4], Operations: ['17-10=7', '19-15=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[17, 6], Operations: ['19-15=4', '10-4=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[10, 21], Operations: ['19-15=4', '17+4=21'] Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,95 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[17, 14], Operations: ['19-15=4', '10+4=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,95 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[19, 105], Operations: ['17-10=7', '15*7=105'] Exploring Operation: 19+105=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 105-19=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 19*105=1995, Resulting Numbers: [1995] 1995,95 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 33, 30, 2, 73 ]
46
[ "33+73=106", "30*2=60", "106-60=46" ]
Current State: 46:[33, 30, 2, 73], Operations: [] Exploring Operation: 33+73=106, Resulting Numbers: [30, 2, 106] Generated Node #2: [30, 2, 106] from Operation: 33+73=106 Current State: 46:[30, 2, 106], Operations: ['33+73=106'] Exploring Operation: 30*2=60, Resulting Numbers: [106, 60] Generated Node #3: [106, 60] from Operation: 30*2=60 Current State: 46:[106, 60], Operations: ['33+73=106', '30*2=60'] Exploring Operation: 106-60=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[33, 30, 2, 73], Operations: [] Exploring Operation: 73-33=40, Resulting Numbers: [30, 2, 40] Generated Node #0,0: 46:[30, 2, 40] Operation: 73-33=40 Exploring Operation: 73-30=43, Resulting Numbers: [33, 2, 43] Generated Node #0,1: 46:[33, 2, 43] Operation: 73-30=43 Exploring Operation: 33-30=3, Resulting Numbers: [2, 73, 3] Generated Node #0,2: 46:[2, 73, 3] Operation: 33-30=3 Moving to Node #0,0 Current State: 46:[30, 2, 40], Operations: ['73-33=40'] Exploring Operation: 40/2=20, Resulting Numbers: [30, 20] Generated Node #0,0,0: 46:[30, 20] Operation: 40/2=20 Exploring Operation: 40-30=10, Resulting Numbers: [2, 10] Generated Node #0,0,1: 46:[2, 10] Operation: 40-30=10 Exploring Operation: 30-2=28, Resulting Numbers: [40, 28] Generated Node #0,0,2: 46:[40, 28] Operation: 30-2=28 Moving to Node #0,1 Current State: 46:[33, 2, 43], Operations: ['73-30=43'] Exploring Operation: 33-2=31, Resulting Numbers: [43, 31] Generated Node #0,1,0: 46:[43, 31] Operation: 33-2=31 Exploring Operation: 43-33=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 46:[2, 10] Operation: 43-33=10 Exploring Operation: 2+43=45, Resulting Numbers: [33, 45] Generated Node #0,1,2: 46:[33, 45] Operation: 2+43=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[2, 10], Operations: ['73-30=43', '43-33=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[43, 31], Operations: ['73-30=43', '33-2=31'] Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[33, 45], Operations: ['73-30=43', '2+43=45'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 33*45=1485, Resulting Numbers: [1485] 1485,46 unequal: No Solution Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,46 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: 46:[2, 73, 3], Operations: ['33-30=3'] Exploring Operation: 73-2=71, Resulting Numbers: [3, 71] Generated Node #0,2,0: 46:[3, 71] Operation: 73-2=71 Exploring Operation: 3-2=1, Resulting Numbers: [73, 1] Generated Node #0,2,1: 46:[73, 1] Operation: 3-2=1 Exploring Operation: 73-3=70, Resulting Numbers: [2, 70] Generated Node #0,2,2: 46:[2, 70] Operation: 73-3=70 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[2, 70], Operations: ['33-30=3', '73-3=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,46 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[3, 71], Operations: ['33-30=3', '73-2=71'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,46 unequal: No Solution Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[73, 1], Operations: ['33-30=3', '3-2=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,46 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: 46:[2, 10], Operations: ['73-33=40', '40-30=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[30, 20], Operations: ['73-33=40', '40/2=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,46 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[40, 28], Operations: ['73-33=40', '30-2=28'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 40*28=1120, Resulting Numbers: [1120] 1120,46 unequal: No Solution Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,46 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 67, 60, 27 ]
85
[ "67-15=52", "60-27=33", "52+33=85" ]
Current State: 85:[15, 67, 60, 27], Operations: [] Exploring Operation: 67-15=52, Resulting Numbers: [60, 27, 52] Generated Node #2: [60, 27, 52] from Operation: 67-15=52 Current State: 85:[60, 27, 52], Operations: ['67-15=52'] Exploring Operation: 60-27=33, Resulting Numbers: [52, 33] Generated Node #3: [52, 33] from Operation: 60-27=33 Current State: 85:[52, 33], Operations: ['67-15=52', '60-27=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[15, 67, 60, 27], Operations: [] Exploring Operation: 67-60=7, Resulting Numbers: [15, 27, 7] Generated Node #0,0: 85:[15, 27, 7] Operation: 67-60=7 Exploring Operation: 60+27=87, Resulting Numbers: [15, 67, 87] Generated Node #0,1: 85:[15, 67, 87] Operation: 60+27=87 Exploring Operation: 60/15=4, Resulting Numbers: [67, 27, 4] Generated Node #0,2: 85:[67, 27, 4] Operation: 60/15=4 Exploring Operation: 60-27=33, Resulting Numbers: [15, 67, 33] Generated Node #0,3: 85:[15, 67, 33] Operation: 60-27=33 Exploring Operation: 67+27=94, Resulting Numbers: [15, 60, 94] Generated Node #0,4: 85:[15, 60, 94] Operation: 67+27=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[15, 27, 7], Operations: ['67-60=7'] Exploring Operation: 27+7=34, Resulting Numbers: [15, 34] Generated Node #0,0,0: 85:[15, 34] Operation: 27+7=34 Exploring Operation: 15-7=8, Resulting Numbers: [27, 8] Generated Node #0,0,1: 85:[27, 8] Operation: 15-7=8 Exploring Operation: 15+7=22, Resulting Numbers: [27, 22] Generated Node #0,0,2: 85:[27, 22] Operation: 15+7=22 Exploring Operation: 27-7=20, Resulting Numbers: [15, 20] Generated Node #0,0,3: 85:[15, 20] Operation: 27-7=20 Exploring Operation: 27-15=12, Resulting Numbers: [7, 12] Generated Node #0,0,4: 85:[7, 12] Operation: 27-15=12 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 85:[15, 20], Operations: ['67-60=7', '27-7=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,85 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 85:[7, 12], Operations: ['67-60=7', '27-15=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[27, 8], Operations: ['67-60=7', '15-7=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,85 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[27, 22], Operations: ['67-60=7', '15+7=22'] Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[15, 34], Operations: ['67-60=7', '27+7=34'] Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,85 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[15, 67, 87], Operations: ['60+27=87'] Exploring Operation: 87-15=72, Resulting Numbers: [67, 72] Generated Node #0,1,0: 85:[67, 72] Operation: 87-15=72 Exploring Operation: 87-67=20, Resulting Numbers: [15, 20] Generated Node #0,1,1: 85:[15, 20] Operation: 87-67=20 Exploring Operation: 15+67=82, Resulting Numbers: [87, 82] Generated Node #0,1,2: 85:[87, 82] Operation: 15+67=82 Exploring Operation: 67-15=52, Resulting Numbers: [87, 52] Generated Node #0,1,3: 85:[87, 52] Operation: 67-15=52 Exploring Operation: 15+87=102, Resulting Numbers: [67, 102] Generated Node #0,1,4: 85:[67, 102] Operation: 15+87=102 Moving to Node #0,1,1 Current State: 85:[15, 20], Operations: ['60+27=87', '87-67=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[87, 82], Operations: ['60+27=87', '15+67=82'] Exploring Operation: 87-82=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 87*82=7134, Resulting Numbers: [7134] 7134,85 unequal: No Solution Exploring Operation: 87+82=169, Resulting Numbers: [169] 169,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[67, 72], Operations: ['60+27=87', '87-15=72'] Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 67+72=139, Resulting Numbers: [139] 139,85 unequal: No Solution Exploring Operation: 67*72=4824, Resulting Numbers: [4824] 4824,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[87, 52], Operations: ['60+27=87', '67-15=52'] Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,85 unequal: No Solution Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,85 unequal: No Solution Moving to Node #0,1,4 Current State: 85:[67, 102], Operations: ['60+27=87', '15+87=102'] Exploring Operation: 102-67=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 67*102=6834, Resulting Numbers: [6834] 6834,85 unequal: No Solution Exploring Operation: 67+102=169, Resulting Numbers: [169] 169,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,2 Current State: 85:[67, 27, 4], Operations: ['60/15=4'] Exploring Operation: 67+4=71, Resulting Numbers: [27, 71] Generated Node #0,2,0: 85:[27, 71] Operation: 67+4=71 Exploring Operation: 67+27=94, Resulting Numbers: [4, 94] Generated Node #0,2,1: 85:[4, 94] Operation: 67+27=94 Exploring Operation: 67-27=40, Resulting Numbers: [4, 40] Generated Node #0,2,2: 85:[4, 40] Operation: 67-27=40 Exploring Operation: 67-4=63, Resulting Numbers: [27, 63] Generated Node #0,2,3: 85:[27, 63] Operation: 67-4=63 Exploring Operation: 27-4=23, Resulting Numbers: [67, 23] Generated Node #0,2,4: 85:[67, 23] Operation: 27-4=23 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[4, 94], Operations: ['60/15=4', '67+27=94'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,85 unequal: No Solution Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[27, 71], Operations: ['60/15=4', '67+4=71'] Exploring Operation: 27*71=1917, Resulting Numbers: [1917] 1917,85 unequal: No Solution Exploring Operation: 27+71=98, Resulting Numbers: [98] 98,85 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[4, 40], Operations: ['60/15=4', '67-27=40'] Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,85 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,85 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 85:[67, 23], Operations: ['60/15=4', '27-4=23'] Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,85 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[27, 63], Operations: ['60/15=4', '67-4=63'] Exploring Operation: 27+63=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,85 unequal: No Solution Exploring Operation: 27*63=1701, Resulting Numbers: [1701] 1701,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[15, 67, 33], Operations: ['60-27=33'] Exploring Operation: 67-15=52, Resulting Numbers: [33, 52] Generated Node #0,3,0: 85:[33, 52] Operation: 67-15=52 Exploring Operation: 15+67=82, Resulting Numbers: [33, 82] Generated Node #0,3,1: 85:[33, 82] Operation: 15+67=82 Exploring Operation: 67+33=100, Resulting Numbers: [15, 100] Generated Node #0,3,2: 85:[15, 100] Operation: 67+33=100 Exploring Operation: 67-33=34, Resulting Numbers: [15, 34] Generated Node #0,3,3: 85:[15, 34] Operation: 67-33=34 Exploring Operation: 33-15=18, Resulting Numbers: [67, 18] Generated Node #0,3,4: 85:[67, 18] Operation: 33-15=18 Moving to Node #0,3,2 Current State: 85:[15, 100], Operations: ['60-27=33', '67+33=100'] Exploring Operation: 15*100=1500, Resulting Numbers: [1500] 1500,85 unequal: No Solution Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[15, 67, 60, 27], Operations: [] Exploring Operation: 60-27=33, Resulting Numbers: [15, 67, 33] Generated Node #0,3: 85:[15, 67, 33] Operation: 60-27=33 Moving to Node #0,3 Current State: 85:[15, 67, 33], Operations: ['60-27=33'] Exploring Operation: 67+33=100, Resulting Numbers: [15, 100] Generated Node #0,3,2: 85:[15, 100] Operation: 67+33=100 Moving to Node #0,3,2 Current State: 85:[15, 100], Operations: ['60-27=33', '67+33=100'] Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.93316
hs_5
mult_heuristic
[ 72, 75, 75, 20 ]
52
[ "72+75=147", "75+20=95", "147-95=52" ]
Current State: 52:[72, 75, 75, 20], Operations: [] Exploring Operation: 72+75=147, Resulting Numbers: [20, 147] Generated Node #2: [20, 147] from Operation: 72+75=147 Current State: 52:[20, 147], Operations: ['72+75=147'] Exploring Operation: 75+20=95, Resulting Numbers: [147, 95] Generated Node #3: [147, 95] from Operation: 75+20=95 Current State: 52:[147, 95], Operations: ['72+75=147', '75+20=95'] Exploring Operation: 147-95=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[72, 75, 75, 20], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [75, 20, 3] Generated Node #0,0: 52:[75, 20, 3] Operation: 75-72=3 Exploring Operation: 75-75=0, Resulting Numbers: [72, 20, 0] Generated Node #0,1: 52:[72, 20, 0] Operation: 75-75=0 Exploring Operation: 75/75=1, Resulting Numbers: [72, 20, 1] Generated Node #0,2: 52:[72, 20, 1] Operation: 75/75=1 Exploring Operation: 75-72=3, Resulting Numbers: [75, 20, 3] Generated Node #0,3: 52:[75, 20, 3] Operation: 75-72=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[72, 20, 1], Operations: ['75/75=1'] Exploring Operation: 72*1=72, Resulting Numbers: [20, 72] Generated Node #0,2,0: 52:[20, 72] Operation: 72*1=72 Exploring Operation: 20+1=21, Resulting Numbers: [72, 21] Generated Node #0,2,1: 52:[72, 21] Operation: 20+1=21 Exploring Operation: 72-1=71, Resulting Numbers: [20, 71] Generated Node #0,2,2: 52:[20, 71] Operation: 72-1=71 Exploring Operation: 72-20=52, Resulting Numbers: [1, 52] Generated Node #0,2,3: 52:[1, 52] Operation: 72-20=52 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 52:[1, 52], Operations: ['75/75=1', '72-20=52'] Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[72, 75, 75, 20], Operations: [] Exploring Operation: 75/75=1, Resulting Numbers: [72, 20, 1] Generated Node #0,2: 52:[72, 20, 1] Operation: 75/75=1 Moving to Node #0,2 Current State: 52:[72, 20, 1], Operations: ['75/75=1'] Exploring Operation: 72-20=52, Resulting Numbers: [1, 52] Generated Node #0,2,3: 52:[1, 52] Operation: 72-20=52 Moving to Node #0,2,3 Current State: 52:[1, 52], Operations: ['75/75=1', '72-20=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 20, 5, 16, 23 ]
43
[ "20/5=4", "16+23=39", "4+39=43" ]
Current State: 43:[20, 5, 16, 23], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [16, 23, 4] Generated Node #2: [16, 23, 4] from Operation: 20/5=4 Current State: 43:[16, 23, 4], Operations: ['20/5=4'] Exploring Operation: 16+23=39, Resulting Numbers: [4, 39] Generated Node #3: [4, 39] from Operation: 16+23=39 Current State: 43:[4, 39], Operations: ['20/5=4', '16+23=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[20, 5, 16, 23], Operations: [] Exploring Operation: 20+5=25, Resulting Numbers: [16, 23, 25] Generated Node #0,0: 43:[16, 23, 25] Operation: 20+5=25 Exploring Operation: 5+16=21, Resulting Numbers: [20, 23, 21] Generated Node #0,1: 43:[20, 23, 21] Operation: 5+16=21 Exploring Operation: 20+16=36, Resulting Numbers: [5, 23, 36] Generated Node #0,2: 43:[5, 23, 36] Operation: 20+16=36 Exploring Operation: 20+23=43, Resulting Numbers: [5, 16, 43] Generated Node #0,3: 43:[5, 16, 43] Operation: 20+23=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[16, 23, 25], Operations: ['20+5=25'] Exploring Operation: 16+23=39, Resulting Numbers: [25, 39] Generated Node #0,0,0: 43:[25, 39] Operation: 16+23=39 Exploring Operation: 16+25=41, Resulting Numbers: [23, 41] Generated Node #0,0,1: 43:[23, 41] Operation: 16+25=41 Exploring Operation: 23-16=7, Resulting Numbers: [25, 7] Generated Node #0,0,2: 43:[25, 7] Operation: 23-16=7 Exploring Operation: 23+25=48, Resulting Numbers: [16, 48] Generated Node #0,0,3: 43:[16, 48] Operation: 23+25=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[25, 39], Operations: ['20+5=25', '16+23=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,43 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[23, 41], Operations: ['20+5=25', '16+25=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 43:[16, 48], Operations: ['20+5=25', '23+25=48'] Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,43 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 43:[25, 7], Operations: ['20+5=25', '23-16=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,43 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[20, 23, 21], Operations: ['5+16=21'] Exploring Operation: 23-20=3, Resulting Numbers: [21, 3] Generated Node #0,1,0: 43:[21, 3] Operation: 23-20=3 Exploring Operation: 20+23=43, Resulting Numbers: [21, 43] Generated Node #0,1,1: 43:[21, 43] Operation: 20+23=43 Exploring Operation: 20+21=41, Resulting Numbers: [23, 41] Generated Node #0,1,2: 43:[23, 41] Operation: 20+21=41 Exploring Operation: 23+21=44, Resulting Numbers: [20, 44] Generated Node #0,1,3: 43:[20, 44] Operation: 23+21=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[21, 43], Operations: ['5+16=21', '20+23=43'] Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,43 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[23, 41], Operations: ['5+16=21', '20+21=41'] Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,43 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 43:[20, 44], Operations: ['5+16=21', '23+21=44'] Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,43 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[21, 3], Operations: ['5+16=21', '23-20=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,43 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[5, 23, 36], Operations: ['20+16=36'] Exploring Operation: 36-5=31, Resulting Numbers: [23, 31] Generated Node #0,2,0: 43:[23, 31] Operation: 36-5=31 Exploring Operation: 5+23=28, Resulting Numbers: [36, 28] Generated Node #0,2,1: 43:[36, 28] Operation: 5+23=28 Exploring Operation: 5+36=41, Resulting Numbers: [23, 41] Generated Node #0,2,2: 43:[23, 41] Operation: 5+36=41 Exploring Operation: 23-5=18, Resulting Numbers: [36, 18] Generated Node #0,2,3: 43:[36, 18] Operation: 23-5=18 Moving to Node #0,2,1 Current State: 43:[36, 28], Operations: ['20+16=36', '5+23=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,43 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[23, 41], Operations: ['20+16=36', '5+36=41'] Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[36, 18], Operations: ['20+16=36', '23-5=18'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,43 unequal: No Solution Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[23, 31], Operations: ['20+16=36', '36-5=31'] Exploring Operation: 23*31=713, Resulting Numbers: [713] 713,43 unequal: No Solution Exploring Operation: 23+31=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[5, 16, 43], Operations: ['20+23=43'] Exploring Operation: 5+16=21, Resulting Numbers: [43, 21] Generated Node #0,3,0: 43:[43, 21] Operation: 5+16=21 Exploring Operation: 5+43=48, Resulting Numbers: [16, 48] Generated Node #0,3,1: 43:[16, 48] Operation: 5+43=48 Exploring Operation: 16-5=11, Resulting Numbers: [43, 11] Generated Node #0,3,2: 43:[43, 11] Operation: 16-5=11 Exploring Operation: 43-5=38, Resulting Numbers: [16, 38] Generated Node #0,3,3: 43:[16, 38] Operation: 43-5=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 43:[43, 21], Operations: ['20+23=43', '5+16=21'] Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,43 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[16, 48], Operations: ['20+23=43', '5+43=48'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,43 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 43:[43, 11], Operations: ['20+23=43', '16-5=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,43 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 43:[16, 38], Operations: ['20+23=43', '43-5=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,43 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 9, 7, 16, 69 ]
69
[ "9+7=16", "16+69=85", "85-16=69" ]
Current State: 69:[9, 7, 16, 69], Operations: [] Exploring Operation: 9+7=16, Resulting Numbers: [16, 69, 16] Generated Node #2: [16, 69, 16] from Operation: 9+7=16 Current State: 69:[16, 69, 16], Operations: ['9+7=16'] Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,69 equal: Goal Reached Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[9, 7, 16, 69], Operations: [] Exploring Operation: 7+16=23, Resulting Numbers: [9, 69, 23] Generated Node #0,0: 69:[9, 69, 23] Operation: 7+16=23 Exploring Operation: 9-7=2, Resulting Numbers: [16, 69, 2] Generated Node #0,1: 69:[16, 69, 2] Operation: 9-7=2 Exploring Operation: 9+16=25, Resulting Numbers: [7, 69, 25] Generated Node #0,2: 69:[7, 69, 25] Operation: 9+16=25 Exploring Operation: 16-9=7, Resulting Numbers: [7, 69, 7] Generated Node #0,3: 69:[7, 69, 7] Operation: 16-9=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[9, 69, 23], Operations: ['7+16=23'] Exploring Operation: 9+69=78, Resulting Numbers: [23, 78] Generated Node #0,0,0: 69:[23, 78] Operation: 9+69=78 Exploring Operation: 9+23=32, Resulting Numbers: [69, 32] Generated Node #0,0,1: 69:[69, 32] Operation: 9+23=32 Exploring Operation: 69-9=60, Resulting Numbers: [23, 60] Generated Node #0,0,2: 69:[23, 60] Operation: 69-9=60 Exploring Operation: 69/23=3, Resulting Numbers: [9, 3] Generated Node #0,0,3: 69:[9, 3] Operation: 69/23=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[9, 3], Operations: ['7+16=23', '69/23=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[23, 78], Operations: ['7+16=23', '9+69=78'] Exploring Operation: 23*78=1794, Resulting Numbers: [1794] 1794,69 unequal: No Solution Exploring Operation: 23+78=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[69, 32], Operations: ['7+16=23', '9+23=32'] Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,69 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[23, 60], Operations: ['7+16=23', '69-9=60'] Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,69 unequal: No Solution Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,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:[7, 69, 25], Operations: ['9+16=25'] Exploring Operation: 69-7=62, Resulting Numbers: [25, 62] Generated Node #0,2,0: 69:[25, 62] Operation: 69-7=62 Exploring Operation: 7+69=76, Resulting Numbers: [25, 76] Generated Node #0,2,1: 69:[25, 76] Operation: 7+69=76 Exploring Operation: 7+25=32, Resulting Numbers: [69, 32] Generated Node #0,2,2: 69:[69, 32] Operation: 7+25=32 Exploring Operation: 25-7=18, Resulting Numbers: [69, 18] Generated Node #0,2,3: 69:[69, 18] Operation: 25-7=18 Moving to Node #0,2,3 Current State: 69:[69, 18], Operations: ['9+16=25', '25-7=18'] Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[25, 76], Operations: ['9+16=25', '7+69=76'] Exploring Operation: 25+76=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 25*76=1900, Resulting Numbers: [1900] 1900,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[25, 62], Operations: ['9+16=25', '69-7=62'] Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 25*62=1550, Resulting Numbers: [1550] 1550,69 unequal: No Solution Exploring Operation: 25+62=87, Resulting Numbers: [87] 87,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[69, 32], Operations: ['9+16=25', '7+25=32'] Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,69 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[16, 69, 2], Operations: ['9-7=2'] Exploring Operation: 16/2=8, Resulting Numbers: [69, 8] Generated Node #0,1,0: 69:[69, 8] Operation: 16/2=8 Exploring Operation: 16*2=32, Resulting Numbers: [69, 32] Generated Node #0,1,1: 69:[69, 32] Operation: 16*2=32 Exploring Operation: 16+2=18, Resulting Numbers: [69, 18] Generated Node #0,1,2: 69:[69, 18] Operation: 16+2=18 Exploring Operation: 16-2=14, Resulting Numbers: [69, 14] Generated Node #0,1,3: 69:[69, 14] Operation: 16-2=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[69, 8], Operations: ['9-7=2', '16/2=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,69 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,69 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,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:[69, 18], Operations: ['9-7=2', '16+2=18'] Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,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,1 Current State: 69:[69, 32], Operations: ['9-7=2', '16*2=32'] Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,69 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,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:[69, 14], Operations: ['9-7=2', '16-2=14'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 69*14=966, Resulting Numbers: [966] 966,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,3 Current State: 69:[7, 69, 7], Operations: ['16-9=7'] Exploring Operation: 7+7=14, Resulting Numbers: [69, 14] Generated Node #0,3,0: 69:[69, 14] Operation: 7+7=14 Exploring Operation: 7-7=0, Resulting Numbers: [69, 0] Generated Node #0,3,1: 69:[69, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [69, 1] Generated Node #0,3,2: 69:[69, 1] Operation: 7/7=1 Exploring Operation: 7+69=76, Resulting Numbers: [7, 76] Generated Node #0,3,3: 69:[7, 76] Operation: 7+69=76 Moving to Node #0,3,2 Current State: 69:[69, 1], Operations: ['16-9=7', '7/7=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[9, 7, 16, 69], Operations: [] Exploring Operation: 16-9=7, Resulting Numbers: [7, 69, 7] Generated Node #0,3: 69:[7, 69, 7] Operation: 16-9=7 Moving to Node #0,3 Current State: 69:[7, 69, 7], Operations: ['16-9=7'] Exploring Operation: 7/7=1, Resulting Numbers: [69, 1] Generated Node #0,3,2: 69:[69, 1] Operation: 7/7=1 Moving to Node #0,3,2 Current State: 69:[69, 1], Operations: ['16-9=7', '7/7=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_4
mult_heuristic
[ 44, 9, 79, 40 ]
77
[ "79-9=70", "44*70=3080", "3080/40=77" ]
Current State: 77:[44, 9, 79, 40], Operations: [] Exploring Operation: 79-9=70, Resulting Numbers: [44, 40, 70] Generated Node #2: [44, 40, 70] from Operation: 79-9=70 Current State: 77:[44, 40, 70], Operations: ['79-9=70'] Exploring Operation: 44*70=3080, Resulting Numbers: [40, 3080] Generated Node #3: [40, 3080] from Operation: 44*70=3080 Current State: 77:[40, 3080], Operations: ['79-9=70', '44*70=3080'] Exploring Operation: 3080/40=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[44, 9, 79, 40], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [9, 79, 4] Generated Node #0,0: 77:[9, 79, 4] Operation: 44-40=4 Exploring Operation: 44+40=84, Resulting Numbers: [9, 79, 84] Generated Node #0,1: 77:[9, 79, 84] Operation: 44+40=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[9, 79, 4], Operations: ['44-40=4'] Exploring Operation: 9-4=5, Resulting Numbers: [79, 5] Generated Node #0,0,0: 77:[79, 5] Operation: 9-4=5 Exploring Operation: 9+4=13, Resulting Numbers: [79, 13] Generated Node #0,0,1: 77:[79, 13] Operation: 9+4=13 Moving to Node #0,0,0 Current State: 77:[79, 5], Operations: ['44-40=4', '9-4=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[79, 13], Operations: ['44-40=4', '9+4=13'] Exploring Operation: 79+13=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 79-13=66, Resulting Numbers: [66] 66,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 Current State: 77:[9, 79, 84], Operations: ['44+40=84'] Exploring Operation: 84-9=75, Resulting Numbers: [79, 75] Generated Node #0,1,0: 77:[79, 75] Operation: 84-9=75 Exploring Operation: 84-79=5, Resulting Numbers: [9, 5] Generated Node #0,1,1: 77:[9, 5] Operation: 84-79=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[79, 75], Operations: ['44+40=84', '84-9=75'] Exploring Operation: 79+75=154, Resulting Numbers: [154] 154,77 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,77 unequal: No Solution No 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: 77:[9, 5], Operations: ['44+40=84', '84-79=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 31, 39, 79, 8 ]
78
[ "39-31=8", "8/8=1", "79-1=78" ]
Current State: 78:[31, 39, 79, 8], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [79, 8, 8] Generated Node #2: [79, 8, 8] from Operation: 39-31=8 Current State: 78:[79, 8, 8], Operations: ['39-31=8'] Exploring Operation: 8/8=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 8/8=1 Current State: 78:[79, 1], Operations: ['39-31=8', '8/8=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[31, 39, 79, 8], Operations: [] Exploring Operation: 31+8=39, Resulting Numbers: [39, 79, 39] Generated Node #0,0: 78:[39, 79, 39] Operation: 31+8=39 Exploring Operation: 31-8=23, Resulting Numbers: [39, 79, 23] Generated Node #0,1: 78:[39, 79, 23] Operation: 31-8=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[39, 79, 39], Operations: ['31+8=39'] Exploring Operation: 79-39=40, Resulting Numbers: [39, 40] Generated Node #0,0,0: 78:[39, 40] Operation: 79-39=40 Exploring Operation: 39+39=78, Resulting Numbers: [79, 78] Generated Node #0,0,1: 78:[79, 78] Operation: 39+39=78 Moving to Node #0,0,0 Current State: 78:[39, 40], Operations: ['31+8=39', '79-39=40'] Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[79, 78], Operations: ['31+8=39', '39+39=78'] Exploring Operation: 79+78=157, Resulting Numbers: [157] 157,78 unequal: No Solution Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[39, 79, 23], Operations: ['31-8=23'] Exploring Operation: 39-23=16, Resulting Numbers: [79, 16] Generated Node #0,1,0: 78:[79, 16] Operation: 39-23=16 Exploring Operation: 79-39=40, Resulting Numbers: [23, 40] Generated Node #0,1,1: 78:[23, 40] Operation: 79-39=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[79, 16], Operations: ['31-8=23', '39-23=16'] Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 79+16=95, Resulting Numbers: [95] 95,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[23, 40], Operations: ['31-8=23', '79-39=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 56, 75, 28, 60 ]
90
[ "56*75=4200", "4200/28=150", "150-60=90" ]
Current State: 90:[56, 75, 28, 60], Operations: [] Exploring Operation: 56*75=4200, Resulting Numbers: [28, 60, 4200] Generated Node #2: [28, 60, 4200] from Operation: 56*75=4200 Current State: 90:[28, 60, 4200], Operations: ['56*75=4200'] Exploring Operation: 4200/28=150, Resulting Numbers: [60, 150] Generated Node #3: [60, 150] from Operation: 4200/28=150 Current State: 90:[60, 150], Operations: ['56*75=4200', '4200/28=150'] Exploring Operation: 150-60=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[56, 75, 28, 60], Operations: [] Exploring Operation: 75-60=15, Resulting Numbers: [56, 28, 15] Generated Node #0,0: 90:[56, 28, 15] Operation: 75-60=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[56, 28, 15], Operations: ['75-60=15'] Exploring Operation: 56/28=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 90:[15, 2] Operation: 56/28=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[15, 2], Operations: ['75-60=15', '56/28=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,90 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
[ 29, 94, 32, 59 ]
26
[ "94-29=65", "32+59=91", "91-65=26" ]
Current State: 26:[29, 94, 32, 59], Operations: [] Exploring Operation: 94-29=65, Resulting Numbers: [32, 59, 65] Generated Node #2: [32, 59, 65] from Operation: 94-29=65 Current State: 26:[32, 59, 65], Operations: ['94-29=65'] Exploring Operation: 32+59=91, Resulting Numbers: [65, 91] Generated Node #3: [65, 91] from Operation: 32+59=91 Current State: 26:[65, 91], Operations: ['94-29=65', '32+59=91'] Exploring Operation: 91-65=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[29, 94, 32, 59], Operations: [] Exploring Operation: 94-29=65, Resulting Numbers: [32, 59, 65] Generated Node #0,0: 26:[32, 59, 65] Operation: 94-29=65 Exploring Operation: 59-29=30, Resulting Numbers: [94, 32, 30] Generated Node #0,1: 26:[94, 32, 30] Operation: 59-29=30 Exploring Operation: 94-32=62, Resulting Numbers: [29, 59, 62] Generated Node #0,2: 26:[29, 59, 62] Operation: 94-32=62 Exploring Operation: 94-59=35, Resulting Numbers: [29, 32, 35] Generated Node #0,3: 26:[29, 32, 35] Operation: 94-59=35 Exploring Operation: 59-32=27, Resulting Numbers: [29, 94, 27] Generated Node #0,4: 26:[29, 94, 27] Operation: 59-32=27 Moving to Node #0,3 Current State: 26:[29, 32, 35], Operations: ['94-59=35'] Exploring Operation: 35-29=6, Resulting Numbers: [32, 6] Generated Node #0,3,0: 26:[32, 6] Operation: 35-29=6 Exploring Operation: 35-32=3, Resulting Numbers: [29, 3] Generated Node #0,3,1: 26:[29, 3] Operation: 35-32=3 Exploring Operation: 29+32=61, Resulting Numbers: [35, 61] Generated Node #0,3,2: 26:[35, 61] Operation: 29+32=61 Exploring Operation: 29+35=64, Resulting Numbers: [32, 64] Generated Node #0,3,3: 26:[32, 64] Operation: 29+35=64 Exploring Operation: 32-29=3, Resulting Numbers: [35, 3] Generated Node #0,3,4: 26:[35, 3] Operation: 32-29=3 Moving to Node #0,4 Current State: 26:[29, 94, 27], Operations: ['59-32=27'] Exploring Operation: 94-29=65, Resulting Numbers: [27, 65] Generated Node #0,4,0: 26:[27, 65] Operation: 94-29=65 Exploring Operation: 29+27=56, Resulting Numbers: [94, 56] Generated Node #0,4,1: 26:[94, 56] Operation: 29+27=56 Exploring Operation: 94-27=67, Resulting Numbers: [29, 67] Generated Node #0,4,2: 26:[29, 67] Operation: 94-27=67 Exploring Operation: 29+94=123, Resulting Numbers: [27, 123] Generated Node #0,4,3: 26:[27, 123] Operation: 29+94=123 Exploring Operation: 29-27=2, Resulting Numbers: [94, 2] Generated Node #0,4,4: 26:[94, 2] Operation: 29-27=2 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 26:[27, 65], Operations: ['59-32=27', '94-29=65'] Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 26:[29, 67], Operations: ['59-32=27', '94-27=67'] Exploring Operation: 29*67=1943, Resulting Numbers: [1943] 1943,26 unequal: No Solution Exploring Operation: 29+67=96, Resulting Numbers: [96] 96,26 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 26:[94, 2], Operations: ['59-32=27', '29-27=2'] Exploring Operation: 94*2=188, Resulting Numbers: [188] 188,26 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,26 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 26:[94, 56], Operations: ['59-32=27', '29+27=56'] Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 94*56=5264, Resulting Numbers: [5264] 5264,26 unequal: No Solution Exploring Operation: 94+56=150, Resulting Numbers: [150] 150,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 26:[27, 123], Operations: ['59-32=27', '29+94=123'] Exploring Operation: 27+123=150, Resulting Numbers: [150] 150,26 unequal: No Solution Exploring Operation: 123-27=96, Resulting Numbers: [96] 96,26 unequal: No Solution Exploring Operation: 27*123=3321, Resulting Numbers: [3321] 3321,26 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: 26:[29, 59, 62], Operations: ['94-32=62'] Exploring Operation: 29+59=88, Resulting Numbers: [62, 88] Generated Node #0,2,0: 26:[62, 88] Operation: 29+59=88 Exploring Operation: 62-59=3, Resulting Numbers: [29, 3] Generated Node #0,2,1: 26:[29, 3] Operation: 62-59=3 Exploring Operation: 62-29=33, Resulting Numbers: [59, 33] Generated Node #0,2,2: 26:[59, 33] Operation: 62-29=33 Exploring Operation: 59-29=30, Resulting Numbers: [62, 30] Generated Node #0,2,3: 26:[62, 30] Operation: 59-29=30 Exploring Operation: 29+62=91, Resulting Numbers: [59, 91] Generated Node #0,2,4: 26:[59, 91] Operation: 29+62=91 Moving to Node #0,0 Current State: 26:[32, 59, 65], Operations: ['94-29=65'] Exploring Operation: 32+65=97, Resulting Numbers: [59, 97] Generated Node #0,0,0: 26:[59, 97] Operation: 32+65=97 Exploring Operation: 65-32=33, Resulting Numbers: [59, 33] Generated Node #0,0,1: 26:[59, 33] Operation: 65-32=33 Exploring Operation: 59-32=27, Resulting Numbers: [65, 27] Generated Node #0,0,2: 26:[65, 27] Operation: 59-32=27 Exploring Operation: 32+59=91, Resulting Numbers: [65, 91] Generated Node #0,0,3: 26:[65, 91] Operation: 32+59=91 Exploring Operation: 65-59=6, Resulting Numbers: [32, 6] Generated Node #0,0,4: 26:[32, 6] Operation: 65-59=6 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 26:[32, 6], Operations: ['94-29=65', '65-59=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,26 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[29, 94, 32, 59], Operations: [] Exploring Operation: 94-29=65, Resulting Numbers: [32, 59, 65] Generated Node #0,0: 26:[32, 59, 65] Operation: 94-29=65 Moving to Node #0,0 Current State: 26:[32, 59, 65], Operations: ['94-29=65'] Exploring Operation: 65-59=6, Resulting Numbers: [32, 6] Generated Node #0,0,4: 26:[32, 6] Operation: 65-59=6 Moving to Node #0,0,4 Current State: 26:[32, 6], Operations: ['94-29=65', '65-59=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 68, 2, 63, 15 ]
20
[ "68-63=5", "15-5=10", "2*10=20" ]
Current State: 20:[68, 2, 63, 15], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [2, 15, 5] Generated Node #2: [2, 15, 5] from Operation: 68-63=5 Current State: 20:[2, 15, 5], Operations: ['68-63=5'] Exploring Operation: 15-5=10, Resulting Numbers: [2, 10] Generated Node #3: [2, 10] from Operation: 15-5=10 Current State: 20:[2, 10], Operations: ['68-63=5', '15-5=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[68, 2, 63, 15], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [63, 15, 34] Generated Node #0,0: 20:[63, 15, 34] Operation: 68/2=34 Exploring Operation: 68-15=53, Resulting Numbers: [2, 63, 53] Generated Node #0,1: 20:[2, 63, 53] Operation: 68-15=53 Exploring Operation: 68-63=5, Resulting Numbers: [2, 15, 5] Generated Node #0,2: 20:[2, 15, 5] Operation: 68-63=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[2, 15, 5], Operations: ['68-63=5'] Exploring Operation: 15+5=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 20:[2, 20] Operation: 15+5=20 Exploring Operation: 15/5=3, Resulting Numbers: [2, 3] Generated Node #0,2,1: 20:[2, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [2, 10] Generated Node #0,2,2: 20:[2, 10] Operation: 15-5=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[2, 20], Operations: ['68-63=5', '15+5=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,20 unequal: No Solution No 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: 20:[2, 10], Operations: ['68-63=5', '15-5=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[68, 2, 63, 15], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [2, 15, 5] Generated Node #0,2: 20:[2, 15, 5] Operation: 68-63=5 Moving to Node #0,2 Current State: 20:[2, 15, 5], Operations: ['68-63=5'] Exploring Operation: 15-5=10, Resulting Numbers: [2, 10] Generated Node #0,2,2: 20:[2, 10] Operation: 15-5=10 Moving to Node #0,2,2 Current State: 20:[2, 10], Operations: ['68-63=5', '15-5=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 15, 49, 43, 79 ]
88
[ "49-15=34", "43+79=122", "122-34=88" ]
Current State: 88:[15, 49, 43, 79], Operations: [] Exploring Operation: 49-15=34, Resulting Numbers: [43, 79, 34] Generated Node #2: [43, 79, 34] from Operation: 49-15=34 Current State: 88:[43, 79, 34], Operations: ['49-15=34'] Exploring Operation: 43+79=122, Resulting Numbers: [34, 122] Generated Node #3: [34, 122] from Operation: 43+79=122 Current State: 88:[34, 122], Operations: ['49-15=34', '43+79=122'] Exploring Operation: 122-34=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[15, 49, 43, 79], Operations: [] Exploring Operation: 79-43=36, Resulting Numbers: [15, 49, 36] Generated Node #0,0: 88:[15, 49, 36] Operation: 79-43=36 Exploring Operation: 49+43=92, Resulting Numbers: [15, 79, 92] Generated Node #0,1: 88:[15, 79, 92] Operation: 49+43=92 Exploring Operation: 15+79=94, Resulting Numbers: [49, 43, 94] Generated Node #0,2: 88:[49, 43, 94] Operation: 15+79=94 Exploring Operation: 79-49=30, Resulting Numbers: [15, 43, 30] Generated Node #0,3: 88:[15, 43, 30] Operation: 79-49=30 Exploring Operation: 49-43=6, Resulting Numbers: [15, 79, 6] Generated Node #0,4: 88:[15, 79, 6] Operation: 49-43=6 Moving to Node #0,2 Current State: 88:[49, 43, 94], Operations: ['15+79=94'] Exploring Operation: 49-43=6, Resulting Numbers: [94, 6] Generated Node #0,2,0: 88:[94, 6] Operation: 49-43=6 Exploring Operation: 94-43=51, Resulting Numbers: [49, 51] Generated Node #0,2,1: 88:[49, 51] Operation: 94-43=51 Exploring Operation: 94-49=45, Resulting Numbers: [43, 45] Generated Node #0,2,2: 88:[43, 45] Operation: 94-49=45 Exploring Operation: 49+43=92, Resulting Numbers: [94, 92] Generated Node #0,2,3: 88:[94, 92] Operation: 49+43=92 Exploring Operation: 43+94=137, Resulting Numbers: [49, 137] Generated Node #0,2,4: 88:[49, 137] Operation: 43+94=137 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[43, 45], Operations: ['15+79=94', '94-49=45'] Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[15, 49, 43, 79], Operations: [] Exploring Operation: 15+79=94, Resulting Numbers: [49, 43, 94] Generated Node #0,2: 88:[49, 43, 94] Operation: 15+79=94 Moving to Node #0,2 Current State: 88:[49, 43, 94], Operations: ['15+79=94'] Exploring Operation: 94-49=45, Resulting Numbers: [43, 45] Generated Node #0,2,2: 88:[43, 45] Operation: 94-49=45 Moving to Node #0,2,2 Current State: 88:[43, 45], Operations: ['15+79=94', '94-49=45'] Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 69, 81, 24, 88 ]
86
[ "69+81=150", "88-24=64", "150-64=86" ]
Current State: 86:[69, 81, 24, 88], Operations: [] Exploring Operation: 69+81=150, Resulting Numbers: [24, 88, 150] Generated Node #2: [24, 88, 150] from Operation: 69+81=150 Current State: 86:[24, 88, 150], Operations: ['69+81=150'] Exploring Operation: 88-24=64, Resulting Numbers: [150, 64] Generated Node #3: [150, 64] from Operation: 88-24=64 Current State: 86:[150, 64], Operations: ['69+81=150', '88-24=64'] Exploring Operation: 150-64=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[69, 81, 24, 88], Operations: [] Exploring Operation: 69-24=45, Resulting Numbers: [81, 88, 45] Generated Node #0,0: 86:[81, 88, 45] Operation: 69-24=45 Exploring Operation: 69+24=93, Resulting Numbers: [81, 88, 93] Generated Node #0,1: 86:[81, 88, 93] Operation: 69+24=93 Moving to Node #0,0 Current State: 86:[81, 88, 45], Operations: ['69-24=45'] Exploring Operation: 88-45=43, Resulting Numbers: [81, 43] Generated Node #0,0,0: 86:[81, 43] Operation: 88-45=43 Exploring Operation: 88-81=7, Resulting Numbers: [45, 7] Generated Node #0,0,1: 86:[45, 7] Operation: 88-81=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[81, 43], Operations: ['69-24=45', '88-45=43'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,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,1 Current State: 86:[45, 7], Operations: ['69-24=45', '88-81=7'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,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:[81, 88, 93], Operations: ['69+24=93'] Exploring Operation: 88-81=7, Resulting Numbers: [93, 7] Generated Node #0,1,0: 86:[93, 7] Operation: 88-81=7 Exploring Operation: 93-88=5, Resulting Numbers: [81, 5] Generated Node #0,1,1: 86:[81, 5] Operation: 93-88=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[81, 5], Operations: ['69+24=93', '93-88=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[69, 81, 24, 88], Operations: [] Exploring Operation: 69+24=93, Resulting Numbers: [81, 88, 93] Generated Node #0,1: 86:[81, 88, 93] Operation: 69+24=93 Moving to Node #0,1 Current State: 86:[81, 88, 93], Operations: ['69+24=93'] Exploring Operation: 93-88=5, Resulting Numbers: [81, 5] Generated Node #0,1,1: 86:[81, 5] Operation: 93-88=5 Moving to Node #0,1,1 Current State: 86:[81, 5], Operations: ['69+24=93', '93-88=5'] Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 43, 22, 5, 91 ]
20
[ "91-5=86", "86/43=2", "22-2=20" ]
Current State: 20:[43, 22, 5, 91], Operations: [] Exploring Operation: 91-5=86, Resulting Numbers: [43, 22, 86] Generated Node #2: [43, 22, 86] from Operation: 91-5=86 Current State: 20:[43, 22, 86], Operations: ['91-5=86'] Exploring Operation: 86/43=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 86/43=2 Current State: 20:[22, 2], Operations: ['91-5=86', '86/43=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[43, 22, 5, 91], Operations: [] Exploring Operation: 43-5=38, Resulting Numbers: [22, 91, 38] Generated Node #0,0: 20:[22, 91, 38] Operation: 43-5=38 Exploring Operation: 43-22=21, Resulting Numbers: [5, 91, 21] Generated Node #0,1: 20:[5, 91, 21] Operation: 43-22=21 Exploring Operation: 91-22=69, Resulting Numbers: [43, 5, 69] Generated Node #0,2: 20:[43, 5, 69] Operation: 91-22=69 Exploring Operation: 91-43=48, Resulting Numbers: [22, 5, 48] Generated Node #0,3: 20:[22, 5, 48] Operation: 91-43=48 Moving to Node #0,3 Current State: 20:[22, 5, 48], Operations: ['91-43=48'] Exploring Operation: 48-22=26, Resulting Numbers: [5, 26] Generated Node #0,3,0: 20:[5, 26] Operation: 48-22=26 Exploring Operation: 22+5=27, Resulting Numbers: [48, 27] Generated Node #0,3,1: 20:[48, 27] Operation: 22+5=27 Exploring Operation: 48-5=43, Resulting Numbers: [22, 43] Generated Node #0,3,2: 20:[22, 43] Operation: 48-5=43 Exploring Operation: 22-5=17, Resulting Numbers: [48, 17] Generated Node #0,3,3: 20:[48, 17] Operation: 22-5=17 Moving to Node #0,2 Current State: 20:[43, 5, 69], Operations: ['91-22=69'] Exploring Operation: 69-5=64, Resulting Numbers: [43, 64] Generated Node #0,2,0: 20:[43, 64] Operation: 69-5=64 Exploring Operation: 43-5=38, Resulting Numbers: [69, 38] Generated Node #0,2,1: 20:[69, 38] Operation: 43-5=38 Exploring Operation: 43+5=48, Resulting Numbers: [69, 48] Generated Node #0,2,2: 20:[69, 48] Operation: 43+5=48 Exploring Operation: 69-43=26, Resulting Numbers: [5, 26] Generated Node #0,2,3: 20:[5, 26] Operation: 69-43=26 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 20:[5, 26], Operations: ['91-22=69', '69-43=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,20 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,20 unequal: No Solution No 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: 20:[43, 64], Operations: ['91-22=69', '69-5=64'] Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 43*64=2752, Resulting Numbers: [2752] 2752,20 unequal: No Solution Exploring Operation: 43+64=107, Resulting Numbers: [107] 107,20 unequal: No Solution No 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: 20:[69, 38], Operations: ['91-22=69', '43-5=38'] Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,20 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,20 unequal: No Solution No 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: 20:[69, 48], Operations: ['91-22=69', '43+5=48'] Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,20 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,20 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: 20:[5, 91, 21], Operations: ['43-22=21'] Exploring Operation: 91-21=70, Resulting Numbers: [5, 70] Generated Node #0,1,0: 20:[5, 70] Operation: 91-21=70 Exploring Operation: 91-5=86, Resulting Numbers: [21, 86] Generated Node #0,1,1: 20:[21, 86] Operation: 91-5=86 Exploring Operation: 5+91=96, Resulting Numbers: [21, 96] Generated Node #0,1,2: 20:[21, 96] Operation: 5+91=96 Exploring Operation: 21-5=16, Resulting Numbers: [91, 16] Generated Node #0,1,3: 20:[91, 16] Operation: 21-5=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[5, 70], Operations: ['43-22=21', '91-21=70'] Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,20 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,20 unequal: No Solution No 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: 20:[21, 86], Operations: ['43-22=21', '91-5=86'] Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,20 unequal: No Solution Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,20 unequal: No Solution Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,20 unequal: No Solution No 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: 20:[91, 16], Operations: ['43-22=21', '21-5=16'] Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,20 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,20 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,20 unequal: No Solution No 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: 20:[21, 96], Operations: ['43-22=21', '5+91=96'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 21*96=2016, Resulting Numbers: [2016] 2016,20 unequal: No Solution Exploring Operation: 21+96=117, Resulting Numbers: [117] 117,20 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: 20:[22, 91, 38], Operations: ['43-5=38'] Exploring Operation: 38-22=16, Resulting Numbers: [91, 16] Generated Node #0,0,0: 20:[91, 16] Operation: 38-22=16 Exploring Operation: 22+91=113, Resulting Numbers: [38, 113] Generated Node #0,0,1: 20:[38, 113] Operation: 22+91=113 Exploring Operation: 91-38=53, Resulting Numbers: [22, 53] Generated Node #0,0,2: 20:[22, 53] Operation: 91-38=53 Exploring Operation: 91-22=69, Resulting Numbers: [38, 69] Generated Node #0,0,3: 20:[38, 69] Operation: 91-22=69 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[22, 53], Operations: ['43-5=38', '91-38=53'] Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,20 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,20 unequal: No Solution No 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: 20:[38, 69], Operations: ['43-5=38', '91-22=69'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,20 unequal: No Solution Exploring Operation: 38*69=2622, Resulting Numbers: [2622] 2622,20 unequal: No Solution No 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: 20:[91, 16], Operations: ['43-5=38', '38-22=16'] Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,20 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,20 unequal: No Solution No 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: 20:[38, 113], Operations: ['43-5=38', '22+91=113'] Exploring Operation: 113-38=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 38*113=4294, Resulting Numbers: [4294] 4294,20 unequal: No Solution Exploring Operation: 38+113=151, Resulting Numbers: [151] 151,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 20:[5, 26], Operations: ['91-43=48', '48-22=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,20 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[22, 43], Operations: ['91-43=48', '48-5=43'] Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 22*43=946, Resulting Numbers: [946] 946,20 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[48, 17], Operations: ['91-43=48', '22-5=17'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,20 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[48, 27], Operations: ['91-43=48', '22+5=27'] Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,20 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,20 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 2, 73, 33, 63 ]
13
[ "73-63=10", "2*10=20", "33-20=13" ]
Current State: 13:[2, 73, 33, 63], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [2, 33, 10] Generated Node #2: [2, 33, 10] from Operation: 73-63=10 Current State: 13:[2, 33, 10], Operations: ['73-63=10'] Exploring Operation: 2*10=20, Resulting Numbers: [33, 20] Generated Node #3: [33, 20] from Operation: 2*10=20 Current State: 13:[33, 20], Operations: ['73-63=10', '2*10=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[2, 73, 33, 63], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [2, 33, 10] Generated Node #0,0: 13:[2, 33, 10] Operation: 73-63=10 Exploring Operation: 73-33=40, Resulting Numbers: [2, 63, 40] Generated Node #0,1: 13:[2, 63, 40] Operation: 73-33=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[2, 33, 10], Operations: ['73-63=10'] Exploring Operation: 33-2=31, Resulting Numbers: [10, 31] Generated Node #0,0,0: 13:[10, 31] Operation: 33-2=31 Exploring Operation: 2+10=12, Resulting Numbers: [33, 12] Generated Node #0,0,1: 13:[33, 12] Operation: 2+10=12 Moving to Node #0,0,0 Current State: 13:[10, 31], Operations: ['73-63=10', '33-2=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,13 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[33, 12], Operations: ['73-63=10', '2+10=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,13 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,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:[2, 63, 40], Operations: ['73-33=40'] Exploring Operation: 40/2=20, Resulting Numbers: [63, 20] Generated Node #0,1,0: 13:[63, 20] Operation: 40/2=20 Exploring Operation: 63-40=23, Resulting Numbers: [2, 23] Generated Node #0,1,1: 13:[2, 23] Operation: 63-40=23 Moving to Node #0,1,1 Current State: 13:[2, 23], Operations: ['73-33=40', '63-40=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,13 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[63, 20], Operations: ['73-33=40', '40/2=20'] Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,13 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,13 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
[ 80, 52, 3, 29 ]
78
[ "29-3=26", "52/26=2", "80-2=78" ]
Current State: 78:[80, 52, 3, 29], Operations: [] Exploring Operation: 29-3=26, Resulting Numbers: [80, 52, 26] Generated Node #2: [80, 52, 26] from Operation: 29-3=26 Current State: 78:[80, 52, 26], Operations: ['29-3=26'] Exploring Operation: 52/26=2, Resulting Numbers: [80, 2] Generated Node #3: [80, 2] from Operation: 52/26=2 Current State: 78:[80, 2], Operations: ['29-3=26', '52/26=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[80, 52, 3, 29], Operations: [] Exploring Operation: 52+29=81, Resulting Numbers: [80, 3, 81] Generated Node #0,0: 78:[80, 3, 81] Operation: 52+29=81 Exploring Operation: 80-52=28, Resulting Numbers: [3, 29, 28] Generated Node #0,1: 78:[3, 29, 28] Operation: 80-52=28 Moving to Node #0,0 Current State: 78:[80, 3, 81], Operations: ['52+29=81'] Exploring Operation: 81-80=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 78:[3, 1] Operation: 81-80=1 Exploring Operation: 81-3=78, Resulting Numbers: [80, 78] Generated Node #0,0,1: 78:[80, 78] Operation: 81-3=78 Moving to Node #0,1 Current State: 78:[3, 29, 28], Operations: ['80-52=28'] Exploring Operation: 29-3=26, Resulting Numbers: [28, 26] Generated Node #0,1,0: 78:[28, 26] Operation: 29-3=26 Exploring Operation: 29-28=1, Resulting Numbers: [3, 1] Generated Node #0,1,1: 78:[3, 1] Operation: 29-28=1 Moving to Node #0,0,0 Current State: 78:[3, 1], Operations: ['52+29=81', '81-80=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[3, 1], Operations: ['80-52=28', '29-28=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[80, 78], Operations: ['52+29=81', '81-3=78'] Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 80+78=158, Resulting Numbers: [158] 158,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[28, 26], Operations: ['80-52=28', '29-3=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,78 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 93, 51, 39, 91 ]
94
[ "93-51=42", "91-39=52", "42+52=94" ]
Current State: 94:[93, 51, 39, 91], Operations: [] Exploring Operation: 93-51=42, Resulting Numbers: [39, 91, 42] Generated Node #2: [39, 91, 42] from Operation: 93-51=42 Current State: 94:[39, 91, 42], Operations: ['93-51=42'] Exploring Operation: 91-39=52, Resulting Numbers: [42, 52] Generated Node #3: [42, 52] from Operation: 91-39=52 Current State: 94:[42, 52], Operations: ['93-51=42', '91-39=52'] Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[93, 51, 39, 91], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [93, 51, 52] Generated Node #0,0: 94:[93, 51, 52] Operation: 91-39=52 Exploring Operation: 93-91=2, Resulting Numbers: [51, 39, 2] Generated Node #0,1: 94:[51, 39, 2] Operation: 93-91=2 Exploring Operation: 51+39=90, Resulting Numbers: [93, 91, 90] Generated Node #0,2: 94:[93, 91, 90] Operation: 51+39=90 Moving to Node #0,2 Current State: 94:[93, 91, 90], Operations: ['51+39=90'] Exploring Operation: 91-90=1, Resulting Numbers: [93, 1] Generated Node #0,2,0: 94:[93, 1] Operation: 91-90=1 Exploring Operation: 93-90=3, Resulting Numbers: [91, 3] Generated Node #0,2,1: 94:[91, 3] Operation: 93-90=3 Exploring Operation: 93-91=2, Resulting Numbers: [90, 2] Generated Node #0,2,2: 94:[90, 2] Operation: 93-91=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[93, 1], Operations: ['51+39=90', '91-90=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[93, 51, 39, 91], Operations: [] Exploring Operation: 51+39=90, Resulting Numbers: [93, 91, 90] Generated Node #0,2: 94:[93, 91, 90] Operation: 51+39=90 Moving to Node #0,2 Current State: 94:[93, 91, 90], Operations: ['51+39=90'] Exploring Operation: 91-90=1, Resulting Numbers: [93, 1] Generated Node #0,2,0: 94:[93, 1] Operation: 91-90=1 Moving to Node #0,2,0 Current State: 94:[93, 1], Operations: ['51+39=90', '91-90=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 5, 50, 19, 7 ]
43
[ "5+50=55", "19-7=12", "55-12=43" ]
Current State: 43:[5, 50, 19, 7], Operations: [] Exploring Operation: 5+50=55, Resulting Numbers: [19, 7, 55] Generated Node #2: [19, 7, 55] from Operation: 5+50=55 Current State: 43:[19, 7, 55], Operations: ['5+50=55'] Exploring Operation: 19-7=12, Resulting Numbers: [55, 12] Generated Node #3: [55, 12] from Operation: 19-7=12 Current State: 43:[55, 12], Operations: ['5+50=55', '19-7=12'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[5, 50, 19, 7], Operations: [] Exploring Operation: 50-5=45, Resulting Numbers: [19, 7, 45] Generated Node #0,0: 43:[19, 7, 45] Operation: 50-5=45 Exploring Operation: 5*7=35, Resulting Numbers: [50, 19, 35] Generated Node #0,1: 43:[50, 19, 35] Operation: 5*7=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[50, 19, 35], Operations: ['5*7=35'] Exploring Operation: 50-19=31, Resulting Numbers: [35, 31] Generated Node #0,1,0: 43:[35, 31] Operation: 50-19=31 Exploring Operation: 19+35=54, Resulting Numbers: [50, 54] Generated Node #0,1,1: 43:[50, 54] Operation: 19+35=54 Moving to Node #0,1,1 Current State: 43:[50, 54], Operations: ['5*7=35', '19+35=54'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 50+54=104, Resulting Numbers: [104] 104,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[35, 31], Operations: ['5*7=35', '50-19=31'] Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[19, 7, 45], Operations: ['50-5=45'] Exploring Operation: 19+7=26, Resulting Numbers: [45, 26] Generated Node #0,0,0: 43:[45, 26] Operation: 19+7=26 Exploring Operation: 45-7=38, Resulting Numbers: [19, 38] Generated Node #0,0,1: 43:[19, 38] Operation: 45-7=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[45, 26], Operations: ['50-5=45', '19+7=26'] Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,43 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[19, 38], Operations: ['50-5=45', '45-7=38'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,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_2
sum_heuristic
[ 13, 83, 65, 51 ]
99
[ "65-51=14", "13*14=182", "182-83=99" ]
Current State: 99:[13, 83, 65, 51], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [13, 83, 14] Generated Node #2: [13, 83, 14] from Operation: 65-51=14 Current State: 99:[13, 83, 14], Operations: ['65-51=14'] Exploring Operation: 13*14=182, Resulting Numbers: [83, 182] Generated Node #3: [83, 182] from Operation: 13*14=182 Current State: 99:[83, 182], Operations: ['65-51=14', '13*14=182'] Exploring Operation: 182-83=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[13, 83, 65, 51], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [13, 65, 32] Generated Node #0,0: 99:[13, 65, 32] Operation: 83-51=32 Exploring Operation: 83-65=18, Resulting Numbers: [13, 51, 18] Generated Node #0,1: 99:[13, 51, 18] Operation: 83-65=18 Exploring Operation: 65-51=14, Resulting Numbers: [13, 83, 14] Generated Node #0,2: 99:[13, 83, 14] Operation: 65-51=14 Exploring Operation: 65+51=116, Resulting Numbers: [13, 83, 116] Generated Node #0,3: 99:[13, 83, 116] Operation: 65+51=116 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[13, 83, 14], Operations: ['65-51=14'] Exploring Operation: 14-13=1, Resulting Numbers: [83, 1] Generated Node #0,2,0: 99:[83, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [83, 27] Generated Node #0,2,1: 99:[83, 27] Operation: 13+14=27 Exploring Operation: 13+83=96, Resulting Numbers: [14, 96] Generated Node #0,2,2: 99:[14, 96] Operation: 13+83=96 Exploring Operation: 83+14=97, Resulting Numbers: [13, 97] Generated Node #0,2,3: 99:[13, 97] Operation: 83+14=97 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[13, 97], Operations: ['65-51=14', '83+14=97'] Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 13*97=1261, Resulting Numbers: [1261] 1261,99 unequal: No Solution Exploring Operation: 13+97=110, Resulting Numbers: [110] 110,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[14, 96], Operations: ['65-51=14', '13+83=96'] Exploring Operation: 14*96=1344, Resulting Numbers: [1344] 1344,99 unequal: No Solution Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 14+96=110, Resulting Numbers: [110] 110,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[83, 1], Operations: ['65-51=14', '14-13=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,99 unequal: No Solution Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[83, 27], Operations: ['65-51=14', '13+14=27'] Exploring Operation: 83*27=2241, Resulting Numbers: [2241] 2241,99 unequal: No Solution Exploring Operation: 83+27=110, Resulting Numbers: [110] 110,99 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,99 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: 99:[13, 51, 18], Operations: ['83-65=18'] Exploring Operation: 51-13=38, Resulting Numbers: [18, 38] Generated Node #0,1,0: 99:[18, 38] Operation: 51-13=38 Exploring Operation: 13+18=31, Resulting Numbers: [51, 31] Generated Node #0,1,1: 99:[51, 31] Operation: 13+18=31 Exploring Operation: 51-18=33, Resulting Numbers: [13, 33] Generated Node #0,1,2: 99:[13, 33] Operation: 51-18=33 Exploring Operation: 18-13=5, Resulting Numbers: [51, 5] Generated Node #0,1,3: 99:[51, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[13, 33], Operations: ['83-65=18', '51-18=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,99 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[18, 38], Operations: ['83-65=18', '51-13=38'] Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,99 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[51, 31], Operations: ['83-65=18', '13+18=31'] Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,99 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 99:[51, 5], Operations: ['83-65=18', '18-13=5'] Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,99 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,99 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: 99:[13, 65, 32], Operations: ['83-51=32'] Exploring Operation: 65-32=33, Resulting Numbers: [13, 33] Generated Node #0,0,0: 99:[13, 33] Operation: 65-32=33 Exploring Operation: 65/13=5, Resulting Numbers: [32, 5] Generated Node #0,0,1: 99:[32, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [32, 52] Generated Node #0,0,2: 99:[32, 52] Operation: 65-13=52 Exploring Operation: 65+32=97, Resulting Numbers: [13, 97] Generated Node #0,0,3: 99:[13, 97] Operation: 65+32=97 Moving to Node #0,0,0 Current State: 99:[13, 33], Operations: ['83-51=32', '65-32=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[32, 5], Operations: ['83-51=32', '65/13=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,99 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,99 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[13, 97], Operations: ['83-51=32', '65+32=97'] Exploring Operation: 13*97=1261, Resulting Numbers: [1261] 1261,99 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 13+97=110, Resulting Numbers: [110] 110,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[32, 52], Operations: ['83-51=32', '65-13=52'] Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,99 unequal: No Solution No 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: 99:[13, 83, 116], Operations: ['65+51=116'] Exploring Operation: 116-83=33, Resulting Numbers: [13, 33] Generated Node #0,3,0: 99:[13, 33] Operation: 116-83=33 Exploring Operation: 13+83=96, Resulting Numbers: [116, 96] Generated Node #0,3,1: 99:[116, 96] Operation: 13+83=96 Exploring Operation: 116-13=103, Resulting Numbers: [83, 103] Generated Node #0,3,2: 99:[83, 103] Operation: 116-13=103 Exploring Operation: 83-13=70, Resulting Numbers: [116, 70] Generated Node #0,3,3: 99:[116, 70] Operation: 83-13=70 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 99:[13, 33], Operations: ['65+51=116', '116-83=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 99:[116, 96], Operations: ['65+51=116', '13+83=96'] Exploring Operation: 116+96=212, Resulting Numbers: [212] 212,99 unequal: No Solution Exploring Operation: 116*96=11136, Resulting Numbers: [11136] 11136,99 unequal: No Solution Exploring Operation: 116-96=20, Resulting Numbers: [20] 20,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 99:[83, 103], Operations: ['65+51=116', '116-13=103'] Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,99 unequal: No Solution Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,99 unequal: No Solution Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 99:[116, 70], Operations: ['65+51=116', '83-13=70'] Exploring Operation: 116*70=8120, Resulting Numbers: [8120] 8120,99 unequal: No Solution Exploring Operation: 116+70=186, Resulting Numbers: [186] 186,99 unequal: No Solution Exploring Operation: 116-70=46, Resulting Numbers: [46] 46,99 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
[ 44, 17, 2, 47 ]
40
[ "44-17=27", "47-27=20", "2*20=40" ]
Current State: 40:[44, 17, 2, 47], Operations: [] Exploring Operation: 44-17=27, Resulting Numbers: [2, 47, 27] Generated Node #2: [2, 47, 27] from Operation: 44-17=27 Current State: 40:[2, 47, 27], Operations: ['44-17=27'] Exploring Operation: 47-27=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 47-27=20 Current State: 40:[2, 20], Operations: ['44-17=27', '47-27=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[44, 17, 2, 47], Operations: [] Exploring Operation: 44/2=22, Resulting Numbers: [17, 47, 22] Generated Node #0,0: 40:[17, 47, 22] Operation: 44/2=22 Exploring Operation: 44-2=42, Resulting Numbers: [17, 47, 42] Generated Node #0,1: 40:[17, 47, 42] Operation: 44-2=42 Exploring Operation: 17+2=19, Resulting Numbers: [44, 47, 19] Generated Node #0,2: 40:[44, 47, 19] Operation: 17+2=19 Exploring Operation: 47-44=3, Resulting Numbers: [17, 2, 3] Generated Node #0,3: 40:[17, 2, 3] Operation: 47-44=3 Moving to Node #0,3 Current State: 40:[17, 2, 3], Operations: ['47-44=3'] Exploring Operation: 17+2=19, Resulting Numbers: [3, 19] Generated Node #0,3,0: 40:[3, 19] Operation: 17+2=19 Exploring Operation: 2+3=5, Resulting Numbers: [17, 5] Generated Node #0,3,1: 40:[17, 5] Operation: 2+3=5 Exploring Operation: 17+3=20, Resulting Numbers: [2, 20] Generated Node #0,3,2: 40:[2, 20] Operation: 17+3=20 Exploring Operation: 17-3=14, Resulting Numbers: [2, 14] Generated Node #0,3,3: 40:[2, 14] Operation: 17-3=14 Moving to Node #0,1 Current State: 40:[17, 47, 42], Operations: ['44-2=42'] Exploring Operation: 42-17=25, Resulting Numbers: [47, 25] Generated Node #0,1,0: 40:[47, 25] Operation: 42-17=25 Exploring Operation: 17+47=64, Resulting Numbers: [42, 64] Generated Node #0,1,1: 40:[42, 64] Operation: 17+47=64 Exploring Operation: 47-17=30, Resulting Numbers: [42, 30] Generated Node #0,1,2: 40:[42, 30] Operation: 47-17=30 Exploring Operation: 47-42=5, Resulting Numbers: [17, 5] Generated Node #0,1,3: 40:[17, 5] Operation: 47-42=5 Moving to Node #0,0 Current State: 40:[17, 47, 22], Operations: ['44/2=22'] Exploring Operation: 17+22=39, Resulting Numbers: [47, 39] Generated Node #0,0,0: 40:[47, 39] Operation: 17+22=39 Exploring Operation: 22-17=5, Resulting Numbers: [47, 5] Generated Node #0,0,1: 40:[47, 5] Operation: 22-17=5 Exploring Operation: 47-17=30, Resulting Numbers: [22, 30] Generated Node #0,0,2: 40:[22, 30] Operation: 47-17=30 Exploring Operation: 47-22=25, Resulting Numbers: [17, 25] Generated Node #0,0,3: 40:[17, 25] Operation: 47-22=25 Moving to Node #0,2 Current State: 40:[44, 47, 19], Operations: ['17+2=19'] Exploring Operation: 44+19=63, Resulting Numbers: [47, 63] Generated Node #0,2,0: 40:[47, 63] Operation: 44+19=63 Exploring Operation: 44-19=25, Resulting Numbers: [47, 25] Generated Node #0,2,1: 40:[47, 25] Operation: 44-19=25 Exploring Operation: 47-19=28, Resulting Numbers: [44, 28] Generated Node #0,2,2: 40:[44, 28] Operation: 47-19=28 Exploring Operation: 47-44=3, Resulting Numbers: [19, 3] Generated Node #0,2,3: 40:[19, 3] Operation: 47-44=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[19, 3], Operations: ['17+2=19', '47-44=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,40 unequal: No Solution No 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: 40:[47, 25], Operations: ['17+2=19', '44-19=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,40 unequal: No Solution No 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: 40:[44, 28], Operations: ['17+2=19', '47-19=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,40 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,40 unequal: No Solution No 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: 40:[47, 63], Operations: ['17+2=19', '44+19=63'] Exploring Operation: 47*63=2961, Resulting Numbers: [2961] 2961,40 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 40:[2, 20], Operations: ['47-44=3', '17+3=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[44, 17, 2, 47], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [17, 2, 3] Generated Node #0,3: 40:[17, 2, 3] Operation: 47-44=3 Moving to Node #0,3 Current State: 40:[17, 2, 3], Operations: ['47-44=3'] Exploring Operation: 17+3=20, Resulting Numbers: [2, 20] Generated Node #0,3,2: 40:[2, 20] Operation: 17+3=20 Moving to Node #0,3,2 Current State: 40:[2, 20], Operations: ['47-44=3', '17+3=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 40, 28, 15, 20 ]
24
[ "40+20=60", "60/15=4", "28-4=24" ]
Current State: 24:[40, 28, 15, 20], Operations: [] Exploring Operation: 40+20=60, Resulting Numbers: [28, 15, 60] Generated Node #2: [28, 15, 60] from Operation: 40+20=60 Current State: 24:[28, 15, 60], Operations: ['40+20=60'] Exploring Operation: 60/15=4, Resulting Numbers: [28, 4] Generated Node #3: [28, 4] from Operation: 60/15=4 Current State: 24:[28, 4], Operations: ['40+20=60', '60/15=4'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[40, 28, 15, 20], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [15, 20, 12] Generated Node #0,0: 24:[15, 20, 12] Operation: 40-28=12 Moving to Node #0,0 Current State: 24:[15, 20, 12], Operations: ['40-28=12'] Exploring Operation: 20-15=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 24:[12, 5] Operation: 20-15=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[12, 5], Operations: ['40-28=12', '20-15=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 97, 51, 7, 36 ]
70
[ "97-51=46", "46-36=10", "7*10=70" ]
Current State: 70:[97, 51, 7, 36], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [7, 36, 46] Generated Node #2: [7, 36, 46] from Operation: 97-51=46 Current State: 70:[7, 36, 46], Operations: ['97-51=46'] Exploring Operation: 46-36=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 46-36=10 Current State: 70:[7, 10], Operations: ['97-51=46', '46-36=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[97, 51, 7, 36], Operations: [] Exploring Operation: 97-36=61, Resulting Numbers: [51, 7, 61] Generated Node #0,0: 70:[51, 7, 61] Operation: 97-36=61 Exploring Operation: 97-7=90, Resulting Numbers: [51, 36, 90] Generated Node #0,1: 70:[51, 36, 90] Operation: 97-7=90 Exploring Operation: 51-36=15, Resulting Numbers: [97, 7, 15] Generated Node #0,2: 70:[97, 7, 15] Operation: 51-36=15 Exploring Operation: 97-51=46, Resulting Numbers: [7, 36, 46] Generated Node #0,3: 70:[7, 36, 46] Operation: 97-51=46 Exploring Operation: 51-7=44, Resulting Numbers: [97, 36, 44] Generated Node #0,4: 70:[97, 36, 44] Operation: 51-7=44 Moving to Node #0,3 Current State: 70:[7, 36, 46], Operations: ['97-51=46'] Exploring Operation: 46-7=39, Resulting Numbers: [36, 39] Generated Node #0,3,0: 70:[36, 39] Operation: 46-7=39 Exploring Operation: 36-7=29, Resulting Numbers: [46, 29] Generated Node #0,3,1: 70:[46, 29] Operation: 36-7=29 Exploring Operation: 46-36=10, Resulting Numbers: [7, 10] Generated Node #0,3,2: 70:[7, 10] Operation: 46-36=10 Exploring Operation: 36+46=82, Resulting Numbers: [7, 82] Generated Node #0,3,3: 70:[7, 82] Operation: 36+46=82 Exploring Operation: 7+46=53, Resulting Numbers: [36, 53] Generated Node #0,3,4: 70:[36, 53] Operation: 7+46=53 Moving to Node #0,0 Current State: 70:[51, 7, 61], Operations: ['97-36=61'] Exploring Operation: 61-51=10, Resulting Numbers: [7, 10] Generated Node #0,0,0: 70:[7, 10] Operation: 61-51=10 Exploring Operation: 51+7=58, Resulting Numbers: [61, 58] Generated Node #0,0,1: 70:[61, 58] Operation: 51+7=58 Exploring Operation: 51-7=44, Resulting Numbers: [61, 44] Generated Node #0,0,2: 70:[61, 44] Operation: 51-7=44 Exploring Operation: 7+61=68, Resulting Numbers: [51, 68] Generated Node #0,0,3: 70:[51, 68] Operation: 7+61=68 Exploring Operation: 61-7=54, Resulting Numbers: [51, 54] Generated Node #0,0,4: 70:[51, 54] Operation: 61-7=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[7, 10], Operations: ['97-36=61', '61-51=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[97, 51, 7, 36], Operations: [] Exploring Operation: 97-36=61, Resulting Numbers: [51, 7, 61] Generated Node #0,0: 70:[51, 7, 61] Operation: 97-36=61 Moving to Node #0,0 Current State: 70:[51, 7, 61], Operations: ['97-36=61'] Exploring Operation: 61-51=10, Resulting Numbers: [7, 10] Generated Node #0,0,0: 70:[7, 10] Operation: 61-51=10 Moving to Node #0,0,0 Current State: 70:[7, 10], Operations: ['97-36=61', '61-51=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 52, 41, 8, 44 ]
42
[ "52-8=44", "44/44=1", "41+1=42" ]
Current State: 42:[52, 41, 8, 44], Operations: [] Exploring Operation: 52-8=44, Resulting Numbers: [41, 44, 44] Generated Node #2: [41, 44, 44] from Operation: 52-8=44 Current State: 42:[41, 44, 44], Operations: ['52-8=44'] Exploring Operation: 44/44=1, Resulting Numbers: [41, 1] Generated Node #3: [41, 1] from Operation: 44/44=1 Current State: 42:[41, 1], Operations: ['52-8=44', '44/44=1'] Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[52, 41, 8, 44], Operations: [] Exploring Operation: 52-8=44, Resulting Numbers: [41, 44, 44] Generated Node #0,0: 42:[41, 44, 44] Operation: 52-8=44 Exploring Operation: 44-41=3, Resulting Numbers: [52, 8, 3] Generated Node #0,1: 42:[52, 8, 3] Operation: 44-41=3 Exploring Operation: 52-41=11, Resulting Numbers: [8, 44, 11] Generated Node #0,2: 42:[8, 44, 11] Operation: 52-41=11 Exploring Operation: 44-8=36, Resulting Numbers: [52, 41, 36] Generated Node #0,3: 42:[52, 41, 36] Operation: 44-8=36 Exploring Operation: 52-44=8, Resulting Numbers: [41, 8, 8] Generated Node #0,4: 42:[41, 8, 8] Operation: 52-44=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 42:[41, 8, 8], Operations: ['52-44=8'] Exploring Operation: 8/8=1, Resulting Numbers: [41, 1] Generated Node #0,4,0: 42:[41, 1] Operation: 8/8=1 Exploring Operation: 41+8=49, Resulting Numbers: [8, 49] Generated Node #0,4,1: 42:[8, 49] Operation: 41+8=49 Exploring Operation: 41+8=49, Resulting Numbers: [8, 49] Generated Node #0,4,2: 42:[8, 49] Operation: 41+8=49 Exploring Operation: 8-8=0, Resulting Numbers: [41, 0] Generated Node #0,4,3: 42:[41, 0] Operation: 8-8=0 Exploring Operation: 8+8=16, Resulting Numbers: [41, 16] Generated Node #0,4,4: 42:[41, 16] Operation: 8+8=16 Moving to Node #0,4,0 Current State: 42:[41, 1], Operations: ['52-44=8', '8/8=1'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[52, 41, 8, 44], Operations: [] Exploring Operation: 52-44=8, Resulting Numbers: [41, 8, 8] Generated Node #0,4: 42:[41, 8, 8] Operation: 52-44=8 Moving to Node #0,4 Current State: 42:[41, 8, 8], Operations: ['52-44=8'] Exploring Operation: 8/8=1, Resulting Numbers: [41, 1] Generated Node #0,4,0: 42:[41, 1] Operation: 8/8=1 Moving to Node #0,4,0 Current State: 42:[41, 1], Operations: ['52-44=8', '8/8=1'] Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 91, 26, 54, 27 ]
38
[ "91-26=65", "54-27=27", "65-27=38" ]
Current State: 38:[91, 26, 54, 27], Operations: [] Exploring Operation: 91-26=65, Resulting Numbers: [54, 27, 65] Generated Node #2: [54, 27, 65] from Operation: 91-26=65 Current State: 38:[54, 27, 65], Operations: ['91-26=65'] Exploring Operation: 54-27=27, Resulting Numbers: [65, 27] Generated Node #3: [65, 27] from Operation: 54-27=27 Current State: 38:[65, 27], Operations: ['91-26=65', '54-27=27'] Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[91, 26, 54, 27], Operations: [] Exploring Operation: 91-27=64, Resulting Numbers: [26, 54, 64] Generated Node #0,0: 38:[26, 54, 64] Operation: 91-27=64 Exploring Operation: 91-54=37, Resulting Numbers: [26, 27, 37] Generated Node #0,1: 38:[26, 27, 37] Operation: 91-54=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[26, 27, 37], Operations: ['91-54=37'] Exploring Operation: 37-27=10, Resulting Numbers: [26, 10] Generated Node #0,1,0: 38:[26, 10] Operation: 37-27=10 Exploring Operation: 27-26=1, Resulting Numbers: [37, 1] Generated Node #0,1,1: 38:[37, 1] Operation: 27-26=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[37, 1], Operations: ['91-54=37', '27-26=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[91, 26, 54, 27], Operations: [] Exploring Operation: 91-54=37, Resulting Numbers: [26, 27, 37] Generated Node #0,1: 38:[26, 27, 37] Operation: 91-54=37 Moving to Node #0,1 Current State: 38:[26, 27, 37], Operations: ['91-54=37'] Exploring Operation: 27-26=1, Resulting Numbers: [37, 1] Generated Node #0,1,1: 38:[37, 1] Operation: 27-26=1 Moving to Node #0,1,1 Current State: 38:[37, 1], Operations: ['91-54=37', '27-26=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 96, 38, 45, 48 ]
80
[ "96*38=3648", "3648-48=3600", "3600/45=80" ]
Current State: 80:[96, 38, 45, 48], Operations: [] Exploring Operation: 96*38=3648, Resulting Numbers: [45, 48, 3648] Generated Node #2: [45, 48, 3648] from Operation: 96*38=3648 Current State: 80:[45, 48, 3648], Operations: ['96*38=3648'] Exploring Operation: 3648-48=3600, Resulting Numbers: [45, 3600] Generated Node #3: [45, 3600] from Operation: 3648-48=3600 Current State: 80:[45, 3600], Operations: ['96*38=3648', '3648-48=3600'] Exploring Operation: 3600/45=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[96, 38, 45, 48], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [38, 45, 48] Generated Node #0,0: 80:[38, 45, 48] Operation: 96-48=48 Exploring Operation: 96/48=2, Resulting Numbers: [38, 45, 2] Generated Node #0,1: 80:[38, 45, 2] Operation: 96/48=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[38, 45, 2], Operations: ['96/48=2'] Exploring Operation: 45-38=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 80:[2, 7] Operation: 45-38=7 Exploring Operation: 38+45=83, Resulting Numbers: [2, 83] Generated Node #0,1,1: 80:[2, 83] Operation: 38+45=83 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[2, 7], Operations: ['96/48=2', '45-38=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[2, 83], Operations: ['96/48=2', '38+45=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[38, 45, 48], Operations: ['96-48=48'] Exploring Operation: 48-38=10, Resulting Numbers: [45, 10] Generated Node #0,0,0: 80:[45, 10] Operation: 48-38=10 Exploring Operation: 48-45=3, Resulting Numbers: [38, 3] Generated Node #0,0,1: 80:[38, 3] Operation: 48-45=3 Moving to Node #0,0,1 Current State: 80:[38, 3], Operations: ['96-48=48', '48-45=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[45, 10], Operations: ['96-48=48', '48-38=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,80 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
[ 94, 22, 21, 9 ]
60
[ "94-22=72", "21-9=12", "72-12=60" ]
Current State: 60:[94, 22, 21, 9], Operations: [] Exploring Operation: 94-22=72, Resulting Numbers: [21, 9, 72] Generated Node #2: [21, 9, 72] from Operation: 94-22=72 Current State: 60:[21, 9, 72], Operations: ['94-22=72'] Exploring Operation: 21-9=12, Resulting Numbers: [72, 12] Generated Node #3: [72, 12] from Operation: 21-9=12 Current State: 60:[72, 12], Operations: ['94-22=72', '21-9=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[94, 22, 21, 9], Operations: [] Exploring Operation: 94-22=72, Resulting Numbers: [21, 9, 72] Generated Node #0,0: 60:[21, 9, 72] Operation: 94-22=72 Exploring Operation: 94-9=85, Resulting Numbers: [22, 21, 85] Generated Node #0,1: 60:[22, 21, 85] Operation: 94-9=85 Exploring Operation: 22-21=1, Resulting Numbers: [94, 9, 1] Generated Node #0,2: 60:[94, 9, 1] Operation: 22-21=1 Exploring Operation: 22+9=31, Resulting Numbers: [94, 21, 31] Generated Node #0,3: 60:[94, 21, 31] Operation: 22+9=31 Exploring Operation: 94-21=73, Resulting Numbers: [22, 9, 73] Generated Node #0,4: 60:[22, 9, 73] Operation: 94-21=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[21, 9, 72], Operations: ['94-22=72'] Exploring Operation: 21+9=30, Resulting Numbers: [72, 30] Generated Node #0,0,0: 60:[72, 30] Operation: 21+9=30 Exploring Operation: 72/9=8, Resulting Numbers: [21, 8] Generated Node #0,0,1: 60:[21, 8] Operation: 72/9=8 Exploring Operation: 72-21=51, Resulting Numbers: [9, 51] Generated Node #0,0,2: 60:[9, 51] Operation: 72-21=51 Exploring Operation: 72-9=63, Resulting Numbers: [21, 63] Generated Node #0,0,3: 60:[21, 63] Operation: 72-9=63 Exploring Operation: 21-9=12, Resulting Numbers: [72, 12] Generated Node #0,0,4: 60:[72, 12] Operation: 21-9=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[21, 8], Operations: ['94-22=72', '72/9=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[21, 63], Operations: ['94-22=72', '72-9=63'] Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 21*63=1323, Resulting Numbers: [1323] 1323,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[9, 51], Operations: ['94-22=72', '72-21=51'] Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,60 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[94, 22, 21, 9], Operations: [] Exploring Operation: 94-22=72, Resulting Numbers: [21, 9, 72] Generated Node #0,0: 60:[21, 9, 72] Operation: 94-22=72 Moving to Node #0,0 Current State: 60:[21, 9, 72], Operations: ['94-22=72'] Exploring Operation: 72-21=51, Resulting Numbers: [9, 51] Generated Node #0,0,2: 60:[9, 51] Operation: 72-21=51 Moving to Node #0,0,2 Current State: 60:[9, 51], Operations: ['94-22=72', '72-21=51'] Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 18, 48, 83, 21 ]
92
[ "48-18=30", "83-21=62", "30+62=92" ]
Current State: 92:[18, 48, 83, 21], Operations: [] Exploring Operation: 48-18=30, Resulting Numbers: [83, 21, 30] Generated Node #2: [83, 21, 30] from Operation: 48-18=30 Current State: 92:[83, 21, 30], Operations: ['48-18=30'] Exploring Operation: 83-21=62, Resulting Numbers: [30, 62] Generated Node #3: [30, 62] from Operation: 83-21=62 Current State: 92:[30, 62], Operations: ['48-18=30', '83-21=62'] Exploring Operation: 30+62=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[18, 48, 83, 21], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [48, 83, 3] Generated Node #0,0: 92:[48, 83, 3] Operation: 21-18=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[48, 83, 3], Operations: ['21-18=3'] Exploring Operation: 83+3=86, Resulting Numbers: [48, 86] Generated Node #0,0,0: 92:[48, 86] Operation: 83+3=86 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[48, 86], Operations: ['21-18=3', '83+3=86'] Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 69, 33, 2, 90 ]
72
[ "69-33=36", "36/2=18", "90-18=72" ]
Current State: 72:[69, 33, 2, 90], Operations: [] Exploring Operation: 69-33=36, Resulting Numbers: [2, 90, 36] Generated Node #2: [2, 90, 36] from Operation: 69-33=36 Current State: 72:[2, 90, 36], Operations: ['69-33=36'] Exploring Operation: 36/2=18, Resulting Numbers: [90, 18] Generated Node #3: [90, 18] from Operation: 36/2=18 Current State: 72:[90, 18], Operations: ['69-33=36', '36/2=18'] Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[69, 33, 2, 90], Operations: [] Exploring Operation: 90-69=21, Resulting Numbers: [33, 2, 21] Generated Node #0,0: 72:[33, 2, 21] Operation: 90-69=21 Exploring Operation: 69-33=36, Resulting Numbers: [2, 90, 36] Generated Node #0,1: 72:[2, 90, 36] Operation: 69-33=36 Exploring Operation: 90/2=45, Resulting Numbers: [69, 33, 45] Generated Node #0,2: 72:[69, 33, 45] Operation: 90/2=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[33, 2, 21], Operations: ['90-69=21'] Exploring Operation: 2+21=23, Resulting Numbers: [33, 23] Generated Node #0,0,0: 72:[33, 23] Operation: 2+21=23 Exploring Operation: 33+2=35, Resulting Numbers: [21, 35] Generated Node #0,0,1: 72:[21, 35] Operation: 33+2=35 Exploring Operation: 33-21=12, Resulting Numbers: [2, 12] Generated Node #0,0,2: 72:[2, 12] Operation: 33-21=12 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[2, 12], Operations: ['90-69=21', '33-21=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,72 unequal: No Solution No 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: 72:[33, 23], Operations: ['90-69=21', '2+21=23'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 33*23=759, Resulting Numbers: [759] 759,72 unequal: No Solution Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,72 unequal: No Solution No 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: 72:[21, 35], Operations: ['90-69=21', '33+2=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,72 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[69, 33, 45], Operations: ['90/2=45'] Exploring Operation: 45-33=12, Resulting Numbers: [69, 12] Generated Node #0,2,0: 72:[69, 12] Operation: 45-33=12 Exploring Operation: 69-45=24, Resulting Numbers: [33, 24] Generated Node #0,2,1: 72:[33, 24] Operation: 69-45=24 Exploring Operation: 69-33=36, Resulting Numbers: [45, 36] Generated Node #0,2,2: 72:[45, 36] Operation: 69-33=36 Moving to Node #0,2,0 Current State: 72:[69, 12], Operations: ['90/2=45', '45-33=12'] Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,72 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[33, 24], Operations: ['90/2=45', '69-45=24'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,72 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[45, 36], Operations: ['90/2=45', '69-33=36'] Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,72 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[2, 90, 36], Operations: ['69-33=36'] Exploring Operation: 2*36=72, Resulting Numbers: [90, 72] Generated Node #0,1,0: 72:[90, 72] Operation: 2*36=72 Exploring Operation: 90-2=88, Resulting Numbers: [36, 88] Generated Node #0,1,1: 72:[36, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [36, 45] Generated Node #0,1,2: 72:[36, 45] Operation: 90/2=45 Moving to Node #0,1,2 Current State: 72:[36, 45], Operations: ['69-33=36', '90/2=45'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[36, 88], Operations: ['69-33=36', '90-2=88'] Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,72 unequal: No Solution Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[90, 72], Operations: ['69-33=36', '2*36=72'] Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 90*72=6480, Resulting Numbers: [6480] 6480,72 unequal: No Solution Exploring Operation: 90+72=162, Resulting Numbers: [162] 162,72 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
[ 19, 44, 2, 14 ]
84
[ "19*2=38", "44-38=6", "14*6=84" ]
Current State: 84:[19, 44, 2, 14], Operations: [] Exploring Operation: 19*2=38, Resulting Numbers: [44, 14, 38] Generated Node #2: [44, 14, 38] from Operation: 19*2=38 Current State: 84:[44, 14, 38], Operations: ['19*2=38'] Exploring Operation: 44-38=6, Resulting Numbers: [14, 6] Generated Node #3: [14, 6] from Operation: 44-38=6 Current State: 84:[14, 6], Operations: ['19*2=38', '44-38=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[19, 44, 2, 14], Operations: [] Exploring Operation: 19+2=21, Resulting Numbers: [44, 14, 21] Generated Node #0,0: 84:[44, 14, 21] Operation: 19+2=21 Exploring Operation: 44-2=42, Resulting Numbers: [19, 14, 42] Generated Node #0,1: 84:[19, 14, 42] Operation: 44-2=42 Moving to Node #0,0 Current State: 84:[44, 14, 21], Operations: ['19+2=21'] Exploring Operation: 44-21=23, Resulting Numbers: [14, 23] Generated Node #0,0,0: 84:[14, 23] Operation: 44-21=23 Exploring Operation: 44-14=30, Resulting Numbers: [21, 30] Generated Node #0,0,1: 84:[21, 30] Operation: 44-14=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[14, 23], Operations: ['19+2=21', '44-21=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[21, 30], Operations: ['19+2=21', '44-14=30'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,84 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: 84:[19, 14, 42], Operations: ['44-2=42'] Exploring Operation: 19-14=5, Resulting Numbers: [42, 5] Generated Node #0,1,0: 84:[42, 5] Operation: 19-14=5 Exploring Operation: 42-19=23, Resulting Numbers: [14, 23] Generated Node #0,1,1: 84:[14, 23] Operation: 42-19=23 Moving to Node #0,1,0 Current State: 84:[42, 5], Operations: ['44-2=42', '19-14=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[14, 23], Operations: ['44-2=42', '42-19=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 98, 19, 8, 9 ]
18
[ "19-9=10", "8*10=80", "98-80=18" ]
Current State: 18:[98, 19, 8, 9], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [98, 8, 10] Generated Node #2: [98, 8, 10] from Operation: 19-9=10 Current State: 18:[98, 8, 10], Operations: ['19-9=10'] Exploring Operation: 8*10=80, Resulting Numbers: [98, 80] Generated Node #3: [98, 80] from Operation: 8*10=80 Current State: 18:[98, 80], Operations: ['19-9=10', '8*10=80'] Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[98, 19, 8, 9], Operations: [] Exploring Operation: 19-8=11, Resulting Numbers: [98, 9, 11] Generated Node #0,0: 18:[98, 9, 11] Operation: 19-8=11 Exploring Operation: 98-9=89, Resulting Numbers: [19, 8, 89] Generated Node #0,1: 18:[19, 8, 89] Operation: 98-9=89 Exploring Operation: 98-8=90, Resulting Numbers: [19, 9, 90] Generated Node #0,2: 18:[19, 9, 90] Operation: 98-8=90 Exploring Operation: 98-19=79, Resulting Numbers: [8, 9, 79] Generated Node #0,3: 18:[8, 9, 79] Operation: 98-19=79 Exploring Operation: 19-9=10, Resulting Numbers: [98, 8, 10] Generated Node #0,4: 18:[98, 8, 10] Operation: 19-9=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[8, 9, 79], Operations: ['98-19=79'] Exploring Operation: 79-8=71, Resulting Numbers: [9, 71] Generated Node #0,3,0: 18:[9, 71] Operation: 79-8=71 Exploring Operation: 8+9=17, Resulting Numbers: [79, 17] Generated Node #0,3,1: 18:[79, 17] Operation: 8+9=17 Exploring Operation: 9-8=1, Resulting Numbers: [79, 1] Generated Node #0,3,2: 18:[79, 1] Operation: 9-8=1 Exploring Operation: 8+79=87, Resulting Numbers: [9, 87] Generated Node #0,3,3: 18:[9, 87] Operation: 8+79=87 Exploring Operation: 79-9=70, Resulting Numbers: [8, 70] Generated Node #0,3,4: 18:[8, 70] Operation: 79-9=70 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 18:[9, 71], Operations: ['98-19=79', '79-8=71'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,18 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 18:[8, 70], Operations: ['98-19=79', '79-9=70'] Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,18 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 18:[79, 17], Operations: ['98-19=79', '8+9=17'] Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,18 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 18:[79, 1], Operations: ['98-19=79', '9-8=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,18 unequal: No Solution Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,18 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 18:[9, 87], Operations: ['98-19=79', '8+79=87'] Exploring Operation: 9+87=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 9*87=783, Resulting Numbers: [783] 783,18 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[19, 8, 89], Operations: ['98-9=89'] Exploring Operation: 19-8=11, Resulting Numbers: [89, 11] Generated Node #0,1,0: 18:[89, 11] Operation: 19-8=11 Exploring Operation: 19+8=27, Resulting Numbers: [89, 27] Generated Node #0,1,1: 18:[89, 27] Operation: 19+8=27 Exploring Operation: 89-19=70, Resulting Numbers: [8, 70] Generated Node #0,1,2: 18:[8, 70] Operation: 89-19=70 Exploring Operation: 89-8=81, Resulting Numbers: [19, 81] Generated Node #0,1,3: 18:[19, 81] Operation: 89-8=81 Exploring Operation: 8+89=97, Resulting Numbers: [19, 97] Generated Node #0,1,4: 18:[19, 97] Operation: 8+89=97 Moving to Node #0,1,2 Current State: 18:[8, 70], Operations: ['98-9=89', '89-19=70'] Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[19, 81], Operations: ['98-9=89', '89-8=81'] Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 19+81=100, Resulting Numbers: [100] 100,18 unequal: No Solution Exploring Operation: 19*81=1539, Resulting Numbers: [1539] 1539,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[89, 11], Operations: ['98-9=89', '19-8=11'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,18 unequal: No Solution Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[89, 27], Operations: ['98-9=89', '19+8=27'] Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[19, 97], Operations: ['98-9=89', '8+89=97'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 19*97=1843, Resulting Numbers: [1843] 1843,18 unequal: No Solution Exploring Operation: 19+97=116, Resulting Numbers: [116] 116,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[19, 9, 90], Operations: ['98-8=90'] Exploring Operation: 90-9=81, Resulting Numbers: [19, 81] Generated Node #0,2,0: 18:[19, 81] Operation: 90-9=81 Exploring Operation: 19-9=10, Resulting Numbers: [90, 10] Generated Node #0,2,1: 18:[90, 10] Operation: 19-9=10 Exploring Operation: 19+9=28, Resulting Numbers: [90, 28] Generated Node #0,2,2: 18:[90, 28] Operation: 19+9=28 Exploring Operation: 90/9=10, Resulting Numbers: [19, 10] Generated Node #0,2,3: 18:[19, 10] Operation: 90/9=10 Exploring Operation: 90-19=71, Resulting Numbers: [9, 71] Generated Node #0,2,4: 18:[9, 71] Operation: 90-19=71 Moving to Node #0,2,3 Current State: 18:[19, 10], Operations: ['98-8=90', '90/9=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,18 unequal: No Solution Moving to Node #0,2,4 Current State: 18:[9, 71], Operations: ['98-8=90', '90-19=71'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,18 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[19, 81], Operations: ['98-8=90', '90-9=81'] Exploring Operation: 19*81=1539, Resulting Numbers: [1539] 1539,18 unequal: No Solution Exploring Operation: 19+81=100, Resulting Numbers: [100] 100,18 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[90, 10], Operations: ['98-8=90', '19-9=10'] Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,18 unequal: No Solution Exploring Operation: 90*10=900, Resulting Numbers: [900] 900,18 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[90, 28], Operations: ['98-8=90', '19+9=28'] Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,18 unequal: No Solution Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[98, 9, 11], Operations: ['19-8=11'] Exploring Operation: 9+11=20, Resulting Numbers: [98, 20] Generated Node #0,0,0: 18:[98, 20] Operation: 9+11=20 Exploring Operation: 98-9=89, Resulting Numbers: [11, 89] Generated Node #0,0,1: 18:[11, 89] Operation: 98-9=89 Exploring Operation: 11-9=2, Resulting Numbers: [98, 2] Generated Node #0,0,2: 18:[98, 2] Operation: 11-9=2 Exploring Operation: 98-11=87, Resulting Numbers: [9, 87] Generated Node #0,0,3: 18:[9, 87] Operation: 98-11=87 Exploring Operation: 98+9=107, Resulting Numbers: [11, 107] Generated Node #0,0,4: 18:[11, 107] Operation: 98+9=107 Moving to Node #0,0,3 Current State: 18:[9, 87], Operations: ['19-8=11', '98-11=87'] Exploring Operation: 9*87=783, Resulting Numbers: [783] 783,18 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 9+87=96, Resulting Numbers: [96] 96,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[11, 89], Operations: ['19-8=11', '98-9=89'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 11*89=979, Resulting Numbers: [979] 979,18 unequal: No Solution Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[98, 2], Operations: ['19-8=11', '11-9=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,18 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,18 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[98, 20], Operations: ['19-8=11', '9+11=20'] Exploring Operation: 98*20=1960, Resulting Numbers: [1960] 1960,18 unequal: No Solution Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 98+20=118, Resulting Numbers: [118] 118,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[11, 107], Operations: ['19-8=11', '98+9=107'] Exploring Operation: 107-11=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 11+107=118, Resulting Numbers: [118] 118,18 unequal: No Solution Exploring Operation: 11*107=1177, Resulting Numbers: [1177] 1177,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 18:[98, 8, 10], Operations: ['19-9=10'] Exploring Operation: 8+10=18, Resulting Numbers: [98, 18] Generated Node #0,4,0: 18:[98, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [98, 2] Generated Node #0,4,1: 18:[98, 2] Operation: 10-8=2 Exploring Operation: 98-8=90, Resulting Numbers: [10, 90] Generated Node #0,4,2: 18:[10, 90] Operation: 98-8=90 Exploring Operation: 98+8=106, Resulting Numbers: [10, 106] Generated Node #0,4,3: 18:[10, 106] Operation: 98+8=106 Exploring Operation: 98-10=88, Resulting Numbers: [8, 88] Generated Node #0,4,4: 18:[8, 88] Operation: 98-10=88 Moving to Node #0,4,4 Current State: 18:[8, 88], Operations: ['19-9=10', '98-10=88'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 8*88=704, Resulting Numbers: [704] 704,18 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,18 unequal: No Solution Exploring Operation: 8+88=96, Resulting Numbers: [96] 96,18 unequal: No Solution Moving to Node #0,4,2 Current State: 18:[10, 90], Operations: ['19-9=10', '98-8=90'] Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,18 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,18 unequal: No Solution Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,18 unequal: No Solution Moving to Node #0,4,0 Current State: 18:[98, 18], Operations: ['19-9=10', '8+10=18'] Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,18 unequal: No Solution Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[98, 2], Operations: ['19-9=10', '10-8=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,18 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,18 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[10, 106], Operations: ['19-9=10', '98+8=106'] Exploring Operation: 106-10=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 10*106=1060, Resulting Numbers: [1060] 1060,18 unequal: No Solution Exploring Operation: 10+106=116, Resulting Numbers: [116] 116,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 31, 48, 37, 54 ]
96
[ "31+48=79", "54-37=17", "79+17=96" ]
Current State: 96:[31, 48, 37, 54], Operations: [] Exploring Operation: 31+48=79, Resulting Numbers: [37, 54, 79] Generated Node #2: [37, 54, 79] from Operation: 31+48=79 Current State: 96:[37, 54, 79], Operations: ['31+48=79'] Exploring Operation: 54-37=17, Resulting Numbers: [79, 17] Generated Node #3: [79, 17] from Operation: 54-37=17 Current State: 96:[79, 17], Operations: ['31+48=79', '54-37=17'] Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[31, 48, 37, 54], Operations: [] Exploring Operation: 54-37=17, Resulting Numbers: [31, 48, 17] Generated Node #0,0: 96:[31, 48, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[31, 48, 17], Operations: ['54-37=17'] Exploring Operation: 31+17=48, Resulting Numbers: [48, 48] Generated Node #0,0,0: 96:[48, 48] Operation: 31+17=48 Moving to Node #0,0,0 Current State: 96:[48, 48], Operations: ['54-37=17', '31+17=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[31, 48, 37, 54], Operations: [] Exploring Operation: 54-37=17, Resulting Numbers: [31, 48, 17] Generated Node #0,0: 96:[31, 48, 17] Operation: 54-37=17 Moving to Node #0,0 Current State: 96:[31, 48, 17], Operations: ['54-37=17'] Exploring Operation: 31+17=48, Resulting Numbers: [48, 48] Generated Node #0,0,0: 96:[48, 48] Operation: 31+17=48 Moving to Node #0,0,0 Current State: 96:[48, 48], Operations: ['54-37=17', '31+17=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 45, 78, 35, 2 ]
53
[ "45+78=123", "35*2=70", "123-70=53" ]
Current State: 53:[45, 78, 35, 2], Operations: [] Exploring Operation: 45+78=123, Resulting Numbers: [35, 2, 123] Generated Node #2: [35, 2, 123] from Operation: 45+78=123 Current State: 53:[35, 2, 123], Operations: ['45+78=123'] Exploring Operation: 35*2=70, Resulting Numbers: [123, 70] Generated Node #3: [123, 70] from Operation: 35*2=70 Current State: 53:[123, 70], Operations: ['45+78=123', '35*2=70'] Exploring Operation: 123-70=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[45, 78, 35, 2], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [45, 35, 39] Generated Node #0,0: 53:[45, 35, 39] Operation: 78/2=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[45, 35, 39], Operations: ['78/2=39'] Exploring Operation: 35+39=74, Resulting Numbers: [45, 74] Generated Node #0,0,0: 53:[45, 74] Operation: 35+39=74 Moving to Node #0,0,0 Current State: 53:[45, 74], Operations: ['78/2=39', '35+39=74'] Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,53 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
[ 51, 79, 40, 81 ]
62
[ "81-79=2", "51*2=102", "102-40=62" ]
Current State: 62:[51, 79, 40, 81], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [51, 40, 2] Generated Node #2: [51, 40, 2] from Operation: 81-79=2 Current State: 62:[51, 40, 2], Operations: ['81-79=2'] Exploring Operation: 51*2=102, Resulting Numbers: [40, 102] Generated Node #3: [40, 102] from Operation: 51*2=102 Current State: 62:[40, 102], Operations: ['81-79=2', '51*2=102'] Exploring Operation: 102-40=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[51, 79, 40, 81], Operations: [] Exploring Operation: 79-51=28, Resulting Numbers: [40, 81, 28] Generated Node #0,0: 62:[40, 81, 28] Operation: 79-51=28 Exploring Operation: 81-79=2, Resulting Numbers: [51, 40, 2] Generated Node #0,1: 62:[51, 40, 2] Operation: 81-79=2 Exploring Operation: 81-51=30, Resulting Numbers: [79, 40, 30] Generated Node #0,2: 62:[79, 40, 30] Operation: 81-51=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[51, 40, 2], Operations: ['81-79=2'] Exploring Operation: 51-40=11, Resulting Numbers: [2, 11] Generated Node #0,1,0: 62:[2, 11] Operation: 51-40=11 Exploring Operation: 40-2=38, Resulting Numbers: [51, 38] Generated Node #0,1,1: 62:[51, 38] Operation: 40-2=38 Exploring Operation: 51+2=53, Resulting Numbers: [40, 53] Generated Node #0,1,2: 62:[40, 53] Operation: 51+2=53 Moving to Node #0,1,0 Current State: 62:[2, 11], Operations: ['81-79=2', '51-40=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[51, 38], Operations: ['81-79=2', '40-2=38'] Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[40, 53], Operations: ['81-79=2', '51+2=53'] Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,62 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,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,2 Current State: 62:[79, 40, 30], Operations: ['81-51=30'] Exploring Operation: 79-30=49, Resulting Numbers: [40, 49] Generated Node #0,2,0: 62:[40, 49] Operation: 79-30=49 Exploring Operation: 40+30=70, Resulting Numbers: [79, 70] Generated Node #0,2,1: 62:[79, 70] Operation: 40+30=70 Exploring Operation: 79-40=39, Resulting Numbers: [30, 39] Generated Node #0,2,2: 62:[30, 39] Operation: 79-40=39 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[30, 39], Operations: ['81-51=30', '79-40=39'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[40, 49], Operations: ['81-51=30', '79-30=49'] Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,62 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[79, 70], Operations: ['81-51=30', '40+30=70'] Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,62 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[40, 81, 28], Operations: ['79-51=28'] Exploring Operation: 81-40=41, Resulting Numbers: [28, 41] Generated Node #0,0,0: 62:[28, 41] Operation: 81-40=41 Exploring Operation: 40+28=68, Resulting Numbers: [81, 68] Generated Node #0,0,1: 62:[81, 68] Operation: 40+28=68 Exploring Operation: 81-28=53, Resulting Numbers: [40, 53] Generated Node #0,0,2: 62:[40, 53] Operation: 81-28=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[28, 41], Operations: ['79-51=28', '81-40=41'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[40, 53], Operations: ['79-51=28', '81-28=53'] Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,62 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[81, 68], Operations: ['79-51=28', '40+28=68'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 81+68=149, Resulting Numbers: [149] 149,62 unequal: No Solution Exploring Operation: 81*68=5508, Resulting Numbers: [5508] 5508,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 3, 11, 79, 10 ]
56
[ "3*11=33", "79+10=89", "89-33=56" ]
Current State: 56:[3, 11, 79, 10], Operations: [] Exploring Operation: 3*11=33, Resulting Numbers: [79, 10, 33] Generated Node #2: [79, 10, 33] from Operation: 3*11=33 Current State: 56:[79, 10, 33], Operations: ['3*11=33'] Exploring Operation: 79+10=89, Resulting Numbers: [33, 89] Generated Node #3: [33, 89] from Operation: 79+10=89 Current State: 56:[33, 89], Operations: ['3*11=33', '79+10=89'] Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[3, 11, 79, 10], Operations: [] Exploring Operation: 79-11=68, Resulting Numbers: [3, 10, 68] Generated Node #0,0: 56:[3, 10, 68] Operation: 79-11=68 Exploring Operation: 79-10=69, Resulting Numbers: [3, 11, 69] Generated Node #0,1: 56:[3, 11, 69] Operation: 79-10=69 Moving to Node #0,0 Current State: 56:[3, 10, 68], Operations: ['79-11=68'] Exploring Operation: 68-10=58, Resulting Numbers: [3, 58] Generated Node #0,0,0: 56:[3, 58] Operation: 68-10=58 Exploring Operation: 68-3=65, Resulting Numbers: [10, 65] Generated Node #0,0,1: 56:[10, 65] Operation: 68-3=65 Moving to Node #0,1 Current State: 56:[3, 11, 69], Operations: ['79-10=69'] Exploring Operation: 69-11=58, Resulting Numbers: [3, 58] Generated Node #0,1,0: 56:[3, 58] Operation: 69-11=58 Exploring Operation: 69/3=23, Resulting Numbers: [11, 23] Generated Node #0,1,1: 56:[11, 23] Operation: 69/3=23 Moving to Node #0,0,0 Current State: 56:[3, 58], Operations: ['79-11=68', '68-10=58'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[3, 58], Operations: ['79-10=69', '69-11=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[11, 23], Operations: ['79-10=69', '69/3=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[10, 65], Operations: ['79-11=68', '68-3=65'] Exploring Operation: 10+65=75, Resulting Numbers: [75] 75,56 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,56 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 22, 57, 21, 82 ]
26
[ "57-22=35", "82-21=61", "61-35=26" ]
Current State: 26:[22, 57, 21, 82], Operations: [] Exploring Operation: 57-22=35, Resulting Numbers: [21, 82, 35] Generated Node #2: [21, 82, 35] from Operation: 57-22=35 Current State: 26:[21, 82, 35], Operations: ['57-22=35'] Exploring Operation: 82-21=61, Resulting Numbers: [35, 61] Generated Node #3: [35, 61] from Operation: 82-21=61 Current State: 26:[35, 61], Operations: ['57-22=35', '82-21=61'] Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[22, 57, 21, 82], Operations: [] Exploring Operation: 82-22=60, Resulting Numbers: [57, 21, 60] Generated Node #0,0: 26:[57, 21, 60] Operation: 82-22=60 Exploring Operation: 57-22=35, Resulting Numbers: [21, 82, 35] Generated Node #0,1: 26:[21, 82, 35] Operation: 57-22=35 Exploring Operation: 57-21=36, Resulting Numbers: [22, 82, 36] Generated Node #0,2: 26:[22, 82, 36] Operation: 57-21=36 Exploring Operation: 82-57=25, Resulting Numbers: [22, 21, 25] Generated Node #0,3: 26:[22, 21, 25] Operation: 82-57=25 Exploring Operation: 82-21=61, Resulting Numbers: [22, 57, 61] Generated Node #0,4: 26:[22, 57, 61] Operation: 82-21=61 Moving to Node #0,3 Current State: 26:[22, 21, 25], Operations: ['82-57=25'] Exploring Operation: 25-21=4, Resulting Numbers: [22, 4] Generated Node #0,3,0: 26:[22, 4] Operation: 25-21=4 Exploring Operation: 22+21=43, Resulting Numbers: [25, 43] Generated Node #0,3,1: 26:[25, 43] Operation: 22+21=43 Exploring Operation: 21+25=46, Resulting Numbers: [22, 46] Generated Node #0,3,2: 26:[22, 46] Operation: 21+25=46 Exploring Operation: 22-21=1, Resulting Numbers: [25, 1] Generated Node #0,3,3: 26:[25, 1] Operation: 22-21=1 Exploring Operation: 25-22=3, Resulting Numbers: [21, 3] Generated Node #0,3,4: 26:[21, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 26:[25, 1], Operations: ['82-57=25', '22-21=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[22, 57, 21, 82], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [22, 21, 25] Generated Node #0,3: 26:[22, 21, 25] Operation: 82-57=25 Moving to Node #0,3 Current State: 26:[22, 21, 25], Operations: ['82-57=25'] Exploring Operation: 22-21=1, Resulting Numbers: [25, 1] Generated Node #0,3,3: 26:[25, 1] Operation: 22-21=1 Moving to Node #0,3,3 Current State: 26:[25, 1], Operations: ['82-57=25', '22-21=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 3, 48, 64, 50 ]
70
[ "50-48=2", "3*2=6", "64+6=70" ]
Current State: 70:[3, 48, 64, 50], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [3, 64, 2] Generated Node #2: [3, 64, 2] from Operation: 50-48=2 Current State: 70:[3, 64, 2], Operations: ['50-48=2'] Exploring Operation: 3*2=6, Resulting Numbers: [64, 6] Generated Node #3: [64, 6] from Operation: 3*2=6 Current State: 70:[64, 6], Operations: ['50-48=2', '3*2=6'] Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[3, 48, 64, 50], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [64, 50, 16] Generated Node #0,0: 70:[64, 50, 16] Operation: 48/3=16 Exploring Operation: 50-48=2, Resulting Numbers: [3, 64, 2] Generated Node #0,1: 70:[3, 64, 2] Operation: 50-48=2 Exploring Operation: 64-50=14, Resulting Numbers: [3, 48, 14] Generated Node #0,2: 70:[3, 48, 14] Operation: 64-50=14 Exploring Operation: 64-48=16, Resulting Numbers: [3, 50, 16] Generated Node #0,3: 70:[3, 50, 16] Operation: 64-48=16 Moving to Node #0,1 Current State: 70:[3, 64, 2], Operations: ['50-48=2'] Exploring Operation: 64/2=32, Resulting Numbers: [3, 32] Generated Node #0,1,0: 70:[3, 32] Operation: 64/2=32 Exploring Operation: 3+2=5, Resulting Numbers: [64, 5] Generated Node #0,1,1: 70:[64, 5] Operation: 3+2=5 Exploring Operation: 64+2=66, Resulting Numbers: [3, 66] Generated Node #0,1,2: 70:[3, 66] Operation: 64+2=66 Exploring Operation: 3+64=67, Resulting Numbers: [2, 67] Generated Node #0,1,3: 70:[2, 67] Operation: 3+64=67 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 70:[2, 67], Operations: ['50-48=2', '3+64=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,70 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[3, 32], Operations: ['50-48=2', '64/2=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,70 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[3, 66], Operations: ['50-48=2', '64+2=66'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,70 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[64, 5], Operations: ['50-48=2', '3+2=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 70:[3, 48, 14], Operations: ['64-50=14'] Exploring Operation: 48-14=34, Resulting Numbers: [3, 34] Generated Node #0,2,0: 70:[3, 34] Operation: 48-14=34 Exploring Operation: 48+14=62, Resulting Numbers: [3, 62] Generated Node #0,2,1: 70:[3, 62] Operation: 48+14=62 Exploring Operation: 48/3=16, Resulting Numbers: [14, 16] Generated Node #0,2,2: 70:[14, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [14, 45] Generated Node #0,2,3: 70:[14, 45] Operation: 48-3=45 Moving to Node #0,3 Current State: 70:[3, 50, 16], Operations: ['64-48=16'] Exploring Operation: 16-3=13, Resulting Numbers: [50, 13] Generated Node #0,3,0: 70:[50, 13] Operation: 16-3=13 Exploring Operation: 50-3=47, Resulting Numbers: [16, 47] Generated Node #0,3,1: 70:[16, 47] Operation: 50-3=47 Exploring Operation: 50+16=66, Resulting Numbers: [3, 66] Generated Node #0,3,2: 70:[3, 66] Operation: 50+16=66 Exploring Operation: 50-16=34, Resulting Numbers: [3, 34] Generated Node #0,3,3: 70:[3, 34] Operation: 50-16=34 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[3, 34], Operations: ['64-48=16', '50-16=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[3, 66], Operations: ['64-48=16', '50+16=66'] Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,70 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[16, 47], Operations: ['64-48=16', '50-3=47'] Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,70 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[50, 13], Operations: ['64-48=16', '16-3=13'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,70 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: 70:[64, 50, 16], Operations: ['48/3=16'] Exploring Operation: 50+16=66, Resulting Numbers: [64, 66] Generated Node #0,0,0: 70:[64, 66] Operation: 50+16=66 Exploring Operation: 64-50=14, Resulting Numbers: [16, 14] Generated Node #0,0,1: 70:[16, 14] Operation: 64-50=14 Exploring Operation: 50-16=34, Resulting Numbers: [64, 34] Generated Node #0,0,2: 70:[64, 34] Operation: 50-16=34 Exploring Operation: 64/16=4, Resulting Numbers: [50, 4] Generated Node #0,0,3: 70:[50, 4] Operation: 64/16=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[16, 14], Operations: ['48/3=16', '64-50=14'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 16*14=224, Resulting Numbers: [224] 224,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[64, 34], Operations: ['48/3=16', '50-16=34'] Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,70 unequal: No Solution Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[64, 66], Operations: ['48/3=16', '50+16=66'] Exploring Operation: 64*66=4224, Resulting Numbers: [4224] 4224,70 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 64+66=130, Resulting Numbers: [130] 130,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[50, 4], Operations: ['48/3=16', '64/16=4'] Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,70 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,70 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: 70:[3, 34], Operations: ['64-50=14', '48-14=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[14, 16], Operations: ['64-50=14', '48/3=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,70 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[3, 62], Operations: ['64-50=14', '48+14=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,70 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,70 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[14, 45], Operations: ['64-50=14', '48-3=45'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,70 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,70 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 36, 36, 94, 38 ]
90
[ "36*94=3384", "36+3384=3420", "3420/38=90" ]
Current State: 90:[36, 36, 94, 38], Operations: [] Exploring Operation: 36*94=3384, Resulting Numbers: [38, 3384] Generated Node #2: [38, 3384] from Operation: 36*94=3384 Current State: 90:[38, 3384], Operations: ['36*94=3384'] Exploring Operation: 36+3384=3420, Resulting Numbers: [38, 3420] Generated Node #3: [38, 3420] from Operation: 36+3384=3420 Current State: 90:[38, 3420], Operations: ['36*94=3384', '36+3384=3420'] Exploring Operation: 3420/38=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[36, 36, 94, 38], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [36, 94, 2] Generated Node #0,0: 90:[36, 94, 2] Operation: 38-36=2 Exploring Operation: 38-36=2, Resulting Numbers: [36, 94, 2] Generated Node #0,1: 90:[36, 94, 2] Operation: 38-36=2 Moving to Node #0,0 Current State: 90:[36, 94, 2], Operations: ['38-36=2'] Exploring Operation: 36/2=18, Resulting Numbers: [94, 18] Generated Node #0,0,0: 90:[94, 18] Operation: 36/2=18 Exploring Operation: 36-2=34, Resulting Numbers: [94, 34] Generated Node #0,0,1: 90:[94, 34] Operation: 36-2=34 Moving to Node #0,1 Current State: 90:[36, 94, 2], Operations: ['38-36=2'] Exploring Operation: 36/2=18, Resulting Numbers: [94, 18] Generated Node #0,1,0: 90:[94, 18] Operation: 36/2=18 Exploring Operation: 36-2=34, Resulting Numbers: [94, 34] Generated Node #0,1,1: 90:[94, 34] Operation: 36-2=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[94, 18], Operations: ['38-36=2', '36/2=18'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 94+18=112, Resulting Numbers: [112] 112,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[94, 34], Operations: ['38-36=2', '36-2=34'] Exploring Operation: 94-34=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 94+34=128, Resulting Numbers: [128] 128,90 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: 90:[94, 18], Operations: ['38-36=2', '36/2=18'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 94+18=112, Resulting Numbers: [112] 112,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[94, 34], Operations: ['38-36=2', '36-2=34'] Exploring Operation: 94-34=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 94+34=128, Resulting Numbers: [128] 128,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 51, 49, 21 ]
92
[ "51-29=22", "49+21=70", "22+70=92" ]
Current State: 92:[29, 51, 49, 21], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [49, 21, 22] Generated Node #2: [49, 21, 22] from Operation: 51-29=22 Current State: 92:[49, 21, 22], Operations: ['51-29=22'] Exploring Operation: 49+21=70, Resulting Numbers: [22, 70] Generated Node #3: [22, 70] from Operation: 49+21=70 Current State: 92:[22, 70], Operations: ['51-29=22', '49+21=70'] Exploring Operation: 22+70=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[29, 51, 49, 21], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [49, 21, 22] Generated Node #0,0: 92:[49, 21, 22] Operation: 51-29=22 Exploring Operation: 49-29=20, Resulting Numbers: [51, 21, 20] Generated Node #0,1: 92:[51, 21, 20] Operation: 49-29=20 Exploring Operation: 51-49=2, Resulting Numbers: [29, 21, 2] Generated Node #0,2: 92:[29, 21, 2] Operation: 51-49=2 Moving to Node #0,0 Current State: 92:[49, 21, 22], Operations: ['51-29=22'] Exploring Operation: 49-22=27, Resulting Numbers: [21, 27] Generated Node #0,0,0: 92:[21, 27] Operation: 49-22=27 Exploring Operation: 22-21=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 92:[49, 1] Operation: 22-21=1 Exploring Operation: 49-21=28, Resulting Numbers: [22, 28] Generated Node #0,0,2: 92:[22, 28] Operation: 49-21=28 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[49, 1], Operations: ['51-29=22', '22-21=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,92 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,92 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,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,0 Current State: 92:[21, 27], Operations: ['51-29=22', '49-22=27'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,92 unequal: No Solution Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,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,2 Current State: 92:[22, 28], Operations: ['51-29=22', '49-21=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,92 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,92 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: 92:[29, 21, 2], Operations: ['51-49=2'] Exploring Operation: 29+21=50, Resulting Numbers: [2, 50] Generated Node #0,2,0: 92:[2, 50] Operation: 29+21=50 Exploring Operation: 29-2=27, Resulting Numbers: [21, 27] Generated Node #0,2,1: 92:[21, 27] Operation: 29-2=27 Exploring Operation: 29-21=8, Resulting Numbers: [2, 8] Generated Node #0,2,2: 92:[2, 8] Operation: 29-21=8 Moving to Node #0,1 Current State: 92:[51, 21, 20], Operations: ['49-29=20'] Exploring Operation: 21-20=1, Resulting Numbers: [51, 1] Generated Node #0,1,0: 92:[51, 1] Operation: 21-20=1 Exploring Operation: 51-20=31, Resulting Numbers: [21, 31] Generated Node #0,1,1: 92:[21, 31] Operation: 51-20=31 Exploring Operation: 51-21=30, Resulting Numbers: [20, 30] Generated Node #0,1,2: 92:[20, 30] Operation: 51-21=30 Moving to Node #0,2,0 Current State: 92:[2, 50], Operations: ['51-49=2', '29+21=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[2, 8], Operations: ['51-49=2', '29-21=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[21, 27], Operations: ['51-49=2', '29-2=27'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[51, 1], Operations: ['49-29=20', '21-20=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[20, 30], Operations: ['49-29=20', '51-21=30'] Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,92 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[21, 31], Operations: ['49-29=20', '51-20=31'] Exploring Operation: 21*31=651, Resulting Numbers: [651] 651,92 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,92 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 88, 6, 12, 66 ]
22
[ "88*6=528", "528/12=44", "66-44=22" ]
Current State: 22:[88, 6, 12, 66], Operations: [] Exploring Operation: 88*6=528, Resulting Numbers: [12, 66, 528] Generated Node #2: [12, 66, 528] from Operation: 88*6=528 Current State: 22:[12, 66, 528], Operations: ['88*6=528'] Exploring Operation: 528/12=44, Resulting Numbers: [66, 44] Generated Node #3: [66, 44] from Operation: 528/12=44 Current State: 22:[66, 44], Operations: ['88*6=528', '528/12=44'] Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[88, 6, 12, 66], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [6, 12, 22] Generated Node #0,0: 22:[6, 12, 22] Operation: 88-66=22 Exploring Operation: 66/6=11, Resulting Numbers: [88, 12, 11] Generated Node #0,1: 22:[88, 12, 11] Operation: 66/6=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[6, 12, 22], Operations: ['88-66=22'] Exploring Operation: 12/6=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 22:[22, 2] Operation: 12/6=2 Exploring Operation: 6+12=18, Resulting Numbers: [22, 18] Generated Node #0,0,1: 22:[22, 18] Operation: 6+12=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[22, 2], Operations: ['88-66=22', '12/6=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[22, 18], Operations: ['88-66=22', '6+12=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[88, 12, 11], Operations: ['66/6=11'] Exploring Operation: 88-12=76, Resulting Numbers: [11, 76] Generated Node #0,1,0: 22:[11, 76] Operation: 88-12=76 Exploring Operation: 88/11=8, Resulting Numbers: [12, 8] Generated Node #0,1,1: 22:[12, 8] Operation: 88/11=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[12, 8], Operations: ['66/6=11', '88/11=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[11, 76], Operations: ['66/6=11', '88-12=76'] Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 36, 48, 91, 13 ]
20
[ "36+48=84", "91+13=104", "104-84=20" ]
Current State: 20:[36, 48, 91, 13], Operations: [] Exploring Operation: 36+48=84, Resulting Numbers: [91, 13, 84] Generated Node #2: [91, 13, 84] from Operation: 36+48=84 Current State: 20:[91, 13, 84], Operations: ['36+48=84'] Exploring Operation: 91+13=104, Resulting Numbers: [84, 104] Generated Node #3: [84, 104] from Operation: 91+13=104 Current State: 20:[84, 104], Operations: ['36+48=84', '91+13=104'] Exploring Operation: 104-84=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[36, 48, 91, 13], Operations: [] Exploring Operation: 91-48=43, Resulting Numbers: [36, 13, 43] Generated Node #0,0: 20:[36, 13, 43] Operation: 91-48=43 Exploring Operation: 91/13=7, Resulting Numbers: [36, 48, 7] Generated Node #0,1: 20:[36, 48, 7] Operation: 91/13=7 Moving to Node #0,0 Current State: 20:[36, 13, 43], Operations: ['91-48=43'] Exploring Operation: 43-36=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 20:[13, 7] Operation: 43-36=7 Exploring Operation: 36-13=23, Resulting Numbers: [43, 23] Generated Node #0,0,1: 20:[43, 23] Operation: 36-13=23 Moving to Node #0,1 Current State: 20:[36, 48, 7], Operations: ['91/13=7'] Exploring Operation: 48-36=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 20:[7, 12] Operation: 48-36=12 Exploring Operation: 36-7=29, Resulting Numbers: [48, 29] Generated Node #0,1,1: 20:[48, 29] Operation: 36-7=29 Moving to Node #0,1,0 Current State: 20:[7, 12], Operations: ['91/13=7', '48-36=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[13, 7], Operations: ['91-48=43', '43-36=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[36, 48, 91, 13], Operations: [] Exploring Operation: 91-48=43, Resulting Numbers: [36, 13, 43] Generated Node #0,0: 20:[36, 13, 43] Operation: 91-48=43 Moving to Node #0,0 Current State: 20:[36, 13, 43], Operations: ['91-48=43'] Exploring Operation: 43-36=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 20:[13, 7] Operation: 43-36=7 Moving to Node #0,0,0 Current State: 20:[13, 7], Operations: ['91-48=43', '43-36=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.987847
hs_2
sum_heuristic
[ 47, 87, 79, 69 ]
50
[ "87-47=40", "79-69=10", "40+10=50" ]
Current State: 50:[47, 87, 79, 69], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [79, 69, 40] Generated Node #2: [79, 69, 40] from Operation: 87-47=40 Current State: 50:[79, 69, 40], Operations: ['87-47=40'] Exploring Operation: 79-69=10, Resulting Numbers: [40, 10] Generated Node #3: [40, 10] from Operation: 79-69=10 Current State: 50:[40, 10], Operations: ['87-47=40', '79-69=10'] Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[47, 87, 79, 69], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [47, 69, 8] Generated Node #0,0: 50:[47, 69, 8] Operation: 87-79=8 Exploring Operation: 87-69=18, Resulting Numbers: [47, 79, 18] Generated Node #0,1: 50:[47, 79, 18] Operation: 87-69=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[47, 69, 8], Operations: ['87-79=8'] Exploring Operation: 69-8=61, Resulting Numbers: [47, 61] Generated Node #0,0,0: 50:[47, 61] Operation: 69-8=61 Exploring Operation: 69-47=22, Resulting Numbers: [8, 22] Generated Node #0,0,1: 50:[8, 22] Operation: 69-47=22 Moving to Node #0,0,1 Current State: 50:[8, 22], Operations: ['87-79=8', '69-47=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[47, 61], Operations: ['87-79=8', '69-8=61'] Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,50 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[47, 79, 18], Operations: ['87-69=18'] Exploring Operation: 79-18=61, Resulting Numbers: [47, 61] Generated Node #0,1,0: 50:[47, 61] Operation: 79-18=61 Exploring Operation: 79-47=32, Resulting Numbers: [18, 32] Generated Node #0,1,1: 50:[18, 32] Operation: 79-47=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[47, 61], Operations: ['87-69=18', '79-18=61'] Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,50 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,50 unequal: No Solution No 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: 50:[18, 32], Operations: ['87-69=18', '79-47=32'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[47, 87, 79, 69], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [47, 79, 18] Generated Node #0,1: 50:[47, 79, 18] Operation: 87-69=18 Moving to Node #0,1 Current State: 50:[47, 79, 18], Operations: ['87-69=18'] Exploring Operation: 79-47=32, Resulting Numbers: [18, 32] Generated Node #0,1,1: 50:[18, 32] Operation: 79-47=32 Moving to Node #0,1,1 Current State: 50:[18, 32], Operations: ['87-69=18', '79-47=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 37, 9, 19, 17 ]
64
[ "37-9=28", "19+17=36", "28+36=64" ]
Current State: 64:[37, 9, 19, 17], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [19, 17, 28] Generated Node #2: [19, 17, 28] from Operation: 37-9=28 Current State: 64:[19, 17, 28], Operations: ['37-9=28'] Exploring Operation: 19+17=36, Resulting Numbers: [28, 36] Generated Node #3: [28, 36] from Operation: 19+17=36 Current State: 64:[28, 36], Operations: ['37-9=28', '19+17=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[37, 9, 19, 17], Operations: [] Exploring Operation: 37-17=20, Resulting Numbers: [9, 19, 20] Generated Node #0,0: 64:[9, 19, 20] Operation: 37-17=20 Exploring Operation: 37-19=18, Resulting Numbers: [9, 17, 18] Generated Node #0,1: 64:[9, 17, 18] Operation: 37-19=18 Exploring Operation: 37-9=28, Resulting Numbers: [19, 17, 28] Generated Node #0,2: 64:[19, 17, 28] Operation: 37-9=28 Exploring Operation: 19-17=2, Resulting Numbers: [37, 9, 2] Generated Node #0,3: 64:[37, 9, 2] Operation: 19-17=2 Exploring Operation: 19-9=10, Resulting Numbers: [37, 17, 10] Generated Node #0,4: 64:[37, 17, 10] Operation: 19-9=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[9, 17, 18], Operations: ['37-19=18'] Exploring Operation: 18-17=1, Resulting Numbers: [9, 1] Generated Node #0,1,0: 64:[9, 1] Operation: 18-17=1 Exploring Operation: 18-9=9, Resulting Numbers: [17, 9] Generated Node #0,1,1: 64:[17, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [17, 2] Generated Node #0,1,2: 64:[17, 2] Operation: 18/9=2 Exploring Operation: 17-9=8, Resulting Numbers: [18, 8] Generated Node #0,1,3: 64:[18, 8] Operation: 17-9=8 Exploring Operation: 17+18=35, Resulting Numbers: [9, 35] Generated Node #0,1,4: 64:[9, 35] Operation: 17+18=35 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[17, 2], Operations: ['37-19=18', '18/9=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,64 unequal: No Solution No 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: 64:[9, 1], Operations: ['37-19=18', '18-17=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,64 unequal: No Solution No 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: 64:[17, 9], Operations: ['37-19=18', '18-9=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,64 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,64 unequal: No Solution No 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: 64:[18, 8], Operations: ['37-19=18', '17-9=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,64 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,64 unequal: No Solution No 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: 64:[9, 35], Operations: ['37-19=18', '17+18=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,64 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,64 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: 64:[37, 9, 2], Operations: ['19-17=2'] Exploring Operation: 37-2=35, Resulting Numbers: [9, 35] Generated Node #0,3,0: 64:[9, 35] Operation: 37-2=35 Exploring Operation: 9*2=18, Resulting Numbers: [37, 18] Generated Node #0,3,1: 64:[37, 18] Operation: 9*2=18 Exploring Operation: 37+2=39, Resulting Numbers: [9, 39] Generated Node #0,3,2: 64:[9, 39] Operation: 37+2=39 Exploring Operation: 37-9=28, Resulting Numbers: [2, 28] Generated Node #0,3,3: 64:[2, 28] Operation: 37-9=28 Exploring Operation: 9-2=7, Resulting Numbers: [37, 7] Generated Node #0,3,4: 64:[37, 7] Operation: 9-2=7 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 64:[9, 35], Operations: ['19-17=2', '37-2=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,64 unequal: No Solution No 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: 64:[2, 28], Operations: ['19-17=2', '37-9=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 64:[37, 7], Operations: ['19-17=2', '9-2=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,64 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,64 unequal: No Solution No 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: 64:[37, 18], Operations: ['19-17=2', '9*2=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,64 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,64 unequal: No Solution No 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: 64:[9, 39], Operations: ['19-17=2', '37+2=39'] Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,64 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,64 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: 64:[9, 19, 20], Operations: ['37-17=20'] Exploring Operation: 20-9=11, Resulting Numbers: [19, 11] Generated Node #0,0,0: 64:[19, 11] Operation: 20-9=11 Exploring Operation: 19-9=10, Resulting Numbers: [20, 10] Generated Node #0,0,1: 64:[20, 10] Operation: 19-9=10 Exploring Operation: 9+20=29, Resulting Numbers: [19, 29] Generated Node #0,0,2: 64:[19, 29] Operation: 9+20=29 Exploring Operation: 9+19=28, Resulting Numbers: [20, 28] Generated Node #0,0,3: 64:[20, 28] Operation: 9+19=28 Exploring Operation: 20-19=1, Resulting Numbers: [9, 1] Generated Node #0,0,4: 64:[9, 1] Operation: 20-19=1 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 64:[9, 1], Operations: ['37-17=20', '20-19=1'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,64 unequal: No Solution No 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: 64:[19, 11], Operations: ['37-17=20', '20-9=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,64 unequal: No Solution No 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: 64:[20, 10], Operations: ['37-17=20', '19-9=10'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,64 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,64 unequal: No Solution No 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: 64:[19, 29], Operations: ['37-17=20', '9+20=29'] Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,64 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,64 unequal: No Solution No 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: 64:[20, 28], Operations: ['37-17=20', '9+19=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,64 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,64 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: 64:[19, 17, 28], Operations: ['37-9=28'] Exploring Operation: 19+28=47, Resulting Numbers: [17, 47] Generated Node #0,2,0: 64:[17, 47] Operation: 19+28=47 Exploring Operation: 28-17=11, Resulting Numbers: [19, 11] Generated Node #0,2,1: 64:[19, 11] Operation: 28-17=11 Exploring Operation: 28-19=9, Resulting Numbers: [17, 9] Generated Node #0,2,2: 64:[17, 9] Operation: 28-19=9 Exploring Operation: 19+17=36, Resulting Numbers: [28, 36] Generated Node #0,2,3: 64:[28, 36] Operation: 19+17=36 Exploring Operation: 19-17=2, Resulting Numbers: [28, 2] Generated Node #0,2,4: 64:[28, 2] Operation: 19-17=2 Moving to Node #0,2,2 Current State: 64:[17, 9], Operations: ['37-9=28', '28-19=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,64 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[28, 2], Operations: ['37-9=28', '19-17=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[19, 11], Operations: ['37-9=28', '28-17=11'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,64 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[28, 36], Operations: ['37-9=28', '19+17=36'] Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,64 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[37, 9, 19, 17], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [19, 17, 28] Generated Node #0,2: 64:[19, 17, 28] Operation: 37-9=28 Moving to Node #0,2 Current State: 64:[19, 17, 28], Operations: ['37-9=28'] Exploring Operation: 19+17=36, Resulting Numbers: [28, 36] Generated Node #0,2,3: 64:[28, 36] Operation: 19+17=36 Moving to Node #0,2,3 Current State: 64:[28, 36], Operations: ['37-9=28', '19+17=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.921875
hs_5
mult_heuristic
[ 39, 70, 76, 23 ]
68
[ "70-39=31", "76+23=99", "99-31=68" ]
Current State: 68:[39, 70, 76, 23], Operations: [] Exploring Operation: 70-39=31, Resulting Numbers: [76, 23, 31] Generated Node #2: [76, 23, 31] from Operation: 70-39=31 Current State: 68:[76, 23, 31], Operations: ['70-39=31'] Exploring Operation: 76+23=99, Resulting Numbers: [31, 99] Generated Node #3: [31, 99] from Operation: 76+23=99 Current State: 68:[31, 99], Operations: ['70-39=31', '76+23=99'] Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[39, 70, 76, 23], Operations: [] Exploring Operation: 70-39=31, Resulting Numbers: [76, 23, 31] Generated Node #0,0: 68:[76, 23, 31] Operation: 70-39=31 Exploring Operation: 76-70=6, Resulting Numbers: [39, 23, 6] Generated Node #0,1: 68:[39, 23, 6] Operation: 76-70=6 Exploring Operation: 76-39=37, Resulting Numbers: [70, 23, 37] Generated Node #0,2: 68:[70, 23, 37] Operation: 76-39=37 Exploring Operation: 39-23=16, Resulting Numbers: [70, 76, 16] Generated Node #0,3: 68:[70, 76, 16] Operation: 39-23=16 Exploring Operation: 39+23=62, Resulting Numbers: [70, 76, 62] Generated Node #0,4: 68:[70, 76, 62] Operation: 39+23=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[70, 23, 37], Operations: ['76-39=37'] Exploring Operation: 70-23=47, Resulting Numbers: [37, 47] Generated Node #0,2,0: 68:[37, 47] Operation: 70-23=47 Exploring Operation: 70+23=93, Resulting Numbers: [37, 93] Generated Node #0,2,1: 68:[37, 93] Operation: 70+23=93 Exploring Operation: 70-37=33, Resulting Numbers: [23, 33] Generated Node #0,2,2: 68:[23, 33] Operation: 70-37=33 Exploring Operation: 23+37=60, Resulting Numbers: [70, 60] Generated Node #0,2,3: 68:[70, 60] Operation: 23+37=60 Exploring Operation: 37-23=14, Resulting Numbers: [70, 14] Generated Node #0,2,4: 68:[70, 14] Operation: 37-23=14 Moving to Node #0,2,4 Current State: 68:[70, 14], Operations: ['76-39=37', '37-23=14'] Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,68 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[23, 33], Operations: ['76-39=37', '70-37=33'] Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,68 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[70, 60], Operations: ['76-39=37', '23+37=60'] Exploring Operation: 70+60=130, Resulting Numbers: [130] 130,68 unequal: No Solution Exploring Operation: 70*60=4200, Resulting Numbers: [4200] 4200,68 unequal: No Solution Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[37, 47], Operations: ['76-39=37', '70-23=47'] Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[37, 93], Operations: ['76-39=37', '70+23=93'] Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 37+93=130, Resulting Numbers: [130] 130,68 unequal: No Solution Exploring Operation: 37*93=3441, Resulting Numbers: [3441] 3441,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,3 Current State: 68:[70, 76, 16], Operations: ['39-23=16'] Exploring Operation: 76+16=92, Resulting Numbers: [70, 92] Generated Node #0,3,0: 68:[70, 92] Operation: 76+16=92 Exploring Operation: 76-16=60, Resulting Numbers: [70, 60] Generated Node #0,3,1: 68:[70, 60] Operation: 76-16=60 Exploring Operation: 70-16=54, Resulting Numbers: [76, 54] Generated Node #0,3,2: 68:[76, 54] Operation: 70-16=54 Exploring Operation: 76-70=6, Resulting Numbers: [16, 6] Generated Node #0,3,3: 68:[16, 6] Operation: 76-70=6 Exploring Operation: 70+16=86, Resulting Numbers: [76, 86] Generated Node #0,3,4: 68:[76, 86] Operation: 70+16=86 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 68:[16, 6], Operations: ['39-23=16', '76-70=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,68 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,68 unequal: No Solution No 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: 68:[70, 60], Operations: ['39-23=16', '76-16=60'] Exploring Operation: 70+60=130, Resulting Numbers: [130] 130,68 unequal: No Solution Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 70*60=4200, Resulting Numbers: [4200] 4200,68 unequal: No Solution No 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: 68:[76, 54], Operations: ['39-23=16', '70-16=54'] Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,68 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,68 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,68 unequal: No Solution No 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: 68:[70, 92], Operations: ['39-23=16', '76+16=92'] Exploring Operation: 70*92=6440, Resulting Numbers: [6440] 6440,68 unequal: No Solution Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 70+92=162, Resulting Numbers: [162] 162,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 68:[76, 86], Operations: ['39-23=16', '70+16=86'] Exploring Operation: 76+86=162, Resulting Numbers: [162] 162,68 unequal: No Solution Exploring Operation: 76*86=6536, Resulting Numbers: [6536] 6536,68 unequal: No Solution Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,68 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: 68:[39, 23, 6], Operations: ['76-70=6'] Exploring Operation: 23-6=17, Resulting Numbers: [39, 17] Generated Node #0,1,0: 68:[39, 17] Operation: 23-6=17 Exploring Operation: 39-6=33, Resulting Numbers: [23, 33] Generated Node #0,1,1: 68:[23, 33] Operation: 39-6=33 Exploring Operation: 39+23=62, Resulting Numbers: [6, 62] Generated Node #0,1,2: 68:[6, 62] Operation: 39+23=62 Exploring Operation: 39-23=16, Resulting Numbers: [6, 16] Generated Node #0,1,3: 68:[6, 16] Operation: 39-23=16 Exploring Operation: 23+6=29, Resulting Numbers: [39, 29] Generated Node #0,1,4: 68:[39, 29] Operation: 23+6=29 Moving to Node #0,1,3 Current State: 68:[6, 16], Operations: ['76-70=6', '39-23=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[39, 17], Operations: ['76-70=6', '23-6=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[23, 33], Operations: ['76-70=6', '39-6=33'] Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,68 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[6, 62], Operations: ['76-70=6', '39+23=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,68 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[39, 70, 76, 23], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [39, 23, 6] Generated Node #0,1: 68:[39, 23, 6] Operation: 76-70=6 Moving to Node #0,1 Current State: 68:[39, 23, 6], Operations: ['76-70=6'] Exploring Operation: 39+23=62, Resulting Numbers: [6, 62] Generated Node #0,1,2: 68:[6, 62] Operation: 39+23=62 Moving to Node #0,1,2 Current State: 68:[6, 62], Operations: ['76-70=6', '39+23=62'] Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
sum_heuristic
[ 48, 48, 51, 4 ]
51
[ "48-48=0", "4*0=0", "51+0=51" ]
Current State: 51:[48, 48, 51, 4], Operations: [] Exploring Operation: 48-48=0, Resulting Numbers: [51, 4, 0] Generated Node #2: [51, 4, 0] from Operation: 48-48=0 Current State: 51:[51, 4, 0], Operations: ['48-48=0'] Exploring Operation: 4*0=0, Resulting Numbers: [51, 0] Generated Node #3: [51, 0] from Operation: 4*0=0 Current State: 51:[51, 0], Operations: ['48-48=0', '4*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[48, 48, 51, 4], Operations: [] Exploring Operation: 48/48=1, Resulting Numbers: [51, 4, 1] Generated Node #0,0: 51:[51, 4, 1] Operation: 48/48=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[51, 4, 1], Operations: ['48/48=1'] Exploring Operation: 4-1=3, Resulting Numbers: [51, 3] Generated Node #0,0,0: 51:[51, 3] Operation: 4-1=3 Moving to Node #0,0,0 Current State: 51:[51, 3], Operations: ['48/48=1', '4-1=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,51 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
[ 78, 53, 5, 26 ]
51
[ "78/26=3", "53-5=48", "3+48=51" ]
Current State: 51:[78, 53, 5, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [53, 5, 3] Generated Node #2: [53, 5, 3] from Operation: 78/26=3 Current State: 51:[53, 5, 3], Operations: ['78/26=3'] Exploring Operation: 53-5=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 53-5=48 Current State: 51:[3, 48], Operations: ['78/26=3', '53-5=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[78, 53, 5, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [53, 5, 3] Generated Node #0,0: 51:[53, 5, 3] Operation: 78/26=3 Exploring Operation: 78-26=52, Resulting Numbers: [53, 5, 52] Generated Node #0,1: 51:[53, 5, 52] Operation: 78-26=52 Exploring Operation: 78-53=25, Resulting Numbers: [5, 26, 25] Generated Node #0,2: 51:[5, 26, 25] Operation: 78-53=25 Moving to Node #0,0 Current State: 51:[53, 5, 3], Operations: ['78/26=3'] Exploring Operation: 53-3=50, Resulting Numbers: [5, 50] Generated Node #0,0,0: 51:[5, 50] Operation: 53-3=50 Exploring Operation: 5-3=2, Resulting Numbers: [53, 2] Generated Node #0,0,1: 51:[53, 2] Operation: 5-3=2 Exploring Operation: 53-5=48, Resulting Numbers: [3, 48] Generated Node #0,0,2: 51:[3, 48] Operation: 53-5=48 Moving to Node #0,1 Current State: 51:[53, 5, 52], Operations: ['78-26=52'] Exploring Operation: 53-52=1, Resulting Numbers: [5, 1] Generated Node #0,1,0: 51:[5, 1] Operation: 53-52=1 Exploring Operation: 52-5=47, Resulting Numbers: [53, 47] Generated Node #0,1,1: 51:[53, 47] Operation: 52-5=47 Exploring Operation: 53-5=48, Resulting Numbers: [52, 48] Generated Node #0,1,2: 51:[52, 48] Operation: 53-5=48 Moving to Node #0,2 Current State: 51:[5, 26, 25], Operations: ['78-53=25'] Exploring Operation: 26-25=1, Resulting Numbers: [5, 1] Generated Node #0,2,0: 51:[5, 1] Operation: 26-25=1 Exploring Operation: 25/5=5, Resulting Numbers: [26, 5] Generated Node #0,2,1: 51:[26, 5] Operation: 25/5=5 Exploring Operation: 26+25=51, Resulting Numbers: [5, 51] Generated Node #0,2,2: 51:[5, 51] Operation: 26+25=51 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[5, 51], Operations: ['78-53=25', '26+25=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,51 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[5, 1], Operations: ['78-53=25', '26-25=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[26, 5], Operations: ['78-53=25', '25/5=5'] Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,51 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,51 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: 51:[5, 50], Operations: ['78/26=3', '53-3=50'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[3, 48], Operations: ['78/26=3', '53-5=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[78, 53, 5, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [53, 5, 3] Generated Node #0,0: 51:[53, 5, 3] Operation: 78/26=3 Moving to Node #0,0 Current State: 51:[53, 5, 3], Operations: ['78/26=3'] Exploring Operation: 53-5=48, Resulting Numbers: [3, 48] Generated Node #0,0,2: 51:[3, 48] Operation: 53-5=48 Moving to Node #0,0,2 Current State: 51:[3, 48], Operations: ['78/26=3', '53-5=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.97309
hs_3
sum_heuristic
[ 97, 73, 34, 76 ]
71
[ "97+73=170", "170/34=5", "76-5=71" ]
Current State: 71:[97, 73, 34, 76], Operations: [] Exploring Operation: 97+73=170, Resulting Numbers: [34, 76, 170] Generated Node #2: [34, 76, 170] from Operation: 97+73=170 Current State: 71:[34, 76, 170], Operations: ['97+73=170'] Exploring Operation: 170/34=5, Resulting Numbers: [76, 5] Generated Node #3: [76, 5] from Operation: 170/34=5 Current State: 71:[76, 5], Operations: ['97+73=170', '170/34=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[97, 73, 34, 76], Operations: [] Exploring Operation: 73-34=39, Resulting Numbers: [97, 76, 39] Generated Node #0,0: 71:[97, 76, 39] Operation: 73-34=39 Exploring Operation: 76-34=42, Resulting Numbers: [97, 73, 42] Generated Node #0,1: 71:[97, 73, 42] Operation: 76-34=42 Exploring Operation: 97-34=63, Resulting Numbers: [73, 76, 63] Generated Node #0,2: 71:[73, 76, 63] Operation: 97-34=63 Moving to Node #0,2 Current State: 71:[73, 76, 63], Operations: ['97-34=63'] Exploring Operation: 76-63=13, Resulting Numbers: [73, 13] Generated Node #0,2,0: 71:[73, 13] Operation: 76-63=13 Exploring Operation: 73+63=136, Resulting Numbers: [76, 136] Generated Node #0,2,1: 71:[76, 136] Operation: 73+63=136 Exploring Operation: 73-63=10, Resulting Numbers: [76, 10] Generated Node #0,2,2: 71:[76, 10] Operation: 73-63=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[73, 13], Operations: ['97-34=63', '76-63=13'] Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 73+13=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 73*13=949, Resulting Numbers: [949] 949,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[76, 10], Operations: ['97-34=63', '73-63=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[76, 136], Operations: ['97-34=63', '73+63=136'] Exploring Operation: 136-76=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 76+136=212, Resulting Numbers: [212] 212,71 unequal: No Solution Exploring Operation: 76*136=10336, Resulting Numbers: [10336] 10336,71 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: 71:[97, 73, 42], Operations: ['76-34=42'] Exploring Operation: 97-42=55, Resulting Numbers: [73, 55] Generated Node #0,1,0: 71:[73, 55] Operation: 97-42=55 Exploring Operation: 97+42=139, Resulting Numbers: [73, 139] Generated Node #0,1,1: 71:[73, 139] Operation: 97+42=139 Exploring Operation: 73-42=31, Resulting Numbers: [97, 31] Generated Node #0,1,2: 71:[97, 31] Operation: 73-42=31 Moving to Node #0,0 Current State: 71:[97, 76, 39], Operations: ['73-34=39'] Exploring Operation: 97-39=58, Resulting Numbers: [76, 58] Generated Node #0,0,0: 71:[76, 58] Operation: 97-39=58 Exploring Operation: 76-39=37, Resulting Numbers: [97, 37] Generated Node #0,0,1: 71:[97, 37] Operation: 76-39=37 Exploring Operation: 97+39=136, Resulting Numbers: [76, 136] Generated Node #0,0,2: 71:[76, 136] Operation: 97+39=136 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[76, 58], Operations: ['73-34=39', '97-39=58'] Exploring Operation: 76+58=134, Resulting Numbers: [134] 134,71 unequal: No Solution Exploring Operation: 76*58=4408, Resulting Numbers: [4408] 4408,71 unequal: No Solution Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[97, 37], Operations: ['73-34=39', '76-39=37'] Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 97+37=134, Resulting Numbers: [134] 134,71 unequal: No Solution Exploring Operation: 97*37=3589, Resulting Numbers: [3589] 3589,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[76, 136], Operations: ['73-34=39', '97+39=136'] Exploring Operation: 76*136=10336, Resulting Numbers: [10336] 10336,71 unequal: No Solution Exploring Operation: 136-76=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 76+136=212, Resulting Numbers: [212] 212,71 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: 71:[73, 55], Operations: ['76-34=42', '97-42=55'] Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 73+55=128, Resulting Numbers: [128] 128,71 unequal: No Solution Exploring Operation: 73*55=4015, Resulting Numbers: [4015] 4015,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[97, 31], Operations: ['76-34=42', '73-42=31'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 97*31=3007, Resulting Numbers: [3007] 3007,71 unequal: No Solution Exploring Operation: 97+31=128, Resulting Numbers: [128] 128,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[73, 139], Operations: ['76-34=42', '97+42=139'] Exploring Operation: 73*139=10147, Resulting Numbers: [10147] 10147,71 unequal: No Solution Exploring Operation: 73+139=212, Resulting Numbers: [212] 212,71 unequal: No Solution Exploring Operation: 139-73=66, Resulting Numbers: [66] 66,71 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 90, 15, 60, 66 ]
21
[ "90+15=105", "60+66=126", "126-105=21" ]
Current State: 21:[90, 15, 60, 66], Operations: [] Exploring Operation: 90+15=105, Resulting Numbers: [60, 66, 105] Generated Node #2: [60, 66, 105] from Operation: 90+15=105 Current State: 21:[60, 66, 105], Operations: ['90+15=105'] Exploring Operation: 60+66=126, Resulting Numbers: [105, 126] Generated Node #3: [105, 126] from Operation: 60+66=126 Current State: 21:[105, 126], Operations: ['90+15=105', '60+66=126'] Exploring Operation: 126-105=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[90, 15, 60, 66], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [15, 60, 24] Generated Node #0,0: 21:[15, 60, 24] Operation: 90-66=24 Exploring Operation: 90-60=30, Resulting Numbers: [15, 66, 30] Generated Node #0,1: 21:[15, 66, 30] Operation: 90-60=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[15, 60, 24], Operations: ['90-66=24'] Exploring Operation: 60-24=36, Resulting Numbers: [15, 36] Generated Node #0,0,0: 21:[15, 36] Operation: 60-24=36 Exploring Operation: 60/15=4, Resulting Numbers: [24, 4] Generated Node #0,0,1: 21:[24, 4] Operation: 60/15=4 Moving to Node #0,0,1 Current State: 21:[24, 4], Operations: ['90-66=24', '60/15=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[15, 36], Operations: ['90-66=24', '60-24=36'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[90, 15, 60, 66], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [15, 60, 24] Generated Node #0,0: 21:[15, 60, 24] Operation: 90-66=24 Moving to Node #0,0 Current State: 21:[15, 60, 24], Operations: ['90-66=24'] Exploring Operation: 60-24=36, Resulting Numbers: [15, 36] Generated Node #0,0,0: 21:[15, 36] Operation: 60-24=36 Moving to Node #0,0,0 Current State: 21:[15, 36], Operations: ['90-66=24', '60-24=36'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 8, 12, 36, 24 ]
24
[ "8*36=288", "24-12=12", "288/12=24" ]
Current State: 24:[8, 12, 36, 24], Operations: [] Exploring Operation: 8*36=288, Resulting Numbers: [12, 24, 288] Generated Node #2: [12, 24, 288] from Operation: 8*36=288 Current State: 24:[12, 24, 288], Operations: ['8*36=288'] Exploring Operation: 24-12=12, Resulting Numbers: [288, 12] Generated Node #3: [288, 12] from Operation: 24-12=12 Current State: 24:[288, 12], Operations: ['8*36=288', '24-12=12'] Exploring Operation: 288/12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[8, 12, 36, 24], Operations: [] Exploring Operation: 36-12=24, Resulting Numbers: [8, 24, 24] Generated Node #0,0: 24:[8, 24, 24] Operation: 36-12=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[8, 24, 24], Operations: ['36-12=24'] Exploring Operation: 24/8=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 24:[24, 3] Operation: 24/8=3 Moving to Node #0,0,0 Current State: 24:[24, 3], Operations: ['36-12=24', '24/8=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,24 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
[ 39, 1, 7, 85 ]
54
[ "39-1=38", "7+85=92", "92-38=54" ]
Current State: 54:[39, 1, 7, 85], Operations: [] Exploring Operation: 39-1=38, Resulting Numbers: [7, 85, 38] Generated Node #2: [7, 85, 38] from Operation: 39-1=38 Current State: 54:[7, 85, 38], Operations: ['39-1=38'] Exploring Operation: 7+85=92, Resulting Numbers: [38, 92] Generated Node #3: [38, 92] from Operation: 7+85=92 Current State: 54:[38, 92], Operations: ['39-1=38', '7+85=92'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[39, 1, 7, 85], Operations: [] Exploring Operation: 39-7=32, Resulting Numbers: [1, 85, 32] Generated Node #0,0: 54:[1, 85, 32] Operation: 39-7=32 Exploring Operation: 85-7=78, Resulting Numbers: [39, 1, 78] Generated Node #0,1: 54:[39, 1, 78] Operation: 85-7=78 Exploring Operation: 39+7=46, Resulting Numbers: [1, 85, 46] Generated Node #0,2: 54:[1, 85, 46] Operation: 39+7=46 Exploring Operation: 85-39=46, Resulting Numbers: [1, 7, 46] Generated Node #0,3: 54:[1, 7, 46] Operation: 85-39=46 Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[1, 7, 46], Operations: ['85-39=46'] Exploring Operation: 1+46=47, Resulting Numbers: [7, 47] Generated Node #0,3,0: 54:[7, 47] Operation: 1+46=47 Exploring Operation: 7-1=6, Resulting Numbers: [46, 6] Generated Node #0,3,1: 54:[46, 6] Operation: 7-1=6 Exploring Operation: 7+46=53, Resulting Numbers: [1, 53] Generated Node #0,3,2: 54:[1, 53] Operation: 7+46=53 Exploring Operation: 1+7=8, Resulting Numbers: [46, 8] Generated Node #0,3,3: 54:[46, 8] Operation: 1+7=8 Moving to Node #0,3,2 Current State: 54:[1, 53], Operations: ['85-39=46', '7+46=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[39, 1, 7, 85], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [1, 7, 46] Generated Node #0,3: 54:[1, 7, 46] Operation: 85-39=46 Moving to Node #0,3 Current State: 54:[1, 7, 46], Operations: ['85-39=46'] Exploring Operation: 7+46=53, Resulting Numbers: [1, 53] Generated Node #0,3,2: 54:[1, 53] Operation: 7+46=53 Moving to Node #0,3,2 Current State: 54:[1, 53], Operations: ['85-39=46', '7+46=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 1, 6, 10, 74 ]
14
[ "1*6=6", "10+74=84", "84/6=14" ]
Current State: 14:[1, 6, 10, 74], Operations: [] Exploring Operation: 1*6=6, Resulting Numbers: [10, 74, 6] Generated Node #2: [10, 74, 6] from Operation: 1*6=6 Current State: 14:[10, 74, 6], Operations: ['1*6=6'] Exploring Operation: 10+74=84, Resulting Numbers: [6, 84] Generated Node #3: [6, 84] from Operation: 10+74=84 Current State: 14:[6, 84], Operations: ['1*6=6', '10+74=84'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[1, 6, 10, 74], Operations: [] Exploring Operation: 1+6=7, Resulting Numbers: [10, 74, 7] Generated Node #0,0: 14:[10, 74, 7] Operation: 1+6=7 Exploring Operation: 10-1=9, Resulting Numbers: [6, 74, 9] Generated Node #0,1: 14:[6, 74, 9] Operation: 10-1=9 Exploring Operation: 74-6=68, Resulting Numbers: [1, 10, 68] Generated Node #0,2: 14:[1, 10, 68] Operation: 74-6=68 Exploring Operation: 74-10=64, Resulting Numbers: [1, 6, 64] Generated Node #0,3: 14:[1, 6, 64] Operation: 74-10=64 Exploring Operation: 74-1=73, Resulting Numbers: [6, 10, 73] Generated Node #0,4: 14:[6, 10, 73] Operation: 74-1=73 Moving to Node #0,3 Current State: 14:[1, 6, 64], Operations: ['74-10=64'] Exploring Operation: 64-6=58, Resulting Numbers: [1, 58] Generated Node #0,3,0: 14:[1, 58] Operation: 64-6=58 Exploring Operation: 1*6=6, Resulting Numbers: [64, 6] Generated Node #0,3,1: 14:[64, 6] Operation: 1*6=6 Exploring Operation: 64-1=63, Resulting Numbers: [6, 63] Generated Node #0,3,2: 14:[6, 63] Operation: 64-1=63 Exploring Operation: 6/1=6, Resulting Numbers: [64, 6] Generated Node #0,3,3: 14:[64, 6] Operation: 6/1=6 Exploring Operation: 1+6=7, Resulting Numbers: [64, 7] Generated Node #0,3,4: 14:[64, 7] Operation: 1+6=7 Moving to Node #0,2 Current State: 14:[1, 10, 68], Operations: ['74-6=68'] Exploring Operation: 68-10=58, Resulting Numbers: [1, 58] Generated Node #0,2,0: 14:[1, 58] Operation: 68-10=58 Exploring Operation: 1+10=11, Resulting Numbers: [68, 11] Generated Node #0,2,1: 14:[68, 11] Operation: 1+10=11 Exploring Operation: 10-1=9, Resulting Numbers: [68, 9] Generated Node #0,2,2: 14:[68, 9] Operation: 10-1=9 Exploring Operation: 1*10=10, Resulting Numbers: [68, 10] Generated Node #0,2,3: 14:[68, 10] Operation: 1*10=10 Exploring Operation: 68-1=67, Resulting Numbers: [10, 67] Generated Node #0,2,4: 14:[10, 67] Operation: 68-1=67 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[1, 58], Operations: ['74-6=68', '68-10=58'] Exploring Operation: 1+58=59, Resulting Numbers: [59] 59,14 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,14 unequal: No Solution Exploring Operation: 1*58=58, Resulting Numbers: [58] 58,14 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,14 unequal: No Solution No 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: 14:[68, 9], Operations: ['74-6=68', '10-1=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,14 unequal: No Solution Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,14 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,14 unequal: No Solution No 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: 14:[10, 67], Operations: ['74-6=68', '68-1=67'] Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,14 unequal: No Solution Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,14 unequal: No Solution No 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: 14:[68, 11], Operations: ['74-6=68', '1+10=11'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,14 unequal: No Solution Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,14 unequal: No Solution No 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: 14:[68, 10], Operations: ['74-6=68', '1*10=10'] Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,14 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,14 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: 14:[10, 74, 7], Operations: ['1+6=7'] Exploring Operation: 10+7=17, Resulting Numbers: [74, 17] Generated Node #0,0,0: 14:[74, 17] Operation: 10+7=17 Exploring Operation: 74-10=64, Resulting Numbers: [7, 64] Generated Node #0,0,1: 14:[7, 64] Operation: 74-10=64 Exploring Operation: 74-7=67, Resulting Numbers: [10, 67] Generated Node #0,0,2: 14:[10, 67] Operation: 74-7=67 Exploring Operation: 10-7=3, Resulting Numbers: [74, 3] Generated Node #0,0,3: 14:[74, 3] Operation: 10-7=3 Exploring Operation: 10+74=84, Resulting Numbers: [7, 84] Generated Node #0,0,4: 14:[7, 84] Operation: 10+74=84 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[7, 64], Operations: ['1+6=7', '74-10=64'] Exploring Operation: 7*64=448, Resulting Numbers: [448] 448,14 unequal: No Solution Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,14 unequal: No Solution No 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: 14:[10, 67], Operations: ['1+6=7', '74-7=67'] Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,14 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,14 unequal: No Solution No 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: 14:[74, 3], Operations: ['1+6=7', '10-7=3'] Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,14 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,14 unequal: No Solution No 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: 14:[74, 17], Operations: ['1+6=7', '10+7=17'] Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,14 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,14 unequal: No Solution No 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: 14:[7, 84], Operations: ['1+6=7', '10+74=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,14 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,14 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: 14:[6, 74, 9], Operations: ['10-1=9'] Exploring Operation: 74-9=65, Resulting Numbers: [6, 65] Generated Node #0,1,0: 14:[6, 65] Operation: 74-9=65 Exploring Operation: 9-6=3, Resulting Numbers: [74, 3] Generated Node #0,1,1: 14:[74, 3] Operation: 9-6=3 Exploring Operation: 6+74=80, Resulting Numbers: [9, 80] Generated Node #0,1,2: 14:[9, 80] Operation: 6+74=80 Exploring Operation: 74-6=68, Resulting Numbers: [9, 68] Generated Node #0,1,3: 14:[9, 68] Operation: 74-6=68 Exploring Operation: 6+9=15, Resulting Numbers: [74, 15] Generated Node #0,1,4: 14:[74, 15] Operation: 6+9=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[6, 65], Operations: ['10-1=9', '74-9=65'] Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,14 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,14 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,14 unequal: No Solution No 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: 14:[9, 68], Operations: ['10-1=9', '74-6=68'] Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,14 unequal: No Solution Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,14 unequal: No Solution No 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: 14:[74, 3], Operations: ['10-1=9', '9-6=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 14:[74, 15], Operations: ['10-1=9', '6+9=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,14 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,14 unequal: No Solution No 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: 14:[9, 80], Operations: ['10-1=9', '6+74=80'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 9*80=720, Resulting Numbers: [720] 720,14 unequal: No Solution Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 14:[6, 10, 73], Operations: ['74-1=73'] Exploring Operation: 6+73=79, Resulting Numbers: [10, 79] Generated Node #0,4,0: 14:[10, 79] Operation: 6+73=79 Exploring Operation: 73-10=63, Resulting Numbers: [6, 63] Generated Node #0,4,1: 14:[6, 63] Operation: 73-10=63 Exploring Operation: 6+10=16, Resulting Numbers: [73, 16] Generated Node #0,4,2: 14:[73, 16] Operation: 6+10=16 Exploring Operation: 73-6=67, Resulting Numbers: [10, 67] Generated Node #0,4,3: 14:[10, 67] Operation: 73-6=67 Exploring Operation: 10-6=4, Resulting Numbers: [73, 4] Generated Node #0,4,4: 14:[73, 4] Operation: 10-6=4 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 14:[6, 63], Operations: ['74-1=73', '73-10=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,14 unequal: No Solution No 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: 14:[10, 67], Operations: ['74-1=73', '73-6=67'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,14 unequal: No Solution No 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: 14:[73, 16], Operations: ['74-1=73', '6+10=16'] Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,14 unequal: No Solution No 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: 14:[73, 4], Operations: ['74-1=73', '10-6=4'] Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,14 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,14 unequal: No Solution No 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: 14:[10, 79], Operations: ['74-1=73', '6+73=79'] Exploring Operation: 10*79=790, Resulting Numbers: [790] 790,14 unequal: No Solution Exploring Operation: 10+79=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 14:[1, 58], Operations: ['74-10=64', '64-6=58'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,14 unequal: No Solution Exploring Operation: 1*58=58, Resulting Numbers: [58] 58,14 unequal: No Solution Exploring Operation: 1+58=59, Resulting Numbers: [59] 59,14 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[64, 7], Operations: ['74-10=64', '1+6=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[6, 63], Operations: ['74-10=64', '64-1=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[64, 6], Operations: ['74-10=64', '1*6=6'] Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,14 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[64, 6], Operations: ['74-10=64', '6/1=6'] Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,14 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,14 unequal: No Solution Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,14 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 59, 9, 26, 92 ]
83
[ "59+92=151", "9*26=234", "234-151=83" ]
Current State: 83:[59, 9, 26, 92], Operations: [] Exploring Operation: 59+92=151, Resulting Numbers: [9, 26, 151] Generated Node #2: [9, 26, 151] from Operation: 59+92=151 Current State: 83:[9, 26, 151], Operations: ['59+92=151'] Exploring Operation: 9*26=234, Resulting Numbers: [151, 234] Generated Node #3: [151, 234] from Operation: 9*26=234 Current State: 83:[151, 234], Operations: ['59+92=151', '9*26=234'] Exploring Operation: 234-151=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[59, 9, 26, 92], Operations: [] Exploring Operation: 59+9=68, Resulting Numbers: [26, 92, 68] Generated Node #0,0: 83:[26, 92, 68] Operation: 59+9=68 Exploring Operation: 92-9=83, Resulting Numbers: [59, 26, 83] Generated Node #0,1: 83:[59, 26, 83] Operation: 92-9=83 Exploring Operation: 59+26=85, Resulting Numbers: [9, 92, 85] Generated Node #0,2: 83:[9, 92, 85] Operation: 59+26=85 Exploring Operation: 59-9=50, Resulting Numbers: [26, 92, 50] Generated Node #0,3: 83:[26, 92, 50] Operation: 59-9=50 Exploring Operation: 9+26=35, Resulting Numbers: [59, 92, 35] Generated Node #0,4: 83:[59, 92, 35] Operation: 9+26=35 Moving to Node #0,0 Current State: 83:[26, 92, 68], Operations: ['59+9=68'] Exploring Operation: 26+68=94, Resulting Numbers: [92, 94] Generated Node #0,0,0: 83:[92, 94] Operation: 26+68=94 Exploring Operation: 26+92=118, Resulting Numbers: [68, 118] Generated Node #0,0,1: 83:[68, 118] Operation: 26+92=118 Exploring Operation: 68-26=42, Resulting Numbers: [92, 42] Generated Node #0,0,2: 83:[92, 42] Operation: 68-26=42 Exploring Operation: 92-26=66, Resulting Numbers: [68, 66] Generated Node #0,0,3: 83:[68, 66] Operation: 92-26=66 Exploring Operation: 92-68=24, Resulting Numbers: [26, 24] Generated Node #0,0,4: 83:[26, 24] Operation: 92-68=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[92, 94], Operations: ['59+9=68', '26+68=94'] Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,83 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[68, 66], Operations: ['59+9=68', '92-26=66'] Exploring Operation: 68+66=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 68*66=4488, Resulting Numbers: [4488] 4488,83 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[68, 118], Operations: ['59+9=68', '26+92=118'] Exploring Operation: 68+118=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 68*118=8024, Resulting Numbers: [8024] 8024,83 unequal: No Solution Exploring Operation: 118-68=50, Resulting Numbers: [50] 50,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[92, 42], Operations: ['59+9=68', '68-26=42'] Exploring Operation: 92*42=3864, Resulting Numbers: [3864] 3864,83 unequal: No Solution Exploring Operation: 92+42=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 83:[26, 24], Operations: ['59+9=68', '92-68=24'] Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,83 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 83:[59, 92, 35], Operations: ['9+26=35'] Exploring Operation: 59+35=94, Resulting Numbers: [92, 94] Generated Node #0,4,0: 83:[92, 94] Operation: 59+35=94 Exploring Operation: 92-35=57, Resulting Numbers: [59, 57] Generated Node #0,4,1: 83:[59, 57] Operation: 92-35=57 Exploring Operation: 92+35=127, Resulting Numbers: [59, 127] Generated Node #0,4,2: 83:[59, 127] Operation: 92+35=127 Exploring Operation: 92-59=33, Resulting Numbers: [35, 33] Generated Node #0,4,3: 83:[35, 33] Operation: 92-59=33 Exploring Operation: 59-35=24, Resulting Numbers: [92, 24] Generated Node #0,4,4: 83:[92, 24] Operation: 59-35=24 Moving to Node #0,1 Current State: 83:[59, 26, 83], Operations: ['92-9=83'] Exploring Operation: 59+83=142, Resulting Numbers: [26, 142] Generated Node #0,1,0: 83:[26, 142] Operation: 59+83=142 Exploring Operation: 26+83=109, Resulting Numbers: [59, 109] Generated Node #0,1,1: 83:[59, 109] Operation: 26+83=109 Exploring Operation: 59+26=85, Resulting Numbers: [83, 85] Generated Node #0,1,2: 83:[83, 85] Operation: 59+26=85 Exploring Operation: 59-26=33, Resulting Numbers: [83, 33] Generated Node #0,1,3: 83:[83, 33] Operation: 59-26=33 Exploring Operation: 83-26=57, Resulting Numbers: [59, 57] Generated Node #0,1,4: 83:[59, 57] Operation: 83-26=57 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[83, 85], Operations: ['92-9=83', '59+26=85'] Exploring Operation: 83*85=7055, Resulting Numbers: [7055] 7055,83 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 83+85=168, Resulting Numbers: [168] 168,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[59, 109], Operations: ['92-9=83', '26+83=109'] Exploring Operation: 109-59=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 59+109=168, Resulting Numbers: [168] 168,83 unequal: No Solution Exploring Operation: 59*109=6431, Resulting Numbers: [6431] 6431,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[83, 33], Operations: ['92-9=83', '59-26=33'] Exploring Operation: 83*33=2739, Resulting Numbers: [2739] 2739,83 unequal: No Solution Exploring Operation: 83+33=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[59, 57], Operations: ['92-9=83', '83-26=57'] Exploring Operation: 59*57=3363, Resulting Numbers: [3363] 3363,83 unequal: No Solution Exploring Operation: 59+57=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[26, 142], Operations: ['92-9=83', '59+83=142'] Exploring Operation: 26+142=168, Resulting Numbers: [168] 168,83 unequal: No Solution Exploring Operation: 142-26=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 26*142=3692, Resulting Numbers: [3692] 3692,83 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: 83:[9, 92, 85], Operations: ['59+26=85'] Exploring Operation: 9+85=94, Resulting Numbers: [92, 94] Generated Node #0,2,0: 83:[92, 94] Operation: 9+85=94 Exploring Operation: 92-9=83, Resulting Numbers: [85, 83] Generated Node #0,2,1: 83:[85, 83] Operation: 92-9=83 Exploring Operation: 85-9=76, Resulting Numbers: [92, 76] Generated Node #0,2,2: 83:[92, 76] Operation: 85-9=76 Exploring Operation: 92-85=7, Resulting Numbers: [9, 7] Generated Node #0,2,3: 83:[9, 7] Operation: 92-85=7 Exploring Operation: 9+92=101, Resulting Numbers: [85, 101] Generated Node #0,2,4: 83:[85, 101] Operation: 9+92=101 Moving to Node #0,3 Current State: 83:[26, 92, 50], Operations: ['59-9=50'] Exploring Operation: 26+92=118, Resulting Numbers: [50, 118] Generated Node #0,3,0: 83:[50, 118] Operation: 26+92=118 Exploring Operation: 50-26=24, Resulting Numbers: [92, 24] Generated Node #0,3,1: 83:[92, 24] Operation: 50-26=24 Exploring Operation: 26+50=76, Resulting Numbers: [92, 76] Generated Node #0,3,2: 83:[92, 76] Operation: 26+50=76 Exploring Operation: 92-50=42, Resulting Numbers: [26, 42] Generated Node #0,3,3: 83:[26, 42] Operation: 92-50=42 Exploring Operation: 92-26=66, Resulting Numbers: [50, 66] Generated Node #0,3,4: 83:[50, 66] Operation: 92-26=66 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[92, 76], Operations: ['59-9=50', '26+50=76'] Exploring Operation: 92-76=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 92+76=168, Resulting Numbers: [168] 168,83 unequal: No Solution Exploring Operation: 92*76=6992, Resulting Numbers: [6992] 6992,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 83:[50, 66], Operations: ['59-9=50', '92-26=66'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 50*66=3300, Resulting Numbers: [3300] 3300,83 unequal: No Solution Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[50, 118], Operations: ['59-9=50', '26+92=118'] Exploring Operation: 118-50=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 50+118=168, Resulting Numbers: [168] 168,83 unequal: No Solution Exploring Operation: 50*118=5900, Resulting Numbers: [5900] 5900,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[92, 24], Operations: ['59-9=50', '50-26=24'] Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[26, 42], Operations: ['59-9=50', '92-50=42'] Exploring Operation: 26*42=1092, Resulting Numbers: [1092] 1092,83 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 26+42=68, Resulting Numbers: [68] 68,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 83:[85, 83], Operations: ['59+26=85', '92-9=83'] Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,83 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[92, 76], Operations: ['59+26=85', '85-9=76'] Exploring Operation: 92*76=6992, Resulting Numbers: [6992] 6992,83 unequal: No Solution Exploring Operation: 92-76=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 92+76=168, Resulting Numbers: [168] 168,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[92, 94], Operations: ['9+26=35', '59+35=94'] Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[92, 94], Operations: ['59+26=85', '9+85=94'] Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,83 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[85, 101], Operations: ['59+26=85', '9+92=101'] Exploring Operation: 101-85=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 85+101=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 85*101=8585, Resulting Numbers: [8585] 8585,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[59, 57], Operations: ['9+26=35', '92-35=57'] Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 59+57=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 59*57=3363, Resulting Numbers: [3363] 3363,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[59, 127], Operations: ['9+26=35', '92+35=127'] Exploring Operation: 59+127=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 127-59=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 59*127=7493, Resulting Numbers: [7493] 7493,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[92, 24], Operations: ['9+26=35', '59-35=24'] Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,83 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[35, 33], Operations: ['9+26=35', '92-59=33'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,83 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[9, 7], Operations: ['59+26=85', '92-85=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,83 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 61, 52, 32, 33 ]
56
[ "61-52=9", "32+33=65", "65-9=56" ]
Current State: 56:[61, 52, 32, 33], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [32, 33, 9] Generated Node #2: [32, 33, 9] from Operation: 61-52=9 Current State: 56:[32, 33, 9], Operations: ['61-52=9'] Exploring Operation: 32+33=65, Resulting Numbers: [9, 65] Generated Node #3: [9, 65] from Operation: 32+33=65 Current State: 56:[9, 65], Operations: ['61-52=9', '32+33=65'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[61, 52, 32, 33], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [32, 33, 9] Generated Node #0,0: 56:[32, 33, 9] Operation: 61-52=9 Exploring Operation: 61-32=29, Resulting Numbers: [52, 33, 29] Generated Node #0,1: 56:[52, 33, 29] Operation: 61-32=29 Exploring Operation: 61-33=28, Resulting Numbers: [52, 32, 28] Generated Node #0,2: 56:[52, 32, 28] Operation: 61-33=28 Moving to Node #0,2 Current State: 56:[52, 32, 28], Operations: ['61-33=28'] Exploring Operation: 32-28=4, Resulting Numbers: [52, 4] Generated Node #0,2,0: 56:[52, 4] Operation: 32-28=4 Exploring Operation: 52-28=24, Resulting Numbers: [32, 24] Generated Node #0,2,1: 56:[32, 24] Operation: 52-28=24 Exploring Operation: 52-32=20, Resulting Numbers: [28, 20] Generated Node #0,2,2: 56:[28, 20] Operation: 52-32=20 Moving to Node #0,0 Current State: 56:[32, 33, 9], Operations: ['61-52=9'] Exploring Operation: 32+33=65, Resulting Numbers: [9, 65] Generated Node #0,0,0: 56:[9, 65] Operation: 32+33=65 Exploring Operation: 33-32=1, Resulting Numbers: [9, 1] Generated Node #0,0,1: 56:[9, 1] Operation: 33-32=1 Exploring Operation: 33-9=24, Resulting Numbers: [32, 24] Generated Node #0,0,2: 56:[32, 24] Operation: 33-9=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[9, 1], Operations: ['61-52=9', '33-32=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[32, 24], Operations: ['61-52=9', '33-9=24'] Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,56 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[61, 52, 32, 33], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [32, 33, 9] Generated Node #0,0: 56:[32, 33, 9] Operation: 61-52=9 Moving to Node #0,0 Current State: 56:[32, 33, 9], Operations: ['61-52=9'] Exploring Operation: 33-9=24, Resulting Numbers: [32, 24] Generated Node #0,0,2: 56:[32, 24] Operation: 33-9=24 Moving to Node #0,0,2 Current State: 56:[32, 24], Operations: ['61-52=9', '33-9=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 33, 39, 2, 20 ]
13
[ "39-33=6", "20+6=26", "26/2=13" ]
Current State: 13:[33, 39, 2, 20], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [2, 20, 6] Generated Node #2: [2, 20, 6] from Operation: 39-33=6 Current State: 13:[2, 20, 6], Operations: ['39-33=6'] Exploring Operation: 20+6=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 20+6=26 Current State: 13:[2, 26], Operations: ['39-33=6', '20+6=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[33, 39, 2, 20], Operations: [] Exploring Operation: 33-20=13, Resulting Numbers: [39, 2, 13] Generated Node #0,0: 13:[39, 2, 13] Operation: 33-20=13 Exploring Operation: 20/2=10, Resulting Numbers: [33, 39, 10] Generated Node #0,1: 13:[33, 39, 10] Operation: 20/2=10 Exploring Operation: 39-33=6, Resulting Numbers: [2, 20, 6] Generated Node #0,2: 13:[2, 20, 6] Operation: 39-33=6 Exploring Operation: 39-20=19, Resulting Numbers: [33, 2, 19] Generated Node #0,3: 13:[33, 2, 19] Operation: 39-20=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[2, 20, 6], Operations: ['39-33=6'] Exploring Operation: 2+6=8, Resulting Numbers: [20, 8] Generated Node #0,2,0: 13:[20, 8] Operation: 2+6=8 Exploring Operation: 20-2=18, Resulting Numbers: [6, 18] Generated Node #0,2,1: 13:[6, 18] Operation: 20-2=18 Exploring Operation: 2*6=12, Resulting Numbers: [20, 12] Generated Node #0,2,2: 13:[20, 12] Operation: 2*6=12 Exploring Operation: 20/2=10, Resulting Numbers: [6, 10] Generated Node #0,2,3: 13:[6, 10] Operation: 20/2=10 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 13:[20, 12], Operations: ['39-33=6', '2*6=12'] Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,13 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,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:[6, 10], Operations: ['39-33=6', '20/2=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,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:[20, 8], Operations: ['39-33=6', '2+6=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,13 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,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:[6, 18], Operations: ['39-33=6', '20-2=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 18-6=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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[39, 2, 13], Operations: ['33-20=13'] Exploring Operation: 39-13=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 13:[2, 26] Operation: 39-13=26 Exploring Operation: 39-2=37, Resulting Numbers: [13, 37] Generated Node #0,0,1: 13:[13, 37] Operation: 39-2=37 Exploring Operation: 39/13=3, Resulting Numbers: [2, 3] Generated Node #0,0,2: 13:[2, 3] Operation: 39/13=3 Exploring Operation: 39+2=41, Resulting Numbers: [13, 41] Generated Node #0,0,3: 13:[13, 41] Operation: 39+2=41 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 13:[2, 3], Operations: ['33-20=13', '39/13=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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,0,0 Current State: 13:[2, 26], Operations: ['33-20=13', '39-13=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[33, 39, 2, 20], Operations: [] Exploring Operation: 33-20=13, Resulting Numbers: [39, 2, 13] Generated Node #0,0: 13:[39, 2, 13] Operation: 33-20=13 Moving to Node #0,0 Current State: 13:[39, 2, 13], Operations: ['33-20=13'] Exploring Operation: 39-13=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 13:[2, 26] Operation: 39-13=26 Moving to Node #0,0,0 Current State: 13:[2, 26], Operations: ['33-20=13', '39-13=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 40, 98, 3, 34 ]
96
[ "40-34=6", "6/3=2", "98-2=96" ]
Current State: 96:[40, 98, 3, 34], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [98, 3, 6] Generated Node #2: [98, 3, 6] from Operation: 40-34=6 Current State: 96:[98, 3, 6], Operations: ['40-34=6'] Exploring Operation: 6/3=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 6/3=2 Current State: 96:[98, 2], Operations: ['40-34=6', '6/3=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[40, 98, 3, 34], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [98, 3, 6] Generated Node #0,0: 96:[98, 3, 6] Operation: 40-34=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[98, 3, 6], Operations: ['40-34=6'] Exploring Operation: 98-3=95, Resulting Numbers: [6, 95] Generated Node #0,0,0: 96:[6, 95] Operation: 98-3=95 Moving to Node #0,0,0 Current State: 96:[6, 95], Operations: ['40-34=6', '98-3=95'] Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,96 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
[ 61, 10, 68, 50 ]
67
[ "61-10=51", "68+50=118", "118-51=67" ]
Current State: 67:[61, 10, 68, 50], Operations: [] Exploring Operation: 61-10=51, Resulting Numbers: [68, 50, 51] Generated Node #2: [68, 50, 51] from Operation: 61-10=51 Current State: 67:[68, 50, 51], Operations: ['61-10=51'] Exploring Operation: 68+50=118, Resulting Numbers: [51, 118] Generated Node #3: [51, 118] from Operation: 68+50=118 Current State: 67:[51, 118], Operations: ['61-10=51', '68+50=118'] Exploring Operation: 118-51=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[61, 10, 68, 50], Operations: [] Exploring Operation: 10+50=60, Resulting Numbers: [61, 68, 60] Generated Node #0,0: 67:[61, 68, 60] Operation: 10+50=60 Moving to Node #0,0 Current State: 67:[61, 68, 60], Operations: ['10+50=60'] Exploring Operation: 61+60=121, Resulting Numbers: [68, 121] Generated Node #0,0,0: 67:[68, 121] Operation: 61+60=121 Moving to Node #0,0,0 Current State: 67:[68, 121], Operations: ['10+50=60', '61+60=121'] Exploring Operation: 121-68=53, Resulting Numbers: [53] 53,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 23, 24, 93, 22 ]
66
[ "93-24=69", "69/23=3", "22*3=66" ]
Current State: 66:[23, 24, 93, 22], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [23, 22, 69] Generated Node #2: [23, 22, 69] from Operation: 93-24=69 Current State: 66:[23, 22, 69], Operations: ['93-24=69'] Exploring Operation: 69/23=3, Resulting Numbers: [22, 3] Generated Node #3: [22, 3] from Operation: 69/23=3 Current State: 66:[22, 3], Operations: ['93-24=69', '69/23=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[23, 24, 93, 22], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [23, 22, 69] Generated Node #0,0: 66:[23, 22, 69] Operation: 93-24=69 Exploring Operation: 24-22=2, Resulting Numbers: [23, 93, 2] Generated Node #0,1: 66:[23, 93, 2] Operation: 24-22=2 Exploring Operation: 93-22=71, Resulting Numbers: [23, 24, 71] Generated Node #0,2: 66:[23, 24, 71] Operation: 93-22=71 Exploring Operation: 93-23=70, Resulting Numbers: [24, 22, 70] Generated Node #0,3: 66:[24, 22, 70] Operation: 93-23=70 Exploring Operation: 24-23=1, Resulting Numbers: [93, 22, 1] Generated Node #0,4: 66:[93, 22, 1] Operation: 24-23=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[23, 22, 69], Operations: ['93-24=69'] Exploring Operation: 69-22=47, Resulting Numbers: [23, 47] Generated Node #0,0,0: 66:[23, 47] Operation: 69-22=47 Exploring Operation: 23-22=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 66:[69, 1] Operation: 23-22=1 Exploring Operation: 69/23=3, Resulting Numbers: [22, 3] Generated Node #0,0,2: 66:[22, 3] Operation: 69/23=3 Exploring Operation: 23+22=45, Resulting Numbers: [69, 45] Generated Node #0,0,3: 66:[69, 45] Operation: 23+22=45 Exploring Operation: 69-23=46, Resulting Numbers: [22, 46] Generated Node #0,0,4: 66:[22, 46] Operation: 69-23=46 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[22, 3], Operations: ['93-24=69', '69/23=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[23, 24, 93, 22], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [23, 22, 69] Generated Node #0,0: 66:[23, 22, 69] Operation: 93-24=69 Moving to Node #0,0 Current State: 66:[23, 22, 69], Operations: ['93-24=69'] Exploring Operation: 69/23=3, Resulting Numbers: [22, 3] Generated Node #0,0,2: 66:[22, 3] Operation: 69/23=3 Moving to Node #0,0,2 Current State: 66:[22, 3], Operations: ['93-24=69', '69/23=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 47, 47, 69, 17 ]
52
[ "47-47=0", "69-17=52", "0+52=52" ]
Current State: 52:[47, 47, 69, 17], Operations: [] Exploring Operation: 47-47=0, Resulting Numbers: [69, 17, 0] Generated Node #2: [69, 17, 0] from Operation: 47-47=0 Current State: 52:[69, 17, 0], Operations: ['47-47=0'] Exploring Operation: 69-17=52, Resulting Numbers: [0, 52] Generated Node #3: [0, 52] from Operation: 69-17=52 Current State: 52:[0, 52], Operations: ['47-47=0', '69-17=52'] Exploring Operation: 0+52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[47, 47, 69, 17], Operations: [] Exploring Operation: 47-47=0, Resulting Numbers: [69, 17, 0] Generated Node #0,0: 52:[69, 17, 0] Operation: 47-47=0 Exploring Operation: 47/47=1, Resulting Numbers: [69, 17, 1] Generated Node #0,1: 52:[69, 17, 1] Operation: 47/47=1 Exploring Operation: 69-47=22, Resulting Numbers: [47, 17, 22] Generated Node #0,2: 52:[47, 17, 22] Operation: 69-47=22 Exploring Operation: 69-47=22, Resulting Numbers: [47, 17, 22] Generated Node #0,3: 52:[47, 17, 22] Operation: 69-47=22 Exploring Operation: 69-17=52, Resulting Numbers: [47, 47, 52] Generated Node #0,4: 52:[47, 47, 52] Operation: 69-17=52 Moving to Node #0,4 Current State: 52:[47, 47, 52], Operations: ['69-17=52'] Exploring Operation: 52-47=5, Resulting Numbers: [47, 5] Generated Node #0,4,0: 52:[47, 5] Operation: 52-47=5 Exploring Operation: 47/47=1, Resulting Numbers: [52, 1] Generated Node #0,4,1: 52:[52, 1] Operation: 47/47=1 Exploring Operation: 52-47=5, Resulting Numbers: [47, 5] Generated Node #0,4,2: 52:[47, 5] Operation: 52-47=5 Exploring Operation: 47-47=0, Resulting Numbers: [52, 0] Generated Node #0,4,3: 52:[52, 0] Operation: 47-47=0 Exploring Operation: 47+47=94, Resulting Numbers: [52, 94] Generated Node #0,4,4: 52:[52, 94] Operation: 47+47=94 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 52:[52, 1], Operations: ['69-17=52', '47/47=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[47, 47, 69, 17], Operations: [] Exploring Operation: 69-17=52, Resulting Numbers: [47, 47, 52] Generated Node #0,4: 52:[47, 47, 52] Operation: 69-17=52 Moving to Node #0,4 Current State: 52:[47, 47, 52], Operations: ['69-17=52'] Exploring Operation: 47/47=1, Resulting Numbers: [52, 1] Generated Node #0,4,1: 52:[52, 1] Operation: 47/47=1 Moving to Node #0,4,1 Current State: 52:[52, 1], Operations: ['69-17=52', '47/47=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 22, 14, 6, 23 ]
21
[ "22-14=8", "6+23=29", "29-8=21" ]
Current State: 21:[22, 14, 6, 23], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [6, 23, 8] Generated Node #2: [6, 23, 8] from Operation: 22-14=8 Current State: 21:[6, 23, 8], Operations: ['22-14=8'] Exploring Operation: 6+23=29, Resulting Numbers: [8, 29] Generated Node #3: [8, 29] from Operation: 6+23=29 Current State: 21:[8, 29], Operations: ['22-14=8', '6+23=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[22, 14, 6, 23], Operations: [] Exploring Operation: 23-14=9, Resulting Numbers: [22, 6, 9] Generated Node #0,0: 21:[22, 6, 9] Operation: 23-14=9 Exploring Operation: 22-14=8, Resulting Numbers: [6, 23, 8] Generated Node #0,1: 21:[6, 23, 8] Operation: 22-14=8 Exploring Operation: 14-6=8, Resulting Numbers: [22, 23, 8] Generated Node #0,2: 21:[22, 23, 8] Operation: 14-6=8 Exploring Operation: 14+6=20, Resulting Numbers: [22, 23, 20] Generated Node #0,3: 21:[22, 23, 20] Operation: 14+6=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[22, 6, 9], Operations: ['23-14=9'] Exploring Operation: 9-6=3, Resulting Numbers: [22, 3] Generated Node #0,0,0: 21:[22, 3] Operation: 9-6=3 Exploring Operation: 22-6=16, Resulting Numbers: [9, 16] Generated Node #0,0,1: 21:[9, 16] Operation: 22-6=16 Exploring Operation: 22-9=13, Resulting Numbers: [6, 13] Generated Node #0,0,2: 21:[6, 13] Operation: 22-9=13 Exploring Operation: 6+9=15, Resulting Numbers: [22, 15] Generated Node #0,0,3: 21:[22, 15] Operation: 6+9=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[22, 3], Operations: ['23-14=9', '9-6=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,21 unequal: No Solution No 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: 21:[9, 16], Operations: ['23-14=9', '22-6=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,21 unequal: No Solution No 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: 21:[6, 13], Operations: ['23-14=9', '22-9=13'] Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,21 unequal: No Solution No 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: 21:[22, 15], Operations: ['23-14=9', '6+9=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,21 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,21 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: 21:[6, 23, 8], Operations: ['22-14=8'] Exploring Operation: 6+23=29, Resulting Numbers: [8, 29] Generated Node #0,1,0: 21:[8, 29] Operation: 6+23=29 Exploring Operation: 23-8=15, Resulting Numbers: [6, 15] Generated Node #0,1,1: 21:[6, 15] Operation: 23-8=15 Exploring Operation: 23-6=17, Resulting Numbers: [8, 17] Generated Node #0,1,2: 21:[8, 17] Operation: 23-6=17 Exploring Operation: 8-6=2, Resulting Numbers: [23, 2] Generated Node #0,1,3: 21:[23, 2] Operation: 8-6=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 21:[23, 2], Operations: ['22-14=8', '8-6=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[22, 14, 6, 23], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [6, 23, 8] Generated Node #0,1: 21:[6, 23, 8] Operation: 22-14=8 Moving to Node #0,1 Current State: 21:[6, 23, 8], Operations: ['22-14=8'] Exploring Operation: 8-6=2, Resulting Numbers: [23, 2] Generated Node #0,1,3: 21:[23, 2] Operation: 8-6=2 Moving to Node #0,1,3 Current State: 21:[23, 2], Operations: ['22-14=8', '8-6=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 10, 71, 61, 58 ]
38
[ "10+71=81", "61+58=119", "119-81=38" ]
Current State: 38:[10, 71, 61, 58], Operations: [] Exploring Operation: 10+71=81, Resulting Numbers: [61, 58, 81] Generated Node #2: [61, 58, 81] from Operation: 10+71=81 Current State: 38:[61, 58, 81], Operations: ['10+71=81'] Exploring Operation: 61+58=119, Resulting Numbers: [81, 119] Generated Node #3: [81, 119] from Operation: 61+58=119 Current State: 38:[81, 119], Operations: ['10+71=81', '61+58=119'] Exploring Operation: 119-81=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[10, 71, 61, 58], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [10, 61, 13] Generated Node #0,0: 38:[10, 61, 13] Operation: 71-58=13 Exploring Operation: 71-61=10, Resulting Numbers: [10, 58, 10] Generated Node #0,1: 38:[10, 58, 10] Operation: 71-61=10 Exploring Operation: 61-58=3, Resulting Numbers: [10, 71, 3] Generated Node #0,2: 38:[10, 71, 3] Operation: 61-58=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[10, 58, 10], Operations: ['71-61=10'] Exploring Operation: 58-10=48, Resulting Numbers: [10, 48] Generated Node #0,1,0: 38:[10, 48] Operation: 58-10=48 Exploring Operation: 58-10=48, Resulting Numbers: [10, 48] Generated Node #0,1,1: 38:[10, 48] Operation: 58-10=48 Exploring Operation: 10+10=20, Resulting Numbers: [58, 20] Generated Node #0,1,2: 38:[58, 20] Operation: 10+10=20 Moving to Node #0,1,0 Current State: 38:[10, 48], Operations: ['71-61=10', '58-10=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[10, 71, 61, 58], Operations: [] Exploring Operation: 71-61=10, Resulting Numbers: [10, 58, 10] Generated Node #0,1: 38:[10, 58, 10] Operation: 71-61=10 Moving to Node #0,1 Current State: 38:[10, 58, 10], Operations: ['71-61=10'] Exploring Operation: 58-10=48, Resulting Numbers: [10, 48] Generated Node #0,1,0: 38:[10, 48] Operation: 58-10=48 Moving to Node #0,1,0 Current State: 38:[10, 48], Operations: ['71-61=10', '58-10=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 61, 76, 13, 58 ]
56
[ "76-61=15", "13+58=71", "71-15=56" ]
Current State: 56:[61, 76, 13, 58], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [13, 58, 15] Generated Node #2: [13, 58, 15] from Operation: 76-61=15 Current State: 56:[13, 58, 15], Operations: ['76-61=15'] Exploring Operation: 13+58=71, Resulting Numbers: [15, 71] Generated Node #3: [15, 71] from Operation: 13+58=71 Current State: 56:[15, 71], Operations: ['76-61=15', '13+58=71'] Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[61, 76, 13, 58], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [13, 58, 15] Generated Node #0,0: 56:[13, 58, 15] Operation: 76-61=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[13, 58, 15], Operations: ['76-61=15'] Exploring Operation: 13+15=28, Resulting Numbers: [58, 28] Generated Node #0,0,0: 56:[58, 28] Operation: 13+15=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[58, 28], Operations: ['76-61=15', '13+15=28'] Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,56 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
[ 23, 11, 32, 89 ]
26
[ "89-23=66", "66/11=6", "32-6=26" ]
Current State: 26:[23, 11, 32, 89], Operations: [] Exploring Operation: 89-23=66, Resulting Numbers: [11, 32, 66] Generated Node #2: [11, 32, 66] from Operation: 89-23=66 Current State: 26:[11, 32, 66], Operations: ['89-23=66'] Exploring Operation: 66/11=6, Resulting Numbers: [32, 6] Generated Node #3: [32, 6] from Operation: 66/11=6 Current State: 26:[32, 6], Operations: ['89-23=66', '66/11=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[23, 11, 32, 89], Operations: [] Exploring Operation: 89-23=66, Resulting Numbers: [11, 32, 66] Generated Node #0,0: 26:[11, 32, 66] Operation: 89-23=66 Exploring Operation: 89-32=57, Resulting Numbers: [23, 11, 57] Generated Node #0,1: 26:[23, 11, 57] Operation: 89-32=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[23, 11, 57], Operations: ['89-32=57'] Exploring Operation: 57-11=46, Resulting Numbers: [23, 46] Generated Node #0,1,0: 26:[23, 46] Operation: 57-11=46 Exploring Operation: 57-23=34, Resulting Numbers: [11, 34] Generated Node #0,1,1: 26:[11, 34] Operation: 57-23=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 26:[11, 34], Operations: ['89-32=57', '57-23=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[23, 46], Operations: ['89-32=57', '57-11=46'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[11, 32, 66], Operations: ['89-23=66'] Exploring Operation: 66-32=34, Resulting Numbers: [11, 34] Generated Node #0,0,0: 26:[11, 34] Operation: 66-32=34 Exploring Operation: 66/11=6, Resulting Numbers: [32, 6] Generated Node #0,0,1: 26:[32, 6] Operation: 66/11=6 Moving to Node #0,0,0 Current State: 26:[11, 34], Operations: ['89-23=66', '66-32=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[32, 6], Operations: ['89-23=66', '66/11=6'] Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[23, 11, 32, 89], Operations: [] Exploring Operation: 89-23=66, Resulting Numbers: [11, 32, 66] Generated Node #0,0: 26:[11, 32, 66] Operation: 89-23=66 Moving to Node #0,0 Current State: 26:[11, 32, 66], Operations: ['89-23=66'] Exploring Operation: 66/11=6, Resulting Numbers: [32, 6] Generated Node #0,0,1: 26:[32, 6] Operation: 66/11=6 Moving to Node #0,0,1 Current State: 26:[32, 6], Operations: ['89-23=66', '66/11=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 29, 69, 11, 46 ]
97
[ "69-29=40", "11+46=57", "40+57=97" ]
Current State: 97:[29, 69, 11, 46], Operations: [] Exploring Operation: 69-29=40, Resulting Numbers: [11, 46, 40] Generated Node #2: [11, 46, 40] from Operation: 69-29=40 Current State: 97:[11, 46, 40], Operations: ['69-29=40'] Exploring Operation: 11+46=57, Resulting Numbers: [40, 57] Generated Node #3: [40, 57] from Operation: 11+46=57 Current State: 97:[40, 57], Operations: ['69-29=40', '11+46=57'] Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[29, 69, 11, 46], Operations: [] Exploring Operation: 29+46=75, Resulting Numbers: [69, 11, 75] Generated Node #0,0: 97:[69, 11, 75] Operation: 29+46=75 Exploring Operation: 29+11=40, Resulting Numbers: [69, 46, 40] Generated Node #0,1: 97:[69, 46, 40] Operation: 29+11=40 Moving to Node #0,0 Current State: 97:[69, 11, 75], Operations: ['29+46=75'] Exploring Operation: 69+11=80, Resulting Numbers: [75, 80] Generated Node #0,0,0: 97:[75, 80] Operation: 69+11=80 Exploring Operation: 11+75=86, Resulting Numbers: [69, 86] Generated Node #0,0,1: 97:[69, 86] Operation: 11+75=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[75, 80], Operations: ['29+46=75', '69+11=80'] Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,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,0,1 Current State: 97:[69, 86], Operations: ['29+46=75', '11+75=86'] Exploring Operation: 69+86=155, Resulting Numbers: [155] 155,97 unequal: No Solution Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[69, 46, 40], Operations: ['29+11=40'] Exploring Operation: 69+40=109, Resulting Numbers: [46, 109] Generated Node #0,1,0: 97:[46, 109] Operation: 69+40=109 Exploring Operation: 46+40=86, Resulting Numbers: [69, 86] Generated Node #0,1,1: 97:[69, 86] Operation: 46+40=86 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[69, 86], Operations: ['29+11=40', '46+40=86'] Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 69+86=155, Resulting Numbers: [155] 155,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[46, 109], Operations: ['29+11=40', '69+40=109'] Exploring Operation: 46+109=155, Resulting Numbers: [155] 155,97 unequal: No Solution Exploring Operation: 109-46=63, Resulting Numbers: [63] 63,97 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
[ 74, 19, 33, 22 ]
62
[ "74+19=93", "22*93=2046", "2046/33=62" ]
Current State: 62:[74, 19, 33, 22], Operations: [] Exploring Operation: 74+19=93, Resulting Numbers: [33, 22, 93] Generated Node #2: [33, 22, 93] from Operation: 74+19=93 Current State: 62:[33, 22, 93], Operations: ['74+19=93'] Exploring Operation: 22*93=2046, Resulting Numbers: [33, 2046] Generated Node #3: [33, 2046] from Operation: 22*93=2046 Current State: 62:[33, 2046], Operations: ['74+19=93', '22*93=2046'] Exploring Operation: 2046/33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[74, 19, 33, 22], Operations: [] Exploring Operation: 74-19=55, Resulting Numbers: [33, 22, 55] Generated Node #0,0: 62:[33, 22, 55] Operation: 74-19=55 Exploring Operation: 22-19=3, Resulting Numbers: [74, 33, 3] Generated Node #0,1: 62:[74, 33, 3] Operation: 22-19=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[74, 33, 3], Operations: ['22-19=3'] Exploring Operation: 74-3=71, Resulting Numbers: [33, 71] Generated Node #0,1,0: 62:[33, 71] Operation: 74-3=71 Exploring Operation: 74-33=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 62:[3, 41] Operation: 74-33=41 Moving to Node #0,1,0 Current State: 62:[33, 71], Operations: ['22-19=3', '74-3=71'] Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[3, 41], Operations: ['22-19=3', '74-33=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,62 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[33, 22, 55], Operations: ['74-19=55'] Exploring Operation: 55-22=33, Resulting Numbers: [33, 33] Generated Node #0,0,0: 62:[33, 33] Operation: 55-22=33 Exploring Operation: 33+22=55, Resulting Numbers: [55, 55] Generated Node #0,0,1: 62:[55, 55] Operation: 33+22=55 Moving to Node #0,0,0 Current State: 62:[33, 33], Operations: ['74-19=55', '55-22=33'] Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[55, 55], Operations: ['74-19=55', '33+22=55'] Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 8, 33, 40, 72 ]
100
[ "40/8=5", "33+72=105", "105-5=100" ]
Current State: 100:[8, 33, 40, 72], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [33, 72, 5] Generated Node #2: [33, 72, 5] from Operation: 40/8=5 Current State: 100:[33, 72, 5], Operations: ['40/8=5'] Exploring Operation: 33+72=105, Resulting Numbers: [5, 105] Generated Node #3: [5, 105] from Operation: 33+72=105 Current State: 100:[5, 105], Operations: ['40/8=5', '33+72=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[8, 33, 40, 72], Operations: [] Exploring Operation: 33+72=105, Resulting Numbers: [8, 40, 105] Generated Node #0,0: 100:[8, 40, 105] Operation: 33+72=105 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[8, 40, 105], Operations: ['33+72=105'] Exploring Operation: 40/8=5, Resulting Numbers: [105, 5] Generated Node #0,0,0: 100:[105, 5] Operation: 40/8=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[105, 5], Operations: ['33+72=105', '40/8=5'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[8, 33, 40, 72], Operations: [] Exploring Operation: 33+72=105, Resulting Numbers: [8, 40, 105] Generated Node #0,0: 100:[8, 40, 105] Operation: 33+72=105 Moving to Node #0,0 Current State: 100:[8, 40, 105], Operations: ['33+72=105'] Exploring Operation: 40/8=5, Resulting Numbers: [105, 5] Generated Node #0,0,0: 100:[105, 5] Operation: 40/8=5 Moving to Node #0,0,0 Current State: 100:[105, 5], Operations: ['33+72=105', '40/8=5'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 61, 8, 52, 78 ]
79
[ "61-8=53", "78-52=26", "53+26=79" ]
Current State: 79:[61, 8, 52, 78], Operations: [] Exploring Operation: 61-8=53, Resulting Numbers: [52, 78, 53] Generated Node #2: [52, 78, 53] from Operation: 61-8=53 Current State: 79:[52, 78, 53], Operations: ['61-8=53'] Exploring Operation: 78-52=26, Resulting Numbers: [53, 26] Generated Node #3: [53, 26] from Operation: 78-52=26 Current State: 79:[53, 26], Operations: ['61-8=53', '78-52=26'] Exploring Operation: 53+26=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[61, 8, 52, 78], Operations: [] Exploring Operation: 61+8=69, Resulting Numbers: [52, 78, 69] Generated Node #0,0: 79:[52, 78, 69] Operation: 61+8=69 Moving to Node #0,0 Current State: 79:[52, 78, 69], Operations: ['61+8=69'] Exploring Operation: 52+69=121, Resulting Numbers: [78, 121] Generated Node #0,0,0: 79:[78, 121] Operation: 52+69=121 Moving to Node #0,0,0 Current State: 79:[78, 121], Operations: ['61+8=69', '52+69=121'] Exploring Operation: 121-78=43, Resulting Numbers: [43] 43,79 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 49, 54, 73, 23 ]
54
[ "73-49=24", "24-23=1", "54*1=54" ]
Current State: 54:[49, 54, 73, 23], Operations: [] Exploring Operation: 73-49=24, Resulting Numbers: [54, 23, 24] Generated Node #2: [54, 23, 24] from Operation: 73-49=24 Current State: 54:[54, 23, 24], Operations: ['73-49=24'] Exploring Operation: 24-23=1, Resulting Numbers: [54, 1] Generated Node #3: [54, 1] from Operation: 24-23=1 Current State: 54:[54, 1], Operations: ['73-49=24', '24-23=1'] Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[49, 54, 73, 23], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [73, 23, 5] Generated Node #0,0: 54:[73, 23, 5] Operation: 54-49=5 Exploring Operation: 49-23=26, Resulting Numbers: [54, 73, 26] Generated Node #0,1: 54:[54, 73, 26] Operation: 49-23=26 Exploring Operation: 73-54=19, Resulting Numbers: [49, 23, 19] Generated Node #0,2: 54:[49, 23, 19] Operation: 73-54=19 Exploring Operation: 73-23=50, Resulting Numbers: [49, 54, 50] Generated Node #0,3: 54:[49, 54, 50] Operation: 73-23=50 Exploring Operation: 73-49=24, Resulting Numbers: [54, 23, 24] Generated Node #0,4: 54:[54, 23, 24] Operation: 73-49=24 Start Sub Search at level 1: Moving to Node #0,4 Current State: 54:[54, 23, 24], Operations: ['73-49=24'] Exploring Operation: 24-23=1, Resulting Numbers: [54, 1] Generated Node #0,4,0: 54:[54, 1] Operation: 24-23=1 Exploring Operation: 54-24=30, Resulting Numbers: [23, 30] Generated Node #0,4,1: 54:[23, 30] Operation: 54-24=30 Exploring Operation: 54+23=77, Resulting Numbers: [24, 77] Generated Node #0,4,2: 54:[24, 77] Operation: 54+23=77 Exploring Operation: 23+24=47, Resulting Numbers: [54, 47] Generated Node #0,4,3: 54:[54, 47] Operation: 23+24=47 Exploring Operation: 54-23=31, Resulting Numbers: [24, 31] Generated Node #0,4,4: 54:[24, 31] Operation: 54-23=31 Moving to Node #0,4,0 Current State: 54:[54, 1], Operations: ['73-49=24', '24-23=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[49, 54, 73, 23], Operations: [] Exploring Operation: 73-49=24, Resulting Numbers: [54, 23, 24] Generated Node #0,4: 54:[54, 23, 24] Operation: 73-49=24 Moving to Node #0,4 Current State: 54:[54, 23, 24], Operations: ['73-49=24'] Exploring Operation: 24-23=1, Resulting Numbers: [54, 1] Generated Node #0,4,0: 54:[54, 1] Operation: 24-23=1 Moving to Node #0,4,0 Current State: 54:[54, 1], Operations: ['73-49=24', '24-23=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 3, 53, 37, 38 ]
78
[ "37+38=75", "75/3=25", "53+25=78" ]
Current State: 78:[3, 53, 37, 38], Operations: [] Exploring Operation: 37+38=75, Resulting Numbers: [3, 53, 75] Generated Node #2: [3, 53, 75] from Operation: 37+38=75 Current State: 78:[3, 53, 75], Operations: ['37+38=75'] Exploring Operation: 75/3=25, Resulting Numbers: [53, 25] Generated Node #3: [53, 25] from Operation: 75/3=25 Current State: 78:[53, 25], Operations: ['37+38=75', '75/3=25'] Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[3, 53, 37, 38], Operations: [] Exploring Operation: 53+37=90, Resulting Numbers: [3, 38, 90] Generated Node #0,0: 78:[3, 38, 90] Operation: 53+37=90 Exploring Operation: 53-37=16, Resulting Numbers: [3, 38, 16] Generated Node #0,1: 78:[3, 38, 16] Operation: 53-37=16 Exploring Operation: 53-38=15, Resulting Numbers: [3, 37, 15] Generated Node #0,2: 78:[3, 37, 15] Operation: 53-38=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[3, 38, 16], Operations: ['53-37=16'] Exploring Operation: 38-16=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 78:[3, 22] Operation: 38-16=22 Exploring Operation: 3+38=41, Resulting Numbers: [16, 41] Generated Node #0,1,1: 78:[16, 41] Operation: 3+38=41 Exploring Operation: 16-3=13, Resulting Numbers: [38, 13] Generated Node #0,1,2: 78:[38, 13] Operation: 16-3=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[38, 13], Operations: ['53-37=16', '16-3=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[3, 22], Operations: ['53-37=16', '38-16=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[16, 41], Operations: ['53-37=16', '3+38=41'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,78 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[3, 37, 15], Operations: ['53-38=15'] Exploring Operation: 15-3=12, Resulting Numbers: [37, 12] Generated Node #0,2,0: 78:[37, 12] Operation: 15-3=12 Exploring Operation: 15/3=5, Resulting Numbers: [37, 5] Generated Node #0,2,1: 78:[37, 5] Operation: 15/3=5 Exploring Operation: 3+37=40, Resulting Numbers: [15, 40] Generated Node #0,2,2: 78:[15, 40] Operation: 3+37=40 Moving to Node #0,2,0 Current State: 78:[37, 12], Operations: ['53-38=15', '15-3=12'] Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[37, 5], Operations: ['53-38=15', '15/3=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,78 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[15, 40], Operations: ['53-38=15', '3+37=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[3, 38, 90], Operations: ['53+37=90'] Exploring Operation: 90-3=87, Resulting Numbers: [38, 87] Generated Node #0,0,0: 78:[38, 87] Operation: 90-3=87 Exploring Operation: 90-38=52, Resulting Numbers: [3, 52] Generated Node #0,0,1: 78:[3, 52] Operation: 90-38=52 Exploring Operation: 90/3=30, Resulting Numbers: [38, 30] Generated Node #0,0,2: 78:[38, 30] Operation: 90/3=30 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[38, 30], Operations: ['53+37=90', '90/3=30'] Exploring Operation: 38*30=1140, Resulting Numbers: [1140] 1140,78 unequal: No Solution Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,78 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[38, 87], Operations: ['53+37=90', '90-3=87'] Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,78 unequal: No Solution Exploring Operation: 38*87=3306, Resulting Numbers: [3306] 3306,78 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[3, 52], Operations: ['53+37=90', '90-38=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,78 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 1, 9, 99, 3 ]
41
[ "9-1=8", "99/3=33", "8+33=41" ]
Current State: 41:[1, 9, 99, 3], Operations: [] Exploring Operation: 9-1=8, Resulting Numbers: [99, 3, 8] Generated Node #2: [99, 3, 8] from Operation: 9-1=8 Current State: 41:[99, 3, 8], Operations: ['9-1=8'] Exploring Operation: 99/3=33, Resulting Numbers: [8, 33] Generated Node #3: [8, 33] from Operation: 99/3=33 Current State: 41:[8, 33], Operations: ['9-1=8', '99/3=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[1, 9, 99, 3], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [1, 99, 27] Generated Node #0,0: 41:[1, 99, 27] Operation: 9*3=27 Exploring Operation: 99/9=11, Resulting Numbers: [1, 3, 11] Generated Node #0,1: 41:[1, 3, 11] Operation: 99/9=11 Exploring Operation: 99/3=33, Resulting Numbers: [1, 9, 33] Generated Node #0,2: 41:[1, 9, 33] Operation: 99/3=33 Moving to Node #0,2 Current State: 41:[1, 9, 33], Operations: ['99/3=33'] Exploring Operation: 1+33=34, Resulting Numbers: [9, 34] Generated Node #0,2,0: 41:[9, 34] Operation: 1+33=34 Exploring Operation: 1*9=9, Resulting Numbers: [33, 9] Generated Node #0,2,1: 41:[33, 9] Operation: 1*9=9 Exploring Operation: 1+9=10, Resulting Numbers: [33, 10] Generated Node #0,2,2: 41:[33, 10] Operation: 1+9=10 Moving to Node #0,1 Current State: 41:[1, 3, 11], Operations: ['99/9=11'] Exploring Operation: 1+11=12, Resulting Numbers: [3, 12] Generated Node #0,1,0: 41:[3, 12] Operation: 1+11=12 Exploring Operation: 1+3=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 41:[11, 4] Operation: 1+3=4 Exploring Operation: 3*11=33, Resulting Numbers: [1, 33] Generated Node #0,1,2: 41:[1, 33] Operation: 3*11=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[1, 33], Operations: ['99/9=11', '3*11=33'] Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[3, 12], Operations: ['99/9=11', '1+11=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[11, 4], Operations: ['99/9=11', '1+3=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,41 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: 41:[1, 99, 27], Operations: ['9*3=27'] Exploring Operation: 99-27=72, Resulting Numbers: [1, 72] Generated Node #0,0,0: 41:[1, 72] Operation: 99-27=72 Exploring Operation: 99-1=98, Resulting Numbers: [27, 98] Generated Node #0,0,1: 41:[27, 98] Operation: 99-1=98 Exploring Operation: 1+27=28, Resulting Numbers: [99, 28] Generated Node #0,0,2: 41:[99, 28] Operation: 1+27=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[1, 72], Operations: ['9*3=27', '99-27=72'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[27, 98], Operations: ['9*3=27', '99-1=98'] Exploring Operation: 27+98=125, Resulting Numbers: [125] 125,41 unequal: No Solution Exploring Operation: 27*98=2646, Resulting Numbers: [2646] 2646,41 unequal: No Solution Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[99, 28], Operations: ['9*3=27', '1+27=28'] Exploring Operation: 99+28=127, Resulting Numbers: [127] 127,41 unequal: No Solution Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 99*28=2772, Resulting Numbers: [2772] 2772,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 41:[9, 34], Operations: ['99/3=33', '1+33=34'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 9*34=306, Resulting Numbers: [306] 306,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[33, 10], Operations: ['99/3=33', '1+9=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,41 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[33, 9], Operations: ['99/3=33', '1*9=9'] Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,41 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,41 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 95, 87, 46, 63 ]
73
[ "95+87=182", "46+63=109", "182-109=73" ]
Current State: 73:[95, 87, 46, 63], Operations: [] Exploring Operation: 95+87=182, Resulting Numbers: [46, 63, 182] Generated Node #2: [46, 63, 182] from Operation: 95+87=182 Current State: 73:[46, 63, 182], Operations: ['95+87=182'] Exploring Operation: 46+63=109, Resulting Numbers: [182, 109] Generated Node #3: [182, 109] from Operation: 46+63=109 Current State: 73:[182, 109], Operations: ['95+87=182', '46+63=109'] Exploring Operation: 182-109=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[95, 87, 46, 63], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [87, 63, 49] Generated Node #0,0: 73:[87, 63, 49] Operation: 95-46=49 Moving to Node #0,0 Current State: 73:[87, 63, 49], Operations: ['95-46=49'] Exploring Operation: 87-49=38, Resulting Numbers: [63, 38] Generated Node #0,0,0: 73:[63, 38] Operation: 87-49=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[63, 38], Operations: ['95-46=49', '87-49=38'] Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 7, 31, 58, 37 ]
58
[ "7+31=38", "38-37=1", "58*1=58" ]
Current State: 58:[7, 31, 58, 37], Operations: [] Exploring Operation: 7+31=38, Resulting Numbers: [58, 37, 38] Generated Node #2: [58, 37, 38] from Operation: 7+31=38 Current State: 58:[58, 37, 38], Operations: ['7+31=38'] Exploring Operation: 38-37=1, Resulting Numbers: [58, 1] Generated Node #3: [58, 1] from Operation: 38-37=1 Current State: 58:[58, 1], Operations: ['7+31=38', '38-37=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[7, 31, 58, 37], Operations: [] Exploring Operation: 37-7=30, Resulting Numbers: [31, 58, 30] Generated Node #0,0: 58:[31, 58, 30] Operation: 37-7=30 Exploring Operation: 37-31=6, Resulting Numbers: [7, 58, 6] Generated Node #0,1: 58:[7, 58, 6] Operation: 37-31=6 Moving to Node #0,0 Current State: 58:[31, 58, 30], Operations: ['37-7=30'] Exploring Operation: 58-31=27, Resulting Numbers: [30, 27] Generated Node #0,0,0: 58:[30, 27] Operation: 58-31=27 Exploring Operation: 31-30=1, Resulting Numbers: [58, 1] Generated Node #0,0,1: 58:[58, 1] Operation: 31-30=1 Moving to Node #0,1 Current State: 58:[7, 58, 6], Operations: ['37-31=6'] Exploring Operation: 7-6=1, Resulting Numbers: [58, 1] Generated Node #0,1,0: 58:[58, 1] Operation: 7-6=1 Exploring Operation: 7+58=65, Resulting Numbers: [6, 65] Generated Node #0,1,1: 58:[6, 65] Operation: 7+58=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[58, 1], Operations: ['37-31=6', '7-6=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[7, 31, 58, 37], Operations: [] Exploring Operation: 37-31=6, Resulting Numbers: [7, 58, 6] Generated Node #0,1: 58:[7, 58, 6] Operation: 37-31=6 Moving to Node #0,1 Current State: 58:[7, 58, 6], Operations: ['37-31=6'] Exploring Operation: 7-6=1, Resulting Numbers: [58, 1] Generated Node #0,1,0: 58:[58, 1] Operation: 7-6=1 Moving to Node #0,1,0 Current State: 58:[58, 1], Operations: ['37-31=6', '7-6=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 86, 7, 81, 29 ]
36
[ "86+81=167", "7*29=203", "203-167=36" ]
Current State: 36:[86, 7, 81, 29], Operations: [] Exploring Operation: 86+81=167, Resulting Numbers: [7, 29, 167] Generated Node #2: [7, 29, 167] from Operation: 86+81=167 Current State: 36:[7, 29, 167], Operations: ['86+81=167'] Exploring Operation: 7*29=203, Resulting Numbers: [167, 203] Generated Node #3: [167, 203] from Operation: 7*29=203 Current State: 36:[167, 203], Operations: ['86+81=167', '7*29=203'] Exploring Operation: 203-167=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[86, 7, 81, 29], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [7, 81, 57] Generated Node #0,0: 36:[7, 81, 57] Operation: 86-29=57 Exploring Operation: 86-81=5, Resulting Numbers: [7, 29, 5] Generated Node #0,1: 36:[7, 29, 5] Operation: 86-81=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[7, 29, 5], Operations: ['86-81=5'] Exploring Operation: 29+5=34, Resulting Numbers: [7, 34] Generated Node #0,1,0: 36:[7, 34] Operation: 29+5=34 Exploring Operation: 7+29=36, Resulting Numbers: [5, 36] Generated Node #0,1,1: 36:[5, 36] Operation: 7+29=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[5, 36], Operations: ['86-81=5', '7+29=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,36 unequal: No Solution No 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: 36:[7, 34], Operations: ['86-81=5', '29+5=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,36 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: 36:[7, 81, 57], Operations: ['86-29=57'] Exploring Operation: 81-57=24, Resulting Numbers: [7, 24] Generated Node #0,0,0: 36:[7, 24] Operation: 81-57=24 Exploring Operation: 81-7=74, Resulting Numbers: [57, 74] Generated Node #0,0,1: 36:[57, 74] Operation: 81-7=74 Moving to Node #0,0,0 Current State: 36:[7, 24], Operations: ['86-29=57', '81-57=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[57, 74], Operations: ['86-29=57', '81-7=74'] Exploring Operation: 57+74=131, Resulting Numbers: [131] 131,36 unequal: No Solution Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,36 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
[ 63, 53, 70, 11 ]
18
[ "63-53=10", "70/10=7", "11+7=18" ]
Current State: 18:[63, 53, 70, 11], Operations: [] Exploring Operation: 63-53=10, Resulting Numbers: [70, 11, 10] Generated Node #2: [70, 11, 10] from Operation: 63-53=10 Current State: 18:[70, 11, 10], Operations: ['63-53=10'] Exploring Operation: 70/10=7, Resulting Numbers: [11, 7] Generated Node #3: [11, 7] from Operation: 70/10=7 Current State: 18:[11, 7], Operations: ['63-53=10', '70/10=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[63, 53, 70, 11], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [53, 11, 7] Generated Node #0,0: 18:[53, 11, 7] Operation: 70-63=7 Exploring Operation: 63-53=10, Resulting Numbers: [70, 11, 10] Generated Node #0,1: 18:[70, 11, 10] Operation: 63-53=10 Exploring Operation: 53-11=42, Resulting Numbers: [63, 70, 42] Generated Node #0,2: 18:[63, 70, 42] Operation: 53-11=42 Exploring Operation: 63-11=52, Resulting Numbers: [53, 70, 52] Generated Node #0,3: 18:[53, 70, 52] Operation: 63-11=52 Exploring Operation: 70-53=17, Resulting Numbers: [63, 11, 17] Generated Node #0,4: 18:[63, 11, 17] Operation: 70-53=17 Moving to Node #0,0 Current State: 18:[53, 11, 7], Operations: ['70-63=7'] Exploring Operation: 53-11=42, Resulting Numbers: [7, 42] Generated Node #0,0,0: 18:[7, 42] Operation: 53-11=42 Exploring Operation: 11-7=4, Resulting Numbers: [53, 4] Generated Node #0,0,1: 18:[53, 4] Operation: 11-7=4 Exploring Operation: 53+7=60, Resulting Numbers: [11, 60] Generated Node #0,0,2: 18:[11, 60] Operation: 53+7=60 Exploring Operation: 53-7=46, Resulting Numbers: [11, 46] Generated Node #0,0,3: 18:[11, 46] Operation: 53-7=46 Exploring Operation: 11+7=18, Resulting Numbers: [53, 18] Generated Node #0,0,4: 18:[53, 18] Operation: 11+7=18 Moving to Node #0,4 Current State: 18:[63, 11, 17], Operations: ['70-53=17'] Exploring Operation: 17-11=6, Resulting Numbers: [63, 6] Generated Node #0,4,0: 18:[63, 6] Operation: 17-11=6 Exploring Operation: 63+11=74, Resulting Numbers: [17, 74] Generated Node #0,4,1: 18:[17, 74] Operation: 63+11=74 Exploring Operation: 63-17=46, Resulting Numbers: [11, 46] Generated Node #0,4,2: 18:[11, 46] Operation: 63-17=46 Exploring Operation: 11+17=28, Resulting Numbers: [63, 28] Generated Node #0,4,3: 18:[63, 28] Operation: 11+17=28 Exploring Operation: 63-11=52, Resulting Numbers: [17, 52] Generated Node #0,4,4: 18:[17, 52] Operation: 63-11=52 Moving to Node #0,1 Current State: 18:[70, 11, 10], Operations: ['63-53=10'] Exploring Operation: 70-11=59, Resulting Numbers: [10, 59] Generated Node #0,1,0: 18:[10, 59] Operation: 70-11=59 Exploring Operation: 11+10=21, Resulting Numbers: [70, 21] Generated Node #0,1,1: 18:[70, 21] Operation: 11+10=21 Exploring Operation: 70-10=60, Resulting Numbers: [11, 60] Generated Node #0,1,2: 18:[11, 60] Operation: 70-10=60 Exploring Operation: 11-10=1, Resulting Numbers: [70, 1] Generated Node #0,1,3: 18:[70, 1] Operation: 11-10=1 Exploring Operation: 70/10=7, Resulting Numbers: [11, 7] Generated Node #0,1,4: 18:[11, 7] Operation: 70/10=7 Moving to Node #0,2 Current State: 18:[63, 70, 42], Operations: ['53-11=42'] Exploring Operation: 63-42=21, Resulting Numbers: [70, 21] Generated Node #0,2,0: 18:[70, 21] Operation: 63-42=21 Exploring Operation: 63+70=133, Resulting Numbers: [42, 133] Generated Node #0,2,1: 18:[42, 133] Operation: 63+70=133 Exploring Operation: 63+42=105, Resulting Numbers: [70, 105] Generated Node #0,2,2: 18:[70, 105] Operation: 63+42=105 Exploring Operation: 70-42=28, Resulting Numbers: [63, 28] Generated Node #0,2,3: 18:[63, 28] Operation: 70-42=28 Exploring Operation: 70-63=7, Resulting Numbers: [42, 7] Generated Node #0,2,4: 18:[42, 7] Operation: 70-63=7 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[42, 7], Operations: ['53-11=42', '70-63=7'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,18 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[70, 21], Operations: ['53-11=42', '63-42=21'] Exploring Operation: 70*21=1470, Resulting Numbers: [1470] 1470,18 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 70+21=91, Resulting Numbers: [91] 91,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[63, 28], Operations: ['53-11=42', '70-42=28'] Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,18 unequal: No Solution Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[42, 133], Operations: ['53-11=42', '63+70=133'] Exploring Operation: 133-42=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 42*133=5586, Resulting Numbers: [5586] 5586,18 unequal: No Solution Exploring Operation: 42+133=175, Resulting Numbers: [175] 175,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[70, 105], Operations: ['53-11=42', '63+42=105'] Exploring Operation: 70+105=175, Resulting Numbers: [175] 175,18 unequal: No Solution Exploring Operation: 105-70=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 70*105=7350, Resulting Numbers: [7350] 7350,18 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: 18:[53, 70, 52], Operations: ['63-11=52'] Exploring Operation: 70-52=18, Resulting Numbers: [53, 18] Generated Node #0,3,0: 18:[53, 18] Operation: 70-52=18 Exploring Operation: 53+70=123, Resulting Numbers: [52, 123] Generated Node #0,3,1: 18:[52, 123] Operation: 53+70=123 Exploring Operation: 53-52=1, Resulting Numbers: [70, 1] Generated Node #0,3,2: 18:[70, 1] Operation: 53-52=1 Exploring Operation: 70-53=17, Resulting Numbers: [52, 17] Generated Node #0,3,3: 18:[52, 17] Operation: 70-53=17 Exploring Operation: 53+52=105, Resulting Numbers: [70, 105] Generated Node #0,3,4: 18:[70, 105] Operation: 53+52=105 Moving to Node #0,1,4 Current State: 18:[11, 7], Operations: ['63-53=10', '70/10=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[63, 53, 70, 11], Operations: [] Exploring Operation: 63-53=10, Resulting Numbers: [70, 11, 10] Generated Node #0,1: 18:[70, 11, 10] Operation: 63-53=10 Moving to Node #0,1 Current State: 18:[70, 11, 10], Operations: ['63-53=10'] Exploring Operation: 70/10=7, Resulting Numbers: [11, 7] Generated Node #0,1,4: 18:[11, 7] Operation: 70/10=7 Moving to Node #0,1,4 Current State: 18:[11, 7], Operations: ['63-53=10', '70/10=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.955729
hs_5
mult_heuristic
[ 63, 10, 52, 34 ]
35
[ "63*10=630", "52-34=18", "630/18=35" ]
Current State: 35:[63, 10, 52, 34], Operations: [] Exploring Operation: 63*10=630, Resulting Numbers: [52, 34, 630] Generated Node #2: [52, 34, 630] from Operation: 63*10=630 Current State: 35:[52, 34, 630], Operations: ['63*10=630'] Exploring Operation: 52-34=18, Resulting Numbers: [630, 18] Generated Node #3: [630, 18] from Operation: 52-34=18 Current State: 35:[630, 18], Operations: ['63*10=630', '52-34=18'] Exploring Operation: 630/18=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[63, 10, 52, 34], Operations: [] Exploring Operation: 63-52=11, Resulting Numbers: [10, 34, 11] Generated Node #0,0: 35:[10, 34, 11] Operation: 63-52=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[10, 34, 11], Operations: ['63-52=11'] Exploring Operation: 11-10=1, Resulting Numbers: [34, 1] Generated Node #0,0,0: 35:[34, 1] Operation: 11-10=1 Moving to Node #0,0,0 Current State: 35:[34, 1], Operations: ['63-52=11', '11-10=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[63, 10, 52, 34], Operations: [] Exploring Operation: 63-52=11, Resulting Numbers: [10, 34, 11] Generated Node #0,0: 35:[10, 34, 11] Operation: 63-52=11 Moving to Node #0,0 Current State: 35:[10, 34, 11], Operations: ['63-52=11'] Exploring Operation: 11-10=1, Resulting Numbers: [34, 1] Generated Node #0,0,0: 35:[34, 1] Operation: 11-10=1 Moving to Node #0,0,0 Current State: 35:[34, 1], Operations: ['63-52=11', '11-10=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 4, 37, 26, 83 ]
16
[ "4+37=41", "83-26=57", "57-41=16" ]
Current State: 16:[4, 37, 26, 83], Operations: [] Exploring Operation: 4+37=41, Resulting Numbers: [26, 83, 41] Generated Node #2: [26, 83, 41] from Operation: 4+37=41 Current State: 16:[26, 83, 41], Operations: ['4+37=41'] Exploring Operation: 83-26=57, Resulting Numbers: [41, 57] Generated Node #3: [41, 57] from Operation: 83-26=57 Current State: 16:[41, 57], Operations: ['4+37=41', '83-26=57'] Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[4, 37, 26, 83], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [4, 26, 46] Generated Node #0,0: 16:[4, 26, 46] Operation: 83-37=46 Exploring Operation: 37-26=11, Resulting Numbers: [4, 83, 11] Generated Node #0,1: 16:[4, 83, 11] Operation: 37-26=11 Exploring Operation: 83-26=57, Resulting Numbers: [4, 37, 57] Generated Node #0,2: 16:[4, 37, 57] Operation: 83-26=57 Moving to Node #0,0 Current State: 16:[4, 26, 46], Operations: ['83-37=46'] Exploring Operation: 46-26=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 16:[4, 20] Operation: 46-26=20 Exploring Operation: 46-4=42, Resulting Numbers: [26, 42] Generated Node #0,0,1: 16:[26, 42] Operation: 46-4=42 Exploring Operation: 26-4=22, Resulting Numbers: [46, 22] Generated Node #0,0,2: 16:[46, 22] Operation: 26-4=22 Moving to Node #0,2 Current State: 16:[4, 37, 57], Operations: ['83-26=57'] Exploring Operation: 37-4=33, Resulting Numbers: [57, 33] Generated Node #0,2,0: 16:[57, 33] Operation: 37-4=33 Exploring Operation: 57-4=53, Resulting Numbers: [37, 53] Generated Node #0,2,1: 16:[37, 53] Operation: 57-4=53 Exploring Operation: 57-37=20, Resulting Numbers: [4, 20] Generated Node #0,2,2: 16:[4, 20] Operation: 57-37=20 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[4, 20], Operations: ['83-26=57', '57-37=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[4, 37, 26, 83], Operations: [] Exploring Operation: 83-26=57, Resulting Numbers: [4, 37, 57] Generated Node #0,2: 16:[4, 37, 57] Operation: 83-26=57 Moving to Node #0,2 Current State: 16:[4, 37, 57], Operations: ['83-26=57'] Exploring Operation: 57-37=20, Resulting Numbers: [4, 20] Generated Node #0,2,2: 16:[4, 20] Operation: 57-37=20 Moving to Node #0,2,2 Current State: 16:[4, 20], Operations: ['83-26=57', '57-37=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 15, 78, 35, 37 ]
10
[ "78+35=113", "37+113=150", "150/15=10" ]
Current State: 10:[15, 78, 35, 37], Operations: [] Exploring Operation: 78+35=113, Resulting Numbers: [15, 37, 113] Generated Node #2: [15, 37, 113] from Operation: 78+35=113 Current State: 10:[15, 37, 113], Operations: ['78+35=113'] Exploring Operation: 37+113=150, Resulting Numbers: [15, 150] Generated Node #3: [15, 150] from Operation: 37+113=150 Current State: 10:[15, 150], Operations: ['78+35=113', '37+113=150'] Exploring Operation: 150/15=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 78, 35, 37], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [15, 37, 43] Generated Node #0,0: 10:[15, 37, 43] Operation: 78-35=43 Exploring Operation: 78-15=63, Resulting Numbers: [35, 37, 63] Generated Node #0,1: 10:[35, 37, 63] Operation: 78-15=63 Exploring Operation: 37-35=2, Resulting Numbers: [15, 78, 2] Generated Node #0,2: 10:[15, 78, 2] Operation: 37-35=2 Exploring Operation: 78-37=41, Resulting Numbers: [15, 35, 41] Generated Node #0,3: 10:[15, 35, 41] Operation: 78-37=41 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[15, 35, 41], Operations: ['78-37=41'] Exploring Operation: 41-35=6, Resulting Numbers: [15, 6] Generated Node #0,3,0: 10:[15, 6] Operation: 41-35=6 Exploring Operation: 15+35=50, Resulting Numbers: [41, 50] Generated Node #0,3,1: 10:[41, 50] Operation: 15+35=50 Exploring Operation: 35-15=20, Resulting Numbers: [41, 20] Generated Node #0,3,2: 10:[41, 20] Operation: 35-15=20 Exploring Operation: 41-15=26, Resulting Numbers: [35, 26] Generated Node #0,3,3: 10:[35, 26] Operation: 41-15=26 Moving to Node #0,3,0 Current State: 10:[15, 6], Operations: ['78-37=41', '41-35=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[35, 26], Operations: ['78-37=41', '41-15=26'] Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,10 unequal: No Solution Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[41, 20], Operations: ['78-37=41', '35-15=20'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[41, 50], Operations: ['78-37=41', '15+35=50'] Exploring Operation: 41+50=91, Resulting Numbers: [91] 91,10 unequal: No Solution Exploring Operation: 41*50=2050, Resulting Numbers: [2050] 2050,10 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[15, 37, 43], Operations: ['78-35=43'] Exploring Operation: 15+37=52, Resulting Numbers: [43, 52] Generated Node #0,0,0: 10:[43, 52] Operation: 15+37=52 Exploring Operation: 43-15=28, Resulting Numbers: [37, 28] Generated Node #0,0,1: 10:[37, 28] Operation: 43-15=28 Exploring Operation: 37-15=22, Resulting Numbers: [43, 22] Generated Node #0,0,2: 10:[43, 22] Operation: 37-15=22 Exploring Operation: 43-37=6, Resulting Numbers: [15, 6] Generated Node #0,0,3: 10:[15, 6] Operation: 43-37=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[15, 6], Operations: ['78-35=43', '43-37=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,10 unequal: No Solution No 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: 10:[37, 28], Operations: ['78-35=43', '43-15=28'] Exploring Operation: 37*28=1036, Resulting Numbers: [1036] 1036,10 unequal: No Solution Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,10 unequal: No Solution No 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: 10:[43, 22], Operations: ['78-35=43', '37-15=22'] Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,10 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,10 unequal: No Solution No 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: 10:[43, 52], Operations: ['78-35=43', '15+37=52'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,10 unequal: No Solution Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,10 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: 10:[15, 78, 2], Operations: ['37-35=2'] Exploring Operation: 78-2=76, Resulting Numbers: [15, 76] Generated Node #0,2,0: 10:[15, 76] Operation: 78-2=76 Exploring Operation: 78/2=39, Resulting Numbers: [15, 39] Generated Node #0,2,1: 10:[15, 39] Operation: 78/2=39 Exploring Operation: 78-15=63, Resulting Numbers: [2, 63] Generated Node #0,2,2: 10:[2, 63] Operation: 78-15=63 Exploring Operation: 15-2=13, Resulting Numbers: [78, 13] Generated Node #0,2,3: 10:[78, 13] Operation: 15-2=13 Moving to Node #0,2,1 Current State: 10:[15, 39], Operations: ['37-35=2', '78/2=39'] Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,10 unequal: No Solution Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[2, 63], Operations: ['37-35=2', '78-15=63'] Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,10 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[78, 13], Operations: ['37-35=2', '15-2=13'] Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,10 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 78*13=1014, Resulting Numbers: [1014] 1014,10 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[15, 76], Operations: ['37-35=2', '78-2=76'] Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,10 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[35, 37, 63], Operations: ['78-15=63'] Exploring Operation: 37-35=2, Resulting Numbers: [63, 2] Generated Node #0,1,0: 10:[63, 2] Operation: 37-35=2 Exploring Operation: 35+37=72, Resulting Numbers: [63, 72] Generated Node #0,1,1: 10:[63, 72] Operation: 35+37=72 Exploring Operation: 63-37=26, Resulting Numbers: [35, 26] Generated Node #0,1,2: 10:[35, 26] Operation: 63-37=26 Exploring Operation: 63-35=28, Resulting Numbers: [37, 28] Generated Node #0,1,3: 10:[37, 28] Operation: 63-35=28 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[35, 26], Operations: ['78-15=63', '63-37=26'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,10 unequal: No Solution Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,10 unequal: No Solution No 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: 10:[37, 28], Operations: ['78-15=63', '63-35=28'] Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 37*28=1036, Resulting Numbers: [1036] 1036,10 unequal: No Solution No 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: 10:[63, 2], Operations: ['78-15=63', '37-35=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,10 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,10 unequal: No Solution No 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: 10:[63, 72], Operations: ['78-15=63', '35+37=72'] Exploring Operation: 63*72=4536, Resulting Numbers: [4536] 4536,10 unequal: No Solution Exploring Operation: 63+72=135, Resulting Numbers: [135] 135,10 unequal: No Solution Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,10 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
[ 90, 70, 80, 59 ]
52
[ "90-80=10", "70/10=7", "59-7=52" ]
Current State: 52:[90, 70, 80, 59], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [70, 59, 10] Generated Node #2: [70, 59, 10] from Operation: 90-80=10 Current State: 52:[70, 59, 10], Operations: ['90-80=10'] Exploring Operation: 70/10=7, Resulting Numbers: [59, 7] Generated Node #3: [59, 7] from Operation: 70/10=7 Current State: 52:[59, 7], Operations: ['90-80=10', '70/10=7'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[90, 70, 80, 59], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [70, 59, 10] Generated Node #0,0: 52:[70, 59, 10] Operation: 90-80=10 Moving to Node #0,0 Current State: 52:[70, 59, 10], Operations: ['90-80=10'] Exploring Operation: 70-59=11, Resulting Numbers: [10, 11] Generated Node #0,0,0: 52:[10, 11] Operation: 70-59=11 Moving to Node #0,0,0 Current State: 52:[10, 11], Operations: ['90-80=10', '70-59=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 83, 82, 68, 30 ]
67
[ "83+82=165", "68+30=98", "165-98=67" ]
Current State: 67:[83, 82, 68, 30], Operations: [] Exploring Operation: 83+82=165, Resulting Numbers: [68, 30, 165] Generated Node #2: [68, 30, 165] from Operation: 83+82=165 Current State: 67:[68, 30, 165], Operations: ['83+82=165'] Exploring Operation: 68+30=98, Resulting Numbers: [165, 98] Generated Node #3: [165, 98] from Operation: 68+30=98 Current State: 67:[165, 98], Operations: ['83+82=165', '68+30=98'] Exploring Operation: 165-98=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[83, 82, 68, 30], Operations: [] Exploring Operation: 83-30=53, Resulting Numbers: [82, 68, 53] Generated Node #0,0: 67:[82, 68, 53] Operation: 83-30=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[82, 68, 53], Operations: ['83-30=53'] Exploring Operation: 82-53=29, Resulting Numbers: [68, 29] Generated Node #0,0,0: 67:[68, 29] Operation: 82-53=29 Moving to Node #0,0,0 Current State: 67:[68, 29], Operations: ['83-30=53', '82-53=29'] Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,67 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
[ 29, 12, 96, 15 ]
55
[ "29+96=125", "12*15=180", "180-125=55" ]
Current State: 55:[29, 12, 96, 15], Operations: [] Exploring Operation: 29+96=125, Resulting Numbers: [12, 15, 125] Generated Node #2: [12, 15, 125] from Operation: 29+96=125 Current State: 55:[12, 15, 125], Operations: ['29+96=125'] Exploring Operation: 12*15=180, Resulting Numbers: [125, 180] Generated Node #3: [125, 180] from Operation: 12*15=180 Current State: 55:[125, 180], Operations: ['29+96=125', '12*15=180'] Exploring Operation: 180-125=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[29, 12, 96, 15], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [29, 15, 8] Generated Node #0,0: 55:[29, 15, 8] Operation: 96/12=8 Exploring Operation: 96-29=67, Resulting Numbers: [12, 15, 67] Generated Node #0,1: 55:[12, 15, 67] Operation: 96-29=67 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[12, 15, 67], Operations: ['96-29=67'] Exploring Operation: 67-15=52, Resulting Numbers: [12, 52] Generated Node #0,1,0: 55:[12, 52] Operation: 67-15=52 Exploring Operation: 67-12=55, Resulting Numbers: [15, 55] Generated Node #0,1,1: 55:[15, 55] Operation: 67-12=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[12, 52], Operations: ['96-29=67', '67-15=52'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,55 unequal: No Solution No 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: 55:[15, 55], Operations: ['96-29=67', '67-12=55'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,55 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: 55:[29, 15, 8], Operations: ['96/12=8'] Exploring Operation: 29+15=44, Resulting Numbers: [8, 44] Generated Node #0,0,0: 55:[8, 44] Operation: 29+15=44 Exploring Operation: 29-15=14, Resulting Numbers: [8, 14] Generated Node #0,0,1: 55:[8, 14] Operation: 29-15=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[8, 14], Operations: ['96/12=8', '29-15=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,55 unequal: No Solution No 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: 55:[8, 44], Operations: ['96/12=8', '29+15=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 9, 17, 24, 85 ]
69
[ "17-9=8", "85-24=61", "8+61=69" ]
Current State: 69:[9, 17, 24, 85], Operations: [] Exploring Operation: 17-9=8, Resulting Numbers: [24, 85, 8] Generated Node #2: [24, 85, 8] from Operation: 17-9=8 Current State: 69:[24, 85, 8], Operations: ['17-9=8'] Exploring Operation: 85-24=61, Resulting Numbers: [8, 61] Generated Node #3: [8, 61] from Operation: 85-24=61 Current State: 69:[8, 61], Operations: ['17-9=8', '85-24=61'] Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[9, 17, 24, 85], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [9, 24, 5] Generated Node #0,0: 69:[9, 24, 5] Operation: 85/17=5 Exploring Operation: 85-17=68, Resulting Numbers: [9, 24, 68] Generated Node #0,1: 69:[9, 24, 68] Operation: 85-17=68 Exploring Operation: 85-9=76, Resulting Numbers: [17, 24, 76] Generated Node #0,2: 69:[17, 24, 76] Operation: 85-9=76 Moving to Node #0,1 Current State: 69:[9, 24, 68], Operations: ['85-17=68'] Exploring Operation: 24-9=15, Resulting Numbers: [68, 15] Generated Node #0,1,0: 69:[68, 15] Operation: 24-9=15 Exploring Operation: 9+24=33, Resulting Numbers: [68, 33] Generated Node #0,1,1: 69:[68, 33] Operation: 9+24=33 Exploring Operation: 9+68=77, Resulting Numbers: [24, 77] Generated Node #0,1,2: 69:[24, 77] Operation: 9+68=77 Moving to Node #0,0 Current State: 69:[9, 24, 5], Operations: ['85/17=5'] Exploring Operation: 24-9=15, Resulting Numbers: [5, 15] Generated Node #0,0,0: 69:[5, 15] Operation: 24-9=15 Exploring Operation: 9+5=14, Resulting Numbers: [24, 14] Generated Node #0,0,1: 69:[24, 14] Operation: 9+5=14 Exploring Operation: 9-5=4, Resulting Numbers: [24, 4] Generated Node #0,0,2: 69:[24, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[24, 4], Operations: ['85/17=5', '9-5=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[5, 15], Operations: ['85/17=5', '24-9=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,69 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[24, 14], Operations: ['85/17=5', '9+5=14'] Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,69 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 69:[17, 24, 76], Operations: ['85-9=76'] Exploring Operation: 24-17=7, Resulting Numbers: [76, 7] Generated Node #0,2,0: 69:[76, 7] Operation: 24-17=7 Exploring Operation: 76-17=59, Resulting Numbers: [24, 59] Generated Node #0,2,1: 69:[24, 59] Operation: 76-17=59 Exploring Operation: 76-24=52, Resulting Numbers: [17, 52] Generated Node #0,2,2: 69:[17, 52] Operation: 76-24=52 Moving to Node #0,1,0 Current State: 69:[68, 15], Operations: ['85-17=68', '24-9=15'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[24, 77], Operations: ['85-17=68', '9+68=77'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 24+77=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[68, 33], Operations: ['85-17=68', '9+24=33'] Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,69 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[24, 59], Operations: ['85-9=76', '76-17=59'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,69 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[76, 7], Operations: ['85-9=76', '24-17=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[9, 17, 24, 85], Operations: [] Exploring Operation: 85-9=76, Resulting Numbers: [17, 24, 76] Generated Node #0,2: 69:[17, 24, 76] Operation: 85-9=76 Moving to Node #0,2 Current State: 69:[17, 24, 76], Operations: ['85-9=76'] Exploring Operation: 24-17=7, Resulting Numbers: [76, 7] Generated Node #0,2,0: 69:[76, 7] Operation: 24-17=7 Moving to Node #0,2,0 Current State: 69:[76, 7], Operations: ['85-9=76', '24-17=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 84, 21, 70, 50 ]
69
[ "21*50=1050", "1050/70=15", "84-15=69" ]
Current State: 69:[84, 21, 70, 50], Operations: [] Exploring Operation: 21*50=1050, Resulting Numbers: [84, 70, 1050] Generated Node #2: [84, 70, 1050] from Operation: 21*50=1050 Current State: 69:[84, 70, 1050], Operations: ['21*50=1050'] Exploring Operation: 1050/70=15, Resulting Numbers: [84, 15] Generated Node #3: [84, 15] from Operation: 1050/70=15 Current State: 69:[84, 15], Operations: ['21*50=1050', '1050/70=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[84, 21, 70, 50], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [21, 70, 34] Generated Node #0,0: 69:[21, 70, 34] Operation: 84-50=34 Moving to Node #0,0 Current State: 69:[21, 70, 34], Operations: ['84-50=34'] Exploring Operation: 34-21=13, Resulting Numbers: [70, 13] Generated Node #0,0,0: 69:[70, 13] Operation: 34-21=13 Moving to Node #0,0,0 Current State: 69:[70, 13], Operations: ['84-50=34', '34-21=13'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,69 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 5, 9, 90, 92 ]
16
[ "5+9=14", "92-90=2", "14+2=16" ]
Current State: 16:[5, 9, 90, 92], Operations: [] Exploring Operation: 5+9=14, Resulting Numbers: [90, 92, 14] Generated Node #2: [90, 92, 14] from Operation: 5+9=14 Current State: 16:[90, 92, 14], Operations: ['5+9=14'] Exploring Operation: 92-90=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 92-90=2 Current State: 16:[14, 2], Operations: ['5+9=14', '92-90=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 9, 90, 92], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [5, 92, 10] Generated Node #0,0: 16:[5, 92, 10] Operation: 90/9=10 Exploring Operation: 92-9=83, Resulting Numbers: [5, 90, 83] Generated Node #0,1: 16:[5, 90, 83] Operation: 92-9=83 Exploring Operation: 90-9=81, Resulting Numbers: [5, 92, 81] Generated Node #0,2: 16:[5, 92, 81] Operation: 90-9=81 Exploring Operation: 90/5=18, Resulting Numbers: [9, 92, 18] Generated Node #0,3: 16:[9, 92, 18] Operation: 90/5=18 Exploring Operation: 92-90=2, Resulting Numbers: [5, 9, 2] Generated Node #0,4: 16:[5, 9, 2] Operation: 92-90=2 Moving to Node #0,4 Current State: 16:[5, 9, 2], Operations: ['92-90=2'] Exploring Operation: 9-2=7, Resulting Numbers: [5, 7] Generated Node #0,4,0: 16:[5, 7] Operation: 9-2=7 Exploring Operation: 5+2=7, Resulting Numbers: [9, 7] Generated Node #0,4,1: 16:[9, 7] Operation: 5+2=7 Exploring Operation: 5+9=14, Resulting Numbers: [2, 14] Generated Node #0,4,2: 16:[2, 14] Operation: 5+9=14 Exploring Operation: 5-2=3, Resulting Numbers: [9, 3] Generated Node #0,4,3: 16:[9, 3] Operation: 5-2=3 Exploring Operation: 9-5=4, Resulting Numbers: [2, 4] Generated Node #0,4,4: 16:[2, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 16:[2, 4], Operations: ['92-90=2', '9-5=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,16 unequal: No Solution No 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: 16:[5, 7], Operations: ['92-90=2', '9-2=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 16:[9, 7], Operations: ['92-90=2', '5+2=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[5, 9, 90, 92], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [5, 9, 2] Generated Node #0,4: 16:[5, 9, 2] Operation: 92-90=2 Moving to Node #0,4 Current State: 16:[5, 9, 2], Operations: ['92-90=2'] Exploring Operation: 5+2=7, Resulting Numbers: [9, 7] Generated Node #0,4,1: 16:[9, 7] Operation: 5+2=7 Moving to Node #0,4,1 Current State: 16:[9, 7], Operations: ['92-90=2', '5+2=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
sum_heuristic
[ 11, 41, 37, 54 ]
13
[ "41-11=30", "54-37=17", "30-17=13" ]
Current State: 13:[11, 41, 37, 54], Operations: [] Exploring Operation: 41-11=30, Resulting Numbers: [37, 54, 30] Generated Node #2: [37, 54, 30] from Operation: 41-11=30 Current State: 13:[37, 54, 30], Operations: ['41-11=30'] Exploring Operation: 54-37=17, Resulting Numbers: [30, 17] Generated Node #3: [30, 17] from Operation: 54-37=17 Current State: 13:[30, 17], Operations: ['41-11=30', '54-37=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[11, 41, 37, 54], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [11, 37, 13] Generated Node #0,0: 13:[11, 37, 13] Operation: 54-41=13 Exploring Operation: 54-37=17, Resulting Numbers: [11, 41, 17] Generated Node #0,1: 13:[11, 41, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[11, 37, 13], Operations: ['54-41=13'] Exploring Operation: 37-13=24, Resulting Numbers: [11, 24] Generated Node #0,0,0: 13:[11, 24] Operation: 37-13=24 Exploring Operation: 37-11=26, Resulting Numbers: [13, 26] Generated Node #0,0,1: 13:[13, 26] Operation: 37-11=26 Moving to Node #0,0,0 Current State: 13:[11, 24], Operations: ['54-41=13', '37-13=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[11, 41, 37, 54], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [11, 37, 13] Generated Node #0,0: 13:[11, 37, 13] Operation: 54-41=13 Moving to Node #0,0 Current State: 13:[11, 37, 13], Operations: ['54-41=13'] Exploring Operation: 37-13=24, Resulting Numbers: [11, 24] Generated Node #0,0,0: 13:[11, 24] Operation: 37-13=24 Moving to Node #0,0,0 Current State: 13:[11, 24], Operations: ['54-41=13', '37-13=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 5, 74, 44, 81 ]
88
[ "5+74=79", "81-79=2", "44*2=88" ]
Current State: 88:[5, 74, 44, 81], Operations: [] Exploring Operation: 5+74=79, Resulting Numbers: [44, 81, 79] Generated Node #2: [44, 81, 79] from Operation: 5+74=79 Current State: 88:[44, 81, 79], Operations: ['5+74=79'] Exploring Operation: 81-79=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 81-79=2 Current State: 88:[44, 2], Operations: ['5+74=79', '81-79=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[5, 74, 44, 81], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [5, 44, 7] Generated Node #0,0: 88:[5, 44, 7] Operation: 81-74=7 Exploring Operation: 81-44=37, Resulting Numbers: [5, 74, 37] Generated Node #0,1: 88:[5, 74, 37] Operation: 81-44=37 Exploring Operation: 5+81=86, Resulting Numbers: [74, 44, 86] Generated Node #0,2: 88:[74, 44, 86] Operation: 5+81=86 Exploring Operation: 74-44=30, Resulting Numbers: [5, 81, 30] Generated Node #0,3: 88:[5, 81, 30] Operation: 74-44=30 Exploring Operation: 5+74=79, Resulting Numbers: [44, 81, 79] Generated Node #0,4: 88:[44, 81, 79] Operation: 5+74=79 Moving to Node #0,0 Current State: 88:[5, 44, 7], Operations: ['81-74=7'] Exploring Operation: 5+7=12, Resulting Numbers: [44, 12] Generated Node #0,0,0: 88:[44, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [44, 2] Generated Node #0,0,1: 88:[44, 2] Operation: 7-5=2 Exploring Operation: 5+44=49, Resulting Numbers: [7, 49] Generated Node #0,0,2: 88:[7, 49] Operation: 5+44=49 Exploring Operation: 44-5=39, Resulting Numbers: [7, 39] Generated Node #0,0,3: 88:[7, 39] Operation: 44-5=39 Exploring Operation: 44+7=51, Resulting Numbers: [5, 51] Generated Node #0,0,4: 88:[5, 51] Operation: 44+7=51 Moving to Node #0,3 Current State: 88:[5, 81, 30], Operations: ['74-44=30'] Exploring Operation: 5+30=35, Resulting Numbers: [81, 35] Generated Node #0,3,0: 88:[81, 35] Operation: 5+30=35 Exploring Operation: 81-30=51, Resulting Numbers: [5, 51] Generated Node #0,3,1: 88:[5, 51] Operation: 81-30=51 Exploring Operation: 5+81=86, Resulting Numbers: [30, 86] Generated Node #0,3,2: 88:[30, 86] Operation: 5+81=86 Exploring Operation: 30/5=6, Resulting Numbers: [81, 6] Generated Node #0,3,3: 88:[81, 6] Operation: 30/5=6 Exploring Operation: 30-5=25, Resulting Numbers: [81, 25] Generated Node #0,3,4: 88:[81, 25] Operation: 30-5=25 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[5, 51], Operations: ['74-44=30', '81-30=51'] Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,88 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[81, 6], Operations: ['74-44=30', '30/5=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,88 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[30, 86], Operations: ['74-44=30', '5+81=86'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 30*86=2580, Resulting Numbers: [2580] 2580,88 unequal: No Solution Exploring Operation: 30+86=116, Resulting Numbers: [116] 116,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 88:[81, 25], Operations: ['74-44=30', '30-5=25'] Exploring Operation: 81*25=2025, Resulting Numbers: [2025] 2025,88 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 81+25=106, Resulting Numbers: [106] 106,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[81, 35], Operations: ['74-44=30', '5+30=35'] Exploring Operation: 81+35=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 81*35=2835, Resulting Numbers: [2835] 2835,88 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: 88:[74, 44, 86], Operations: ['5+81=86'] Exploring Operation: 44+86=130, Resulting Numbers: [74, 130] Generated Node #0,2,0: 88:[74, 130] Operation: 44+86=130 Exploring Operation: 74-44=30, Resulting Numbers: [86, 30] Generated Node #0,2,1: 88:[86, 30] Operation: 74-44=30 Exploring Operation: 74+44=118, Resulting Numbers: [86, 118] Generated Node #0,2,2: 88:[86, 118] Operation: 74+44=118 Exploring Operation: 86-44=42, Resulting Numbers: [74, 42] Generated Node #0,2,3: 88:[74, 42] Operation: 86-44=42 Exploring Operation: 86-74=12, Resulting Numbers: [44, 12] Generated Node #0,2,4: 88:[44, 12] Operation: 86-74=12 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 88:[44, 12], Operations: ['5+81=86', '86-74=12'] Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,88 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,88 unequal: No Solution Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[86, 30], Operations: ['5+81=86', '74-44=30'] Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 86*30=2580, Resulting Numbers: [2580] 2580,88 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[74, 42], Operations: ['5+81=86', '86-44=42'] Exploring Operation: 74+42=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,88 unequal: No Solution Exploring Operation: 74*42=3108, Resulting Numbers: [3108] 3108,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[86, 118], Operations: ['5+81=86', '74+44=118'] Exploring Operation: 118-86=32, Resulting Numbers: [32] 32,88 unequal: No Solution Exploring Operation: 86+118=204, Resulting Numbers: [204] 204,88 unequal: No Solution Exploring Operation: 86*118=10148, Resulting Numbers: [10148] 10148,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[74, 130], Operations: ['5+81=86', '44+86=130'] Exploring Operation: 74+130=204, Resulting Numbers: [204] 204,88 unequal: No Solution Exploring Operation: 130-74=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 74*130=9620, Resulting Numbers: [9620] 9620,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 88:[44, 81, 79], Operations: ['5+74=79'] Exploring Operation: 44+79=123, Resulting Numbers: [81, 123] Generated Node #0,4,0: 88:[81, 123] Operation: 44+79=123 Exploring Operation: 81-79=2, Resulting Numbers: [44, 2] Generated Node #0,4,1: 88:[44, 2] Operation: 81-79=2 Exploring Operation: 81-44=37, Resulting Numbers: [79, 37] Generated Node #0,4,2: 88:[79, 37] Operation: 81-44=37 Exploring Operation: 79-44=35, Resulting Numbers: [81, 35] Generated Node #0,4,3: 88:[81, 35] Operation: 79-44=35 Exploring Operation: 44+81=125, Resulting Numbers: [79, 125] Generated Node #0,4,4: 88:[79, 125] Operation: 44+81=125 Moving to Node #0,1 Current State: 88:[5, 74, 37], Operations: ['81-44=37'] Exploring Operation: 5+37=42, Resulting Numbers: [74, 42] Generated Node #0,1,0: 88:[74, 42] Operation: 5+37=42 Exploring Operation: 74-37=37, Resulting Numbers: [5, 37] Generated Node #0,1,1: 88:[5, 37] Operation: 74-37=37 Exploring Operation: 74/37=2, Resulting Numbers: [5, 2] Generated Node #0,1,2: 88:[5, 2] Operation: 74/37=2 Exploring Operation: 37-5=32, Resulting Numbers: [74, 32] Generated Node #0,1,3: 88:[74, 32] Operation: 37-5=32 Exploring Operation: 5+74=79, Resulting Numbers: [37, 79] Generated Node #0,1,4: 88:[37, 79] Operation: 5+74=79 Moving to Node #0,0,1 Current State: 88:[44, 2], Operations: ['81-74=7', '7-5=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[5, 74, 44, 81], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [5, 44, 7] Generated Node #0,0: 88:[5, 44, 7] Operation: 81-74=7 Moving to Node #0,0 Current State: 88:[5, 44, 7], Operations: ['81-74=7'] Exploring Operation: 7-5=2, Resulting Numbers: [44, 2] Generated Node #0,0,1: 88:[44, 2] Operation: 7-5=2 Moving to Node #0,0,1 Current State: 88:[44, 2], Operations: ['81-74=7', '7-5=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.943576
hs_5
sum_heuristic
[ 48, 60, 13, 1 ]
26
[ "60-48=12", "13+1=14", "12+14=26" ]
Current State: 26:[48, 60, 13, 1], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [13, 1, 12] Generated Node #2: [13, 1, 12] from Operation: 60-48=12 Current State: 26:[13, 1, 12], Operations: ['60-48=12'] Exploring Operation: 13+1=14, Resulting Numbers: [12, 14] Generated Node #3: [12, 14] from Operation: 13+1=14 Current State: 26:[12, 14], Operations: ['60-48=12', '13+1=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[48, 60, 13, 1], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [13, 1, 12] Generated Node #0,0: 26:[13, 1, 12] Operation: 60-48=12 Moving to Node #0,0 Current State: 26:[13, 1, 12], Operations: ['60-48=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13, 13] Generated Node #0,0,0: 26:[13, 13] Operation: 1+12=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[13, 13], Operations: ['60-48=12', '1+12=13'] Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[48, 60, 13, 1], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [13, 1, 12] Generated Node #0,0: 26:[13, 1, 12] Operation: 60-48=12 Moving to Node #0,0 Current State: 26:[13, 1, 12], Operations: ['60-48=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13, 13] Generated Node #0,0,0: 26:[13, 13] Operation: 1+12=13 Moving to Node #0,0,0 Current State: 26:[13, 13], Operations: ['60-48=12', '1+12=13'] Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 84, 1, 70, 51 ]
65
[ "84*1=84", "70-51=19", "84-19=65" ]
Current State: 65:[84, 1, 70, 51], Operations: [] Exploring Operation: 84*1=84, Resulting Numbers: [70, 51, 84] Generated Node #2: [70, 51, 84] from Operation: 84*1=84 Current State: 65:[70, 51, 84], Operations: ['84*1=84'] Exploring Operation: 70-51=19, Resulting Numbers: [84, 19] Generated Node #3: [84, 19] from Operation: 70-51=19 Current State: 65:[84, 19], Operations: ['84*1=84', '70-51=19'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[84, 1, 70, 51], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [1, 51, 14] Generated Node #0,0: 65:[1, 51, 14] Operation: 84-70=14 Exploring Operation: 84-1=83, Resulting Numbers: [70, 51, 83] Generated Node #0,1: 65:[70, 51, 83] Operation: 84-1=83 Exploring Operation: 70-51=19, Resulting Numbers: [84, 1, 19] Generated Node #0,2: 65:[84, 1, 19] Operation: 70-51=19 Exploring Operation: 70-1=69, Resulting Numbers: [84, 51, 69] Generated Node #0,3: 65:[84, 51, 69] Operation: 70-1=69 Exploring Operation: 84-51=33, Resulting Numbers: [1, 70, 33] Generated Node #0,4: 65:[1, 70, 33] Operation: 84-51=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[1, 51, 14], Operations: ['84-70=14'] Exploring Operation: 51+14=65, Resulting Numbers: [1, 65] Generated Node #0,0,0: 65:[1, 65] Operation: 51+14=65 Exploring Operation: 1*51=51, Resulting Numbers: [14, 51] Generated Node #0,0,1: 65:[14, 51] Operation: 1*51=51 Exploring Operation: 14-1=13, Resulting Numbers: [51, 13] Generated Node #0,0,2: 65:[51, 13] Operation: 14-1=13 Exploring Operation: 1+51=52, Resulting Numbers: [14, 52] Generated Node #0,0,3: 65:[14, 52] Operation: 1+51=52 Exploring Operation: 51/1=51, Resulting Numbers: [14, 51] Generated Node #0,0,4: 65:[14, 51] Operation: 51/1=51 Moving to Node #0,0,0 Current State: 65:[1, 65], Operations: ['84-70=14', '51+14=65'] Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[84, 1, 70, 51], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [1, 51, 14] Generated Node #0,0: 65:[1, 51, 14] Operation: 84-70=14 Moving to Node #0,0 Current State: 65:[1, 51, 14], Operations: ['84-70=14'] Exploring Operation: 51+14=65, Resulting Numbers: [1, 65] Generated Node #0,0,0: 65:[1, 65] Operation: 51+14=65 Moving to Node #0,0,0 Current State: 65:[1, 65], Operations: ['84-70=14', '51+14=65'] Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 60, 64, 26, 24 ]
36
[ "64+26=90", "24*90=2160", "2160/60=36" ]
Current State: 36:[60, 64, 26, 24], Operations: [] Exploring Operation: 64+26=90, Resulting Numbers: [60, 24, 90] Generated Node #2: [60, 24, 90] from Operation: 64+26=90 Current State: 36:[60, 24, 90], Operations: ['64+26=90'] Exploring Operation: 24*90=2160, Resulting Numbers: [60, 2160] Generated Node #3: [60, 2160] from Operation: 24*90=2160 Current State: 36:[60, 2160], Operations: ['64+26=90', '24*90=2160'] Exploring Operation: 2160/60=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[60, 64, 26, 24], Operations: [] Exploring Operation: 64-60=4, Resulting Numbers: [26, 24, 4] Generated Node #0,0: 36:[26, 24, 4] Operation: 64-60=4 Exploring Operation: 64-26=38, Resulting Numbers: [60, 24, 38] Generated Node #0,1: 36:[60, 24, 38] Operation: 64-26=38 Exploring Operation: 60-26=34, Resulting Numbers: [64, 24, 34] Generated Node #0,2: 36:[64, 24, 34] Operation: 60-26=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[26, 24, 4], Operations: ['64-60=4'] Exploring Operation: 26-24=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 36:[4, 2] Operation: 26-24=2 Exploring Operation: 24/4=6, Resulting Numbers: [26, 6] Generated Node #0,0,1: 36:[26, 6] Operation: 24/4=6 Exploring Operation: 26-4=22, Resulting Numbers: [24, 22] Generated Node #0,0,2: 36:[24, 22] Operation: 26-4=22 Moving to Node #0,0,0 Current State: 36:[4, 2], Operations: ['64-60=4', '26-24=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[26, 6], Operations: ['64-60=4', '24/4=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,36 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[24, 22], Operations: ['64-60=4', '26-4=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,36 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,36 unequal: No Solution No 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: 36:[60, 24, 38], Operations: ['64-26=38'] Exploring Operation: 38-24=14, Resulting Numbers: [60, 14] Generated Node #0,1,0: 36:[60, 14] Operation: 38-24=14 Exploring Operation: 60-38=22, Resulting Numbers: [24, 22] Generated Node #0,1,1: 36:[24, 22] Operation: 60-38=22 Exploring Operation: 60-24=36, Resulting Numbers: [38, 36] Generated Node #0,1,2: 36:[38, 36] Operation: 60-24=36 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[38, 36], Operations: ['64-26=38', '60-24=36'] Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,36 unequal: No Solution No 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: 36:[24, 22], Operations: ['64-26=38', '60-38=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,36 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,36 unequal: No Solution No 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: 36:[60, 14], Operations: ['64-26=38', '38-24=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,36 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: 36:[64, 24, 34], Operations: ['60-26=34'] Exploring Operation: 64-24=40, Resulting Numbers: [34, 40] Generated Node #0,2,0: 36:[34, 40] Operation: 64-24=40 Exploring Operation: 34-24=10, Resulting Numbers: [64, 10] Generated Node #0,2,1: 36:[64, 10] Operation: 34-24=10 Exploring Operation: 64-34=30, Resulting Numbers: [24, 30] Generated Node #0,2,2: 36:[24, 30] Operation: 64-34=30 Moving to Node #0,2,0 Current State: 36:[34, 40], Operations: ['60-26=34', '64-24=40'] Exploring Operation: 34*40=1360, Resulting Numbers: [1360] 1360,36 unequal: No Solution Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[24, 30], Operations: ['60-26=34', '64-34=30'] Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,36 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[64, 10], Operations: ['60-26=34', '34-24=10'] Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,36 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 7, 67, 19, 69 ]
10
[ "67-7=60", "69-19=50", "60-50=10" ]
Current State: 10:[7, 67, 19, 69], Operations: [] Exploring Operation: 67-7=60, Resulting Numbers: [19, 69, 60] Generated Node #2: [19, 69, 60] from Operation: 67-7=60 Current State: 10:[19, 69, 60], Operations: ['67-7=60'] Exploring Operation: 69-19=50, Resulting Numbers: [60, 50] Generated Node #3: [60, 50] from Operation: 69-19=50 Current State: 10:[60, 50], Operations: ['67-7=60', '69-19=50'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[7, 67, 19, 69], Operations: [] Exploring Operation: 69-19=50, Resulting Numbers: [7, 67, 50] Generated Node #0,0: 10:[7, 67, 50] Operation: 69-19=50 Exploring Operation: 67-7=60, Resulting Numbers: [19, 69, 60] Generated Node #0,1: 10:[19, 69, 60] Operation: 67-7=60 Exploring Operation: 69-67=2, Resulting Numbers: [7, 19, 2] Generated Node #0,2: 10:[7, 19, 2] Operation: 69-67=2 Exploring Operation: 67-19=48, Resulting Numbers: [7, 69, 48] Generated Node #0,3: 10:[7, 69, 48] Operation: 67-19=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[7, 19, 2], Operations: ['69-67=2'] Exploring Operation: 7+2=9, Resulting Numbers: [19, 9] Generated Node #0,2,0: 10:[19, 9] Operation: 7+2=9 Exploring Operation: 19-7=12, Resulting Numbers: [2, 12] Generated Node #0,2,1: 10:[2, 12] Operation: 19-7=12 Exploring Operation: 7-2=5, Resulting Numbers: [19, 5] Generated Node #0,2,2: 10:[19, 5] Operation: 7-2=5 Exploring Operation: 19-2=17, Resulting Numbers: [7, 17] Generated Node #0,2,3: 10:[7, 17] Operation: 19-2=17 Moving to Node #0,2,1 Current State: 10:[2, 12], Operations: ['69-67=2', '19-7=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[7, 67, 19, 69], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [7, 19, 2] Generated Node #0,2: 10:[7, 19, 2] Operation: 69-67=2 Moving to Node #0,2 Current State: 10:[7, 19, 2], Operations: ['69-67=2'] Exploring Operation: 19-7=12, Resulting Numbers: [2, 12] Generated Node #0,2,1: 10:[2, 12] Operation: 19-7=12 Moving to Node #0,2,1 Current State: 10:[2, 12], Operations: ['69-67=2', '19-7=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 85, 73, 99, 94 ]
56
[ "99-94=5", "85/5=17", "73-17=56" ]
Current State: 56:[85, 73, 99, 94], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [85, 73, 5] Generated Node #2: [85, 73, 5] from Operation: 99-94=5 Current State: 56:[85, 73, 5], Operations: ['99-94=5'] Exploring Operation: 85/5=17, Resulting Numbers: [73, 17] Generated Node #3: [73, 17] from Operation: 85/5=17 Current State: 56:[73, 17], Operations: ['99-94=5', '85/5=17'] Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[85, 73, 99, 94], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [73, 94, 14] Generated Node #0,0: 56:[73, 94, 14] Operation: 99-85=14 Exploring Operation: 99-94=5, Resulting Numbers: [85, 73, 5] Generated Node #0,1: 56:[85, 73, 5] Operation: 99-94=5 Exploring Operation: 94-85=9, Resulting Numbers: [73, 99, 9] Generated Node #0,2: 56:[73, 99, 9] Operation: 94-85=9 Exploring Operation: 99-73=26, Resulting Numbers: [85, 94, 26] Generated Node #0,3: 56:[85, 94, 26] Operation: 99-73=26 Moving to Node #0,1 Current State: 56:[85, 73, 5], Operations: ['99-94=5'] Exploring Operation: 85-5=80, Resulting Numbers: [73, 80] Generated Node #0,1,0: 56:[73, 80] Operation: 85-5=80 Exploring Operation: 73-5=68, Resulting Numbers: [85, 68] Generated Node #0,1,1: 56:[85, 68] Operation: 73-5=68 Exploring Operation: 85-73=12, Resulting Numbers: [5, 12] Generated Node #0,1,2: 56:[5, 12] Operation: 85-73=12 Exploring Operation: 85/5=17, Resulting Numbers: [73, 17] Generated Node #0,1,3: 56:[73, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[5, 12], Operations: ['99-94=5', '85-73=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[73, 17], Operations: ['99-94=5', '85/5=17'] Exploring Operation: 73*17=1241, Resulting Numbers: [1241] 1241,56 unequal: No Solution Exploring Operation: 73+17=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[85, 73, 99, 94], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [85, 73, 5] Generated Node #0,1: 56:[85, 73, 5] Operation: 99-94=5 Moving to Node #0,1 Current State: 56:[85, 73, 5], Operations: ['99-94=5'] Exploring Operation: 85/5=17, Resulting Numbers: [73, 17] Generated Node #0,1,3: 56:[73, 17] Operation: 85/5=17 Moving to Node #0,1,3 Current State: 56:[73, 17], Operations: ['99-94=5', '85/5=17'] Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 77, 9, 75, 36 ]
47
[ "77+9=86", "75-36=39", "86-39=47" ]
Current State: 47:[77, 9, 75, 36], Operations: [] Exploring Operation: 77+9=86, Resulting Numbers: [75, 36, 86] Generated Node #2: [75, 36, 86] from Operation: 77+9=86 Current State: 47:[75, 36, 86], Operations: ['77+9=86'] Exploring Operation: 75-36=39, Resulting Numbers: [86, 39] Generated Node #3: [86, 39] from Operation: 75-36=39 Current State: 47:[86, 39], Operations: ['77+9=86', '75-36=39'] Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[77, 9, 75, 36], Operations: [] Exploring Operation: 77-9=68, Resulting Numbers: [75, 36, 68] Generated Node #0,0: 47:[75, 36, 68] Operation: 77-9=68 Exploring Operation: 75-9=66, Resulting Numbers: [77, 36, 66] Generated Node #0,1: 47:[77, 36, 66] Operation: 75-9=66 Exploring Operation: 9+36=45, Resulting Numbers: [77, 75, 45] Generated Node #0,2: 47:[77, 75, 45] Operation: 9+36=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[75, 36, 68], Operations: ['77-9=68'] Exploring Operation: 75-36=39, Resulting Numbers: [68, 39] Generated Node #0,0,0: 47:[68, 39] Operation: 75-36=39 Exploring Operation: 68-36=32, Resulting Numbers: [75, 32] Generated Node #0,0,1: 47:[75, 32] Operation: 68-36=32 Exploring Operation: 75-68=7, Resulting Numbers: [36, 7] Generated Node #0,0,2: 47:[36, 7] Operation: 75-68=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[68, 39], Operations: ['77-9=68', '75-36=39'] Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,47 unequal: No Solution Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,47 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[75, 32], Operations: ['77-9=68', '68-36=32'] Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,47 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[36, 7], Operations: ['77-9=68', '75-68=7'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 36*7=252, Resulting Numbers: [252] 252,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[77, 36, 66], Operations: ['75-9=66'] Exploring Operation: 77-66=11, Resulting Numbers: [36, 11] Generated Node #0,1,0: 47:[36, 11] Operation: 77-66=11 Exploring Operation: 77-36=41, Resulting Numbers: [66, 41] Generated Node #0,1,1: 47:[66, 41] Operation: 77-36=41 Exploring Operation: 66-36=30, Resulting Numbers: [77, 30] Generated Node #0,1,2: 47:[77, 30] Operation: 66-36=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[66, 41], Operations: ['75-9=66', '77-36=41'] Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,47 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,47 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[36, 11], Operations: ['75-9=66', '77-66=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[77, 9, 75, 36], Operations: [] Exploring Operation: 75-9=66, Resulting Numbers: [77, 36, 66] Generated Node #0,1: 47:[77, 36, 66] Operation: 75-9=66 Moving to Node #0,1 Current State: 47:[77, 36, 66], Operations: ['75-9=66'] Exploring Operation: 77-66=11, Resulting Numbers: [36, 11] Generated Node #0,1,0: 47:[36, 11] Operation: 77-66=11 Moving to Node #0,1,0 Current State: 47:[36, 11], Operations: ['75-9=66', '77-66=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic