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
[ 73, 66, 59, 7 ]
24
[ "66-59=7", "7*7=49", "73-49=24" ]
Current State: 24:[73, 66, 59, 7], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [73, 7, 7] Generated Node #2: [73, 7, 7] from Operation: 66-59=7 Current State: 24:[73, 7, 7], Operations: ['66-59=7'] Exploring Operation: 7*7=49, Resulting Numbers: [73, 49] Generated Node #3: [73, 49] from Operation: 7*7=49 Current State: 24:[73, 49], Operations: ['66-59=7', '7*7=49'] Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[73, 66, 59, 7], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [66, 7, 14] Generated Node #0,0: 24:[66, 7, 14] Operation: 73-59=14 Exploring Operation: 73-66=7, Resulting Numbers: [59, 7, 7] Generated Node #0,1: 24:[59, 7, 7] Operation: 73-66=7 Exploring Operation: 66-59=7, Resulting Numbers: [73, 7, 7] Generated Node #0,2: 24:[73, 7, 7] Operation: 66-59=7 Exploring Operation: 73-7=66, Resulting Numbers: [66, 59, 66] Generated Node #0,3: 24:[66, 59, 66] Operation: 73-7=66 Moving to Node #0,1 Current State: 24:[59, 7, 7], Operations: ['73-66=7'] Exploring Operation: 59-7=52, Resulting Numbers: [7, 52] Generated Node #0,1,0: 24:[7, 52] Operation: 59-7=52 Exploring Operation: 59-7=52, Resulting Numbers: [7, 52] Generated Node #0,1,1: 24:[7, 52] Operation: 59-7=52 Exploring Operation: 7+7=14, Resulting Numbers: [59, 14] Generated Node #0,1,2: 24:[59, 14] Operation: 7+7=14 Exploring Operation: 7/7=1, Resulting Numbers: [59, 1] Generated Node #0,1,3: 24:[59, 1] Operation: 7/7=1 Moving to Node #0,0 Current State: 24:[66, 7, 14], Operations: ['73-59=14'] Exploring Operation: 14-7=7, Resulting Numbers: [66, 7] Generated Node #0,0,0: 24:[66, 7] Operation: 14-7=7 Exploring Operation: 14/7=2, Resulting Numbers: [66, 2] Generated Node #0,0,1: 24:[66, 2] Operation: 14/7=2 Exploring Operation: 66-14=52, Resulting Numbers: [7, 52] Generated Node #0,0,2: 24:[7, 52] Operation: 66-14=52 Exploring Operation: 66-7=59, Resulting Numbers: [14, 59] Generated Node #0,0,3: 24:[14, 59] Operation: 66-7=59 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[7, 52], Operations: ['73-59=14', '66-14=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,24 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[14, 59], Operations: ['73-59=14', '66-7=59'] Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,24 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[66, 2], Operations: ['73-59=14', '14/7=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,24 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,24 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[66, 7], Operations: ['73-59=14', '14-7=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 24:[73, 7, 7], Operations: ['66-59=7'] Exploring Operation: 7/7=1, Resulting Numbers: [73, 1] Generated Node #0,2,0: 24:[73, 1] Operation: 7/7=1 Exploring Operation: 7+7=14, Resulting Numbers: [73, 14] Generated Node #0,2,1: 24:[73, 14] Operation: 7+7=14 Exploring Operation: 73-7=66, Resulting Numbers: [7, 66] Generated Node #0,2,2: 24:[7, 66] Operation: 73-7=66 Exploring Operation: 73-7=66, Resulting Numbers: [7, 66] Generated Node #0,2,3: 24:[7, 66] Operation: 73-7=66 Moving to Node #0,3 Current State: 24:[66, 59, 66], Operations: ['73-7=66'] Exploring Operation: 66-66=0, Resulting Numbers: [59, 0] Generated Node #0,3,0: 24:[59, 0] Operation: 66-66=0 Exploring Operation: 66/66=1, Resulting Numbers: [59, 1] Generated Node #0,3,1: 24:[59, 1] Operation: 66/66=1 Exploring Operation: 66-59=7, Resulting Numbers: [66, 7] Generated Node #0,3,2: 24:[66, 7] Operation: 66-59=7 Exploring Operation: 66-59=7, Resulting Numbers: [66, 7] Generated Node #0,3,3: 24:[66, 7] Operation: 66-59=7 Moving to Node #0,1,0 Current State: 24:[7, 52], Operations: ['73-66=7', '59-7=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[7, 52], Operations: ['73-66=7', '59-7=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[59, 1], Operations: ['73-66=7', '7/7=1'] Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[59, 1], Operations: ['73-7=66', '66/66=1'] Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,24 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[59, 0], Operations: ['73-7=66', '66-66=0'] Exploring Operation: 59*0=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 59-0=59, Resulting Numbers: [59] 59,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[59, 14], Operations: ['73-66=7', '7+7=14'] Exploring Operation: 59*14=826, Resulting Numbers: [826] 826,24 unequal: No Solution Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[7, 66], Operations: ['66-59=7', '73-7=66'] Exploring Operation: 7+66=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 7*66=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[66, 7], Operations: ['73-7=66', '66-59=7'] Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[7, 66], Operations: ['66-59=7', '73-7=66'] Exploring Operation: 7*66=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 7+66=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[66, 7], Operations: ['73-7=66', '66-59=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[73, 1], Operations: ['66-59=7', '7/7=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,24 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[73, 14], Operations: ['66-59=7', '7+7=14'] Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,24 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 73*14=1022, Resulting Numbers: [1022] 1022,24 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 50, 68, 58, 66 ]
79
[ "68-66=2", "58/2=29", "50+29=79" ]
Current State: 79:[50, 68, 58, 66], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [50, 58, 2] Generated Node #2: [50, 58, 2] from Operation: 68-66=2 Current State: 79:[50, 58, 2], Operations: ['68-66=2'] Exploring Operation: 58/2=29, Resulting Numbers: [50, 29] Generated Node #3: [50, 29] from Operation: 58/2=29 Current State: 79:[50, 29], Operations: ['68-66=2', '58/2=29'] Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[50, 68, 58, 66], Operations: [] Exploring Operation: 50+58=108, Resulting Numbers: [68, 66, 108] Generated Node #0,0: 79:[68, 66, 108] Operation: 50+58=108 Moving to Node #0,0 Current State: 79:[68, 66, 108], Operations: ['50+58=108'] Exploring Operation: 108-66=42, Resulting Numbers: [68, 42] Generated Node #0,0,0: 79:[68, 42] Operation: 108-66=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[68, 42], Operations: ['50+58=108', '108-66=42'] Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 76, 66, 12, 46 ]
23
[ "76-66=10", "12-10=2", "46/2=23" ]
Current State: 23:[76, 66, 12, 46], Operations: [] Exploring Operation: 76-66=10, Resulting Numbers: [12, 46, 10] Generated Node #2: [12, 46, 10] from Operation: 76-66=10 Current State: 23:[12, 46, 10], Operations: ['76-66=10'] Exploring Operation: 12-10=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 12-10=2 Current State: 23:[46, 2], Operations: ['76-66=10', '12-10=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[76, 66, 12, 46], Operations: [] Exploring Operation: 76-66=10, Resulting Numbers: [12, 46, 10] Generated Node #0,0: 23:[12, 46, 10] Operation: 76-66=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[12, 46, 10], Operations: ['76-66=10'] Exploring Operation: 46-12=34, Resulting Numbers: [10, 34] Generated Node #0,0,0: 23:[10, 34] Operation: 46-12=34 Moving to Node #0,0,0 Current State: 23:[10, 34], Operations: ['76-66=10', '46-12=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,23 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
[ 5, 62, 48, 73 ]
82
[ "62-5=57", "73-48=25", "57+25=82" ]
Current State: 82:[5, 62, 48, 73], Operations: [] Exploring Operation: 62-5=57, Resulting Numbers: [48, 73, 57] Generated Node #2: [48, 73, 57] from Operation: 62-5=57 Current State: 82:[48, 73, 57], Operations: ['62-5=57'] Exploring Operation: 73-48=25, Resulting Numbers: [57, 25] Generated Node #3: [57, 25] from Operation: 73-48=25 Current State: 82:[57, 25], Operations: ['62-5=57', '73-48=25'] Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[5, 62, 48, 73], Operations: [] Exploring Operation: 5+62=67, Resulting Numbers: [48, 73, 67] Generated Node #0,0: 82:[48, 73, 67] Operation: 5+62=67 Exploring Operation: 62-48=14, Resulting Numbers: [5, 73, 14] Generated Node #0,1: 82:[5, 73, 14] Operation: 62-48=14 Exploring Operation: 48-5=43, Resulting Numbers: [62, 73, 43] Generated Node #0,2: 82:[62, 73, 43] Operation: 48-5=43 Exploring Operation: 73-62=11, Resulting Numbers: [5, 48, 11] Generated Node #0,3: 82:[5, 48, 11] Operation: 73-62=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[5, 48, 11], Operations: ['73-62=11'] Exploring Operation: 48-5=43, Resulting Numbers: [11, 43] Generated Node #0,3,0: 82:[11, 43] Operation: 48-5=43 Exploring Operation: 48-11=37, Resulting Numbers: [5, 37] Generated Node #0,3,1: 82:[5, 37] Operation: 48-11=37 Exploring Operation: 11-5=6, Resulting Numbers: [48, 6] Generated Node #0,3,2: 82:[48, 6] Operation: 11-5=6 Exploring Operation: 5+48=53, Resulting Numbers: [11, 53] Generated Node #0,3,3: 82:[11, 53] Operation: 5+48=53 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[5, 37], Operations: ['73-62=11', '48-11=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,82 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[11, 43], Operations: ['73-62=11', '48-5=43'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,82 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[48, 6], Operations: ['73-62=11', '11-5=6'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,82 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 82:[11, 53], Operations: ['73-62=11', '5+48=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,82 unequal: No Solution Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,82 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[5, 73, 14], Operations: ['62-48=14'] Exploring Operation: 5*14=70, Resulting Numbers: [73, 70] Generated Node #0,1,0: 82:[73, 70] Operation: 5*14=70 Exploring Operation: 73+14=87, Resulting Numbers: [5, 87] Generated Node #0,1,1: 82:[5, 87] Operation: 73+14=87 Exploring Operation: 14-5=9, Resulting Numbers: [73, 9] Generated Node #0,1,2: 82:[73, 9] Operation: 14-5=9 Exploring Operation: 5+73=78, Resulting Numbers: [14, 78] Generated Node #0,1,3: 82:[14, 78] Operation: 5+73=78 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[5, 87], Operations: ['62-48=14', '73+14=87'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[5, 62, 48, 73], Operations: [] Exploring Operation: 62-48=14, Resulting Numbers: [5, 73, 14] Generated Node #0,1: 82:[5, 73, 14] Operation: 62-48=14 Moving to Node #0,1 Current State: 82:[5, 73, 14], Operations: ['62-48=14'] Exploring Operation: 73+14=87, Resulting Numbers: [5, 87] Generated Node #0,1,1: 82:[5, 87] Operation: 73+14=87 Moving to Node #0,1,1 Current State: 82:[5, 87], Operations: ['62-48=14', '73+14=87'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 63, 99, 19, 27 ]
48
[ "63*19=1197", "99+1197=1296", "1296/27=48" ]
Current State: 48:[63, 99, 19, 27], Operations: [] Exploring Operation: 63*19=1197, Resulting Numbers: [99, 27, 1197] Generated Node #2: [99, 27, 1197] from Operation: 63*19=1197 Current State: 48:[99, 27, 1197], Operations: ['63*19=1197'] Exploring Operation: 99+1197=1296, Resulting Numbers: [27, 1296] Generated Node #3: [27, 1296] from Operation: 99+1197=1296 Current State: 48:[27, 1296], Operations: ['63*19=1197', '99+1197=1296'] Exploring Operation: 1296/27=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[63, 99, 19, 27], Operations: [] Exploring Operation: 63-19=44, Resulting Numbers: [99, 27, 44] Generated Node #0,0: 48:[99, 27, 44] Operation: 63-19=44 Exploring Operation: 99-63=36, Resulting Numbers: [19, 27, 36] Generated Node #0,1: 48:[19, 27, 36] Operation: 99-63=36 Exploring Operation: 99-27=72, Resulting Numbers: [63, 19, 72] Generated Node #0,2: 48:[63, 19, 72] Operation: 99-27=72 Exploring Operation: 99-19=80, Resulting Numbers: [63, 27, 80] Generated Node #0,3: 48:[63, 27, 80] Operation: 99-19=80 Moving to Node #0,1 Current State: 48:[19, 27, 36], Operations: ['99-63=36'] Exploring Operation: 27-19=8, Resulting Numbers: [36, 8] Generated Node #0,1,0: 48:[36, 8] Operation: 27-19=8 Exploring Operation: 36-19=17, Resulting Numbers: [27, 17] Generated Node #0,1,1: 48:[27, 17] Operation: 36-19=17 Exploring Operation: 19+36=55, Resulting Numbers: [27, 55] Generated Node #0,1,2: 48:[27, 55] Operation: 19+36=55 Exploring Operation: 36-27=9, Resulting Numbers: [19, 9] Generated Node #0,1,3: 48:[19, 9] Operation: 36-27=9 Moving to Node #0,2 Current State: 48:[63, 19, 72], Operations: ['99-27=72'] Exploring Operation: 72-63=9, Resulting Numbers: [19, 9] Generated Node #0,2,0: 48:[19, 9] Operation: 72-63=9 Exploring Operation: 63-19=44, Resulting Numbers: [72, 44] Generated Node #0,2,1: 48:[72, 44] Operation: 63-19=44 Exploring Operation: 63+19=82, Resulting Numbers: [72, 82] Generated Node #0,2,2: 48:[72, 82] Operation: 63+19=82 Exploring Operation: 72-19=53, Resulting Numbers: [63, 53] Generated Node #0,2,3: 48:[63, 53] Operation: 72-19=53 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[19, 9], Operations: ['99-27=72', '72-63=9'] Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,48 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[63, 53], Operations: ['99-27=72', '72-19=53'] Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,48 unequal: No Solution Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,48 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[72, 44], Operations: ['99-27=72', '63-19=44'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 72+44=116, Resulting Numbers: [116] 116,48 unequal: No Solution Exploring Operation: 72*44=3168, Resulting Numbers: [3168] 3168,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[72, 82], Operations: ['99-27=72', '63+19=82'] Exploring Operation: 72*82=5904, Resulting Numbers: [5904] 5904,48 unequal: No Solution Exploring Operation: 72+82=154, Resulting Numbers: [154] 154,48 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,48 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: 48:[63, 27, 80], Operations: ['99-19=80'] Exploring Operation: 80-27=53, Resulting Numbers: [63, 53] Generated Node #0,3,0: 48:[63, 53] Operation: 80-27=53 Exploring Operation: 63-27=36, Resulting Numbers: [80, 36] Generated Node #0,3,1: 48:[80, 36] Operation: 63-27=36 Exploring Operation: 80-63=17, Resulting Numbers: [27, 17] Generated Node #0,3,2: 48:[27, 17] Operation: 80-63=17 Exploring Operation: 63+27=90, Resulting Numbers: [80, 90] Generated Node #0,3,3: 48:[80, 90] Operation: 63+27=90 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[27, 17], Operations: ['99-19=80', '80-63=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[63, 53], Operations: ['99-19=80', '80-27=53'] Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,48 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[80, 36], Operations: ['99-19=80', '63-27=36'] Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 80*36=2880, Resulting Numbers: [2880] 2880,48 unequal: No Solution Exploring Operation: 80+36=116, Resulting Numbers: [116] 116,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[80, 90], Operations: ['99-19=80', '63+27=90'] Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,48 unequal: No Solution Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 80*90=7200, Resulting Numbers: [7200] 7200,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 48:[99, 27, 44], Operations: ['63-19=44'] Exploring Operation: 99-44=55, Resulting Numbers: [27, 55] Generated Node #0,0,0: 48:[27, 55] Operation: 99-44=55 Exploring Operation: 44-27=17, Resulting Numbers: [99, 17] Generated Node #0,0,1: 48:[99, 17] Operation: 44-27=17 Exploring Operation: 27+44=71, Resulting Numbers: [99, 71] Generated Node #0,0,2: 48:[99, 71] Operation: 27+44=71 Exploring Operation: 99-27=72, Resulting Numbers: [44, 72] Generated Node #0,0,3: 48:[44, 72] Operation: 99-27=72 Moving to Node #0,1,1 Current State: 48:[27, 17], Operations: ['99-63=36', '36-19=17'] Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,48 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[19, 9], Operations: ['99-63=36', '36-27=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[27, 55], Operations: ['99-63=36', '19+36=55'] Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,48 unequal: No Solution Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,48 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[27, 55], Operations: ['63-19=44', '99-44=55'] Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,48 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,48 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[36, 8], Operations: ['99-63=36', '27-19=8'] Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,48 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[44, 72], Operations: ['63-19=44', '99-27=72'] Exploring Operation: 44+72=116, Resulting Numbers: [116] 116,48 unequal: No Solution Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 44*72=3168, Resulting Numbers: [3168] 3168,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[99, 17], Operations: ['63-19=44', '44-27=17'] Exploring Operation: 99+17=116, Resulting Numbers: [116] 116,48 unequal: No Solution Exploring Operation: 99*17=1683, Resulting Numbers: [1683] 1683,48 unequal: No Solution Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[99, 71], Operations: ['63-19=44', '27+44=71'] Exploring Operation: 99-71=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 99+71=170, Resulting Numbers: [170] 170,48 unequal: No Solution Exploring Operation: 99*71=7029, Resulting Numbers: [7029] 7029,48 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 40, 61, 28, 84 ]
54
[ "40-28=12", "84/12=7", "61-7=54" ]
Current State: 54:[40, 61, 28, 84], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [61, 84, 12] Generated Node #2: [61, 84, 12] from Operation: 40-28=12 Current State: 54:[61, 84, 12], Operations: ['40-28=12'] Exploring Operation: 84/12=7, Resulting Numbers: [61, 7] Generated Node #3: [61, 7] from Operation: 84/12=7 Current State: 54:[61, 7], Operations: ['40-28=12', '84/12=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[40, 61, 28, 84], Operations: [] Exploring Operation: 84-40=44, Resulting Numbers: [61, 28, 44] Generated Node #0,0: 54:[61, 28, 44] Operation: 84-40=44 Moving to Node #0,0 Current State: 54:[61, 28, 44], Operations: ['84-40=44'] Exploring Operation: 61-44=17, Resulting Numbers: [28, 17] Generated Node #0,0,0: 54:[28, 17] Operation: 61-44=17 Moving to Node #0,0,0 Current State: 54:[28, 17], Operations: ['84-40=44', '61-44=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,54 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 44, 11, 8, 51 ]
69
[ "51-44=7", "11*7=77", "77-8=69" ]
Current State: 69:[44, 11, 8, 51], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [11, 8, 7] Generated Node #2: [11, 8, 7] from Operation: 51-44=7 Current State: 69:[11, 8, 7], Operations: ['51-44=7'] Exploring Operation: 11*7=77, Resulting Numbers: [8, 77] Generated Node #3: [8, 77] from Operation: 11*7=77 Current State: 69:[8, 77], Operations: ['51-44=7', '11*7=77'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[44, 11, 8, 51], Operations: [] Exploring Operation: 11+51=62, Resulting Numbers: [44, 8, 62] Generated Node #0,0: 69:[44, 8, 62] Operation: 11+51=62 Exploring Operation: 51-44=7, Resulting Numbers: [11, 8, 7] Generated Node #0,1: 69:[11, 8, 7] Operation: 51-44=7 Exploring Operation: 44-11=33, Resulting Numbers: [8, 51, 33] Generated Node #0,2: 69:[8, 51, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [8, 51, 4] Generated Node #0,3: 69:[8, 51, 4] Operation: 44/11=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[11, 8, 7], Operations: ['51-44=7'] Exploring Operation: 11-7=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 69:[8, 4] Operation: 11-7=4 Exploring Operation: 11-8=3, Resulting Numbers: [7, 3] Generated Node #0,1,1: 69:[7, 3] Operation: 11-8=3 Exploring Operation: 11+8=19, Resulting Numbers: [7, 19] Generated Node #0,1,2: 69:[7, 19] Operation: 11+8=19 Exploring Operation: 11+7=18, Resulting Numbers: [8, 18] Generated Node #0,1,3: 69:[8, 18] Operation: 11+7=18 Moving to Node #0,1,1 Current State: 69:[7, 3], Operations: ['51-44=7', '11-8=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[8, 4], Operations: ['51-44=7', '11-7=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[7, 19], Operations: ['51-44=7', '11+8=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[8, 18], Operations: ['51-44=7', '11+7=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,69 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[8, 51, 4], Operations: ['44/11=4'] Exploring Operation: 51+4=55, Resulting Numbers: [8, 55] Generated Node #0,3,0: 69:[8, 55] Operation: 51+4=55 Exploring Operation: 8+51=59, Resulting Numbers: [4, 59] Generated Node #0,3,1: 69:[4, 59] Operation: 8+51=59 Exploring Operation: 8/4=2, Resulting Numbers: [51, 2] Generated Node #0,3,2: 69:[51, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [51, 4] Generated Node #0,3,3: 69:[51, 4] Operation: 8-4=4 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 69:[4, 59], Operations: ['44/11=4', '8+51=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,69 unequal: No Solution Exploring Operation: 59-4=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,3,0 Current State: 69:[8, 55], Operations: ['44/11=4', '51+4=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,69 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,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,3,2 Current State: 69:[51, 2], Operations: ['44/11=4', '8/4=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,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,3,3 Current State: 69:[51, 4], Operations: ['44/11=4', '8-4=4'] Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,69 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,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,0 Current State: 69:[44, 8, 62], Operations: ['11+51=62'] Exploring Operation: 44+8=52, Resulting Numbers: [62, 52] Generated Node #0,0,0: 69:[62, 52] Operation: 44+8=52 Exploring Operation: 44-8=36, Resulting Numbers: [62, 36] Generated Node #0,0,1: 69:[62, 36] Operation: 44-8=36 Exploring Operation: 62-44=18, Resulting Numbers: [8, 18] Generated Node #0,0,2: 69:[8, 18] Operation: 62-44=18 Exploring Operation: 8+62=70, Resulting Numbers: [44, 70] Generated Node #0,0,3: 69:[44, 70] Operation: 8+62=70 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[8, 18], Operations: ['11+51=62', '62-44=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,69 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,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:[62, 36], Operations: ['11+51=62', '44-8=36'] Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 62+36=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 62*36=2232, Resulting Numbers: [2232] 2232,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[44, 70], Operations: ['11+51=62', '8+62=70'] Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,69 unequal: No Solution Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,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:[62, 52], Operations: ['11+51=62', '44+8=52'] Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 62*52=3224, Resulting Numbers: [3224] 3224,69 unequal: No Solution Exploring Operation: 62+52=114, Resulting Numbers: [114] 114,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:[8, 51, 33], Operations: ['44-11=33'] Exploring Operation: 33-8=25, Resulting Numbers: [51, 25] Generated Node #0,2,0: 69:[51, 25] Operation: 33-8=25 Exploring Operation: 51+33=84, Resulting Numbers: [8, 84] Generated Node #0,2,1: 69:[8, 84] Operation: 51+33=84 Exploring Operation: 51-33=18, Resulting Numbers: [8, 18] Generated Node #0,2,2: 69:[8, 18] Operation: 51-33=18 Exploring Operation: 8+51=59, Resulting Numbers: [33, 59] Generated Node #0,2,3: 69:[33, 59] Operation: 8+51=59 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[8, 18], Operations: ['44-11=33', '51-33=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,69 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,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,2,0 Current State: 69:[51, 25], Operations: ['44-11=33', '33-8=25'] Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,69 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,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,2,1 Current State: 69:[8, 84], Operations: ['44-11=33', '51+33=84'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,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,2,3 Current State: 69:[33, 59], Operations: ['44-11=33', '8+51=59'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,69 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,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 No solution found.
0
hs_4
sum_heuristic
[ 81, 91, 44, 85 ]
31
[ "91-81=10", "85-44=41", "41-10=31" ]
Current State: 31:[81, 91, 44, 85], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [44, 85, 10] Generated Node #2: [44, 85, 10] from Operation: 91-81=10 Current State: 31:[44, 85, 10], Operations: ['91-81=10'] Exploring Operation: 85-44=41, Resulting Numbers: [10, 41] Generated Node #3: [10, 41] from Operation: 85-44=41 Current State: 31:[10, 41], Operations: ['91-81=10', '85-44=41'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[81, 91, 44, 85], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [44, 85, 10] Generated Node #0,0: 31:[44, 85, 10] Operation: 91-81=10 Exploring Operation: 91-85=6, Resulting Numbers: [81, 44, 6] Generated Node #0,1: 31:[81, 44, 6] Operation: 91-85=6 Exploring Operation: 85-81=4, Resulting Numbers: [91, 44, 4] Generated Node #0,2: 31:[91, 44, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 31:[44, 85, 10], Operations: ['91-81=10'] Exploring Operation: 85-44=41, Resulting Numbers: [10, 41] Generated Node #0,0,0: 31:[10, 41] Operation: 85-44=41 Exploring Operation: 44-10=34, Resulting Numbers: [85, 34] Generated Node #0,0,1: 31:[85, 34] Operation: 44-10=34 Exploring Operation: 85-10=75, Resulting Numbers: [44, 75] Generated Node #0,0,2: 31:[44, 75] Operation: 85-10=75 Moving to Node #0,1 Current State: 31:[81, 44, 6], Operations: ['91-85=6'] Exploring Operation: 81-44=37, Resulting Numbers: [6, 37] Generated Node #0,1,0: 31:[6, 37] Operation: 81-44=37 Exploring Operation: 81-6=75, Resulting Numbers: [44, 75] Generated Node #0,1,1: 31:[44, 75] Operation: 81-6=75 Exploring Operation: 44-6=38, Resulting Numbers: [81, 38] Generated Node #0,1,2: 31:[81, 38] Operation: 44-6=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[6, 37], Operations: ['91-85=6', '81-44=37'] Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,31 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[81, 91, 44, 85], Operations: [] Exploring Operation: 91-85=6, Resulting Numbers: [81, 44, 6] Generated Node #0,1: 31:[81, 44, 6] Operation: 91-85=6 Moving to Node #0,1 Current State: 31:[81, 44, 6], Operations: ['91-85=6'] Exploring Operation: 81-44=37, Resulting Numbers: [6, 37] Generated Node #0,1,0: 31:[6, 37] Operation: 81-44=37 Moving to Node #0,1,0 Current State: 31:[6, 37], Operations: ['91-85=6', '81-44=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 19, 98, 51, 14 ]
39
[ "51-19=32", "98/14=7", "32+7=39" ]
Current State: 39:[19, 98, 51, 14], Operations: [] Exploring Operation: 51-19=32, Resulting Numbers: [98, 14, 32] Generated Node #2: [98, 14, 32] from Operation: 51-19=32 Current State: 39:[98, 14, 32], Operations: ['51-19=32'] Exploring Operation: 98/14=7, Resulting Numbers: [32, 7] Generated Node #3: [32, 7] from Operation: 98/14=7 Current State: 39:[32, 7], Operations: ['51-19=32', '98/14=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[19, 98, 51, 14], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [19, 51, 7] Generated Node #0,0: 39:[19, 51, 7] Operation: 98/14=7 Exploring Operation: 98-51=47, Resulting Numbers: [19, 14, 47] Generated Node #0,1: 39:[19, 14, 47] Operation: 98-51=47 Moving to Node #0,1 Current State: 39:[19, 14, 47], Operations: ['98-51=47'] Exploring Operation: 47-19=28, Resulting Numbers: [14, 28] Generated Node #0,1,0: 39:[14, 28] Operation: 47-19=28 Exploring Operation: 19-14=5, Resulting Numbers: [47, 5] Generated Node #0,1,1: 39:[47, 5] Operation: 19-14=5 Moving to Node #0,0 Current State: 39:[19, 51, 7], Operations: ['98/14=7'] Exploring Operation: 51-19=32, Resulting Numbers: [7, 32] Generated Node #0,0,0: 39:[7, 32] Operation: 51-19=32 Exploring Operation: 51-7=44, Resulting Numbers: [19, 44] Generated Node #0,0,1: 39:[19, 44] Operation: 51-7=44 Moving to Node #0,1,1 Current State: 39:[47, 5], Operations: ['98-51=47', '19-14=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[7, 32], Operations: ['98/14=7', '51-19=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[19, 98, 51, 14], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [19, 51, 7] Generated Node #0,0: 39:[19, 51, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 39:[19, 51, 7], Operations: ['98/14=7'] Exploring Operation: 51-19=32, Resulting Numbers: [7, 32] Generated Node #0,0,0: 39:[7, 32] Operation: 51-19=32 Moving to Node #0,0,0 Current State: 39:[7, 32], Operations: ['98/14=7', '51-19=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.987847
hs_2
sum_heuristic
[ 31, 11, 24, 85 ]
17
[ "31+24=55", "11*85=935", "935/55=17" ]
Current State: 17:[31, 11, 24, 85], Operations: [] Exploring Operation: 31+24=55, Resulting Numbers: [11, 85, 55] Generated Node #2: [11, 85, 55] from Operation: 31+24=55 Current State: 17:[11, 85, 55], Operations: ['31+24=55'] Exploring Operation: 11*85=935, Resulting Numbers: [55, 935] Generated Node #3: [55, 935] from Operation: 11*85=935 Current State: 17:[55, 935], Operations: ['31+24=55', '11*85=935'] Exploring Operation: 935/55=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[31, 11, 24, 85], Operations: [] Exploring Operation: 31-11=20, Resulting Numbers: [24, 85, 20] Generated Node #0,0: 17:[24, 85, 20] Operation: 31-11=20 Exploring Operation: 85-24=61, Resulting Numbers: [31, 11, 61] Generated Node #0,1: 17:[31, 11, 61] Operation: 85-24=61 Exploring Operation: 85-31=54, Resulting Numbers: [11, 24, 54] Generated Node #0,2: 17:[11, 24, 54] Operation: 85-31=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[11, 24, 54], Operations: ['85-31=54'] Exploring Operation: 54-24=30, Resulting Numbers: [11, 30] Generated Node #0,2,0: 17:[11, 30] Operation: 54-24=30 Exploring Operation: 54-11=43, Resulting Numbers: [24, 43] Generated Node #0,2,1: 17:[24, 43] Operation: 54-11=43 Exploring Operation: 24-11=13, Resulting Numbers: [54, 13] Generated Node #0,2,2: 17:[54, 13] Operation: 24-11=13 Moving to Node #0,2,0 Current State: 17:[11, 30], Operations: ['85-31=54', '54-24=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,17 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[24, 43], Operations: ['85-31=54', '54-11=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,17 unequal: No Solution Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[54, 13], Operations: ['85-31=54', '24-11=13'] Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,17 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[31, 11, 61], Operations: ['85-24=61'] Exploring Operation: 61-11=50, Resulting Numbers: [31, 50] Generated Node #0,1,0: 17:[31, 50] Operation: 61-11=50 Exploring Operation: 61-31=30, Resulting Numbers: [11, 30] Generated Node #0,1,1: 17:[11, 30] Operation: 61-31=30 Exploring Operation: 31-11=20, Resulting Numbers: [61, 20] Generated Node #0,1,2: 17:[61, 20] Operation: 31-11=20 Moving to Node #0,1,1 Current State: 17:[11, 30], Operations: ['85-24=61', '61-31=30'] Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,17 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[31, 50], Operations: ['85-24=61', '61-11=50'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,17 unequal: No Solution Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[61, 20], Operations: ['85-24=61', '31-11=20'] Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,17 unequal: No Solution Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,17 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[24, 85, 20], Operations: ['31-11=20'] Exploring Operation: 85-20=65, Resulting Numbers: [24, 65] Generated Node #0,0,0: 17:[24, 65] Operation: 85-20=65 Exploring Operation: 85-24=61, Resulting Numbers: [20, 61] Generated Node #0,0,1: 17:[20, 61] Operation: 85-24=61 Exploring Operation: 24-20=4, Resulting Numbers: [85, 4] Generated Node #0,0,2: 17:[85, 4] Operation: 24-20=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[20, 61], Operations: ['31-11=20', '85-24=61'] Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,17 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,17 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[24, 65], Operations: ['31-11=20', '85-20=65'] Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,17 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 17:[85, 4], Operations: ['31-11=20', '24-20=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,17 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 37, 59, 2, 28 ]
82
[ "37+59=96", "28/2=14", "96-14=82" ]
Current State: 82:[37, 59, 2, 28], Operations: [] Exploring Operation: 37+59=96, Resulting Numbers: [2, 28, 96] Generated Node #2: [2, 28, 96] from Operation: 37+59=96 Current State: 82:[2, 28, 96], Operations: ['37+59=96'] Exploring Operation: 28/2=14, Resulting Numbers: [96, 14] Generated Node #3: [96, 14] from Operation: 28/2=14 Current State: 82:[96, 14], Operations: ['37+59=96', '28/2=14'] Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[37, 59, 2, 28], Operations: [] Exploring Operation: 59-28=31, Resulting Numbers: [37, 2, 31] Generated Node #0,0: 82:[37, 2, 31] Operation: 59-28=31 Exploring Operation: 37-28=9, Resulting Numbers: [59, 2, 9] Generated Node #0,1: 82:[59, 2, 9] Operation: 37-28=9 Exploring Operation: 59+28=87, Resulting Numbers: [37, 2, 87] Generated Node #0,2: 82:[37, 2, 87] Operation: 59+28=87 Moving to Node #0,2 Current State: 82:[37, 2, 87], Operations: ['59+28=87'] Exploring Operation: 87-2=85, Resulting Numbers: [37, 85] Generated Node #0,2,0: 82:[37, 85] Operation: 87-2=85 Exploring Operation: 87-37=50, Resulting Numbers: [2, 50] Generated Node #0,2,1: 82:[2, 50] Operation: 87-37=50 Exploring Operation: 37+2=39, Resulting Numbers: [87, 39] Generated Node #0,2,2: 82:[87, 39] Operation: 37+2=39 Moving to Node #0,0 Current State: 82:[37, 2, 31], Operations: ['59-28=31'] Exploring Operation: 2+31=33, Resulting Numbers: [37, 33] Generated Node #0,0,0: 82:[37, 33] Operation: 2+31=33 Exploring Operation: 37+2=39, Resulting Numbers: [31, 39] Generated Node #0,0,1: 82:[31, 39] Operation: 37+2=39 Exploring Operation: 37-31=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 82:[2, 6] Operation: 37-31=6 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[2, 6], Operations: ['59-28=31', '37-31=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[37, 33], Operations: ['59-28=31', '2+31=33'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 37*33=1221, Resulting Numbers: [1221] 1221,82 unequal: No Solution Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[31, 39], Operations: ['59-28=31', '37+2=39'] Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,82 unequal: No Solution Exploring Operation: 31*39=1209, Resulting Numbers: [1209] 1209,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[59, 2, 9], Operations: ['37-28=9'] Exploring Operation: 59-9=50, Resulting Numbers: [2, 50] Generated Node #0,1,0: 82:[2, 50] Operation: 59-9=50 Exploring Operation: 59-2=57, Resulting Numbers: [9, 57] Generated Node #0,1,1: 82:[9, 57] Operation: 59-2=57 Exploring Operation: 59+9=68, Resulting Numbers: [2, 68] Generated Node #0,1,2: 82:[2, 68] Operation: 59+9=68 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[2, 50], Operations: ['37-28=9', '59-9=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[2, 68], Operations: ['37-28=9', '59+9=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,82 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[9, 57], Operations: ['37-28=9', '59-2=57'] Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,82 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,82 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: 82:[37, 85], Operations: ['59+28=87', '87-2=85'] Exploring Operation: 37*85=3145, Resulting Numbers: [3145] 3145,82 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 37+85=122, Resulting Numbers: [122] 122,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[87, 39], Operations: ['59+28=87', '37+2=39'] Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,82 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 87*39=3393, Resulting Numbers: [3393] 3393,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[2, 50], Operations: ['59+28=87', '87-37=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,82 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 13, 12, 68, 16 ]
72
[ "13*12=156", "68+16=84", "156-84=72" ]
Current State: 72:[13, 12, 68, 16], Operations: [] Exploring Operation: 13*12=156, Resulting Numbers: [68, 16, 156] Generated Node #2: [68, 16, 156] from Operation: 13*12=156 Current State: 72:[68, 16, 156], Operations: ['13*12=156'] Exploring Operation: 68+16=84, Resulting Numbers: [156, 84] Generated Node #3: [156, 84] from Operation: 68+16=84 Current State: 72:[156, 84], Operations: ['13*12=156', '68+16=84'] Exploring Operation: 156-84=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[13, 12, 68, 16], Operations: [] Exploring Operation: 13+16=29, Resulting Numbers: [12, 68, 29] Generated Node #0,0: 72:[12, 68, 29] Operation: 13+16=29 Exploring Operation: 16-12=4, Resulting Numbers: [13, 68, 4] Generated Node #0,1: 72:[13, 68, 4] Operation: 16-12=4 Exploring Operation: 13-12=1, Resulting Numbers: [68, 16, 1] Generated Node #0,2: 72:[68, 16, 1] Operation: 13-12=1 Exploring Operation: 13+12=25, Resulting Numbers: [68, 16, 25] Generated Node #0,3: 72:[68, 16, 25] Operation: 13+12=25 Exploring Operation: 16-13=3, Resulting Numbers: [12, 68, 3] Generated Node #0,4: 72:[12, 68, 3] Operation: 16-13=3 Moving to Node #0,4 Current State: 72:[12, 68, 3], Operations: ['16-13=3'] Exploring Operation: 12-3=9, Resulting Numbers: [68, 9] Generated Node #0,4,0: 72:[68, 9] Operation: 12-3=9 Exploring Operation: 68+3=71, Resulting Numbers: [12, 71] Generated Node #0,4,1: 72:[12, 71] Operation: 68+3=71 Exploring Operation: 12+3=15, Resulting Numbers: [68, 15] Generated Node #0,4,2: 72:[68, 15] Operation: 12+3=15 Exploring Operation: 12*3=36, Resulting Numbers: [68, 36] Generated Node #0,4,3: 72:[68, 36] Operation: 12*3=36 Exploring Operation: 12/3=4, Resulting Numbers: [68, 4] Generated Node #0,4,4: 72:[68, 4] Operation: 12/3=4 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 72:[12, 71], Operations: ['16-13=3', '68+3=71'] Exploring Operation: 12*71=852, Resulting Numbers: [852] 852,72 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,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,4,0 Current State: 72:[68, 9], Operations: ['16-13=3', '12-3=9'] Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,72 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,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,4,3 Current State: 72:[68, 36], Operations: ['16-13=3', '12*3=36'] Exploring Operation: 68+36=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 68*36=2448, Resulting Numbers: [2448] 2448,72 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,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,4,4 Current State: 72:[68, 4], Operations: ['16-13=3', '12/3=4'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,72 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[13, 12, 68, 16], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [12, 68, 3] Generated Node #0,4: 72:[12, 68, 3] Operation: 16-13=3 Moving to Node #0,4 Current State: 72:[12, 68, 3], Operations: ['16-13=3'] Exploring Operation: 12/3=4, Resulting Numbers: [68, 4] Generated Node #0,4,4: 72:[68, 4] Operation: 12/3=4 Moving to Node #0,4,4 Current State: 72:[68, 4], Operations: ['16-13=3', '12/3=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 33, 40, 15, 62 ]
26
[ "33+40=73", "62-15=47", "73-47=26" ]
Current State: 26:[33, 40, 15, 62], Operations: [] Exploring Operation: 33+40=73, Resulting Numbers: [15, 62, 73] Generated Node #2: [15, 62, 73] from Operation: 33+40=73 Current State: 26:[15, 62, 73], Operations: ['33+40=73'] Exploring Operation: 62-15=47, Resulting Numbers: [73, 47] Generated Node #3: [73, 47] from Operation: 62-15=47 Current State: 26:[73, 47], Operations: ['33+40=73', '62-15=47'] Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[33, 40, 15, 62], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [33, 15, 22] Generated Node #0,0: 26:[33, 15, 22] Operation: 62-40=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[33, 15, 22], Operations: ['62-40=22'] Exploring Operation: 33-22=11, Resulting Numbers: [15, 11] Generated Node #0,0,0: 26:[15, 11] Operation: 33-22=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[15, 11], Operations: ['62-40=22', '33-22=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[33, 40, 15, 62], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [33, 15, 22] Generated Node #0,0: 26:[33, 15, 22] Operation: 62-40=22 Moving to Node #0,0 Current State: 26:[33, 15, 22], Operations: ['62-40=22'] Exploring Operation: 33-22=11, Resulting Numbers: [15, 11] Generated Node #0,0,0: 26:[15, 11] Operation: 33-22=11 Moving to Node #0,0,0 Current State: 26:[15, 11], Operations: ['62-40=22', '33-22=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 74, 38, 88, 2 ]
100
[ "74+38=112", "88+112=200", "200/2=100" ]
Current State: 100:[74, 38, 88, 2], Operations: [] Exploring Operation: 74+38=112, Resulting Numbers: [88, 2, 112] Generated Node #2: [88, 2, 112] from Operation: 74+38=112 Current State: 100:[88, 2, 112], Operations: ['74+38=112'] Exploring Operation: 88+112=200, Resulting Numbers: [2, 200] Generated Node #3: [2, 200] from Operation: 88+112=200 Current State: 100:[2, 200], Operations: ['74+38=112', '88+112=200'] Exploring Operation: 200/2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[74, 38, 88, 2], Operations: [] Exploring Operation: 74+38=112, Resulting Numbers: [88, 2, 112] Generated Node #0,0: 100:[88, 2, 112] Operation: 74+38=112 Exploring Operation: 88-74=14, Resulting Numbers: [38, 2, 14] Generated Node #0,1: 100:[38, 2, 14] Operation: 88-74=14 Exploring Operation: 88-38=50, Resulting Numbers: [74, 2, 50] Generated Node #0,2: 100:[74, 2, 50] Operation: 88-38=50 Exploring Operation: 74/2=37, Resulting Numbers: [38, 88, 37] Generated Node #0,3: 100:[38, 88, 37] Operation: 74/2=37 Exploring Operation: 74-38=36, Resulting Numbers: [88, 2, 36] Generated Node #0,4: 100:[88, 2, 36] Operation: 74-38=36 Moving to Node #0,1 Current State: 100:[38, 2, 14], Operations: ['88-74=14'] Exploring Operation: 14-2=12, Resulting Numbers: [38, 12] Generated Node #0,1,0: 100:[38, 12] Operation: 14-2=12 Exploring Operation: 38/2=19, Resulting Numbers: [14, 19] Generated Node #0,1,1: 100:[14, 19] Operation: 38/2=19 Exploring Operation: 38-14=24, Resulting Numbers: [2, 24] Generated Node #0,1,2: 100:[2, 24] Operation: 38-14=24 Exploring Operation: 38+14=52, Resulting Numbers: [2, 52] Generated Node #0,1,3: 100:[2, 52] Operation: 38+14=52 Exploring Operation: 38+2=40, Resulting Numbers: [14, 40] Generated Node #0,1,4: 100:[14, 40] Operation: 38+2=40 Moving to Node #0,4 Current State: 100:[88, 2, 36], Operations: ['74-38=36'] Exploring Operation: 36-2=34, Resulting Numbers: [88, 34] Generated Node #0,4,0: 100:[88, 34] Operation: 36-2=34 Exploring Operation: 88-36=52, Resulting Numbers: [2, 52] Generated Node #0,4,1: 100:[2, 52] Operation: 88-36=52 Exploring Operation: 88/2=44, Resulting Numbers: [36, 44] Generated Node #0,4,2: 100:[36, 44] Operation: 88/2=44 Exploring Operation: 88+2=90, Resulting Numbers: [36, 90] Generated Node #0,4,3: 100:[36, 90] Operation: 88+2=90 Exploring Operation: 36/2=18, Resulting Numbers: [88, 18] Generated Node #0,4,4: 100:[88, 18] Operation: 36/2=18 Moving to Node #0,0 Current State: 100:[88, 2, 112], Operations: ['74+38=112'] Exploring Operation: 112/2=56, Resulting Numbers: [88, 56] Generated Node #0,0,0: 100:[88, 56] Operation: 112/2=56 Exploring Operation: 88/2=44, Resulting Numbers: [112, 44] Generated Node #0,0,1: 100:[112, 44] Operation: 88/2=44 Exploring Operation: 112-88=24, Resulting Numbers: [2, 24] Generated Node #0,0,2: 100:[2, 24] Operation: 112-88=24 Exploring Operation: 112-2=110, Resulting Numbers: [88, 110] Generated Node #0,0,3: 100:[88, 110] Operation: 112-2=110 Exploring Operation: 88+2=90, Resulting Numbers: [112, 90] Generated Node #0,0,4: 100:[112, 90] Operation: 88+2=90 Moving to Node #0,2 Current State: 100:[74, 2, 50], Operations: ['88-38=50'] Exploring Operation: 74+2=76, Resulting Numbers: [50, 76] Generated Node #0,2,0: 100:[50, 76] Operation: 74+2=76 Exploring Operation: 74-50=24, Resulting Numbers: [2, 24] Generated Node #0,2,1: 100:[2, 24] Operation: 74-50=24 Exploring Operation: 74+50=124, Resulting Numbers: [2, 124] Generated Node #0,2,2: 100:[2, 124] Operation: 74+50=124 Exploring Operation: 74/2=37, Resulting Numbers: [50, 37] Generated Node #0,2,3: 100:[50, 37] Operation: 74/2=37 Exploring Operation: 74-2=72, Resulting Numbers: [50, 72] Generated Node #0,2,4: 100:[50, 72] Operation: 74-2=72 Moving to Node #0,3 Current State: 100:[38, 88, 37], Operations: ['74/2=37'] Exploring Operation: 88-37=51, Resulting Numbers: [38, 51] Generated Node #0,3,0: 100:[38, 51] Operation: 88-37=51 Exploring Operation: 88-38=50, Resulting Numbers: [37, 50] Generated Node #0,3,1: 100:[37, 50] Operation: 88-38=50 Exploring Operation: 88+37=125, Resulting Numbers: [38, 125] Generated Node #0,3,2: 100:[38, 125] Operation: 88+37=125 Exploring Operation: 38-37=1, Resulting Numbers: [88, 1] Generated Node #0,3,3: 100:[88, 1] Operation: 38-37=1 Exploring Operation: 38+37=75, Resulting Numbers: [88, 75] Generated Node #0,3,4: 100:[88, 75] Operation: 38+37=75 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 100:[37, 50], Operations: ['74/2=37', '88-38=50'] Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,100 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[38, 51], Operations: ['74/2=37', '88-37=51'] Exploring Operation: 38*51=1938, Resulting Numbers: [1938] 1938,100 unequal: No Solution Exploring Operation: 38+51=89, Resulting Numbers: [89] 89,100 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 100:[88, 1], Operations: ['74/2=37', '38-37=1'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,100 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,100 unequal: No Solution Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,100 unequal: No Solution Exploring Operation: 88+1=89, Resulting Numbers: [89] 89,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[38, 125], Operations: ['74/2=37', '88+37=125'] Exploring Operation: 125-38=87, Resulting Numbers: [87] 87,100 unequal: No Solution Exploring Operation: 38*125=4750, Resulting Numbers: [4750] 4750,100 unequal: No Solution Exploring Operation: 38+125=163, Resulting Numbers: [163] 163,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 100:[88, 75], Operations: ['74/2=37', '38+37=75'] Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 88*75=6600, Resulting Numbers: [6600] 6600,100 unequal: No Solution Exploring Operation: 88+75=163, Resulting Numbers: [163] 163,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 100:[2, 24], Operations: ['88-74=14', '38-14=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[2, 24], Operations: ['74+38=112', '112-88=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[2, 24], Operations: ['88-38=50', '74-50=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,100 unequal: No Solution Moving to Node #0,4,1 Current State: 100:[2, 52], Operations: ['74-38=36', '88-36=52'] Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,100 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[2, 52], Operations: ['88-74=14', '38+14=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[14, 19], Operations: ['88-74=14', '38/2=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,100 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[50, 37], Operations: ['88-38=50', '74/2=37'] Exploring Operation: 50+37=87, Resulting Numbers: [87] 87,100 unequal: No Solution Exploring Operation: 50*37=1850, Resulting Numbers: [1850] 1850,100 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[88, 18], Operations: ['74-38=36', '36/2=18'] Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 88+18=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 88*18=1584, Resulting Numbers: [1584] 1584,100 unequal: No Solution Moving to Node #0,1,4 Current State: 100:[14, 40], Operations: ['88-74=14', '38+2=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,100 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[38, 12], Operations: ['88-74=14', '14-2=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,100 unequal: No Solution Moving to Node #0,4,2 Current State: 100:[36, 44], Operations: ['74-38=36', '88/2=44'] Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,100 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[112, 44], Operations: ['74+38=112', '88/2=44'] Exploring Operation: 112-44=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 112*44=4928, Resulting Numbers: [4928] 4928,100 unequal: No Solution Exploring Operation: 112+44=156, Resulting Numbers: [156] 156,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[88, 56], Operations: ['74+38=112', '112/2=56'] Exploring Operation: 88*56=4928, Resulting Numbers: [4928] 4928,100 unequal: No Solution Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 88+56=144, Resulting Numbers: [144] 144,100 unequal: No Solution Moving to Node #0,4,3 Current State: 100:[36, 90], Operations: ['74-38=36', '88+2=90'] Exploring Operation: 36*90=3240, Resulting Numbers: [3240] 3240,100 unequal: No Solution Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,100 unequal: No Solution Moving to Node #0,4,0 Current State: 100:[88, 34], Operations: ['74-38=36', '36-2=34'] Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,100 unequal: No Solution Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,100 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,100 unequal: No Solution Moving to Node #0,0,4 Current State: 100:[112, 90], Operations: ['74+38=112', '88+2=90'] Exploring Operation: 112+90=202, Resulting Numbers: [202] 202,100 unequal: No Solution Exploring Operation: 112-90=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 112*90=10080, Resulting Numbers: [10080] 10080,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[50, 72], Operations: ['88-38=50', '74-2=72'] Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 50*72=3600, Resulting Numbers: [3600] 3600,100 unequal: No Solution Exploring Operation: 50+72=122, Resulting Numbers: [122] 122,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[88, 110], Operations: ['74+38=112', '112-2=110'] Exploring Operation: 110-88=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 88*110=9680, Resulting Numbers: [9680] 9680,100 unequal: No Solution Exploring Operation: 88+110=198, Resulting Numbers: [198] 198,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[2, 124], Operations: ['88-38=50', '74+50=124'] Exploring Operation: 2+124=126, Resulting Numbers: [126] 126,100 unequal: No Solution Exploring Operation: 124-2=122, Resulting Numbers: [122] 122,100 unequal: No Solution Exploring Operation: 124/2=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 2*124=248, Resulting Numbers: [248] 248,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[50, 76], Operations: ['88-38=50', '74+2=76'] Exploring Operation: 50+76=126, Resulting Numbers: [126] 126,100 unequal: No Solution Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 50*76=3800, Resulting Numbers: [3800] 3800,100 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 66, 4, 17, 31 ]
41
[ "66+17=83", "4*31=124", "124-83=41" ]
Current State: 41:[66, 4, 17, 31], Operations: [] Exploring Operation: 66+17=83, Resulting Numbers: [4, 31, 83] Generated Node #2: [4, 31, 83] from Operation: 66+17=83 Current State: 41:[4, 31, 83], Operations: ['66+17=83'] Exploring Operation: 4*31=124, Resulting Numbers: [83, 124] Generated Node #3: [83, 124] from Operation: 4*31=124 Current State: 41:[83, 124], Operations: ['66+17=83', '4*31=124'] Exploring Operation: 124-83=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[66, 4, 17, 31], Operations: [] Exploring Operation: 4+17=21, Resulting Numbers: [66, 31, 21] Generated Node #0,0: 41:[66, 31, 21] Operation: 4+17=21 Exploring Operation: 4+31=35, Resulting Numbers: [66, 17, 35] Generated Node #0,1: 41:[66, 17, 35] Operation: 4+31=35 Exploring Operation: 66-17=49, Resulting Numbers: [4, 31, 49] Generated Node #0,2: 41:[4, 31, 49] Operation: 66-17=49 Exploring Operation: 66-4=62, Resulting Numbers: [17, 31, 62] Generated Node #0,3: 41:[17, 31, 62] Operation: 66-4=62 Moving to Node #0,0 Current State: 41:[66, 31, 21], Operations: ['4+17=21'] Exploring Operation: 31+21=52, Resulting Numbers: [66, 52] Generated Node #0,0,0: 41:[66, 52] Operation: 31+21=52 Exploring Operation: 66-31=35, Resulting Numbers: [21, 35] Generated Node #0,0,1: 41:[21, 35] Operation: 66-31=35 Exploring Operation: 66+21=87, Resulting Numbers: [31, 87] Generated Node #0,0,2: 41:[31, 87] Operation: 66+21=87 Exploring Operation: 66-21=45, Resulting Numbers: [31, 45] Generated Node #0,0,3: 41:[31, 45] Operation: 66-21=45 Moving to Node #0,2 Current State: 41:[4, 31, 49], Operations: ['66-17=49'] Exploring Operation: 4+49=53, Resulting Numbers: [31, 53] Generated Node #0,2,0: 41:[31, 53] Operation: 4+49=53 Exploring Operation: 4+31=35, Resulting Numbers: [49, 35] Generated Node #0,2,1: 41:[49, 35] Operation: 4+31=35 Exploring Operation: 31-4=27, Resulting Numbers: [49, 27] Generated Node #0,2,2: 41:[49, 27] Operation: 31-4=27 Exploring Operation: 49-4=45, Resulting Numbers: [31, 45] Generated Node #0,2,3: 41:[31, 45] Operation: 49-4=45 Moving to Node #0,1 Current State: 41:[66, 17, 35], Operations: ['4+31=35'] Exploring Operation: 66-35=31, Resulting Numbers: [17, 31] Generated Node #0,1,0: 41:[17, 31] Operation: 66-35=31 Exploring Operation: 17+35=52, Resulting Numbers: [66, 52] Generated Node #0,1,1: 41:[66, 52] Operation: 17+35=52 Exploring Operation: 66+17=83, Resulting Numbers: [35, 83] Generated Node #0,1,2: 41:[35, 83] Operation: 66+17=83 Exploring Operation: 66-17=49, Resulting Numbers: [35, 49] Generated Node #0,1,3: 41:[35, 49] Operation: 66-17=49 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[35, 49], Operations: ['4+31=35', '66-17=49'] Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,41 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,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:[17, 31], Operations: ['4+31=35', '66-35=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,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:[66, 52], Operations: ['4+31=35', '17+35=52'] Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,41 unequal: No Solution Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[35, 83], Operations: ['4+31=35', '66+17=83'] Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,41 unequal: No Solution Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,41 unequal: No Solution Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 41:[17, 31, 62], Operations: ['66-4=62'] Exploring Operation: 62-31=31, Resulting Numbers: [17, 31] Generated Node #0,3,0: 41:[17, 31] Operation: 62-31=31 Exploring Operation: 17+31=48, Resulting Numbers: [62, 48] Generated Node #0,3,1: 41:[62, 48] Operation: 17+31=48 Exploring Operation: 31-17=14, Resulting Numbers: [62, 14] Generated Node #0,3,2: 41:[62, 14] Operation: 31-17=14 Exploring Operation: 62-17=45, Resulting Numbers: [31, 45] Generated Node #0,3,3: 41:[31, 45] Operation: 62-17=45 Moving to Node #0,0,3 Current State: 41:[31, 45], Operations: ['4+17=21', '66-21=45'] Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,41 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[31, 45], Operations: ['66-17=49', '49-4=45'] Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,41 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[49, 35], Operations: ['66-17=49', '4+31=35'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,41 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[31, 45], Operations: ['66-4=62', '62-17=45'] Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,41 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[31, 53], Operations: ['66-17=49', '4+49=53'] Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,41 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[49, 27], Operations: ['66-17=49', '31-4=27'] Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[21, 35], Operations: ['4+17=21', '66-31=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[62, 48], Operations: ['66-4=62', '17+31=48'] Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 62*48=2976, Resulting Numbers: [2976] 2976,41 unequal: No Solution Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[17, 31], Operations: ['66-4=62', '62-31=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,41 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[66, 52], Operations: ['4+17=21', '31+21=52'] Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,41 unequal: No Solution Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[62, 14], Operations: ['66-4=62', '31-17=14'] Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,41 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[31, 87], Operations: ['4+17=21', '66+21=87'] Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,41 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,41 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 36, 8, 61, 68 ]
37
[ "36+8=44", "68-61=7", "44-7=37" ]
Current State: 37:[36, 8, 61, 68], Operations: [] Exploring Operation: 36+8=44, Resulting Numbers: [61, 68, 44] Generated Node #2: [61, 68, 44] from Operation: 36+8=44 Current State: 37:[61, 68, 44], Operations: ['36+8=44'] Exploring Operation: 68-61=7, Resulting Numbers: [44, 7] Generated Node #3: [44, 7] from Operation: 68-61=7 Current State: 37:[44, 7], Operations: ['36+8=44', '68-61=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[36, 8, 61, 68], Operations: [] Exploring Operation: 61-8=53, Resulting Numbers: [36, 68, 53] Generated Node #0,0: 37:[36, 68, 53] Operation: 61-8=53 Exploring Operation: 68-8=60, Resulting Numbers: [36, 61, 60] Generated Node #0,1: 37:[36, 61, 60] Operation: 68-8=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[36, 68, 53], Operations: ['61-8=53'] Exploring Operation: 68-53=15, Resulting Numbers: [36, 15] Generated Node #0,0,0: 37:[36, 15] Operation: 68-53=15 Exploring Operation: 68-36=32, Resulting Numbers: [53, 32] Generated Node #0,0,1: 37:[53, 32] Operation: 68-36=32 Moving to Node #0,0,1 Current State: 37:[53, 32], Operations: ['61-8=53', '68-36=32'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[36, 15], Operations: ['61-8=53', '68-53=15'] Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,37 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[36, 61, 60], Operations: ['68-8=60'] Exploring Operation: 61-36=25, Resulting Numbers: [60, 25] Generated Node #0,1,0: 37:[60, 25] Operation: 61-36=25 Exploring Operation: 60-36=24, Resulting Numbers: [61, 24] Generated Node #0,1,1: 37:[61, 24] Operation: 60-36=24 Moving to Node #0,1,0 Current State: 37:[60, 25], Operations: ['68-8=60', '61-36=25'] Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,37 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[61, 24], Operations: ['68-8=60', '60-36=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[36, 8, 61, 68], Operations: [] Exploring Operation: 68-8=60, Resulting Numbers: [36, 61, 60] Generated Node #0,1: 37:[36, 61, 60] Operation: 68-8=60 Moving to Node #0,1 Current State: 37:[36, 61, 60], Operations: ['68-8=60'] Exploring Operation: 60-36=24, Resulting Numbers: [61, 24] Generated Node #0,1,1: 37:[61, 24] Operation: 60-36=24 Moving to Node #0,1,1 Current State: 37:[61, 24], Operations: ['68-8=60', '60-36=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 4, 11, 40, 84 ]
59
[ "4+11=15", "84-40=44", "15+44=59" ]
Current State: 59:[4, 11, 40, 84], Operations: [] Exploring Operation: 4+11=15, Resulting Numbers: [40, 84, 15] Generated Node #2: [40, 84, 15] from Operation: 4+11=15 Current State: 59:[40, 84, 15], Operations: ['4+11=15'] Exploring Operation: 84-40=44, Resulting Numbers: [15, 44] Generated Node #3: [15, 44] from Operation: 84-40=44 Current State: 59:[15, 44], Operations: ['4+11=15', '84-40=44'] Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[4, 11, 40, 84], Operations: [] Exploring Operation: 4*11=44, Resulting Numbers: [40, 84, 44] Generated Node #0,0: 59:[40, 84, 44] Operation: 4*11=44 Moving to Node #0,0 Current State: 59:[40, 84, 44], Operations: ['4*11=44'] Exploring Operation: 84-40=44, Resulting Numbers: [44, 44] Generated Node #0,0,0: 59:[44, 44] Operation: 84-40=44 Moving to Node #0,0,0 Current State: 59:[44, 44], Operations: ['4*11=44', '84-40=44'] Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,59 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 28, 15, 36, 40 ]
52
[ "28-15=13", "40-36=4", "13*4=52" ]
Current State: 52:[28, 15, 36, 40], Operations: [] Exploring Operation: 28-15=13, Resulting Numbers: [36, 40, 13] Generated Node #2: [36, 40, 13] from Operation: 28-15=13 Current State: 52:[36, 40, 13], Operations: ['28-15=13'] Exploring Operation: 40-36=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 40-36=4 Current State: 52:[13, 4], Operations: ['28-15=13', '40-36=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[28, 15, 36, 40], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [15, 36, 12] Generated Node #0,0: 52:[15, 36, 12] Operation: 40-28=12 Exploring Operation: 40-36=4, Resulting Numbers: [28, 15, 4] Generated Node #0,1: 52:[28, 15, 4] Operation: 40-36=4 Exploring Operation: 40-15=25, Resulting Numbers: [28, 36, 25] Generated Node #0,2: 52:[28, 36, 25] Operation: 40-15=25 Moving to Node #0,1 Current State: 52:[28, 15, 4], Operations: ['40-36=4'] Exploring Operation: 28-4=24, Resulting Numbers: [15, 24] Generated Node #0,1,0: 52:[15, 24] Operation: 28-4=24 Exploring Operation: 15-4=11, Resulting Numbers: [28, 11] Generated Node #0,1,1: 52:[28, 11] Operation: 15-4=11 Exploring Operation: 28-15=13, Resulting Numbers: [4, 13] Generated Node #0,1,2: 52:[4, 13] Operation: 28-15=13 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[4, 13], Operations: ['40-36=4', '28-15=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[28, 15, 36, 40], Operations: [] Exploring Operation: 40-36=4, Resulting Numbers: [28, 15, 4] Generated Node #0,1: 52:[28, 15, 4] Operation: 40-36=4 Moving to Node #0,1 Current State: 52:[28, 15, 4], Operations: ['40-36=4'] Exploring Operation: 28-15=13, Resulting Numbers: [4, 13] Generated Node #0,1,2: 52:[4, 13] Operation: 28-15=13 Moving to Node #0,1,2 Current State: 52:[4, 13], Operations: ['40-36=4', '28-15=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 6, 12, 15, 90 ]
73
[ "12/6=2", "90-15=75", "75-2=73" ]
Current State: 73:[6, 12, 15, 90], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [15, 90, 2] Generated Node #2: [15, 90, 2] from Operation: 12/6=2 Current State: 73:[15, 90, 2], Operations: ['12/6=2'] Exploring Operation: 90-15=75, Resulting Numbers: [2, 75] Generated Node #3: [2, 75] from Operation: 90-15=75 Current State: 73:[2, 75], Operations: ['12/6=2', '90-15=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[6, 12, 15, 90], Operations: [] Exploring Operation: 6*12=72, Resulting Numbers: [15, 90, 72] Generated Node #0,0: 73:[15, 90, 72] Operation: 6*12=72 Exploring Operation: 6+12=18, Resulting Numbers: [15, 90, 18] Generated Node #0,1: 73:[15, 90, 18] Operation: 6+12=18 Exploring Operation: 6*15=90, Resulting Numbers: [12, 90, 90] Generated Node #0,2: 73:[12, 90, 90] Operation: 6*15=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[15, 90, 72], Operations: ['6*12=72'] Exploring Operation: 15+72=87, Resulting Numbers: [90, 87] Generated Node #0,0,0: 73:[90, 87] Operation: 15+72=87 Exploring Operation: 15+90=105, Resulting Numbers: [72, 105] Generated Node #0,0,1: 73:[72, 105] Operation: 15+90=105 Exploring Operation: 90-15=75, Resulting Numbers: [72, 75] Generated Node #0,0,2: 73:[72, 75] Operation: 90-15=75 Moving to Node #0,0,2 Current State: 73:[72, 75], Operations: ['6*12=72', '90-15=75'] Exploring Operation: 72*75=5400, Resulting Numbers: [5400] 5400,73 unequal: No Solution Exploring Operation: 72+75=147, Resulting Numbers: [147] 147,73 unequal: No Solution Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[90, 87], Operations: ['6*12=72', '15+72=87'] Exploring Operation: 90*87=7830, Resulting Numbers: [7830] 7830,73 unequal: No Solution Exploring Operation: 90-87=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 90+87=177, Resulting Numbers: [177] 177,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[72, 105], Operations: ['6*12=72', '15+90=105'] Exploring Operation: 72+105=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 105-72=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 72*105=7560, Resulting Numbers: [7560] 7560,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[12, 90, 90], Operations: ['6*15=90'] Exploring Operation: 90-12=78, Resulting Numbers: [90, 78] Generated Node #0,2,0: 73:[90, 78] Operation: 90-12=78 Exploring Operation: 90-12=78, Resulting Numbers: [90, 78] Generated Node #0,2,1: 73:[90, 78] Operation: 90-12=78 Exploring Operation: 12+90=102, Resulting Numbers: [90, 102] Generated Node #0,2,2: 73:[90, 102] Operation: 12+90=102 Moving to Node #0,2,0 Current State: 73:[90, 78], Operations: ['6*15=90', '90-12=78'] Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 90*78=7020, Resulting Numbers: [7020] 7020,73 unequal: No Solution Exploring Operation: 90+78=168, Resulting Numbers: [168] 168,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[90, 78], Operations: ['6*15=90', '90-12=78'] Exploring Operation: 90+78=168, Resulting Numbers: [168] 168,73 unequal: No Solution Exploring Operation: 90*78=7020, Resulting Numbers: [7020] 7020,73 unequal: No Solution Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[90, 102], Operations: ['6*15=90', '12+90=102'] Exploring Operation: 90+102=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 102-90=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 90*102=9180, Resulting Numbers: [9180] 9180,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[15, 90, 18], Operations: ['6+12=18'] Exploring Operation: 15+18=33, Resulting Numbers: [90, 33] Generated Node #0,1,0: 73:[90, 33] Operation: 15+18=33 Exploring Operation: 90-15=75, Resulting Numbers: [18, 75] Generated Node #0,1,1: 73:[18, 75] Operation: 90-15=75 Exploring Operation: 90-18=72, Resulting Numbers: [15, 72] Generated Node #0,1,2: 73:[15, 72] Operation: 90-18=72 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[90, 33], Operations: ['6+12=18', '15+18=33'] Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,73 unequal: No Solution Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,73 unequal: No Solution No 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: 73:[18, 75], Operations: ['6+12=18', '90-15=75'] Exploring Operation: 18+75=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 18*75=1350, Resulting Numbers: [1350] 1350,73 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,73 unequal: No Solution No 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: 73:[15, 72], Operations: ['6+12=18', '90-18=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 15+72=87, Resulting Numbers: [87] 87,73 unequal: No Solution Exploring Operation: 15*72=1080, Resulting Numbers: [1080] 1080,73 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
[ 40, 34, 36, 23 ]
17
[ "40-34=6", "36/6=6", "23-6=17" ]
Current State: 17:[40, 34, 36, 23], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [36, 23, 6] Generated Node #2: [36, 23, 6] from Operation: 40-34=6 Current State: 17:[36, 23, 6], Operations: ['40-34=6'] Exploring Operation: 36/6=6, Resulting Numbers: [23, 6] Generated Node #3: [23, 6] from Operation: 36/6=6 Current State: 17:[23, 6], Operations: ['40-34=6', '36/6=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[40, 34, 36, 23], Operations: [] Exploring Operation: 40-23=17, Resulting Numbers: [34, 36, 17] Generated Node #0,0: 17:[34, 36, 17] Operation: 40-23=17 Exploring Operation: 40-36=4, Resulting Numbers: [34, 23, 4] Generated Node #0,1: 17:[34, 23, 4] Operation: 40-36=4 Exploring Operation: 36-34=2, Resulting Numbers: [40, 23, 2] Generated Node #0,2: 17:[40, 23, 2] Operation: 36-34=2 Exploring Operation: 36-23=13, Resulting Numbers: [40, 34, 13] Generated Node #0,3: 17:[40, 34, 13] Operation: 36-23=13 Exploring Operation: 40-34=6, Resulting Numbers: [36, 23, 6] Generated Node #0,4: 17:[36, 23, 6] Operation: 40-34=6 Moving to Node #0,0 Current State: 17:[34, 36, 17], Operations: ['40-23=17'] Exploring Operation: 34/17=2, Resulting Numbers: [36, 2] Generated Node #0,0,0: 17:[36, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [36, 17] Generated Node #0,0,1: 17:[36, 17] Operation: 34-17=17 Exploring Operation: 34+36=70, Resulting Numbers: [17, 70] Generated Node #0,0,2: 17:[17, 70] Operation: 34+36=70 Exploring Operation: 36-34=2, Resulting Numbers: [17, 2] Generated Node #0,0,3: 17:[17, 2] Operation: 36-34=2 Exploring Operation: 36-17=19, Resulting Numbers: [34, 19] Generated Node #0,0,4: 17:[34, 19] Operation: 36-17=19 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[17, 2], Operations: ['40-23=17', '36-34=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[36, 17], Operations: ['40-23=17', '34-17=17'] Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[34, 19], Operations: ['40-23=17', '36-17=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,17 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[36, 2], Operations: ['40-23=17', '34/17=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[17, 70], Operations: ['40-23=17', '34+36=70'] Exploring Operation: 17+70=87, Resulting Numbers: [87] 87,17 unequal: No Solution Exploring Operation: 17*70=1190, Resulting Numbers: [1190] 1190,17 unequal: No Solution Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,17 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: 17:[36, 23, 6], Operations: ['40-34=6'] Exploring Operation: 36-6=30, Resulting Numbers: [23, 30] Generated Node #0,4,0: 17:[23, 30] Operation: 36-6=30 Exploring Operation: 36+6=42, Resulting Numbers: [23, 42] Generated Node #0,4,1: 17:[23, 42] Operation: 36+6=42 Exploring Operation: 36/6=6, Resulting Numbers: [23, 6] Generated Node #0,4,2: 17:[23, 6] Operation: 36/6=6 Exploring Operation: 36-23=13, Resulting Numbers: [6, 13] Generated Node #0,4,3: 17:[6, 13] Operation: 36-23=13 Exploring Operation: 23-6=17, Resulting Numbers: [36, 17] Generated Node #0,4,4: 17:[36, 17] Operation: 23-6=17 Moving to Node #0,1 Current State: 17:[34, 23, 4], Operations: ['40-36=4'] Exploring Operation: 34-4=30, Resulting Numbers: [23, 30] Generated Node #0,1,0: 17:[23, 30] Operation: 34-4=30 Exploring Operation: 34+4=38, Resulting Numbers: [23, 38] Generated Node #0,1,1: 17:[23, 38] Operation: 34+4=38 Exploring Operation: 23+4=27, Resulting Numbers: [34, 27] Generated Node #0,1,2: 17:[34, 27] Operation: 23+4=27 Exploring Operation: 34-23=11, Resulting Numbers: [4, 11] Generated Node #0,1,3: 17:[4, 11] Operation: 34-23=11 Exploring Operation: 23-4=19, Resulting Numbers: [34, 19] Generated Node #0,1,4: 17:[34, 19] Operation: 23-4=19 Moving to Node #0,2 Current State: 17:[40, 23, 2], Operations: ['36-34=2'] Exploring Operation: 40-2=38, Resulting Numbers: [23, 38] Generated Node #0,2,0: 17:[23, 38] Operation: 40-2=38 Exploring Operation: 23-2=21, Resulting Numbers: [40, 21] Generated Node #0,2,1: 17:[40, 21] Operation: 23-2=21 Exploring Operation: 40-23=17, Resulting Numbers: [2, 17] Generated Node #0,2,2: 17:[2, 17] Operation: 40-23=17 Exploring Operation: 40+2=42, Resulting Numbers: [23, 42] Generated Node #0,2,3: 17:[23, 42] Operation: 40+2=42 Exploring Operation: 40/2=20, Resulting Numbers: [23, 20] Generated Node #0,2,4: 17:[23, 20] Operation: 40/2=20 Moving to Node #0,3 Current State: 17:[40, 34, 13], Operations: ['36-23=13'] Exploring Operation: 40-13=27, Resulting Numbers: [34, 27] Generated Node #0,3,0: 17:[34, 27] Operation: 40-13=27 Exploring Operation: 40-34=6, Resulting Numbers: [13, 6] Generated Node #0,3,1: 17:[13, 6] Operation: 40-34=6 Exploring Operation: 34-13=21, Resulting Numbers: [40, 21] Generated Node #0,3,2: 17:[40, 21] Operation: 34-13=21 Exploring Operation: 40+13=53, Resulting Numbers: [34, 53] Generated Node #0,3,3: 17:[34, 53] Operation: 40+13=53 Exploring Operation: 34+13=47, Resulting Numbers: [40, 47] Generated Node #0,3,4: 17:[40, 47] Operation: 34+13=47 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[13, 6], Operations: ['36-23=13', '40-34=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[34, 27], Operations: ['36-23=13', '40-13=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,17 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,17 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[40, 21], Operations: ['36-23=13', '34-13=21'] Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,17 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[34, 53], Operations: ['36-23=13', '40+13=53'] Exploring Operation: 34*53=1802, Resulting Numbers: [1802] 1802,17 unequal: No Solution Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,17 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 17:[40, 47], Operations: ['36-23=13', '34+13=47'] Exploring Operation: 40+47=87, Resulting Numbers: [87] 87,17 unequal: No Solution Exploring Operation: 40*47=1880, Resulting Numbers: [1880] 1880,17 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 17:[23, 20], Operations: ['36-34=2', '40/2=20'] Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,17 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[2, 17], Operations: ['36-34=2', '40-23=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[6, 13], Operations: ['40-34=6', '36-23=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[23, 6], Operations: ['40-34=6', '36/6=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[40, 34, 36, 23], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [36, 23, 6] Generated Node #0,4: 17:[36, 23, 6] Operation: 40-34=6 Moving to Node #0,4 Current State: 17:[36, 23, 6], Operations: ['40-34=6'] Exploring Operation: 36/6=6, Resulting Numbers: [23, 6] Generated Node #0,4,2: 17:[23, 6] Operation: 36/6=6 Moving to Node #0,4,2 Current State: 17:[23, 6], Operations: ['40-34=6', '36/6=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.934028
hs_5
mult_heuristic
[ 15, 35, 72, 63 ]
99
[ "15*63=945", "945/35=27", "72+27=99" ]
Current State: 99:[15, 35, 72, 63], Operations: [] Exploring Operation: 15*63=945, Resulting Numbers: [35, 72, 945] Generated Node #2: [35, 72, 945] from Operation: 15*63=945 Current State: 99:[35, 72, 945], Operations: ['15*63=945'] Exploring Operation: 945/35=27, Resulting Numbers: [72, 27] Generated Node #3: [72, 27] from Operation: 945/35=27 Current State: 99:[72, 27], Operations: ['15*63=945', '945/35=27'] Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[15, 35, 72, 63], Operations: [] Exploring Operation: 35+63=98, Resulting Numbers: [15, 72, 98] Generated Node #0,0: 99:[15, 72, 98] Operation: 35+63=98 Exploring Operation: 63-35=28, Resulting Numbers: [15, 72, 28] Generated Node #0,1: 99:[15, 72, 28] Operation: 63-35=28 Exploring Operation: 72-35=37, Resulting Numbers: [15, 63, 37] Generated Node #0,2: 99:[15, 63, 37] Operation: 72-35=37 Exploring Operation: 35+72=107, Resulting Numbers: [15, 63, 107] Generated Node #0,3: 99:[15, 63, 107] Operation: 35+72=107 Exploring Operation: 72-63=9, Resulting Numbers: [15, 35, 9] Generated Node #0,4: 99:[15, 35, 9] Operation: 72-63=9 Moving to Node #0,4 Current State: 99:[15, 35, 9], Operations: ['72-63=9'] Exploring Operation: 35+9=44, Resulting Numbers: [15, 44] Generated Node #0,4,0: 99:[15, 44] Operation: 35+9=44 Exploring Operation: 35-15=20, Resulting Numbers: [9, 20] Generated Node #0,4,1: 99:[9, 20] Operation: 35-15=20 Exploring Operation: 35-9=26, Resulting Numbers: [15, 26] Generated Node #0,4,2: 99:[15, 26] Operation: 35-9=26 Exploring Operation: 15-9=6, Resulting Numbers: [35, 6] Generated Node #0,4,3: 99:[35, 6] Operation: 15-9=6 Exploring Operation: 15+9=24, Resulting Numbers: [35, 24] Generated Node #0,4,4: 99:[35, 24] Operation: 15+9=24 Moving to Node #0,0 Current State: 99:[15, 72, 98], Operations: ['35+63=98'] Exploring Operation: 72-15=57, Resulting Numbers: [98, 57] Generated Node #0,0,0: 99:[98, 57] Operation: 72-15=57 Exploring Operation: 98-15=83, Resulting Numbers: [72, 83] Generated Node #0,0,1: 99:[72, 83] Operation: 98-15=83 Exploring Operation: 15+98=113, Resulting Numbers: [72, 113] Generated Node #0,0,2: 99:[72, 113] Operation: 15+98=113 Exploring Operation: 98-72=26, Resulting Numbers: [15, 26] Generated Node #0,0,3: 99:[15, 26] Operation: 98-72=26 Exploring Operation: 15+72=87, Resulting Numbers: [98, 87] Generated Node #0,0,4: 99:[98, 87] Operation: 15+72=87 Moving to Node #0,1 Current State: 99:[15, 72, 28], Operations: ['63-35=28'] Exploring Operation: 28-15=13, Resulting Numbers: [72, 13] Generated Node #0,1,0: 99:[72, 13] Operation: 28-15=13 Exploring Operation: 72-15=57, Resulting Numbers: [28, 57] Generated Node #0,1,1: 99:[28, 57] Operation: 72-15=57 Exploring Operation: 15+72=87, Resulting Numbers: [28, 87] Generated Node #0,1,2: 99:[28, 87] Operation: 15+72=87 Exploring Operation: 72-28=44, Resulting Numbers: [15, 44] Generated Node #0,1,3: 99:[15, 44] Operation: 72-28=44 Exploring Operation: 72+28=100, Resulting Numbers: [15, 100] Generated Node #0,1,4: 99:[15, 100] Operation: 72+28=100 Moving to Node #0,2 Current State: 99:[15, 63, 37], Operations: ['72-35=37'] Exploring Operation: 63-37=26, Resulting Numbers: [15, 26] Generated Node #0,2,0: 99:[15, 26] Operation: 63-37=26 Exploring Operation: 15+63=78, Resulting Numbers: [37, 78] Generated Node #0,2,1: 99:[37, 78] Operation: 15+63=78 Exploring Operation: 37-15=22, Resulting Numbers: [63, 22] Generated Node #0,2,2: 99:[63, 22] Operation: 37-15=22 Exploring Operation: 63-15=48, Resulting Numbers: [37, 48] Generated Node #0,2,3: 99:[37, 48] Operation: 63-15=48 Exploring Operation: 63+37=100, Resulting Numbers: [15, 100] Generated Node #0,2,4: 99:[15, 100] Operation: 63+37=100 Moving to Node #0,3 Current State: 99:[15, 63, 107], Operations: ['35+72=107'] Exploring Operation: 107-63=44, Resulting Numbers: [15, 44] Generated Node #0,3,0: 99:[15, 44] Operation: 107-63=44 Exploring Operation: 15+63=78, Resulting Numbers: [107, 78] Generated Node #0,3,1: 99:[107, 78] Operation: 15+63=78 Exploring Operation: 15+107=122, Resulting Numbers: [63, 122] Generated Node #0,3,2: 99:[63, 122] Operation: 15+107=122 Exploring Operation: 63-15=48, Resulting Numbers: [107, 48] Generated Node #0,3,3: 99:[107, 48] Operation: 63-15=48 Exploring Operation: 107-15=92, Resulting Numbers: [63, 92] Generated Node #0,3,4: 99:[63, 92] Operation: 107-15=92 Moving to Node #0,4,3 Current State: 99:[35, 6], Operations: ['72-63=9', '15-9=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[15, 100], Operations: ['63-35=28', '72+28=100'] Exploring Operation: 15*100=1500, Resulting Numbers: [1500] 1500,99 unequal: No Solution Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 15+100=115, Resulting Numbers: [115] 115,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[15, 100], Operations: ['72-35=37', '63+37=100'] Exploring Operation: 15*100=1500, Resulting Numbers: [1500] 1500,99 unequal: No Solution Exploring Operation: 15+100=115, Resulting Numbers: [115] 115,99 unequal: No Solution Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,99 unequal: No Solution Moving to Node #0,4,1 Current State: 99:[9, 20], Operations: ['72-63=9', '35-15=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,99 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,99 unequal: No Solution Moving to Node #0,4,2 Current State: 99:[15, 26], Operations: ['72-63=9', '35-9=26'] Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,99 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[15, 26], Operations: ['35+63=98', '98-72=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,99 unequal: No Solution Moving to Node #0,4,4 Current State: 99:[35, 24], Operations: ['72-63=9', '15+9=24'] Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[15, 26], Operations: ['72-35=37', '63-37=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[98, 87], Operations: ['35+63=98', '15+72=87'] Exploring Operation: 98-87=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 98*87=8526, Resulting Numbers: [8526] 8526,99 unequal: No Solution Exploring Operation: 98+87=185, Resulting Numbers: [185] 185,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[15, 44], Operations: ['63-35=28', '72-28=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,99 unequal: No Solution Moving to Node #0,4,0 Current State: 99:[15, 44], Operations: ['72-63=9', '35+9=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,99 unequal: No Solution Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[15, 44], Operations: ['35+72=107', '107-63=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[28, 87], Operations: ['63-35=28', '15+72=87'] Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,99 unequal: No Solution Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,99 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[37, 48], Operations: ['72-35=37', '63-15=48'] Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 37*48=1776, Resulting Numbers: [1776] 1776,99 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[107, 48], Operations: ['35+72=107', '63-15=48'] Exploring Operation: 107-48=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 107+48=155, Resulting Numbers: [155] 155,99 unequal: No Solution Exploring Operation: 107*48=5136, Resulting Numbers: [5136] 5136,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[37, 78], Operations: ['72-35=37', '15+63=78'] Exploring Operation: 37*78=2886, Resulting Numbers: [2886] 2886,99 unequal: No Solution Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,99 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[98, 57], Operations: ['35+63=98', '72-15=57'] Exploring Operation: 98+57=155, Resulting Numbers: [155] 155,99 unequal: No Solution Exploring Operation: 98*57=5586, Resulting Numbers: [5586] 5586,99 unequal: No Solution Exploring Operation: 98-57=41, Resulting Numbers: [41] 41,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[28, 57], Operations: ['63-35=28', '72-15=57'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 28*57=1596, Resulting Numbers: [1596] 1596,99 unequal: No Solution Exploring Operation: 28+57=85, Resulting Numbers: [85] 85,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[72, 13], Operations: ['63-35=28', '28-15=13'] Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,99 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,99 unequal: No Solution Moving to Node #0,3,1 Current State: 99:[107, 78], Operations: ['35+72=107', '15+63=78'] Exploring Operation: 107+78=185, Resulting Numbers: [185] 185,99 unequal: No Solution Exploring Operation: 107*78=8346, Resulting Numbers: [8346] 8346,99 unequal: No Solution Exploring Operation: 107-78=29, Resulting Numbers: [29] 29,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[63, 92], Operations: ['35+72=107', '107-15=92'] Exploring Operation: 63+92=155, Resulting Numbers: [155] 155,99 unequal: No Solution Exploring Operation: 92-63=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 63*92=5796, Resulting Numbers: [5796] 5796,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[63, 22], Operations: ['72-35=37', '37-15=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[72, 113], Operations: ['35+63=98', '15+98=113'] Exploring Operation: 72*113=8136, Resulting Numbers: [8136] 8136,99 unequal: No Solution Exploring Operation: 72+113=185, Resulting Numbers: [185] 185,99 unequal: No Solution Exploring Operation: 113-72=41, Resulting Numbers: [41] 41,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[72, 83], Operations: ['35+63=98', '98-15=83'] Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,99 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[63, 122], Operations: ['35+72=107', '15+107=122'] Exploring Operation: 63*122=7686, Resulting Numbers: [7686] 7686,99 unequal: No Solution Exploring Operation: 122-63=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 63+122=185, Resulting Numbers: [185] 185,99 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 97, 27, 84, 71 ]
85
[ "97-27=70", "84+71=155", "155-70=85" ]
Current State: 85:[97, 27, 84, 71], Operations: [] Exploring Operation: 97-27=70, Resulting Numbers: [84, 71, 70] Generated Node #2: [84, 71, 70] from Operation: 97-27=70 Current State: 85:[84, 71, 70], Operations: ['97-27=70'] Exploring Operation: 84+71=155, Resulting Numbers: [70, 155] Generated Node #3: [70, 155] from Operation: 84+71=155 Current State: 85:[70, 155], Operations: ['97-27=70', '84+71=155'] Exploring Operation: 155-70=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[97, 27, 84, 71], Operations: [] Exploring Operation: 84-71=13, Resulting Numbers: [97, 27, 13] Generated Node #0,0: 85:[97, 27, 13] Operation: 84-71=13 Exploring Operation: 27+71=98, Resulting Numbers: [97, 84, 98] Generated Node #0,1: 85:[97, 84, 98] Operation: 27+71=98 Exploring Operation: 97-84=13, Resulting Numbers: [27, 71, 13] Generated Node #0,2: 85:[27, 71, 13] Operation: 97-84=13 Exploring Operation: 97-71=26, Resulting Numbers: [27, 84, 26] Generated Node #0,3: 85:[27, 84, 26] Operation: 97-71=26 Moving to Node #0,3 Current State: 85:[27, 84, 26], Operations: ['97-71=26'] Exploring Operation: 27+26=53, Resulting Numbers: [84, 53] Generated Node #0,3,0: 85:[84, 53] Operation: 27+26=53 Exploring Operation: 27-26=1, Resulting Numbers: [84, 1] Generated Node #0,3,1: 85:[84, 1] Operation: 27-26=1 Exploring Operation: 84+26=110, Resulting Numbers: [27, 110] Generated Node #0,3,2: 85:[27, 110] Operation: 84+26=110 Exploring Operation: 27+84=111, Resulting Numbers: [26, 111] Generated Node #0,3,3: 85:[26, 111] Operation: 27+84=111 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[84, 1], Operations: ['97-71=26', '27-26=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[97, 27, 84, 71], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [27, 84, 26] Generated Node #0,3: 85:[27, 84, 26] Operation: 97-71=26 Moving to Node #0,3 Current State: 85:[27, 84, 26], Operations: ['97-71=26'] Exploring Operation: 27-26=1, Resulting Numbers: [84, 1] Generated Node #0,3,1: 85:[84, 1] Operation: 27-26=1 Moving to Node #0,3,1 Current State: 85:[84, 1], Operations: ['97-71=26', '27-26=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 88, 76, 48, 6 ]
87
[ "88*6=528", "528/48=11", "76+11=87" ]
Current State: 87:[88, 76, 48, 6], Operations: [] Exploring Operation: 88*6=528, Resulting Numbers: [76, 48, 528] Generated Node #2: [76, 48, 528] from Operation: 88*6=528 Current State: 87:[76, 48, 528], Operations: ['88*6=528'] Exploring Operation: 528/48=11, Resulting Numbers: [76, 11] Generated Node #3: [76, 11] from Operation: 528/48=11 Current State: 87:[76, 11], Operations: ['88*6=528', '528/48=11'] Exploring Operation: 76+11=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[88, 76, 48, 6], Operations: [] Exploring Operation: 76-48=28, Resulting Numbers: [88, 6, 28] Generated Node #0,0: 87:[88, 6, 28] Operation: 76-48=28 Moving to Node #0,0 Current State: 87:[88, 6, 28], Operations: ['76-48=28'] Exploring Operation: 88-6=82, Resulting Numbers: [28, 82] Generated Node #0,0,0: 87:[28, 82] Operation: 88-6=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[28, 82], Operations: ['76-48=28', '88-6=82'] Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 13, 76, 18, 73 ]
93
[ "13+18=31", "76-73=3", "31*3=93" ]
Current State: 93:[13, 76, 18, 73], Operations: [] Exploring Operation: 13+18=31, Resulting Numbers: [76, 73, 31] Generated Node #2: [76, 73, 31] from Operation: 13+18=31 Current State: 93:[76, 73, 31], Operations: ['13+18=31'] Exploring Operation: 76-73=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 76-73=3 Current State: 93:[31, 3], Operations: ['13+18=31', '76-73=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[13, 76, 18, 73], Operations: [] Exploring Operation: 13+76=89, Resulting Numbers: [18, 73, 89] Generated Node #0,0: 93:[18, 73, 89] Operation: 13+76=89 Exploring Operation: 76-73=3, Resulting Numbers: [13, 18, 3] Generated Node #0,1: 93:[13, 18, 3] Operation: 76-73=3 Exploring Operation: 18+73=91, Resulting Numbers: [13, 76, 91] Generated Node #0,2: 93:[13, 76, 91] Operation: 18+73=91 Exploring Operation: 76+18=94, Resulting Numbers: [13, 73, 94] Generated Node #0,3: 93:[13, 73, 94] Operation: 76+18=94 Exploring Operation: 13+18=31, Resulting Numbers: [76, 73, 31] Generated Node #0,4: 93:[76, 73, 31] Operation: 13+18=31 Moving to Node #0,1 Current State: 93:[13, 18, 3], Operations: ['76-73=3'] Exploring Operation: 13+18=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 93:[3, 31] Operation: 13+18=31 Exploring Operation: 13-3=10, Resulting Numbers: [18, 10] Generated Node #0,1,1: 93:[18, 10] Operation: 13-3=10 Exploring Operation: 18/3=6, Resulting Numbers: [13, 6] Generated Node #0,1,2: 93:[13, 6] Operation: 18/3=6 Exploring Operation: 18-13=5, Resulting Numbers: [3, 5] Generated Node #0,1,3: 93:[3, 5] Operation: 18-13=5 Exploring Operation: 18+3=21, Resulting Numbers: [13, 21] Generated Node #0,1,4: 93:[13, 21] Operation: 18+3=21 Moving to Node #0,2 Current State: 93:[13, 76, 91], Operations: ['18+73=91'] Exploring Operation: 91/13=7, Resulting Numbers: [76, 7] Generated Node #0,2,0: 93:[76, 7] Operation: 91/13=7 Exploring Operation: 13+91=104, Resulting Numbers: [76, 104] Generated Node #0,2,1: 93:[76, 104] Operation: 13+91=104 Exploring Operation: 76-13=63, Resulting Numbers: [91, 63] Generated Node #0,2,2: 93:[91, 63] Operation: 76-13=63 Exploring Operation: 13+76=89, Resulting Numbers: [91, 89] Generated Node #0,2,3: 93:[91, 89] Operation: 13+76=89 Exploring Operation: 91-76=15, Resulting Numbers: [13, 15] Generated Node #0,2,4: 93:[13, 15] Operation: 91-76=15 Moving to Node #0,3 Current State: 93:[13, 73, 94], Operations: ['76+18=94'] Exploring Operation: 13+73=86, Resulting Numbers: [94, 86] Generated Node #0,3,0: 93:[94, 86] Operation: 13+73=86 Exploring Operation: 94-13=81, Resulting Numbers: [73, 81] Generated Node #0,3,1: 93:[73, 81] Operation: 94-13=81 Exploring Operation: 13+94=107, Resulting Numbers: [73, 107] Generated Node #0,3,2: 93:[73, 107] Operation: 13+94=107 Exploring Operation: 94-73=21, Resulting Numbers: [13, 21] Generated Node #0,3,3: 93:[13, 21] Operation: 94-73=21 Exploring Operation: 73-13=60, Resulting Numbers: [94, 60] Generated Node #0,3,4: 93:[94, 60] Operation: 73-13=60 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[94, 86], Operations: ['76+18=94', '13+73=86'] Exploring Operation: 94+86=180, Resulting Numbers: [180] 180,93 unequal: No Solution Exploring Operation: 94*86=8084, Resulting Numbers: [8084] 8084,93 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[13, 21], Operations: ['76+18=94', '94-73=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 93:[94, 60], Operations: ['76+18=94', '73-13=60'] Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,93 unequal: No Solution Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,93 unequal: No Solution Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[73, 81], Operations: ['76+18=94', '94-13=81'] Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,93 unequal: No Solution Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[73, 107], Operations: ['76+18=94', '13+94=107'] Exploring Operation: 73+107=180, Resulting Numbers: [180] 180,93 unequal: No Solution Exploring Operation: 107-73=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 73*107=7811, Resulting Numbers: [7811] 7811,93 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: 93:[18, 73, 89], Operations: ['13+76=89'] Exploring Operation: 73-18=55, Resulting Numbers: [89, 55] Generated Node #0,0,0: 93:[89, 55] Operation: 73-18=55 Exploring Operation: 89-73=16, Resulting Numbers: [18, 16] Generated Node #0,0,1: 93:[18, 16] Operation: 89-73=16 Exploring Operation: 18+89=107, Resulting Numbers: [73, 107] Generated Node #0,0,2: 93:[73, 107] Operation: 18+89=107 Exploring Operation: 89-18=71, Resulting Numbers: [73, 71] Generated Node #0,0,3: 93:[73, 71] Operation: 89-18=71 Exploring Operation: 18+73=91, Resulting Numbers: [89, 91] Generated Node #0,0,4: 93:[89, 91] Operation: 18+73=91 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 93:[89, 91], Operations: ['13+76=89', '18+73=91'] Exploring Operation: 89*91=8099, Resulting Numbers: [8099] 8099,93 unequal: No Solution Exploring Operation: 91-89=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 89+91=180, Resulting Numbers: [180] 180,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[18, 16], Operations: ['13+76=89', '89-73=16'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 18+16=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 18*16=288, Resulting Numbers: [288] 288,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[89, 55], Operations: ['13+76=89', '73-18=55'] Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 89*55=4895, Resulting Numbers: [4895] 4895,93 unequal: No Solution Exploring Operation: 89+55=144, Resulting Numbers: [144] 144,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[73, 107], Operations: ['13+76=89', '18+89=107'] Exploring Operation: 73+107=180, Resulting Numbers: [180] 180,93 unequal: No Solution Exploring Operation: 107-73=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 73*107=7811, Resulting Numbers: [7811] 7811,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[73, 71], Operations: ['13+76=89', '89-18=71'] Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,93 unequal: No Solution Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,93 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: 93:[76, 73, 31], Operations: ['13+18=31'] Exploring Operation: 76-31=45, Resulting Numbers: [73, 45] Generated Node #0,4,0: 93:[73, 45] Operation: 76-31=45 Exploring Operation: 73-31=42, Resulting Numbers: [76, 42] Generated Node #0,4,1: 93:[76, 42] Operation: 73-31=42 Exploring Operation: 76-73=3, Resulting Numbers: [31, 3] Generated Node #0,4,2: 93:[31, 3] Operation: 76-73=3 Exploring Operation: 76+31=107, Resulting Numbers: [73, 107] Generated Node #0,4,3: 93:[73, 107] Operation: 76+31=107 Exploring Operation: 73+31=104, Resulting Numbers: [76, 104] Generated Node #0,4,4: 93:[76, 104] Operation: 73+31=104 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 93:[31, 3], Operations: ['13+18=31', '76-73=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[13, 76, 18, 73], Operations: [] Exploring Operation: 13+18=31, Resulting Numbers: [76, 73, 31] Generated Node #0,4: 93:[76, 73, 31] Operation: 13+18=31 Moving to Node #0,4 Current State: 93:[76, 73, 31], Operations: ['13+18=31'] Exploring Operation: 76-73=3, Resulting Numbers: [31, 3] Generated Node #0,4,2: 93:[31, 3] Operation: 76-73=3 Moving to Node #0,4,2 Current State: 93:[31, 3], Operations: ['13+18=31', '76-73=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 31, 84, 14, 53 ]
13
[ "84-31=53", "53/53=1", "14-1=13" ]
Current State: 13:[31, 84, 14, 53], Operations: [] Exploring Operation: 84-31=53, Resulting Numbers: [14, 53, 53] Generated Node #2: [14, 53, 53] from Operation: 84-31=53 Current State: 13:[14, 53, 53], Operations: ['84-31=53'] Exploring Operation: 53/53=1, Resulting Numbers: [14, 1] Generated Node #3: [14, 1] from Operation: 53/53=1 Current State: 13:[14, 1], Operations: ['84-31=53', '53/53=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[31, 84, 14, 53], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [31, 53, 6] Generated Node #0,0: 13:[31, 53, 6] Operation: 84/14=6 Exploring Operation: 84-31=53, Resulting Numbers: [14, 53, 53] Generated Node #0,1: 13:[14, 53, 53] Operation: 84-31=53 Exploring Operation: 84-53=31, Resulting Numbers: [31, 14, 31] Generated Node #0,2: 13:[31, 14, 31] Operation: 84-53=31 Exploring Operation: 53-31=22, Resulting Numbers: [84, 14, 22] Generated Node #0,3: 13:[84, 14, 22] Operation: 53-31=22 Moving to Node #0,2 Current State: 13:[31, 14, 31], Operations: ['84-53=31'] Exploring Operation: 31/31=1, Resulting Numbers: [14, 1] Generated Node #0,2,0: 13:[14, 1] Operation: 31/31=1 Exploring Operation: 31-14=17, Resulting Numbers: [31, 17] Generated Node #0,2,1: 13:[31, 17] Operation: 31-14=17 Exploring Operation: 31-31=0, Resulting Numbers: [14, 0] Generated Node #0,2,2: 13:[14, 0] Operation: 31-31=0 Exploring Operation: 31-14=17, Resulting Numbers: [31, 17] Generated Node #0,2,3: 13:[31, 17] Operation: 31-14=17 Moving to Node #0,0 Current State: 13:[31, 53, 6], Operations: ['84/14=6'] Exploring Operation: 31-6=25, Resulting Numbers: [53, 25] Generated Node #0,0,0: 13:[53, 25] Operation: 31-6=25 Exploring Operation: 31+6=37, Resulting Numbers: [53, 37] Generated Node #0,0,1: 13:[53, 37] Operation: 31+6=37 Exploring Operation: 53-31=22, Resulting Numbers: [6, 22] Generated Node #0,0,2: 13:[6, 22] Operation: 53-31=22 Exploring Operation: 53-6=47, Resulting Numbers: [31, 47] Generated Node #0,0,3: 13:[31, 47] Operation: 53-6=47 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[6, 22], Operations: ['84/14=6', '53-31=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,13 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[53, 25], Operations: ['84/14=6', '31-6=25'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 13:[31, 47], Operations: ['84/14=6', '53-6=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[53, 37], Operations: ['84/14=6', '31+6=37'] Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,13 unequal: No Solution Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,13 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: 13:[84, 14, 22], Operations: ['53-31=22'] Exploring Operation: 84-14=70, Resulting Numbers: [22, 70] Generated Node #0,3,0: 13:[22, 70] Operation: 84-14=70 Exploring Operation: 84/14=6, Resulting Numbers: [22, 6] Generated Node #0,3,1: 13:[22, 6] Operation: 84/14=6 Exploring Operation: 84-22=62, Resulting Numbers: [14, 62] Generated Node #0,3,2: 13:[14, 62] Operation: 84-22=62 Exploring Operation: 22-14=8, Resulting Numbers: [84, 8] Generated Node #0,3,3: 13:[84, 8] Operation: 22-14=8 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[22, 6], Operations: ['53-31=22', '84/14=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,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,3,2 Current State: 13:[14, 62], Operations: ['53-31=22', '84-22=62'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 14+62=76, Resulting Numbers: [76] 76,13 unequal: No Solution Exploring Operation: 14*62=868, Resulting Numbers: [868] 868,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,3,0 Current State: 13:[22, 70], Operations: ['53-31=22', '84-14=70'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 22+70=92, Resulting Numbers: [92] 92,13 unequal: No Solution Exploring Operation: 22*70=1540, Resulting Numbers: [1540] 1540,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,3,3 Current State: 13:[84, 8], Operations: ['53-31=22', '22-14=8'] Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,13 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,13 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,13 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: 13:[14, 53, 53], Operations: ['84-31=53'] Exploring Operation: 53-14=39, Resulting Numbers: [53, 39] Generated Node #0,1,0: 13:[53, 39] Operation: 53-14=39 Exploring Operation: 53-53=0, Resulting Numbers: [14, 0] Generated Node #0,1,1: 13:[14, 0] Operation: 53-53=0 Exploring Operation: 53/53=1, Resulting Numbers: [14, 1] Generated Node #0,1,2: 13:[14, 1] Operation: 53/53=1 Exploring Operation: 53-14=39, Resulting Numbers: [53, 39] Generated Node #0,1,3: 13:[53, 39] Operation: 53-14=39 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[14, 1], Operations: ['84-31=53', '53/53=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[31, 84, 14, 53], Operations: [] Exploring Operation: 84-31=53, Resulting Numbers: [14, 53, 53] Generated Node #0,1: 13:[14, 53, 53] Operation: 84-31=53 Moving to Node #0,1 Current State: 13:[14, 53, 53], Operations: ['84-31=53'] Exploring Operation: 53/53=1, Resulting Numbers: [14, 1] Generated Node #0,1,2: 13:[14, 1] Operation: 53/53=1 Moving to Node #0,1,2 Current State: 13:[14, 1], Operations: ['84-31=53', '53/53=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
mult_heuristic
[ 85, 84, 1, 14 ]
15
[ "85-84=1", "1+14=15", "1*15=15" ]
Current State: 15:[85, 84, 1, 14], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [1, 14, 1] Generated Node #2: [1, 14, 1] from Operation: 85-84=1 Current State: 15:[1, 14, 1], Operations: ['85-84=1'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[85, 84, 1, 14], Operations: [] Exploring Operation: 85-14=71, Resulting Numbers: [84, 1, 71] Generated Node #0,0: 15:[84, 1, 71] Operation: 85-14=71 Exploring Operation: 85-84=1, Resulting Numbers: [1, 14, 1] Generated Node #0,1: 15:[1, 14, 1] Operation: 85-84=1 Exploring Operation: 84/14=6, Resulting Numbers: [85, 1, 6] Generated Node #0,2: 15:[85, 1, 6] Operation: 84/14=6 Moving to Node #0,1 Current State: 15:[1, 14, 1], Operations: ['85-84=1'] Exploring Operation: 14+1=15, Resulting Numbers: [1, 15] Generated Node #0,1,0: 15:[1, 15] Operation: 14+1=15 Exploring Operation: 1+1=2, Resulting Numbers: [14, 2] Generated Node #0,1,1: 15:[14, 2] Operation: 1+1=2 Exploring Operation: 1+14=15, Resulting Numbers: [1, 15] Generated Node #0,1,2: 15:[1, 15] Operation: 1+14=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[1, 15], Operations: ['85-84=1', '14+1=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[85, 84, 1, 14], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [1, 14, 1] Generated Node #0,1: 15:[1, 14, 1] Operation: 85-84=1 Moving to Node #0,1 Current State: 15:[1, 14, 1], Operations: ['85-84=1'] Exploring Operation: 14+1=15, Resulting Numbers: [1, 15] Generated Node #0,1,0: 15:[1, 15] Operation: 14+1=15 Moving to Node #0,1,0 Current State: 15:[1, 15], Operations: ['85-84=1', '14+1=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 90, 36, 11, 15 ]
66
[ "90/15=6", "36*11=396", "396/6=66" ]
Current State: 66:[90, 36, 11, 15], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [36, 11, 6] Generated Node #2: [36, 11, 6] from Operation: 90/15=6 Current State: 66:[36, 11, 6], Operations: ['90/15=6'] Exploring Operation: 36*11=396, Resulting Numbers: [6, 396] Generated Node #3: [6, 396] from Operation: 36*11=396 Current State: 66:[6, 396], Operations: ['90/15=6', '36*11=396'] Exploring Operation: 396/6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[90, 36, 11, 15], Operations: [] Exploring Operation: 90-15=75, Resulting Numbers: [36, 11, 75] Generated Node #0,0: 66:[36, 11, 75] Operation: 90-15=75 Exploring Operation: 90/15=6, Resulting Numbers: [36, 11, 6] Generated Node #0,1: 66:[36, 11, 6] Operation: 90/15=6 Moving to Node #0,1 Current State: 66:[36, 11, 6], Operations: ['90/15=6'] Exploring Operation: 36/6=6, Resulting Numbers: [11, 6] Generated Node #0,1,0: 66:[11, 6] Operation: 36/6=6 Exploring Operation: 36-11=25, Resulting Numbers: [6, 25] Generated Node #0,1,1: 66:[6, 25] Operation: 36-11=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[11, 6], Operations: ['90/15=6', '36/6=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[90, 36, 11, 15], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [36, 11, 6] Generated Node #0,1: 66:[36, 11, 6] Operation: 90/15=6 Moving to Node #0,1 Current State: 66:[36, 11, 6], Operations: ['90/15=6'] Exploring Operation: 36/6=6, Resulting Numbers: [11, 6] Generated Node #0,1,0: 66:[11, 6] Operation: 36/6=6 Moving to Node #0,1,0 Current State: 66:[11, 6], Operations: ['90/15=6', '36/6=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 25, 33, 1, 58 ]
65
[ "33-25=8", "58-1=57", "8+57=65" ]
Current State: 65:[25, 33, 1, 58], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [1, 58, 8] Generated Node #2: [1, 58, 8] from Operation: 33-25=8 Current State: 65:[1, 58, 8], Operations: ['33-25=8'] Exploring Operation: 58-1=57, Resulting Numbers: [8, 57] Generated Node #3: [8, 57] from Operation: 58-1=57 Current State: 65:[8, 57], Operations: ['33-25=8', '58-1=57'] Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[25, 33, 1, 58], Operations: [] Exploring Operation: 25-1=24, Resulting Numbers: [33, 58, 24] Generated Node #0,0: 65:[33, 58, 24] Operation: 25-1=24 Exploring Operation: 58-33=25, Resulting Numbers: [25, 1, 25] Generated Node #0,1: 65:[25, 1, 25] Operation: 58-33=25 Exploring Operation: 33-25=8, Resulting Numbers: [1, 58, 8] Generated Node #0,2: 65:[1, 58, 8] Operation: 33-25=8 Exploring Operation: 25+33=58, Resulting Numbers: [1, 58, 58] Generated Node #0,3: 65:[1, 58, 58] Operation: 25+33=58 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[1, 58, 8], Operations: ['33-25=8'] Exploring Operation: 58+8=66, Resulting Numbers: [1, 66] Generated Node #0,2,0: 65:[1, 66] Operation: 58+8=66 Exploring Operation: 8-1=7, Resulting Numbers: [58, 7] Generated Node #0,2,1: 65:[58, 7] Operation: 8-1=7 Exploring Operation: 1*58=58, Resulting Numbers: [8, 58] Generated Node #0,2,2: 65:[8, 58] Operation: 1*58=58 Exploring Operation: 1+58=59, Resulting Numbers: [8, 59] Generated Node #0,2,3: 65:[8, 59] Operation: 1+58=59 Moving to Node #0,2,0 Current State: 65:[1, 66], Operations: ['33-25=8', '58+8=66'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[25, 33, 1, 58], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [1, 58, 8] Generated Node #0,2: 65:[1, 58, 8] Operation: 33-25=8 Moving to Node #0,2 Current State: 65:[1, 58, 8], Operations: ['33-25=8'] Exploring Operation: 58+8=66, Resulting Numbers: [1, 66] Generated Node #0,2,0: 65:[1, 66] Operation: 58+8=66 Moving to Node #0,2,0 Current State: 65:[1, 66], Operations: ['33-25=8', '58+8=66'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 64, 59, 12, 18 ]
82
[ "64+59=123", "12*123=1476", "1476/18=82" ]
Current State: 82:[64, 59, 12, 18], Operations: [] Exploring Operation: 64+59=123, Resulting Numbers: [12, 18, 123] Generated Node #2: [12, 18, 123] from Operation: 64+59=123 Current State: 82:[12, 18, 123], Operations: ['64+59=123'] Exploring Operation: 12*123=1476, Resulting Numbers: [18, 1476] Generated Node #3: [18, 1476] from Operation: 12*123=1476 Current State: 82:[18, 1476], Operations: ['64+59=123', '12*123=1476'] Exploring Operation: 1476/18=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[64, 59, 12, 18], Operations: [] Exploring Operation: 64+18=82, Resulting Numbers: [59, 12, 82] Generated Node #0,0: 82:[59, 12, 82] Operation: 64+18=82 Exploring Operation: 59-18=41, Resulting Numbers: [64, 12, 41] Generated Node #0,1: 82:[64, 12, 41] Operation: 59-18=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[59, 12, 82], Operations: ['64+18=82'] Exploring Operation: 59+12=71, Resulting Numbers: [82, 71] Generated Node #0,0,0: 82:[82, 71] Operation: 59+12=71 Exploring Operation: 59-12=47, Resulting Numbers: [82, 47] Generated Node #0,0,1: 82:[82, 47] Operation: 59-12=47 Moving to Node #0,0,1 Current State: 82:[82, 47], Operations: ['64+18=82', '59-12=47'] Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 82+47=129, Resulting Numbers: [129] 129,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[82, 71], Operations: ['64+18=82', '59+12=71'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 82+71=153, Resulting Numbers: [153] 153,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[64, 12, 41], Operations: ['59-18=41'] Exploring Operation: 64+12=76, Resulting Numbers: [41, 76] Generated Node #0,1,0: 82:[41, 76] Operation: 64+12=76 Exploring Operation: 64-12=52, Resulting Numbers: [41, 52] Generated Node #0,1,1: 82:[41, 52] Operation: 64-12=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[41, 76], Operations: ['59-18=41', '64+12=76'] Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 41+76=117, Resulting Numbers: [117] 117,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[41, 52], Operations: ['59-18=41', '64-12=52'] Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 41+52=93, Resulting Numbers: [93] 93,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 82, 47, 93, 50 ]
78
[ "82-47=35", "93-50=43", "35+43=78" ]
Current State: 78:[82, 47, 93, 50], Operations: [] Exploring Operation: 82-47=35, Resulting Numbers: [93, 50, 35] Generated Node #2: [93, 50, 35] from Operation: 82-47=35 Current State: 78:[93, 50, 35], Operations: ['82-47=35'] Exploring Operation: 93-50=43, Resulting Numbers: [35, 43] Generated Node #3: [35, 43] from Operation: 93-50=43 Current State: 78:[35, 43], Operations: ['82-47=35', '93-50=43'] Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[82, 47, 93, 50], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [47, 50, 11] Generated Node #0,0: 78:[47, 50, 11] Operation: 93-82=11 Exploring Operation: 93-50=43, Resulting Numbers: [82, 47, 43] Generated Node #0,1: 78:[82, 47, 43] Operation: 93-50=43 Exploring Operation: 82-50=32, Resulting Numbers: [47, 93, 32] Generated Node #0,2: 78:[47, 93, 32] Operation: 82-50=32 Exploring Operation: 93-47=46, Resulting Numbers: [82, 50, 46] Generated Node #0,3: 78:[82, 50, 46] Operation: 93-47=46 Exploring Operation: 50-47=3, Resulting Numbers: [82, 93, 3] Generated Node #0,4: 78:[82, 93, 3] Operation: 50-47=3 Moving to Node #0,1 Current State: 78:[82, 47, 43], Operations: ['93-50=43'] Exploring Operation: 82-47=35, Resulting Numbers: [43, 35] Generated Node #0,1,0: 78:[43, 35] Operation: 82-47=35 Exploring Operation: 82-43=39, Resulting Numbers: [47, 39] Generated Node #0,1,1: 78:[47, 39] Operation: 82-43=39 Exploring Operation: 82+47=129, Resulting Numbers: [43, 129] Generated Node #0,1,2: 78:[43, 129] Operation: 82+47=129 Exploring Operation: 47+43=90, Resulting Numbers: [82, 90] Generated Node #0,1,3: 78:[82, 90] Operation: 47+43=90 Exploring Operation: 47-43=4, Resulting Numbers: [82, 4] Generated Node #0,1,4: 78:[82, 4] Operation: 47-43=4 Moving to Node #0,4 Current State: 78:[82, 93, 3], Operations: ['50-47=3'] Exploring Operation: 82-3=79, Resulting Numbers: [93, 79] Generated Node #0,4,0: 78:[93, 79] Operation: 82-3=79 Exploring Operation: 93/3=31, Resulting Numbers: [82, 31] Generated Node #0,4,1: 78:[82, 31] Operation: 93/3=31 Exploring Operation: 82+3=85, Resulting Numbers: [93, 85] Generated Node #0,4,2: 78:[93, 85] Operation: 82+3=85 Exploring Operation: 93-82=11, Resulting Numbers: [3, 11] Generated Node #0,4,3: 78:[3, 11] Operation: 93-82=11 Exploring Operation: 93-3=90, Resulting Numbers: [82, 90] Generated Node #0,4,4: 78:[82, 90] Operation: 93-3=90 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 78:[3, 11], Operations: ['50-47=3', '93-82=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,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,4,1 Current State: 78:[82, 31], Operations: ['50-47=3', '93/3=31'] Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,78 unequal: No Solution Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,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,4,0 Current State: 78:[93, 79], Operations: ['50-47=3', '82-3=79'] Exploring Operation: 93+79=172, Resulting Numbers: [172] 172,78 unequal: No Solution Exploring Operation: 93*79=7347, Resulting Numbers: [7347] 7347,78 unequal: No Solution Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,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,4,4 Current State: 78:[82, 90], Operations: ['50-47=3', '93-3=90'] Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 82+90=172, Resulting Numbers: [172] 172,78 unequal: No Solution Exploring Operation: 82*90=7380, Resulting Numbers: [7380] 7380,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,4,2 Current State: 78:[93, 85], Operations: ['50-47=3', '82+3=85'] Exploring Operation: 93-85=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 93*85=7905, Resulting Numbers: [7905] 7905,78 unequal: No Solution Exploring Operation: 93+85=178, Resulting Numbers: [178] 178,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 78:[47, 50, 11], Operations: ['93-82=11'] Exploring Operation: 50-47=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 78:[11, 3] Operation: 50-47=3 Exploring Operation: 50-11=39, Resulting Numbers: [47, 39] Generated Node #0,0,1: 78:[47, 39] Operation: 50-11=39 Exploring Operation: 50+11=61, Resulting Numbers: [47, 61] Generated Node #0,0,2: 78:[47, 61] Operation: 50+11=61 Exploring Operation: 47+50=97, Resulting Numbers: [11, 97] Generated Node #0,0,3: 78:[11, 97] Operation: 47+50=97 Exploring Operation: 47-11=36, Resulting Numbers: [50, 36] Generated Node #0,0,4: 78:[50, 36] Operation: 47-11=36 Moving to Node #0,3 Current State: 78:[82, 50, 46], Operations: ['93-47=46'] Exploring Operation: 82+50=132, Resulting Numbers: [46, 132] Generated Node #0,3,0: 78:[46, 132] Operation: 82+50=132 Exploring Operation: 82-50=32, Resulting Numbers: [46, 32] Generated Node #0,3,1: 78:[46, 32] Operation: 82-50=32 Exploring Operation: 50-46=4, Resulting Numbers: [82, 4] Generated Node #0,3,2: 78:[82, 4] Operation: 50-46=4 Exploring Operation: 82-46=36, Resulting Numbers: [50, 36] Generated Node #0,3,3: 78:[50, 36] Operation: 82-46=36 Exploring Operation: 50+46=96, Resulting Numbers: [82, 96] Generated Node #0,3,4: 78:[82, 96] Operation: 50+46=96 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[82, 4], Operations: ['93-47=46', '50-46=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,78 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[82, 47, 93, 50], Operations: [] Exploring Operation: 93-47=46, Resulting Numbers: [82, 50, 46] Generated Node #0,3: 78:[82, 50, 46] Operation: 93-47=46 Moving to Node #0,3 Current State: 78:[82, 50, 46], Operations: ['93-47=46'] Exploring Operation: 50-46=4, Resulting Numbers: [82, 4] Generated Node #0,3,2: 78:[82, 4] Operation: 50-46=4 Moving to Node #0,3,2 Current State: 78:[82, 4], Operations: ['93-47=46', '50-46=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 37, 70, 24, 34 ]
62
[ "37-34=3", "24/3=8", "70-8=62" ]
Current State: 62:[37, 70, 24, 34], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [70, 24, 3] Generated Node #2: [70, 24, 3] from Operation: 37-34=3 Current State: 62:[70, 24, 3], Operations: ['37-34=3'] Exploring Operation: 24/3=8, Resulting Numbers: [70, 8] Generated Node #3: [70, 8] from Operation: 24/3=8 Current State: 62:[70, 8], Operations: ['37-34=3', '24/3=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[37, 70, 24, 34], Operations: [] Exploring Operation: 70-37=33, Resulting Numbers: [24, 34, 33] Generated Node #0,0: 62:[24, 34, 33] Operation: 70-37=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[24, 34, 33], Operations: ['70-37=33'] Exploring Operation: 24+34=58, Resulting Numbers: [33, 58] Generated Node #0,0,0: 62:[33, 58] Operation: 24+34=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[33, 58], Operations: ['70-37=33', '24+34=58'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 78, 25, 60, 31 ]
82
[ "78-25=53", "60-31=29", "53+29=82" ]
Current State: 82:[78, 25, 60, 31], Operations: [] Exploring Operation: 78-25=53, Resulting Numbers: [60, 31, 53] Generated Node #2: [60, 31, 53] from Operation: 78-25=53 Current State: 82:[60, 31, 53], Operations: ['78-25=53'] Exploring Operation: 60-31=29, Resulting Numbers: [53, 29] Generated Node #3: [53, 29] from Operation: 60-31=29 Current State: 82:[53, 29], Operations: ['78-25=53', '60-31=29'] Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[78, 25, 60, 31], Operations: [] Exploring Operation: 25+60=85, Resulting Numbers: [78, 31, 85] Generated Node #0,0: 82:[78, 31, 85] Operation: 25+60=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[78, 31, 85], Operations: ['25+60=85'] Exploring Operation: 78-31=47, Resulting Numbers: [85, 47] Generated Node #0,0,0: 82:[85, 47] Operation: 78-31=47 Moving to Node #0,0,0 Current State: 82:[85, 47], Operations: ['25+60=85', '78-31=47'] Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,82 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
[ 86, 36, 46, 48 ]
99
[ "86+46=132", "36*132=4752", "4752/48=99" ]
Current State: 99:[86, 36, 46, 48], Operations: [] Exploring Operation: 86+46=132, Resulting Numbers: [36, 48, 132] Generated Node #2: [36, 48, 132] from Operation: 86+46=132 Current State: 99:[36, 48, 132], Operations: ['86+46=132'] Exploring Operation: 36*132=4752, Resulting Numbers: [48, 4752] Generated Node #3: [48, 4752] from Operation: 36*132=4752 Current State: 99:[48, 4752], Operations: ['86+46=132', '36*132=4752'] Exploring Operation: 4752/48=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[86, 36, 46, 48], Operations: [] Exploring Operation: 86-46=40, Resulting Numbers: [36, 48, 40] Generated Node #0,0: 99:[36, 48, 40] Operation: 86-46=40 Exploring Operation: 46+48=94, Resulting Numbers: [86, 36, 94] Generated Node #0,1: 99:[86, 36, 94] Operation: 46+48=94 Exploring Operation: 86-48=38, Resulting Numbers: [36, 46, 38] Generated Node #0,2: 99:[36, 46, 38] Operation: 86-48=38 Exploring Operation: 48-46=2, Resulting Numbers: [86, 36, 2] Generated Node #0,3: 99:[86, 36, 2] Operation: 48-46=2 Moving to Node #0,3 Current State: 99:[86, 36, 2], Operations: ['48-46=2'] Exploring Operation: 86+2=88, Resulting Numbers: [36, 88] Generated Node #0,3,0: 99:[36, 88] Operation: 86+2=88 Exploring Operation: 36-2=34, Resulting Numbers: [86, 34] Generated Node #0,3,1: 99:[86, 34] Operation: 36-2=34 Exploring Operation: 86-36=50, Resulting Numbers: [2, 50] Generated Node #0,3,2: 99:[2, 50] Operation: 86-36=50 Exploring Operation: 86/2=43, Resulting Numbers: [36, 43] Generated Node #0,3,3: 99:[36, 43] Operation: 86/2=43 Moving to Node #0,2 Current State: 99:[36, 46, 38], Operations: ['86-48=38'] Exploring Operation: 46-38=8, Resulting Numbers: [36, 8] Generated Node #0,2,0: 99:[36, 8] Operation: 46-38=8 Exploring Operation: 46+38=84, Resulting Numbers: [36, 84] Generated Node #0,2,1: 99:[36, 84] Operation: 46+38=84 Exploring Operation: 38-36=2, Resulting Numbers: [46, 2] Generated Node #0,2,2: 99:[46, 2] Operation: 38-36=2 Exploring Operation: 46-36=10, Resulting Numbers: [38, 10] Generated Node #0,2,3: 99:[38, 10] Operation: 46-36=10 Moving to Node #0,1 Current State: 99:[86, 36, 94], Operations: ['46+48=94'] Exploring Operation: 86-36=50, Resulting Numbers: [94, 50] Generated Node #0,1,0: 99:[94, 50] Operation: 86-36=50 Exploring Operation: 86+36=122, Resulting Numbers: [94, 122] Generated Node #0,1,1: 99:[94, 122] Operation: 86+36=122 Exploring Operation: 94-36=58, Resulting Numbers: [86, 58] Generated Node #0,1,2: 99:[86, 58] Operation: 94-36=58 Exploring Operation: 94-86=8, Resulting Numbers: [36, 8] Generated Node #0,1,3: 99:[36, 8] Operation: 94-86=8 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 99:[36, 8], Operations: ['46+48=94', '94-86=8'] Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,99 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,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,1,0 Current State: 99:[94, 50], Operations: ['46+48=94', '86-36=50'] Exploring Operation: 94+50=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 94*50=4700, Resulting Numbers: [4700] 4700,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,1,1 Current State: 99:[94, 122], Operations: ['46+48=94', '86+36=122'] Exploring Operation: 94*122=11468, Resulting Numbers: [11468] 11468,99 unequal: No Solution Exploring Operation: 94+122=216, Resulting Numbers: [216] 216,99 unequal: No Solution Exploring Operation: 122-94=28, Resulting Numbers: [28] 28,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,1,2 Current State: 99:[86, 58], Operations: ['46+48=94', '94-36=58'] Exploring Operation: 86*58=4988, Resulting Numbers: [4988] 4988,99 unequal: No Solution Exploring Operation: 86+58=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,99 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: 99:[36, 48, 40], Operations: ['86-46=40'] Exploring Operation: 40-36=4, Resulting Numbers: [48, 4] Generated Node #0,0,0: 99:[48, 4] Operation: 40-36=4 Exploring Operation: 48-40=8, Resulting Numbers: [36, 8] Generated Node #0,0,1: 99:[36, 8] Operation: 48-40=8 Exploring Operation: 48+40=88, Resulting Numbers: [36, 88] Generated Node #0,0,2: 99:[36, 88] Operation: 48+40=88 Exploring Operation: 48-36=12, Resulting Numbers: [40, 12] Generated Node #0,0,3: 99:[40, 12] Operation: 48-36=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[36, 8], Operations: ['86-46=40', '48-40=8'] Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,99 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,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,0,3 Current State: 99:[40, 12], Operations: ['86-46=40', '48-36=12'] Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,99 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,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,0,2 Current State: 99:[36, 88], Operations: ['86-46=40', '48+40=88'] Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,99 unequal: No Solution Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,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,0,0 Current State: 99:[48, 4], Operations: ['86-46=40', '40-36=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,99 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,99 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: 99:[36, 8], Operations: ['86-48=38', '46-38=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,99 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[38, 10], Operations: ['86-48=38', '46-36=10'] Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,99 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[36, 43], Operations: ['48-46=2', '86/2=43'] Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,99 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[46, 2], Operations: ['86-48=38', '38-36=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,99 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,99 unequal: No Solution Moving to Node #0,3,1 Current State: 99:[86, 34], Operations: ['48-46=2', '36-2=34'] Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[36, 88], Operations: ['48-46=2', '86+2=88'] Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,99 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[2, 50], Operations: ['48-46=2', '86-36=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[36, 84], Operations: ['86-48=38', '46+38=84'] Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 36*84=3024, Resulting Numbers: [3024] 3024,99 unequal: No Solution Exploring Operation: 36+84=120, Resulting Numbers: [120] 120,99 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 35, 70, 36, 95 ]
26
[ "35+70=105", "36+95=131", "131-105=26" ]
Current State: 26:[35, 70, 36, 95], Operations: [] Exploring Operation: 35+70=105, Resulting Numbers: [36, 95, 105] Generated Node #2: [36, 95, 105] from Operation: 35+70=105 Current State: 26:[36, 95, 105], Operations: ['35+70=105'] Exploring Operation: 36+95=131, Resulting Numbers: [105, 131] Generated Node #3: [105, 131] from Operation: 36+95=131 Current State: 26:[105, 131], Operations: ['35+70=105', '36+95=131'] Exploring Operation: 131-105=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[35, 70, 36, 95], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [35, 36, 25] Generated Node #0,0: 26:[35, 36, 25] Operation: 95-70=25 Moving to Node #0,0 Current State: 26:[35, 36, 25], Operations: ['95-70=25'] Exploring Operation: 36-35=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 26:[25, 1] Operation: 36-35=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[25, 1], Operations: ['95-70=25', '36-35=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[35, 70, 36, 95], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [35, 36, 25] Generated Node #0,0: 26:[35, 36, 25] Operation: 95-70=25 Moving to Node #0,0 Current State: 26:[35, 36, 25], Operations: ['95-70=25'] Exploring Operation: 36-35=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 26:[25, 1] Operation: 36-35=1 Moving to Node #0,0,0 Current State: 26:[25, 1], Operations: ['95-70=25', '36-35=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 15, 87, 64, 36 ]
100
[ "87-15=72", "64-36=28", "72+28=100" ]
Current State: 100:[15, 87, 64, 36], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [64, 36, 72] Generated Node #2: [64, 36, 72] from Operation: 87-15=72 Current State: 100:[64, 36, 72], Operations: ['87-15=72'] Exploring Operation: 64-36=28, Resulting Numbers: [72, 28] Generated Node #3: [72, 28] from Operation: 64-36=28 Current State: 100:[72, 28], Operations: ['87-15=72', '64-36=28'] Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[15, 87, 64, 36], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [15, 36, 23] Generated Node #0,0: 100:[15, 36, 23] Operation: 87-64=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[15, 36, 23], Operations: ['87-64=23'] Exploring Operation: 15+36=51, Resulting Numbers: [23, 51] Generated Node #0,0,0: 100:[23, 51] Operation: 15+36=51 Moving to Node #0,0,0 Current State: 100:[23, 51], Operations: ['87-64=23', '15+36=51'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,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
[ 1, 65, 64, 41 ]
40
[ "1*65=65", "64+41=105", "105-65=40" ]
Current State: 40:[1, 65, 64, 41], Operations: [] Exploring Operation: 1*65=65, Resulting Numbers: [64, 41, 65] Generated Node #2: [64, 41, 65] from Operation: 1*65=65 Current State: 40:[64, 41, 65], Operations: ['1*65=65'] Exploring Operation: 64+41=105, Resulting Numbers: [65, 105] Generated Node #3: [65, 105] from Operation: 64+41=105 Current State: 40:[65, 105], Operations: ['1*65=65', '64+41=105'] Exploring Operation: 105-65=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[1, 65, 64, 41], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [1, 41, 1] Generated Node #0,0: 40:[1, 41, 1] Operation: 65-64=1 Exploring Operation: 65-41=24, Resulting Numbers: [1, 64, 24] Generated Node #0,1: 40:[1, 64, 24] Operation: 65-41=24 Moving to Node #0,0 Current State: 40:[1, 41, 1], Operations: ['65-64=1'] Exploring Operation: 41-1=40, Resulting Numbers: [1, 40] Generated Node #0,0,0: 40:[1, 40] Operation: 41-1=40 Exploring Operation: 1+1=2, Resulting Numbers: [41, 2] Generated Node #0,0,1: 40:[41, 2] Operation: 1+1=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[1, 40], Operations: ['65-64=1', '41-1=40'] Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[1, 65, 64, 41], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [1, 41, 1] Generated Node #0,0: 40:[1, 41, 1] Operation: 65-64=1 Moving to Node #0,0 Current State: 40:[1, 41, 1], Operations: ['65-64=1'] Exploring Operation: 41-1=40, Resulting Numbers: [1, 40] Generated Node #0,0,0: 40:[1, 40] Operation: 41-1=40 Moving to Node #0,0,0 Current State: 40:[1, 40], Operations: ['65-64=1', '41-1=40'] Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 39, 68, 38, 50 ]
65
[ "39*50=1950", "68-38=30", "1950/30=65" ]
Current State: 65:[39, 68, 38, 50], Operations: [] Exploring Operation: 39*50=1950, Resulting Numbers: [68, 38, 1950] Generated Node #2: [68, 38, 1950] from Operation: 39*50=1950 Current State: 65:[68, 38, 1950], Operations: ['39*50=1950'] Exploring Operation: 68-38=30, Resulting Numbers: [1950, 30] Generated Node #3: [1950, 30] from Operation: 68-38=30 Current State: 65:[1950, 30], Operations: ['39*50=1950', '68-38=30'] Exploring Operation: 1950/30=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[39, 68, 38, 50], Operations: [] Exploring Operation: 39+50=89, Resulting Numbers: [68, 38, 89] Generated Node #0,0: 65:[68, 38, 89] Operation: 39+50=89 Exploring Operation: 39+38=77, Resulting Numbers: [68, 50, 77] Generated Node #0,1: 65:[68, 50, 77] Operation: 39+38=77 Exploring Operation: 39-38=1, Resulting Numbers: [68, 50, 1] Generated Node #0,2: 65:[68, 50, 1] Operation: 39-38=1 Exploring Operation: 50-38=12, Resulting Numbers: [39, 68, 12] Generated Node #0,3: 65:[39, 68, 12] Operation: 50-38=12 Exploring Operation: 50-39=11, Resulting Numbers: [68, 38, 11] Generated Node #0,4: 65:[68, 38, 11] Operation: 50-39=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[68, 50, 1], Operations: ['39-38=1'] Exploring Operation: 68*1=68, Resulting Numbers: [50, 68] Generated Node #0,2,0: 65:[50, 68] Operation: 68*1=68 Exploring Operation: 68-50=18, Resulting Numbers: [1, 18] Generated Node #0,2,1: 65:[1, 18] Operation: 68-50=18 Exploring Operation: 68/1=68, Resulting Numbers: [50, 68] Generated Node #0,2,2: 65:[50, 68] Operation: 68/1=68 Exploring Operation: 68-1=67, Resulting Numbers: [50, 67] Generated Node #0,2,3: 65:[50, 67] Operation: 68-1=67 Exploring Operation: 50+1=51, Resulting Numbers: [68, 51] Generated Node #0,2,4: 65:[68, 51] Operation: 50+1=51 Moving to Node #0,2,1 Current State: 65:[1, 18], Operations: ['39-38=1', '68-50=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[68, 51], Operations: ['39-38=1', '50+1=51'] Exploring Operation: 68*51=3468, Resulting Numbers: [3468] 3468,65 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[50, 67], Operations: ['39-38=1', '68-1=67'] Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,65 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[50, 68], Operations: ['39-38=1', '68*1=68'] Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,65 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[50, 68], Operations: ['39-38=1', '68/1=68'] Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,65 unequal: No Solution Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[68, 50, 77], Operations: ['39+38=77'] Exploring Operation: 77-68=9, Resulting Numbers: [50, 9] Generated Node #0,1,0: 65:[50, 9] Operation: 77-68=9 Exploring Operation: 77-50=27, Resulting Numbers: [68, 27] Generated Node #0,1,1: 65:[68, 27] Operation: 77-50=27 Exploring Operation: 68-50=18, Resulting Numbers: [77, 18] Generated Node #0,1,2: 65:[77, 18] Operation: 68-50=18 Exploring Operation: 50+77=127, Resulting Numbers: [68, 127] Generated Node #0,1,3: 65:[68, 127] Operation: 50+77=127 Exploring Operation: 68+50=118, Resulting Numbers: [77, 118] Generated Node #0,1,4: 65:[77, 118] Operation: 68+50=118 Moving to Node #0,1,1 Current State: 65:[68, 27], Operations: ['39+38=77', '77-50=27'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,65 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[77, 18], Operations: ['39+38=77', '68-50=18'] Exploring Operation: 77*18=1386, Resulting Numbers: [1386] 1386,65 unequal: No Solution Exploring Operation: 77+18=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[50, 9], Operations: ['39+38=77', '77-68=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,65 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[68, 127], Operations: ['39+38=77', '50+77=127'] Exploring Operation: 68*127=8636, Resulting Numbers: [8636] 8636,65 unequal: No Solution Exploring Operation: 127-68=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 68+127=195, Resulting Numbers: [195] 195,65 unequal: No Solution Moving to Node #0,1,4 Current State: 65:[77, 118], Operations: ['39+38=77', '68+50=118'] Exploring Operation: 77+118=195, Resulting Numbers: [195] 195,65 unequal: No Solution Exploring Operation: 118-77=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 77*118=9086, Resulting Numbers: [9086] 9086,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[39, 68, 12], Operations: ['50-38=12'] Exploring Operation: 39+12=51, Resulting Numbers: [68, 51] Generated Node #0,3,0: 65:[68, 51] Operation: 39+12=51 Exploring Operation: 68-12=56, Resulting Numbers: [39, 56] Generated Node #0,3,1: 65:[39, 56] Operation: 68-12=56 Exploring Operation: 39-12=27, Resulting Numbers: [68, 27] Generated Node #0,3,2: 65:[68, 27] Operation: 39-12=27 Exploring Operation: 68-39=29, Resulting Numbers: [12, 29] Generated Node #0,3,3: 65:[12, 29] Operation: 68-39=29 Exploring Operation: 68+12=80, Resulting Numbers: [39, 80] Generated Node #0,3,4: 65:[39, 80] Operation: 68+12=80 Moving to Node #0,3,0 Current State: 65:[68, 51], Operations: ['50-38=12', '39+12=51'] Exploring Operation: 68*51=3468, Resulting Numbers: [3468] 3468,65 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[12, 29], Operations: ['50-38=12', '68-39=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,65 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[68, 27], Operations: ['50-38=12', '39-12=27'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[39, 56], Operations: ['50-38=12', '68-12=56'] Exploring Operation: 39*56=2184, Resulting Numbers: [2184] 2184,65 unequal: No Solution Exploring Operation: 39+56=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,65 unequal: No Solution Moving to Node #0,3,4 Current State: 65:[39, 80], Operations: ['50-38=12', '68+12=80'] Exploring Operation: 39*80=3120, Resulting Numbers: [3120] 3120,65 unequal: No Solution Exploring Operation: 39+80=119, Resulting Numbers: [119] 119,65 unequal: No Solution Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[68, 38, 11], Operations: ['50-39=11'] Exploring Operation: 38-11=27, Resulting Numbers: [68, 27] Generated Node #0,4,0: 65:[68, 27] Operation: 38-11=27 Exploring Operation: 68-38=30, Resulting Numbers: [11, 30] Generated Node #0,4,1: 65:[11, 30] Operation: 68-38=30 Exploring Operation: 68-11=57, Resulting Numbers: [38, 57] Generated Node #0,4,2: 65:[38, 57] Operation: 68-11=57 Exploring Operation: 38+11=49, Resulting Numbers: [68, 49] Generated Node #0,4,3: 65:[68, 49] Operation: 38+11=49 Exploring Operation: 68+11=79, Resulting Numbers: [38, 79] Generated Node #0,4,4: 65:[38, 79] Operation: 68+11=79 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 65:[68, 27], Operations: ['50-39=11', '38-11=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,65 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 65:[11, 30], Operations: ['50-39=11', '68-38=30'] Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,65 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 65:[68, 49], Operations: ['50-39=11', '38+11=49'] Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 68*49=3332, Resulting Numbers: [3332] 3332,65 unequal: No Solution Exploring Operation: 68+49=117, Resulting Numbers: [117] 117,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 65:[38, 57], Operations: ['50-39=11', '68-11=57'] Exploring Operation: 38*57=2166, Resulting Numbers: [2166] 2166,65 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 65:[38, 79], Operations: ['50-39=11', '68+11=79'] Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,65 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[68, 38, 89], Operations: ['39+50=89'] Exploring Operation: 68+38=106, Resulting Numbers: [89, 106] Generated Node #0,0,0: 65:[89, 106] Operation: 68+38=106 Exploring Operation: 38+89=127, Resulting Numbers: [68, 127] Generated Node #0,0,1: 65:[68, 127] Operation: 38+89=127 Exploring Operation: 68-38=30, Resulting Numbers: [89, 30] Generated Node #0,0,2: 65:[89, 30] Operation: 68-38=30 Exploring Operation: 89-38=51, Resulting Numbers: [68, 51] Generated Node #0,0,3: 65:[68, 51] Operation: 89-38=51 Exploring Operation: 89-68=21, Resulting Numbers: [38, 21] Generated Node #0,0,4: 65:[38, 21] Operation: 89-68=21 Moving to Node #0,0,3 Current State: 65:[68, 51], Operations: ['39+50=89', '89-38=51'] Exploring Operation: 68*51=3468, Resulting Numbers: [3468] 3468,65 unequal: No Solution Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,65 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,65 unequal: No Solution Moving to Node #0,0,4 Current State: 65:[38, 21], Operations: ['39+50=89', '89-68=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,65 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[89, 30], Operations: ['39+50=89', '68-38=30'] Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,65 unequal: No Solution Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,65 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[89, 106], Operations: ['39+50=89', '68+38=106'] Exploring Operation: 89+106=195, Resulting Numbers: [195] 195,65 unequal: No Solution Exploring Operation: 89*106=9434, Resulting Numbers: [9434] 9434,65 unequal: No Solution Exploring Operation: 106-89=17, Resulting Numbers: [17] 17,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[68, 127], Operations: ['39+50=89', '38+89=127'] Exploring Operation: 68+127=195, Resulting Numbers: [195] 195,65 unequal: No Solution Exploring Operation: 127-68=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 68*127=8636, Resulting Numbers: [8636] 8636,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 25, 27, 3, 70 ]
15
[ "25+27=52", "70-3=67", "67-52=15" ]
Current State: 15:[25, 27, 3, 70], Operations: [] Exploring Operation: 25+27=52, Resulting Numbers: [3, 70, 52] Generated Node #2: [3, 70, 52] from Operation: 25+27=52 Current State: 15:[3, 70, 52], Operations: ['25+27=52'] Exploring Operation: 70-3=67, Resulting Numbers: [52, 67] Generated Node #3: [52, 67] from Operation: 70-3=67 Current State: 15:[52, 67], Operations: ['25+27=52', '70-3=67'] Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[25, 27, 3, 70], Operations: [] Exploring Operation: 70-25=45, Resulting Numbers: [27, 3, 45] Generated Node #0,0: 15:[27, 3, 45] Operation: 70-25=45 Exploring Operation: 70-27=43, Resulting Numbers: [25, 3, 43] Generated Node #0,1: 15:[25, 3, 43] Operation: 70-27=43 Exploring Operation: 27-25=2, Resulting Numbers: [3, 70, 2] Generated Node #0,2: 15:[3, 70, 2] Operation: 27-25=2 Moving to Node #0,1 Current State: 15:[25, 3, 43], Operations: ['70-27=43'] Exploring Operation: 25-3=22, Resulting Numbers: [43, 22] Generated Node #0,1,0: 15:[43, 22] Operation: 25-3=22 Exploring Operation: 43-3=40, Resulting Numbers: [25, 40] Generated Node #0,1,1: 15:[25, 40] Operation: 43-3=40 Exploring Operation: 43-25=18, Resulting Numbers: [3, 18] Generated Node #0,1,2: 15:[3, 18] Operation: 43-25=18 Moving to Node #0,0 Current State: 15:[27, 3, 45], Operations: ['70-25=45'] Exploring Operation: 45/3=15, Resulting Numbers: [27, 15] Generated Node #0,0,0: 15:[27, 15] Operation: 45/3=15 Exploring Operation: 45-27=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 15:[3, 18] Operation: 45-27=18 Exploring Operation: 27/3=9, Resulting Numbers: [45, 9] Generated Node #0,0,2: 15:[45, 9] Operation: 27/3=9 Moving to Node #0,2 Current State: 15:[3, 70, 2], Operations: ['27-25=2'] Exploring Operation: 70/2=35, Resulting Numbers: [3, 35] Generated Node #0,2,0: 15:[3, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [3, 68] Generated Node #0,2,1: 15:[3, 68] Operation: 70-2=68 Exploring Operation: 70-3=67, Resulting Numbers: [2, 67] Generated Node #0,2,2: 15:[2, 67] Operation: 70-3=67 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[3, 35], Operations: ['27-25=2', '70/2=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[3, 68], Operations: ['27-25=2', '70-2=68'] Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 3*68=204, Resulting Numbers: [204] 204,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[2, 67], Operations: ['27-25=2', '70-3=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,15 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 15:[3, 18], Operations: ['70-27=43', '43-25=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[25, 27, 3, 70], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [25, 3, 43] Generated Node #0,1: 15:[25, 3, 43] Operation: 70-27=43 Moving to Node #0,1 Current State: 15:[25, 3, 43], Operations: ['70-27=43'] Exploring Operation: 43-25=18, Resulting Numbers: [3, 18] Generated Node #0,1,2: 15:[3, 18] Operation: 43-25=18 Moving to Node #0,1,2 Current State: 15:[3, 18], Operations: ['70-27=43', '43-25=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 38, 60, 7, 73 ]
53
[ "73-60=13", "7*13=91", "91-38=53" ]
Current State: 53:[38, 60, 7, 73], Operations: [] Exploring Operation: 73-60=13, Resulting Numbers: [38, 7, 13] Generated Node #2: [38, 7, 13] from Operation: 73-60=13 Current State: 53:[38, 7, 13], Operations: ['73-60=13'] Exploring Operation: 7*13=91, Resulting Numbers: [38, 91] Generated Node #3: [38, 91] from Operation: 7*13=91 Current State: 53:[38, 91], Operations: ['73-60=13', '7*13=91'] Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[38, 60, 7, 73], Operations: [] Exploring Operation: 73-7=66, Resulting Numbers: [38, 60, 66] Generated Node #0,0: 53:[38, 60, 66] Operation: 73-7=66 Exploring Operation: 38+7=45, Resulting Numbers: [60, 73, 45] Generated Node #0,1: 53:[60, 73, 45] Operation: 38+7=45 Exploring Operation: 60-7=53, Resulting Numbers: [38, 73, 53] Generated Node #0,2: 53:[38, 73, 53] Operation: 60-7=53 Moving to Node #0,0 Current State: 53:[38, 60, 66], Operations: ['73-7=66'] Exploring Operation: 66-38=28, Resulting Numbers: [60, 28] Generated Node #0,0,0: 53:[60, 28] Operation: 66-38=28 Exploring Operation: 60-38=22, Resulting Numbers: [66, 22] Generated Node #0,0,1: 53:[66, 22] Operation: 60-38=22 Exploring Operation: 38+60=98, Resulting Numbers: [66, 98] Generated Node #0,0,2: 53:[66, 98] Operation: 38+60=98 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[60, 28], Operations: ['73-7=66', '66-38=28'] Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,53 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[66, 22], Operations: ['73-7=66', '60-38=22'] Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 66+22=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[66, 98], Operations: ['73-7=66', '38+60=98'] Exploring Operation: 66*98=6468, Resulting Numbers: [6468] 6468,53 unequal: No Solution Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 66+98=164, Resulting Numbers: [164] 164,53 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: 53:[60, 73, 45], Operations: ['38+7=45'] Exploring Operation: 60-45=15, Resulting Numbers: [73, 15] Generated Node #0,1,0: 53:[73, 15] Operation: 60-45=15 Exploring Operation: 73-60=13, Resulting Numbers: [45, 13] Generated Node #0,1,1: 53:[45, 13] Operation: 73-60=13 Exploring Operation: 73-45=28, Resulting Numbers: [60, 28] Generated Node #0,1,2: 53:[60, 28] Operation: 73-45=28 Moving to Node #0,2 Current State: 53:[38, 73, 53], Operations: ['60-7=53'] Exploring Operation: 73-53=20, Resulting Numbers: [38, 20] Generated Node #0,2,0: 53:[38, 20] Operation: 73-53=20 Exploring Operation: 38+73=111, Resulting Numbers: [53, 111] Generated Node #0,2,1: 53:[53, 111] Operation: 38+73=111 Exploring Operation: 73-38=35, Resulting Numbers: [53, 35] Generated Node #0,2,2: 53:[53, 35] Operation: 73-38=35 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[53, 35], Operations: ['60-7=53', '73-38=35'] Exploring Operation: 53*35=1855, Resulting Numbers: [1855] 1855,53 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[38, 20], Operations: ['60-7=53', '73-53=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[53, 111], Operations: ['60-7=53', '38+73=111'] Exploring Operation: 53+111=164, Resulting Numbers: [164] 164,53 unequal: No Solution Exploring Operation: 111-53=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 53*111=5883, Resulting Numbers: [5883] 5883,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 53:[60, 28], Operations: ['38+7=45', '73-45=28'] Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,53 unequal: No Solution Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[45, 13], Operations: ['38+7=45', '73-60=13'] Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,53 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[73, 15], Operations: ['38+7=45', '60-45=15'] Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,53 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,53 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 50, 3, 46, 88 ]
25
[ "50-46=4", "88/4=22", "3+22=25" ]
Current State: 25:[50, 3, 46, 88], Operations: [] Exploring Operation: 50-46=4, Resulting Numbers: [3, 88, 4] Generated Node #2: [3, 88, 4] from Operation: 50-46=4 Current State: 25:[3, 88, 4], Operations: ['50-46=4'] Exploring Operation: 88/4=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 88/4=22 Current State: 25:[3, 22], Operations: ['50-46=4', '88/4=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[50, 3, 46, 88], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [3, 46, 38] Generated Node #0,0: 25:[3, 46, 38] Operation: 88-50=38 Exploring Operation: 50-46=4, Resulting Numbers: [3, 88, 4] Generated Node #0,1: 25:[3, 88, 4] Operation: 50-46=4 Exploring Operation: 50-3=47, Resulting Numbers: [46, 88, 47] Generated Node #0,2: 25:[46, 88, 47] Operation: 50-3=47 Exploring Operation: 88-46=42, Resulting Numbers: [50, 3, 42] Generated Node #0,3: 25:[50, 3, 42] Operation: 88-46=42 Moving to Node #0,0 Current State: 25:[3, 46, 38], Operations: ['88-50=38'] Exploring Operation: 38-3=35, Resulting Numbers: [46, 35] Generated Node #0,0,0: 25:[46, 35] Operation: 38-3=35 Exploring Operation: 46-38=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 25:[3, 8] Operation: 46-38=8 Exploring Operation: 3+46=49, Resulting Numbers: [38, 49] Generated Node #0,0,2: 25:[38, 49] Operation: 3+46=49 Exploring Operation: 46-3=43, Resulting Numbers: [38, 43] Generated Node #0,0,3: 25:[38, 43] Operation: 46-3=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[3, 8], Operations: ['88-50=38', '46-38=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[46, 35], Operations: ['88-50=38', '38-3=35'] Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,25 unequal: No Solution Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[38, 43], Operations: ['88-50=38', '46-3=43'] Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[38, 49], Operations: ['88-50=38', '3+46=49'] Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 38+49=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 38*49=1862, Resulting Numbers: [1862] 1862,25 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: 25:[50, 3, 42], Operations: ['88-46=42'] Exploring Operation: 42/3=14, Resulting Numbers: [50, 14] Generated Node #0,3,0: 25:[50, 14] Operation: 42/3=14 Exploring Operation: 50-42=8, Resulting Numbers: [3, 8] Generated Node #0,3,1: 25:[3, 8] Operation: 50-42=8 Exploring Operation: 50-3=47, Resulting Numbers: [42, 47] Generated Node #0,3,2: 25:[42, 47] Operation: 50-3=47 Exploring Operation: 42-3=39, Resulting Numbers: [50, 39] Generated Node #0,3,3: 25:[50, 39] Operation: 42-3=39 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[3, 8], Operations: ['88-46=42', '50-42=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[50, 14], Operations: ['88-46=42', '42/3=14'] Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[42, 47], Operations: ['88-46=42', '50-3=47'] Exploring Operation: 42*47=1974, Resulting Numbers: [1974] 1974,25 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 42+47=89, Resulting Numbers: [89] 89,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[50, 39], Operations: ['88-46=42', '42-3=39'] Exploring Operation: 50*39=1950, Resulting Numbers: [1950] 1950,25 unequal: No Solution Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,25 unequal: No Solution Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[3, 88, 4], Operations: ['50-46=4'] Exploring Operation: 88-3=85, Resulting Numbers: [4, 85] Generated Node #0,1,0: 25:[4, 85] Operation: 88-3=85 Exploring Operation: 3+4=7, Resulting Numbers: [88, 7] Generated Node #0,1,1: 25:[88, 7] Operation: 3+4=7 Exploring Operation: 88-4=84, Resulting Numbers: [3, 84] Generated Node #0,1,2: 25:[3, 84] Operation: 88-4=84 Exploring Operation: 88/4=22, Resulting Numbers: [3, 22] Generated Node #0,1,3: 25:[3, 22] Operation: 88/4=22 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[3, 22], Operations: ['50-46=4', '88/4=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[50, 3, 46, 88], Operations: [] Exploring Operation: 50-46=4, Resulting Numbers: [3, 88, 4] Generated Node #0,1: 25:[3, 88, 4] Operation: 50-46=4 Moving to Node #0,1 Current State: 25:[3, 88, 4], Operations: ['50-46=4'] Exploring Operation: 88/4=22, Resulting Numbers: [3, 22] Generated Node #0,1,3: 25:[3, 22] Operation: 88/4=22 Moving to Node #0,1,3 Current State: 25:[3, 22], Operations: ['50-46=4', '88/4=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_4
mult_heuristic
[ 89, 5, 53, 94 ]
53
[ "89+5=94", "53+94=147", "147-94=53" ]
Current State: 53:[89, 5, 53, 94], Operations: [] Exploring Operation: 89+5=94, Resulting Numbers: [53, 94, 94] Generated Node #2: [53, 94, 94] from Operation: 89+5=94 Current State: 53:[53, 94, 94], Operations: ['89+5=94'] Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,53 equal: Goal Reached Exploring Operation: 147-94=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[89, 5, 53, 94], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [89, 53, 89] Generated Node #0,0: 53:[89, 53, 89] Operation: 94-5=89 Exploring Operation: 89-5=84, Resulting Numbers: [53, 94, 84] Generated Node #0,1: 53:[53, 94, 84] Operation: 89-5=84 Exploring Operation: 89+5=94, Resulting Numbers: [53, 94, 94] Generated Node #0,2: 53:[53, 94, 94] Operation: 89+5=94 Moving to Node #0,0 Current State: 53:[89, 53, 89], Operations: ['94-5=89'] Exploring Operation: 89/89=1, Resulting Numbers: [53, 1] Generated Node #0,0,0: 53:[53, 1] Operation: 89/89=1 Exploring Operation: 89-53=36, Resulting Numbers: [89, 36] Generated Node #0,0,1: 53:[89, 36] Operation: 89-53=36 Exploring Operation: 89-89=0, Resulting Numbers: [53, 0] Generated Node #0,0,2: 53:[53, 0] Operation: 89-89=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[53, 1], Operations: ['94-5=89', '89/89=1'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[89, 5, 53, 94], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [89, 53, 89] Generated Node #0,0: 53:[89, 53, 89] Operation: 94-5=89 Moving to Node #0,0 Current State: 53:[89, 53, 89], Operations: ['94-5=89'] Exploring Operation: 89/89=1, Resulting Numbers: [53, 1] Generated Node #0,0,0: 53:[53, 1] Operation: 89/89=1 Moving to Node #0,0,0 Current State: 53:[53, 1], Operations: ['94-5=89', '89/89=1'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 32, 8, 40, 89 ]
53
[ "32/8=4", "89-40=49", "4+49=53" ]
Current State: 53:[32, 8, 40, 89], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [40, 89, 4] Generated Node #2: [40, 89, 4] from Operation: 32/8=4 Current State: 53:[40, 89, 4], Operations: ['32/8=4'] Exploring Operation: 89-40=49, Resulting Numbers: [4, 49] Generated Node #3: [4, 49] from Operation: 89-40=49 Current State: 53:[4, 49], Operations: ['32/8=4', '89-40=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[32, 8, 40, 89], Operations: [] Exploring Operation: 32+8=40, Resulting Numbers: [40, 89, 40] Generated Node #0,0: 53:[40, 89, 40] Operation: 32+8=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[40, 89, 40], Operations: ['32+8=40'] Exploring Operation: 89-40=49, Resulting Numbers: [40, 49] Generated Node #0,0,0: 53:[40, 49] Operation: 89-40=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[40, 49], Operations: ['32+8=40', '89-40=49'] Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,53 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
[ 11, 57, 66, 74 ]
94
[ "57-11=46", "66+74=140", "140-46=94" ]
Current State: 94:[11, 57, 66, 74], Operations: [] Exploring Operation: 57-11=46, Resulting Numbers: [66, 74, 46] Generated Node #2: [66, 74, 46] from Operation: 57-11=46 Current State: 94:[66, 74, 46], Operations: ['57-11=46'] Exploring Operation: 66+74=140, Resulting Numbers: [46, 140] Generated Node #3: [46, 140] from Operation: 66+74=140 Current State: 94:[46, 140], Operations: ['57-11=46', '66+74=140'] Exploring Operation: 140-46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[11, 57, 66, 74], Operations: [] Exploring Operation: 11+74=85, Resulting Numbers: [57, 66, 85] Generated Node #0,0: 94:[57, 66, 85] Operation: 11+74=85 Exploring Operation: 66-11=55, Resulting Numbers: [57, 74, 55] Generated Node #0,1: 94:[57, 74, 55] Operation: 66-11=55 Exploring Operation: 66/11=6, Resulting Numbers: [57, 74, 6] Generated Node #0,2: 94:[57, 74, 6] Operation: 66/11=6 Exploring Operation: 74-66=8, Resulting Numbers: [11, 57, 8] Generated Node #0,3: 94:[11, 57, 8] Operation: 74-66=8 Exploring Operation: 66-57=9, Resulting Numbers: [11, 74, 9] Generated Node #0,4: 94:[11, 74, 9] Operation: 66-57=9 Moving to Node #0,3 Current State: 94:[11, 57, 8], Operations: ['74-66=8'] Exploring Operation: 57-8=49, Resulting Numbers: [11, 49] Generated Node #0,3,0: 94:[11, 49] Operation: 57-8=49 Exploring Operation: 11-8=3, Resulting Numbers: [57, 3] Generated Node #0,3,1: 94:[57, 3] Operation: 11-8=3 Exploring Operation: 11+57=68, Resulting Numbers: [8, 68] Generated Node #0,3,2: 94:[8, 68] Operation: 11+57=68 Exploring Operation: 57-11=46, Resulting Numbers: [8, 46] Generated Node #0,3,3: 94:[8, 46] Operation: 57-11=46 Exploring Operation: 11*8=88, Resulting Numbers: [57, 88] Generated Node #0,3,4: 94:[57, 88] Operation: 11*8=88 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[8, 46], Operations: ['74-66=8', '57-11=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,94 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[11, 49], Operations: ['74-66=8', '57-8=49'] Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,94 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[57, 3], Operations: ['74-66=8', '11-8=3'] Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,94 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 94:[57, 88], Operations: ['74-66=8', '11*8=88'] Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,94 unequal: No Solution Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[8, 68], Operations: ['74-66=8', '11+57=68'] Exploring Operation: 8*68=544, Resulting Numbers: [544] 544,94 unequal: No Solution Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 8+68=76, Resulting Numbers: [76] 76,94 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: 94:[57, 74, 6], Operations: ['66/11=6'] Exploring Operation: 74-57=17, Resulting Numbers: [6, 17] Generated Node #0,2,0: 94:[6, 17] Operation: 74-57=17 Exploring Operation: 74+6=80, Resulting Numbers: [57, 80] Generated Node #0,2,1: 94:[57, 80] Operation: 74+6=80 Exploring Operation: 57+6=63, Resulting Numbers: [74, 63] Generated Node #0,2,2: 94:[74, 63] Operation: 57+6=63 Exploring Operation: 74-6=68, Resulting Numbers: [57, 68] Generated Node #0,2,3: 94:[57, 68] Operation: 74-6=68 Exploring Operation: 57-6=51, Resulting Numbers: [74, 51] Generated Node #0,2,4: 94:[74, 51] Operation: 57-6=51 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[6, 17], Operations: ['66/11=6', '74-57=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[57, 80], Operations: ['66/11=6', '74+6=80'] Exploring Operation: 57*80=4560, Resulting Numbers: [4560] 4560,94 unequal: No Solution Exploring Operation: 57+80=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[74, 51], Operations: ['66/11=6', '57-6=51'] Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,94 unequal: No Solution Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[57, 68], Operations: ['66/11=6', '74-6=68'] Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[74, 63], Operations: ['66/11=6', '57+6=63'] Exploring Operation: 74*63=4662, Resulting Numbers: [4662] 4662,94 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,94 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: 94:[11, 74, 9], Operations: ['66-57=9'] Exploring Operation: 11*9=99, Resulting Numbers: [74, 99] Generated Node #0,4,0: 94:[74, 99] Operation: 11*9=99 Exploring Operation: 11-9=2, Resulting Numbers: [74, 2] Generated Node #0,4,1: 94:[74, 2] Operation: 11-9=2 Exploring Operation: 11+74=85, Resulting Numbers: [9, 85] Generated Node #0,4,2: 94:[9, 85] Operation: 11+74=85 Exploring Operation: 74+9=83, Resulting Numbers: [11, 83] Generated Node #0,4,3: 94:[11, 83] Operation: 74+9=83 Exploring Operation: 74-11=63, Resulting Numbers: [9, 63] Generated Node #0,4,4: 94:[9, 63] Operation: 74-11=63 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[9, 85], Operations: ['66-57=9', '11+74=85'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,94 unequal: No Solution Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[11, 57, 66, 74], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [11, 74, 9] Generated Node #0,4: 94:[11, 74, 9] Operation: 66-57=9 Moving to Node #0,4 Current State: 94:[11, 74, 9], Operations: ['66-57=9'] Exploring Operation: 11+74=85, Resulting Numbers: [9, 85] Generated Node #0,4,2: 94:[9, 85] Operation: 11+74=85 Moving to Node #0,4,2 Current State: 94:[9, 85], Operations: ['66-57=9', '11+74=85'] Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 2, 16, 22, 53 ]
40
[ "2+53=55", "16*55=880", "880/22=40" ]
Current State: 40:[2, 16, 22, 53], Operations: [] Exploring Operation: 2+53=55, Resulting Numbers: [16, 22, 55] Generated Node #2: [16, 22, 55] from Operation: 2+53=55 Current State: 40:[16, 22, 55], Operations: ['2+53=55'] Exploring Operation: 16*55=880, Resulting Numbers: [22, 880] Generated Node #3: [22, 880] from Operation: 16*55=880 Current State: 40:[22, 880], Operations: ['2+53=55', '16*55=880'] Exploring Operation: 880/22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[2, 16, 22, 53], Operations: [] Exploring Operation: 53-16=37, Resulting Numbers: [2, 22, 37] Generated Node #0,0: 40:[2, 22, 37] Operation: 53-16=37 Exploring Operation: 53-22=31, Resulting Numbers: [2, 16, 31] Generated Node #0,1: 40:[2, 16, 31] Operation: 53-22=31 Exploring Operation: 22-16=6, Resulting Numbers: [2, 53, 6] Generated Node #0,2: 40:[2, 53, 6] Operation: 22-16=6 Moving to Node #0,0 Current State: 40:[2, 22, 37], Operations: ['53-16=37'] Exploring Operation: 2+37=39, Resulting Numbers: [22, 39] Generated Node #0,0,0: 40:[22, 39] Operation: 2+37=39 Exploring Operation: 22/2=11, Resulting Numbers: [37, 11] Generated Node #0,0,1: 40:[37, 11] Operation: 22/2=11 Exploring Operation: 22-2=20, Resulting Numbers: [37, 20] Generated Node #0,0,2: 40:[37, 20] Operation: 22-2=20 Moving to Node #0,1 Current State: 40:[2, 16, 31], Operations: ['53-22=31'] Exploring Operation: 16+31=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 40:[2, 47] Operation: 16+31=47 Exploring Operation: 16/2=8, Resulting Numbers: [31, 8] Generated Node #0,1,1: 40:[31, 8] Operation: 16/2=8 Exploring Operation: 31-16=15, Resulting Numbers: [2, 15] Generated Node #0,1,2: 40:[2, 15] Operation: 31-16=15 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[2, 15], Operations: ['53-22=31', '31-16=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,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,1,0 Current State: 40:[2, 47], Operations: ['53-22=31', '16+31=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,40 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,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,1,1 Current State: 40:[31, 8], Operations: ['53-22=31', '16/2=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,40 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,40 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: 40:[2, 53, 6], Operations: ['22-16=6'] Exploring Operation: 2+6=8, Resulting Numbers: [53, 8] Generated Node #0,2,0: 40:[53, 8] Operation: 2+6=8 Exploring Operation: 53-6=47, Resulting Numbers: [2, 47] Generated Node #0,2,1: 40:[2, 47] Operation: 53-6=47 Exploring Operation: 53-2=51, Resulting Numbers: [6, 51] Generated Node #0,2,2: 40:[6, 51] Operation: 53-2=51 Moving to Node #0,0,0 Current State: 40:[22, 39], Operations: ['53-16=37', '2+37=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 22*39=858, Resulting Numbers: [858] 858,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[37, 20], Operations: ['53-16=37', '22-2=20'] Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 37*20=740, Resulting Numbers: [740] 740,40 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[37, 11], Operations: ['53-16=37', '22/2=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,40 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[2, 47], Operations: ['22-16=6', '53-6=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,40 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[6, 51], Operations: ['22-16=6', '53-2=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[53, 8], Operations: ['22-16=6', '2+6=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,40 unequal: No Solution Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,40 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 44, 27, 78, 34 ]
41
[ "44+27=71", "78+34=112", "112-71=41" ]
Current State: 41:[44, 27, 78, 34], Operations: [] Exploring Operation: 44+27=71, Resulting Numbers: [78, 34, 71] Generated Node #2: [78, 34, 71] from Operation: 44+27=71 Current State: 41:[78, 34, 71], Operations: ['44+27=71'] Exploring Operation: 78+34=112, Resulting Numbers: [71, 112] Generated Node #3: [71, 112] from Operation: 78+34=112 Current State: 41:[71, 112], Operations: ['44+27=71', '78+34=112'] Exploring Operation: 112-71=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[44, 27, 78, 34], Operations: [] Exploring Operation: 78-27=51, Resulting Numbers: [44, 34, 51] Generated Node #0,0: 41:[44, 34, 51] Operation: 78-27=51 Moving to Node #0,0 Current State: 41:[44, 34, 51], Operations: ['78-27=51'] Exploring Operation: 51-34=17, Resulting Numbers: [44, 17] Generated Node #0,0,0: 41:[44, 17] Operation: 51-34=17 Moving to Node #0,0,0 Current State: 41:[44, 17], Operations: ['78-27=51', '51-34=17'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,41 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 77, 83, 20, 74 ]
100
[ "83-77=6", "20+74=94", "6+94=100" ]
Current State: 100:[77, 83, 20, 74], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [20, 74, 6] Generated Node #2: [20, 74, 6] from Operation: 83-77=6 Current State: 100:[20, 74, 6], Operations: ['83-77=6'] Exploring Operation: 20+74=94, Resulting Numbers: [6, 94] Generated Node #3: [6, 94] from Operation: 20+74=94 Current State: 100:[6, 94], Operations: ['83-77=6', '20+74=94'] Exploring Operation: 6+94=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[77, 83, 20, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [83, 20, 3] Generated Node #0,0: 100:[83, 20, 3] Operation: 77-74=3 Exploring Operation: 74-20=54, Resulting Numbers: [77, 83, 54] Generated Node #0,1: 100:[77, 83, 54] Operation: 74-20=54 Exploring Operation: 77+20=97, Resulting Numbers: [83, 74, 97] Generated Node #0,2: 100:[83, 74, 97] Operation: 77+20=97 Exploring Operation: 83-74=9, Resulting Numbers: [77, 20, 9] Generated Node #0,3: 100:[77, 20, 9] Operation: 83-74=9 Exploring Operation: 83-77=6, Resulting Numbers: [20, 74, 6] Generated Node #0,4: 100:[20, 74, 6] Operation: 83-77=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[83, 20, 3], Operations: ['77-74=3'] Exploring Operation: 83-20=63, Resulting Numbers: [3, 63] Generated Node #0,0,0: 100:[3, 63] Operation: 83-20=63 Exploring Operation: 83+20=103, Resulting Numbers: [3, 103] Generated Node #0,0,1: 100:[3, 103] Operation: 83+20=103 Exploring Operation: 83-3=80, Resulting Numbers: [20, 80] Generated Node #0,0,2: 100:[20, 80] Operation: 83-3=80 Exploring Operation: 83+3=86, Resulting Numbers: [20, 86] Generated Node #0,0,3: 100:[20, 86] Operation: 83+3=86 Exploring Operation: 20+3=23, Resulting Numbers: [83, 23] Generated Node #0,0,4: 100:[83, 23] Operation: 20+3=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[3, 103], Operations: ['77-74=3', '83+20=103'] Exploring Operation: 3+103=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 3*103=309, Resulting Numbers: [309] 309,100 unequal: No Solution Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[77, 83, 20, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [83, 20, 3] Generated Node #0,0: 100:[83, 20, 3] Operation: 77-74=3 Moving to Node #0,0 Current State: 100:[83, 20, 3], Operations: ['77-74=3'] Exploring Operation: 83+20=103, Resulting Numbers: [3, 103] Generated Node #0,0,1: 100:[3, 103] Operation: 83+20=103 Moving to Node #0,0,1 Current State: 100:[3, 103], Operations: ['77-74=3', '83+20=103'] Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 78, 10, 55, 3 ]
91
[ "78/3=26", "10+55=65", "26+65=91" ]
Current State: 91:[78, 10, 55, 3], Operations: [] Exploring Operation: 78/3=26, Resulting Numbers: [10, 55, 26] Generated Node #2: [10, 55, 26] from Operation: 78/3=26 Current State: 91:[10, 55, 26], Operations: ['78/3=26'] Exploring Operation: 10+55=65, Resulting Numbers: [26, 65] Generated Node #3: [26, 65] from Operation: 10+55=65 Current State: 91:[26, 65], Operations: ['78/3=26', '10+55=65'] Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[78, 10, 55, 3], Operations: [] Exploring Operation: 78+55=133, Resulting Numbers: [10, 3, 133] Generated Node #0,0: 91:[10, 3, 133] Operation: 78+55=133 Exploring Operation: 10+55=65, Resulting Numbers: [78, 3, 65] Generated Node #0,1: 91:[78, 3, 65] Operation: 10+55=65 Exploring Operation: 78-55=23, Resulting Numbers: [10, 3, 23] Generated Node #0,2: 91:[10, 3, 23] Operation: 78-55=23 Exploring Operation: 78+10=88, Resulting Numbers: [55, 3, 88] Generated Node #0,3: 91:[55, 3, 88] Operation: 78+10=88 Moving to Node #0,2 Current State: 91:[10, 3, 23], Operations: ['78-55=23'] Exploring Operation: 10+3=13, Resulting Numbers: [23, 13] Generated Node #0,2,0: 91:[23, 13] Operation: 10+3=13 Exploring Operation: 23-3=20, Resulting Numbers: [10, 20] Generated Node #0,2,1: 91:[10, 20] Operation: 23-3=20 Exploring Operation: 10-3=7, Resulting Numbers: [23, 7] Generated Node #0,2,2: 91:[23, 7] Operation: 10-3=7 Exploring Operation: 23-10=13, Resulting Numbers: [3, 13] Generated Node #0,2,3: 91:[3, 13] Operation: 23-10=13 Moving to Node #0,3 Current State: 91:[55, 3, 88], Operations: ['78+10=88'] Exploring Operation: 55+3=58, Resulting Numbers: [88, 58] Generated Node #0,3,0: 91:[88, 58] Operation: 55+3=58 Exploring Operation: 3+88=91, Resulting Numbers: [55, 91] Generated Node #0,3,1: 91:[55, 91] Operation: 3+88=91 Exploring Operation: 55-3=52, Resulting Numbers: [88, 52] Generated Node #0,3,2: 91:[88, 52] Operation: 55-3=52 Exploring Operation: 88-55=33, Resulting Numbers: [3, 33] Generated Node #0,3,3: 91:[3, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[3, 33], Operations: ['78+10=88', '88-55=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,91 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[88, 58], Operations: ['78+10=88', '55+3=58'] Exploring Operation: 88+58=146, Resulting Numbers: [146] 146,91 unequal: No Solution Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 88*58=5104, Resulting Numbers: [5104] 5104,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[55, 91], Operations: ['78+10=88', '3+88=91'] Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 55+91=146, Resulting Numbers: [146] 146,91 unequal: No Solution Exploring Operation: 55*91=5005, Resulting Numbers: [5005] 5005,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[88, 52], Operations: ['78+10=88', '55-3=52'] Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 88*52=4576, Resulting Numbers: [4576] 4576,91 unequal: No Solution Exploring Operation: 88+52=140, Resulting Numbers: [140] 140,91 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: 91:[78, 3, 65], Operations: ['10+55=65'] Exploring Operation: 78-65=13, Resulting Numbers: [3, 13] Generated Node #0,1,0: 91:[3, 13] Operation: 78-65=13 Exploring Operation: 3+65=68, Resulting Numbers: [78, 68] Generated Node #0,1,1: 91:[78, 68] Operation: 3+65=68 Exploring Operation: 78+3=81, Resulting Numbers: [65, 81] Generated Node #0,1,2: 91:[65, 81] Operation: 78+3=81 Exploring Operation: 78/3=26, Resulting Numbers: [65, 26] Generated Node #0,1,3: 91:[65, 26] Operation: 78/3=26 Moving to Node #0,0 Current State: 91:[10, 3, 133], Operations: ['78+55=133'] Exploring Operation: 10-3=7, Resulting Numbers: [133, 7] Generated Node #0,0,0: 91:[133, 7] Operation: 10-3=7 Exploring Operation: 133-3=130, Resulting Numbers: [10, 130] Generated Node #0,0,1: 91:[10, 130] Operation: 133-3=130 Exploring Operation: 133-10=123, Resulting Numbers: [3, 123] Generated Node #0,0,2: 91:[3, 123] Operation: 133-10=123 Exploring Operation: 10+3=13, Resulting Numbers: [133, 13] Generated Node #0,0,3: 91:[133, 13] Operation: 10+3=13 Moving to Node #0,2,3 Current State: 91:[3, 13], Operations: ['78-55=23', '23-10=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[3, 13], Operations: ['10+55=65', '78-65=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[10, 20], Operations: ['78-55=23', '23-3=20'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,91 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[23, 13], Operations: ['78-55=23', '10+3=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,91 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[23, 7], Operations: ['78-55=23', '10-3=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,91 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[65, 81], Operations: ['10+55=65', '78+3=81'] Exploring Operation: 65+81=146, Resulting Numbers: [146] 146,91 unequal: No Solution Exploring Operation: 65*81=5265, Resulting Numbers: [5265] 5265,91 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[78, 68], Operations: ['10+55=65', '3+65=68'] Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 78*68=5304, Resulting Numbers: [5304] 5304,91 unequal: No Solution Exploring Operation: 78+68=146, Resulting Numbers: [146] 146,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[3, 123], Operations: ['78+55=133', '133-10=123'] Exploring Operation: 123/3=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 3*123=369, Resulting Numbers: [369] 369,91 unequal: No Solution Exploring Operation: 3+123=126, Resulting Numbers: [126] 126,91 unequal: No Solution Exploring Operation: 123-3=120, Resulting Numbers: [120] 120,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[65, 26], Operations: ['10+55=65', '78/3=26'] Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[78, 10, 55, 3], Operations: [] Exploring Operation: 10+55=65, Resulting Numbers: [78, 3, 65] Generated Node #0,1: 91:[78, 3, 65] Operation: 10+55=65 Moving to Node #0,1 Current State: 91:[78, 3, 65], Operations: ['10+55=65'] Exploring Operation: 78/3=26, Resulting Numbers: [65, 26] Generated Node #0,1,3: 91:[65, 26] Operation: 78/3=26 Moving to Node #0,1,3 Current State: 91:[65, 26], Operations: ['10+55=65', '78/3=26'] Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.944444
hs_4
mult_heuristic
[ 7, 80, 5, 97 ]
19
[ "80-7=73", "97-5=92", "92-73=19" ]
Current State: 19:[7, 80, 5, 97], Operations: [] Exploring Operation: 80-7=73, Resulting Numbers: [5, 97, 73] Generated Node #2: [5, 97, 73] from Operation: 80-7=73 Current State: 19:[5, 97, 73], Operations: ['80-7=73'] Exploring Operation: 97-5=92, Resulting Numbers: [73, 92] Generated Node #3: [73, 92] from Operation: 97-5=92 Current State: 19:[73, 92], Operations: ['80-7=73', '97-5=92'] Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[7, 80, 5, 97], Operations: [] Exploring Operation: 97-80=17, Resulting Numbers: [7, 5, 17] Generated Node #0,0: 19:[7, 5, 17] Operation: 97-80=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[7, 5, 17], Operations: ['97-80=17'] Exploring Operation: 7+5=12, Resulting Numbers: [17, 12] Generated Node #0,0,0: 19:[17, 12] Operation: 7+5=12 Moving to Node #0,0,0 Current State: 19:[17, 12], Operations: ['97-80=17', '7+5=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,19 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
[ 20, 32, 72, 79 ]
34
[ "20*72=1440", "1440/32=45", "79-45=34" ]
Current State: 34:[20, 32, 72, 79], Operations: [] Exploring Operation: 20*72=1440, Resulting Numbers: [32, 79, 1440] Generated Node #2: [32, 79, 1440] from Operation: 20*72=1440 Current State: 34:[32, 79, 1440], Operations: ['20*72=1440'] Exploring Operation: 1440/32=45, Resulting Numbers: [79, 45] Generated Node #3: [79, 45] from Operation: 1440/32=45 Current State: 34:[79, 45], Operations: ['20*72=1440', '1440/32=45'] Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[20, 32, 72, 79], Operations: [] Exploring Operation: 72-32=40, Resulting Numbers: [20, 79, 40] Generated Node #0,0: 34:[20, 79, 40] Operation: 72-32=40 Exploring Operation: 79-20=59, Resulting Numbers: [32, 72, 59] Generated Node #0,1: 34:[32, 72, 59] Operation: 79-20=59 Exploring Operation: 79-32=47, Resulting Numbers: [20, 72, 47] Generated Node #0,2: 34:[20, 72, 47] Operation: 79-32=47 Exploring Operation: 79-72=7, Resulting Numbers: [20, 32, 7] Generated Node #0,3: 34:[20, 32, 7] Operation: 79-72=7 Exploring Operation: 72-20=52, Resulting Numbers: [32, 79, 52] Generated Node #0,4: 34:[32, 79, 52] Operation: 72-20=52 Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[20, 32, 7], Operations: ['79-72=7'] Exploring Operation: 32-7=25, Resulting Numbers: [20, 25] Generated Node #0,3,0: 34:[20, 25] Operation: 32-7=25 Exploring Operation: 20+7=27, Resulting Numbers: [32, 27] Generated Node #0,3,1: 34:[32, 27] Operation: 20+7=27 Exploring Operation: 32+7=39, Resulting Numbers: [20, 39] Generated Node #0,3,2: 34:[20, 39] Operation: 32+7=39 Exploring Operation: 32-20=12, Resulting Numbers: [7, 12] Generated Node #0,3,3: 34:[7, 12] Operation: 32-20=12 Exploring Operation: 20-7=13, Resulting Numbers: [32, 13] Generated Node #0,3,4: 34:[32, 13] Operation: 20-7=13 Moving to Node #0,3,4 Current State: 34:[32, 13], Operations: ['79-72=7', '20-7=13'] Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,34 unequal: No Solution Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[20, 39], Operations: ['79-72=7', '32+7=39'] Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,34 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[32, 27], Operations: ['79-72=7', '20+7=27'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,34 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[7, 12], Operations: ['79-72=7', '32-20=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[20, 25], Operations: ['79-72=7', '32-7=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[20, 79, 40], Operations: ['72-32=40'] Exploring Operation: 20+79=99, Resulting Numbers: [40, 99] Generated Node #0,0,0: 34:[40, 99] Operation: 20+79=99 Exploring Operation: 79-20=59, Resulting Numbers: [40, 59] Generated Node #0,0,1: 34:[40, 59] Operation: 79-20=59 Exploring Operation: 79-40=39, Resulting Numbers: [20, 39] Generated Node #0,0,2: 34:[20, 39] Operation: 79-40=39 Exploring Operation: 40/20=2, Resulting Numbers: [79, 2] Generated Node #0,0,3: 34:[79, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [79, 20] Generated Node #0,0,4: 34:[79, 20] Operation: 40-20=20 Moving to Node #0,0,2 Current State: 34:[20, 39], Operations: ['72-32=40', '79-40=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[40, 59], Operations: ['72-32=40', '79-20=59'] Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,34 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[79, 2], Operations: ['72-32=40', '40/20=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,34 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,34 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[79, 20], Operations: ['72-32=40', '40-20=20'] Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,34 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[40, 99], Operations: ['72-32=40', '20+79=99'] Exploring Operation: 40+99=139, Resulting Numbers: [139] 139,34 unequal: No Solution Exploring Operation: 99-40=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 40*99=3960, Resulting Numbers: [3960] 3960,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[20, 72, 47], Operations: ['79-32=47'] Exploring Operation: 20+47=67, Resulting Numbers: [72, 67] Generated Node #0,2,0: 34:[72, 67] Operation: 20+47=67 Exploring Operation: 72-47=25, Resulting Numbers: [20, 25] Generated Node #0,2,1: 34:[20, 25] Operation: 72-47=25 Exploring Operation: 47-20=27, Resulting Numbers: [72, 27] Generated Node #0,2,2: 34:[72, 27] Operation: 47-20=27 Exploring Operation: 72-20=52, Resulting Numbers: [47, 52] Generated Node #0,2,3: 34:[47, 52] Operation: 72-20=52 Exploring Operation: 20+72=92, Resulting Numbers: [47, 92] Generated Node #0,2,4: 34:[47, 92] Operation: 20+72=92 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 34:[20, 25], Operations: ['79-32=47', '72-47=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,34 unequal: No Solution No 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: 34:[47, 52], Operations: ['79-32=47', '72-20=52'] Exploring Operation: 47*52=2444, Resulting Numbers: [2444] 2444,34 unequal: No Solution Exploring Operation: 47+52=99, Resulting Numbers: [99] 99,34 unequal: No Solution Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,34 unequal: No Solution No 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: 34:[72, 27], Operations: ['79-32=47', '47-20=27'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,34 unequal: No Solution Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,34 unequal: No Solution No 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: 34:[72, 67], Operations: ['79-32=47', '20+47=67'] Exploring Operation: 72*67=4824, Resulting Numbers: [4824] 4824,34 unequal: No Solution Exploring Operation: 72+67=139, Resulting Numbers: [139] 139,34 unequal: No Solution Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,34 unequal: No Solution No 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: 34:[47, 92], Operations: ['79-32=47', '20+72=92'] Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,34 unequal: No Solution Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,34 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: 34:[32, 72, 59], Operations: ['79-20=59'] Exploring Operation: 59-32=27, Resulting Numbers: [72, 27] Generated Node #0,1,0: 34:[72, 27] Operation: 59-32=27 Exploring Operation: 72-32=40, Resulting Numbers: [59, 40] Generated Node #0,1,1: 34:[59, 40] Operation: 72-32=40 Exploring Operation: 72-59=13, Resulting Numbers: [32, 13] Generated Node #0,1,2: 34:[32, 13] Operation: 72-59=13 Exploring Operation: 32+59=91, Resulting Numbers: [72, 91] Generated Node #0,1,3: 34:[72, 91] Operation: 32+59=91 Exploring Operation: 32+72=104, Resulting Numbers: [59, 104] Generated Node #0,1,4: 34:[59, 104] Operation: 32+72=104 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 34:[32, 13], Operations: ['79-20=59', '72-59=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,34 unequal: No Solution Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,34 unequal: No Solution No 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: 34:[59, 40], Operations: ['79-20=59', '72-32=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,34 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,34 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,34 unequal: No Solution No 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: 34:[72, 27], Operations: ['79-20=59', '59-32=27'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,34 unequal: No Solution Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,34 unequal: No Solution No 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: 34:[72, 91], Operations: ['79-20=59', '32+59=91'] Exploring Operation: 72*91=6552, Resulting Numbers: [6552] 6552,34 unequal: No Solution Exploring Operation: 91-72=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 72+91=163, Resulting Numbers: [163] 163,34 unequal: No Solution No 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: 34:[59, 104], Operations: ['79-20=59', '32+72=104'] Exploring Operation: 59*104=6136, Resulting Numbers: [6136] 6136,34 unequal: No Solution Exploring Operation: 59+104=163, Resulting Numbers: [163] 163,34 unequal: No Solution Exploring Operation: 104-59=45, Resulting Numbers: [45] 45,34 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: 34:[32, 79, 52], Operations: ['72-20=52'] Exploring Operation: 79-52=27, Resulting Numbers: [32, 27] Generated Node #0,4,0: 34:[32, 27] Operation: 79-52=27 Exploring Operation: 52-32=20, Resulting Numbers: [79, 20] Generated Node #0,4,1: 34:[79, 20] Operation: 52-32=20 Exploring Operation: 79-32=47, Resulting Numbers: [52, 47] Generated Node #0,4,2: 34:[52, 47] Operation: 79-32=47 Exploring Operation: 32+79=111, Resulting Numbers: [52, 111] Generated Node #0,4,3: 34:[52, 111] Operation: 32+79=111 Exploring Operation: 32+52=84, Resulting Numbers: [79, 84] Generated Node #0,4,4: 34:[79, 84] Operation: 32+52=84 Moving to Node #0,4,0 Current State: 34:[32, 27], Operations: ['72-20=52', '79-52=27'] Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,34 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[52, 47], Operations: ['72-20=52', '79-32=47'] Exploring Operation: 52*47=2444, Resulting Numbers: [2444] 2444,34 unequal: No Solution Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 52+47=99, Resulting Numbers: [99] 99,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[79, 20], Operations: ['72-20=52', '52-32=20'] Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,34 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[52, 111], Operations: ['72-20=52', '32+79=111'] Exploring Operation: 111-52=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 52+111=163, Resulting Numbers: [163] 163,34 unequal: No Solution Exploring Operation: 52*111=5772, Resulting Numbers: [5772] 5772,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[79, 84], Operations: ['72-20=52', '32+52=84'] Exploring Operation: 79*84=6636, Resulting Numbers: [6636] 6636,34 unequal: No Solution Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 79+84=163, Resulting Numbers: [163] 163,34 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
[ 6, 2, 23, 82 ]
61
[ "82-6=76", "76/2=38", "23+38=61" ]
Current State: 61:[6, 2, 23, 82], Operations: [] Exploring Operation: 82-6=76, Resulting Numbers: [2, 23, 76] Generated Node #2: [2, 23, 76] from Operation: 82-6=76 Current State: 61:[2, 23, 76], Operations: ['82-6=76'] Exploring Operation: 76/2=38, Resulting Numbers: [23, 38] Generated Node #3: [23, 38] from Operation: 76/2=38 Current State: 61:[23, 38], Operations: ['82-6=76', '76/2=38'] Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[6, 2, 23, 82], Operations: [] Exploring Operation: 6*2=12, Resulting Numbers: [23, 82, 12] Generated Node #0,0: 61:[23, 82, 12] Operation: 6*2=12 Exploring Operation: 2*23=46, Resulting Numbers: [6, 82, 46] Generated Node #0,1: 61:[6, 82, 46] Operation: 2*23=46 Exploring Operation: 6+23=29, Resulting Numbers: [2, 82, 29] Generated Node #0,2: 61:[2, 82, 29] Operation: 6+23=29 Exploring Operation: 6+2=8, Resulting Numbers: [23, 82, 8] Generated Node #0,3: 61:[23, 82, 8] Operation: 6+2=8 Moving to Node #0,1 Current State: 61:[6, 82, 46], Operations: ['2*23=46'] Exploring Operation: 6+82=88, Resulting Numbers: [46, 88] Generated Node #0,1,0: 61:[46, 88] Operation: 6+82=88 Exploring Operation: 6+46=52, Resulting Numbers: [82, 52] Generated Node #0,1,1: 61:[82, 52] Operation: 6+46=52 Exploring Operation: 46-6=40, Resulting Numbers: [82, 40] Generated Node #0,1,2: 61:[82, 40] Operation: 46-6=40 Exploring Operation: 82-6=76, Resulting Numbers: [46, 76] Generated Node #0,1,3: 61:[46, 76] Operation: 82-6=76 Moving to Node #0,0 Current State: 61:[23, 82, 12], Operations: ['6*2=12'] Exploring Operation: 23-12=11, Resulting Numbers: [82, 11] Generated Node #0,0,0: 61:[82, 11] Operation: 23-12=11 Exploring Operation: 82-12=70, Resulting Numbers: [23, 70] Generated Node #0,0,1: 61:[23, 70] Operation: 82-12=70 Exploring Operation: 82-23=59, Resulting Numbers: [12, 59] Generated Node #0,0,2: 61:[12, 59] Operation: 82-23=59 Exploring Operation: 23+12=35, Resulting Numbers: [82, 35] Generated Node #0,0,3: 61:[82, 35] Operation: 23+12=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[23, 70], Operations: ['6*2=12', '82-12=70'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,61 unequal: No Solution Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[82, 35], Operations: ['6*2=12', '23+12=35'] Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,61 unequal: No Solution Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[12, 59], Operations: ['6*2=12', '82-23=59'] Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,61 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[82, 11], Operations: ['6*2=12', '23-12=11'] Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,61 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,61 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: 61:[23, 82, 8], Operations: ['6+2=8'] Exploring Operation: 23-8=15, Resulting Numbers: [82, 15] Generated Node #0,3,0: 61:[82, 15] Operation: 23-8=15 Exploring Operation: 82-8=74, Resulting Numbers: [23, 74] Generated Node #0,3,1: 61:[23, 74] Operation: 82-8=74 Exploring Operation: 23+8=31, Resulting Numbers: [82, 31] Generated Node #0,3,2: 61:[82, 31] Operation: 23+8=31 Exploring Operation: 82-23=59, Resulting Numbers: [8, 59] Generated Node #0,3,3: 61:[8, 59] Operation: 82-23=59 Moving to Node #0,2 Current State: 61:[2, 82, 29], Operations: ['6+23=29'] Exploring Operation: 2+29=31, Resulting Numbers: [82, 31] Generated Node #0,2,0: 61:[82, 31] Operation: 2+29=31 Exploring Operation: 82/2=41, Resulting Numbers: [29, 41] Generated Node #0,2,1: 61:[29, 41] Operation: 82/2=41 Exploring Operation: 2*29=58, Resulting Numbers: [82, 58] Generated Node #0,2,2: 61:[82, 58] Operation: 2*29=58 Exploring Operation: 82-2=80, Resulting Numbers: [29, 80] Generated Node #0,2,3: 61:[29, 80] Operation: 82-2=80 Moving to Node #0,2,2 Current State: 61:[82, 58], Operations: ['6+23=29', '2*29=58'] Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 82+58=140, Resulting Numbers: [140] 140,61 unequal: No Solution Exploring Operation: 82*58=4756, Resulting Numbers: [4756] 4756,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[82, 52], Operations: ['2*23=46', '6+46=52'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 82*52=4264, Resulting Numbers: [4264] 4264,61 unequal: No Solution Exploring Operation: 82+52=134, Resulting Numbers: [134] 134,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[46, 76], Operations: ['2*23=46', '82-6=76'] Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,61 unequal: No Solution Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[46, 88], Operations: ['2*23=46', '6+82=88'] Exploring Operation: 46+88=134, Resulting Numbers: [134] 134,61 unequal: No Solution Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 46*88=4048, Resulting Numbers: [4048] 4048,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[82, 40], Operations: ['2*23=46', '46-6=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 82*40=3280, Resulting Numbers: [3280] 3280,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[82, 31], Operations: ['6+2=8', '23+8=31'] Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,61 unequal: No Solution Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[82, 31], Operations: ['6+23=29', '2+29=31'] Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[23, 74], Operations: ['6+2=8', '82-8=74'] Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,61 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[29, 80], Operations: ['6+23=29', '82-2=80'] Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,61 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[29, 41], Operations: ['6+23=29', '82/2=41'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,61 unequal: No Solution Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[8, 59], Operations: ['6+2=8', '82-23=59'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 8*59=472, Resulting Numbers: [472] 472,61 unequal: No Solution Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[82, 15], Operations: ['6+2=8', '23-8=15'] Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,61 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,61 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 75, 13, 16, 35 ]
60
[ "16-13=3", "75/3=25", "35+25=60" ]
Current State: 60:[75, 13, 16, 35], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [75, 35, 3] Generated Node #2: [75, 35, 3] from Operation: 16-13=3 Current State: 60:[75, 35, 3], Operations: ['16-13=3'] Exploring Operation: 75/3=25, Resulting Numbers: [35, 25] Generated Node #3: [35, 25] from Operation: 75/3=25 Current State: 60:[35, 25], Operations: ['16-13=3', '75/3=25'] Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[75, 13, 16, 35], Operations: [] Exploring Operation: 35-16=19, Resulting Numbers: [75, 13, 19] Generated Node #0,0: 60:[75, 13, 19] Operation: 35-16=19 Exploring Operation: 75-35=40, Resulting Numbers: [13, 16, 40] Generated Node #0,1: 60:[13, 16, 40] Operation: 75-35=40 Exploring Operation: 75-16=59, Resulting Numbers: [13, 35, 59] Generated Node #0,2: 60:[13, 35, 59] Operation: 75-16=59 Exploring Operation: 75-13=62, Resulting Numbers: [16, 35, 62] Generated Node #0,3: 60:[16, 35, 62] Operation: 75-13=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[13, 35, 59], Operations: ['75-16=59'] Exploring Operation: 13+59=72, Resulting Numbers: [35, 72] Generated Node #0,2,0: 60:[35, 72] Operation: 13+59=72 Exploring Operation: 13+35=48, Resulting Numbers: [59, 48] Generated Node #0,2,1: 60:[59, 48] Operation: 13+35=48 Exploring Operation: 35-13=22, Resulting Numbers: [59, 22] Generated Node #0,2,2: 60:[59, 22] Operation: 35-13=22 Exploring Operation: 59-35=24, Resulting Numbers: [13, 24] Generated Node #0,2,3: 60:[13, 24] Operation: 59-35=24 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[59, 22], Operations: ['75-16=59', '35-13=22'] Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,60 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,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,2,3 Current State: 60:[13, 24], Operations: ['75-16=59', '59-35=24'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,60 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,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,2,1 Current State: 60:[59, 48], Operations: ['75-16=59', '13+35=48'] Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,60 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,60 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,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,2,0 Current State: 60:[35, 72], Operations: ['75-16=59', '13+59=72'] Exploring Operation: 35*72=2520, Resulting Numbers: [2520] 2520,60 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,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:[16, 35, 62], Operations: ['75-13=62'] Exploring Operation: 35-16=19, Resulting Numbers: [62, 19] Generated Node #0,3,0: 60:[62, 19] Operation: 35-16=19 Exploring Operation: 62-35=27, Resulting Numbers: [16, 27] Generated Node #0,3,1: 60:[16, 27] Operation: 62-35=27 Exploring Operation: 62-16=46, Resulting Numbers: [35, 46] Generated Node #0,3,2: 60:[35, 46] Operation: 62-16=46 Exploring Operation: 16+35=51, Resulting Numbers: [62, 51] Generated Node #0,3,3: 60:[62, 51] Operation: 16+35=51 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 60:[62, 19], Operations: ['75-13=62', '35-16=19'] Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,60 unequal: No Solution Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,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:[16, 27], Operations: ['75-13=62', '62-35=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,60 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,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,3 Current State: 60:[62, 51], Operations: ['75-13=62', '16+35=51'] Exploring Operation: 62*51=3162, Resulting Numbers: [3162] 3162,60 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,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:[35, 46], Operations: ['75-13=62', '62-16=46'] Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,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,1 Current State: 60:[13, 16, 40], Operations: ['75-35=40'] Exploring Operation: 13+40=53, Resulting Numbers: [16, 53] Generated Node #0,1,0: 60:[16, 53] Operation: 13+40=53 Exploring Operation: 40-13=27, Resulting Numbers: [16, 27] Generated Node #0,1,1: 60:[16, 27] Operation: 40-13=27 Exploring Operation: 40-16=24, Resulting Numbers: [13, 24] Generated Node #0,1,2: 60:[13, 24] Operation: 40-16=24 Exploring Operation: 16+40=56, Resulting Numbers: [13, 56] Generated Node #0,1,3: 60:[13, 56] Operation: 16+40=56 Moving to Node #0,1,1 Current State: 60:[16, 27], Operations: ['75-35=40', '40-13=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[13, 56], Operations: ['75-35=40', '16+40=56'] Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,60 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[13, 24], Operations: ['75-35=40', '40-16=24'] Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,60 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[16, 53], Operations: ['75-35=40', '13+40=53'] Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,60 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,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:[75, 13, 19], Operations: ['35-16=19'] Exploring Operation: 75-13=62, Resulting Numbers: [19, 62] Generated Node #0,0,0: 60:[19, 62] Operation: 75-13=62 Exploring Operation: 19-13=6, Resulting Numbers: [75, 6] Generated Node #0,0,1: 60:[75, 6] Operation: 19-13=6 Exploring Operation: 13+19=32, Resulting Numbers: [75, 32] Generated Node #0,0,2: 60:[75, 32] Operation: 13+19=32 Exploring Operation: 75-19=56, Resulting Numbers: [13, 56] Generated Node #0,0,3: 60:[13, 56] Operation: 75-19=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[19, 62], Operations: ['35-16=19', '75-13=62'] Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,60 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,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:[13, 56], Operations: ['35-16=19', '75-19=56'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,60 unequal: No Solution Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,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,1 Current State: 60:[75, 6], Operations: ['35-16=19', '19-13=6'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 75*6=450, Resulting Numbers: [450] 450,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:[75, 32], Operations: ['35-16=19', '13+19=32'] Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,60 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,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 No solution found.
0
hs_4
mult_heuristic
[ 47, 42, 7, 28 ]
16
[ "47-42=5", "28-7=21", "21-5=16" ]
Current State: 16:[47, 42, 7, 28], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [7, 28, 5] Generated Node #2: [7, 28, 5] from Operation: 47-42=5 Current State: 16:[7, 28, 5], Operations: ['47-42=5'] Exploring Operation: 28-7=21, Resulting Numbers: [5, 21] Generated Node #3: [5, 21] from Operation: 28-7=21 Current State: 16:[5, 21], Operations: ['47-42=5', '28-7=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[47, 42, 7, 28], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [7, 28, 5] Generated Node #0,0: 16:[7, 28, 5] Operation: 47-42=5 Exploring Operation: 47-28=19, Resulting Numbers: [42, 7, 19] Generated Node #0,1: 16:[42, 7, 19] Operation: 47-28=19 Moving to Node #0,0 Current State: 16:[7, 28, 5], Operations: ['47-42=5'] Exploring Operation: 28/7=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 16:[5, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [5, 21] Generated Node #0,0,1: 16:[5, 21] Operation: 28-7=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[5, 4], Operations: ['47-42=5', '28/7=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,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,0,1 Current State: 16:[5, 21], Operations: ['47-42=5', '28-7=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[47, 42, 7, 28], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [7, 28, 5] Generated Node #0,0: 16:[7, 28, 5] Operation: 47-42=5 Moving to Node #0,0 Current State: 16:[7, 28, 5], Operations: ['47-42=5'] Exploring Operation: 28-7=21, Resulting Numbers: [5, 21] Generated Node #0,0,1: 16:[5, 21] Operation: 28-7=21 Moving to Node #0,0,1 Current State: 16:[5, 21], Operations: ['47-42=5', '28-7=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 2, 82, 5, 18 ]
61
[ "2+82=84", "5+18=23", "84-23=61" ]
Current State: 61:[2, 82, 5, 18], Operations: [] Exploring Operation: 2+82=84, Resulting Numbers: [5, 18, 84] Generated Node #2: [5, 18, 84] from Operation: 2+82=84 Current State: 61:[5, 18, 84], Operations: ['2+82=84'] Exploring Operation: 5+18=23, Resulting Numbers: [84, 23] Generated Node #3: [84, 23] from Operation: 5+18=23 Current State: 61:[84, 23], Operations: ['2+82=84', '5+18=23'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[2, 82, 5, 18], Operations: [] Exploring Operation: 2*18=36, Resulting Numbers: [82, 5, 36] Generated Node #0,0: 61:[82, 5, 36] Operation: 2*18=36 Exploring Operation: 5*18=90, Resulting Numbers: [2, 82, 90] Generated Node #0,1: 61:[2, 82, 90] Operation: 5*18=90 Moving to Node #0,0 Current State: 61:[82, 5, 36], Operations: ['2*18=36'] Exploring Operation: 82-5=77, Resulting Numbers: [36, 77] Generated Node #0,0,0: 61:[36, 77] Operation: 82-5=77 Exploring Operation: 5+36=41, Resulting Numbers: [82, 41] Generated Node #0,0,1: 61:[82, 41] Operation: 5+36=41 Moving to Node #0,1 Current State: 61:[2, 82, 90], Operations: ['5*18=90'] Exploring Operation: 90/2=45, Resulting Numbers: [82, 45] Generated Node #0,1,0: 61:[82, 45] Operation: 90/2=45 Exploring Operation: 82-2=80, Resulting Numbers: [90, 80] Generated Node #0,1,1: 61:[90, 80] Operation: 82-2=80 Moving to Node #0,1,0 Current State: 61:[82, 45], Operations: ['5*18=90', '90/2=45'] Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,61 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[36, 77], Operations: ['2*18=36', '82-5=77'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[82, 41], Operations: ['2*18=36', '5+36=41'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[90, 80], Operations: ['5*18=90', '82-2=80'] Exploring Operation: 90+80=170, Resulting Numbers: [170] 170,61 unequal: No Solution Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,61 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 90, 20, 84, 53 ]
67
[ "90-20=70", "84+53=137", "137-70=67" ]
Current State: 67:[90, 20, 84, 53], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [84, 53, 70] Generated Node #2: [84, 53, 70] from Operation: 90-20=70 Current State: 67:[84, 53, 70], Operations: ['90-20=70'] Exploring Operation: 84+53=137, Resulting Numbers: [70, 137] Generated Node #3: [70, 137] from Operation: 84+53=137 Current State: 67:[70, 137], Operations: ['90-20=70', '84+53=137'] Exploring Operation: 137-70=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[90, 20, 84, 53], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [84, 53, 70] Generated Node #0,0: 67:[84, 53, 70] Operation: 90-20=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[84, 53, 70], Operations: ['90-20=70'] Exploring Operation: 84-53=31, Resulting Numbers: [70, 31] Generated Node #0,0,0: 67:[70, 31] Operation: 84-53=31 Moving to Node #0,0,0 Current State: 67:[70, 31], Operations: ['90-20=70', '84-53=31'] Exploring Operation: 70-31=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
sum_heuristic
[ 15, 78, 10, 23 ]
11
[ "15-10=5", "78-23=55", "55/5=11" ]
Current State: 11:[15, 78, 10, 23], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [78, 23, 5] Generated Node #2: [78, 23, 5] from Operation: 15-10=5 Current State: 11:[78, 23, 5], Operations: ['15-10=5'] Exploring Operation: 78-23=55, Resulting Numbers: [5, 55] Generated Node #3: [5, 55] from Operation: 78-23=55 Current State: 11:[5, 55], Operations: ['15-10=5', '78-23=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[15, 78, 10, 23], Operations: [] Exploring Operation: 78-23=55, Resulting Numbers: [15, 10, 55] Generated Node #0,0: 11:[15, 10, 55] Operation: 78-23=55 Moving to Node #0,0 Current State: 11:[15, 10, 55], Operations: ['78-23=55'] Exploring Operation: 55-15=40, Resulting Numbers: [10, 40] Generated Node #0,0,0: 11:[10, 40] Operation: 55-15=40 Moving to Node #0,0,0 Current State: 11:[10, 40], Operations: ['78-23=55', '55-15=40'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 13, 34, 38, 66 ]
19
[ "13+34=47", "66-38=28", "47-28=19" ]
Current State: 19:[13, 34, 38, 66], Operations: [] Exploring Operation: 13+34=47, Resulting Numbers: [38, 66, 47] Generated Node #2: [38, 66, 47] from Operation: 13+34=47 Current State: 19:[38, 66, 47], Operations: ['13+34=47'] Exploring Operation: 66-38=28, Resulting Numbers: [47, 28] Generated Node #3: [47, 28] from Operation: 66-38=28 Current State: 19:[47, 28], Operations: ['13+34=47', '66-38=28'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[13, 34, 38, 66], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [13, 34, 28] Generated Node #0,0: 19:[13, 34, 28] Operation: 66-38=28 Exploring Operation: 66-34=32, Resulting Numbers: [13, 38, 32] Generated Node #0,1: 19:[13, 38, 32] Operation: 66-34=32 Exploring Operation: 34-13=21, Resulting Numbers: [38, 66, 21] Generated Node #0,2: 19:[38, 66, 21] Operation: 34-13=21 Exploring Operation: 38-13=25, Resulting Numbers: [34, 66, 25] Generated Node #0,3: 19:[34, 66, 25] Operation: 38-13=25 Moving to Node #0,0 Current State: 19:[13, 34, 28], Operations: ['66-38=28'] Exploring Operation: 34-28=6, Resulting Numbers: [13, 6] Generated Node #0,0,0: 19:[13, 6] Operation: 34-28=6 Exploring Operation: 13+34=47, Resulting Numbers: [28, 47] Generated Node #0,0,1: 19:[28, 47] Operation: 13+34=47 Exploring Operation: 34-13=21, Resulting Numbers: [28, 21] Generated Node #0,0,2: 19:[28, 21] Operation: 34-13=21 Exploring Operation: 28-13=15, Resulting Numbers: [34, 15] Generated Node #0,0,3: 19:[34, 15] Operation: 28-13=15 Moving to Node #0,1 Current State: 19:[13, 38, 32], Operations: ['66-34=32'] Exploring Operation: 38-13=25, Resulting Numbers: [32, 25] Generated Node #0,1,0: 19:[32, 25] Operation: 38-13=25 Exploring Operation: 13+38=51, Resulting Numbers: [32, 51] Generated Node #0,1,1: 19:[32, 51] Operation: 13+38=51 Exploring Operation: 38-32=6, Resulting Numbers: [13, 6] Generated Node #0,1,2: 19:[13, 6] Operation: 38-32=6 Exploring Operation: 32-13=19, Resulting Numbers: [38, 19] Generated Node #0,1,3: 19:[38, 19] Operation: 32-13=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[32, 25], Operations: ['66-34=32', '38-13=25'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,19 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[13, 6], Operations: ['66-34=32', '38-32=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,19 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[13, 34, 38, 66], Operations: [] Exploring Operation: 66-34=32, Resulting Numbers: [13, 38, 32] Generated Node #0,1: 19:[13, 38, 32] Operation: 66-34=32 Moving to Node #0,1 Current State: 19:[13, 38, 32], Operations: ['66-34=32'] Exploring Operation: 38-32=6, Resulting Numbers: [13, 6] Generated Node #0,1,2: 19:[13, 6] Operation: 38-32=6 Moving to Node #0,1,2 Current State: 19:[13, 6], Operations: ['66-34=32', '38-32=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 9, 76, 13, 65 ]
90
[ "9+76=85", "65/13=5", "85+5=90" ]
Current State: 90:[9, 76, 13, 65], Operations: [] Exploring Operation: 9+76=85, Resulting Numbers: [13, 65, 85] Generated Node #2: [13, 65, 85] from Operation: 9+76=85 Current State: 90:[13, 65, 85], Operations: ['9+76=85'] Exploring Operation: 65/13=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 65/13=5 Current State: 90:[85, 5], Operations: ['9+76=85', '65/13=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[9, 76, 13, 65], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [9, 76, 5] Generated Node #0,0: 90:[9, 76, 5] Operation: 65/13=5 Exploring Operation: 76+13=89, Resulting Numbers: [9, 65, 89] Generated Node #0,1: 90:[9, 65, 89] Operation: 76+13=89 Exploring Operation: 76-65=11, Resulting Numbers: [9, 13, 11] Generated Node #0,2: 90:[9, 13, 11] Operation: 76-65=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[9, 13, 11], Operations: ['76-65=11'] Exploring Operation: 11-9=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 90:[13, 2] Operation: 11-9=2 Exploring Operation: 13-11=2, Resulting Numbers: [9, 2] Generated Node #0,2,1: 90:[9, 2] Operation: 13-11=2 Exploring Operation: 13-9=4, Resulting Numbers: [11, 4] Generated Node #0,2,2: 90:[11, 4] Operation: 13-9=4 Moving to Node #0,2,1 Current State: 90:[9, 2], Operations: ['76-65=11', '13-11=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[13, 2], Operations: ['76-65=11', '11-9=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[11, 4], Operations: ['76-65=11', '13-9=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,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,0 Current State: 90:[9, 76, 5], Operations: ['65/13=5'] Exploring Operation: 76+5=81, Resulting Numbers: [9, 81] Generated Node #0,0,0: 90:[9, 81] Operation: 76+5=81 Exploring Operation: 9*5=45, Resulting Numbers: [76, 45] Generated Node #0,0,1: 90:[76, 45] Operation: 9*5=45 Exploring Operation: 9+76=85, Resulting Numbers: [5, 85] Generated Node #0,0,2: 90:[5, 85] Operation: 9+76=85 Moving to Node #0,0,2 Current State: 90:[5, 85], Operations: ['65/13=5', '9+76=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[9, 76, 13, 65], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [9, 76, 5] Generated Node #0,0: 90:[9, 76, 5] Operation: 65/13=5 Moving to Node #0,0 Current State: 90:[9, 76, 5], Operations: ['65/13=5'] Exploring Operation: 9+76=85, Resulting Numbers: [5, 85] Generated Node #0,0,2: 90:[5, 85] Operation: 9+76=85 Moving to Node #0,0,2 Current State: 90:[5, 85], Operations: ['65/13=5', '9+76=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 61, 72, 48, 74 ]
74
[ "74-72=2", "61*2=122", "122-48=74" ]
Current State: 74:[61, 72, 48, 74], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [61, 48, 2] Generated Node #2: [61, 48, 2] from Operation: 74-72=2 Current State: 74:[61, 48, 2], Operations: ['74-72=2'] Exploring Operation: 61*2=122, Resulting Numbers: [48, 122] Generated Node #3: [48, 122] from Operation: 61*2=122 Current State: 74:[48, 122], Operations: ['74-72=2', '61*2=122'] Exploring Operation: 122-48=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[61, 72, 48, 74], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [72, 74, 13] Generated Node #0,0: 74:[72, 74, 13] Operation: 61-48=13 Exploring Operation: 72-61=11, Resulting Numbers: [48, 74, 11] Generated Node #0,1: 74:[48, 74, 11] Operation: 72-61=11 Exploring Operation: 74-61=13, Resulting Numbers: [72, 48, 13] Generated Node #0,2: 74:[72, 48, 13] Operation: 74-61=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[72, 74, 13], Operations: ['61-48=13'] Exploring Operation: 74-72=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 74:[13, 2] Operation: 74-72=2 Exploring Operation: 72+13=85, Resulting Numbers: [74, 85] Generated Node #0,0,1: 74:[74, 85] Operation: 72+13=85 Exploring Operation: 72-13=59, Resulting Numbers: [74, 59] Generated Node #0,0,2: 74:[74, 59] Operation: 72-13=59 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[13, 2], Operations: ['61-48=13', '74-72=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,74 unequal: No Solution No 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: 74:[74, 85], Operations: ['61-48=13', '72+13=85'] Exploring Operation: 74+85=159, Resulting Numbers: [159] 159,74 unequal: No Solution Exploring Operation: 85-74=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 74*85=6290, Resulting Numbers: [6290] 6290,74 unequal: No Solution No 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: 74:[74, 59], Operations: ['61-48=13', '72-13=59'] Exploring Operation: 74+59=133, Resulting Numbers: [133] 133,74 unequal: No Solution Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 74*59=4366, Resulting Numbers: [4366] 4366,74 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: 74:[48, 74, 11], Operations: ['72-61=11'] Exploring Operation: 74-48=26, Resulting Numbers: [11, 26] Generated Node #0,1,0: 74:[11, 26] Operation: 74-48=26 Exploring Operation: 48+11=59, Resulting Numbers: [74, 59] Generated Node #0,1,1: 74:[74, 59] Operation: 48+11=59 Exploring Operation: 48-11=37, Resulting Numbers: [74, 37] Generated Node #0,1,2: 74:[74, 37] Operation: 48-11=37 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[74, 37], Operations: ['72-61=11', '48-11=37'] Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 74+37=111, Resulting Numbers: [111] 111,74 unequal: No Solution No 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: 74:[74, 59], Operations: ['72-61=11', '48+11=59'] Exploring Operation: 74*59=4366, Resulting Numbers: [4366] 4366,74 unequal: No Solution Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 74+59=133, Resulting Numbers: [133] 133,74 unequal: No Solution No 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: 74:[11, 26], Operations: ['72-61=11', '74-48=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,74 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,74 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: 74:[72, 48, 13], Operations: ['74-61=13'] Exploring Operation: 48+13=61, Resulting Numbers: [72, 61] Generated Node #0,2,0: 74:[72, 61] Operation: 48+13=61 Exploring Operation: 72+13=85, Resulting Numbers: [48, 85] Generated Node #0,2,1: 74:[48, 85] Operation: 72+13=85 Exploring Operation: 48-13=35, Resulting Numbers: [72, 35] Generated Node #0,2,2: 74:[72, 35] Operation: 48-13=35 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[72, 35], Operations: ['74-61=13', '48-13=35'] Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,74 unequal: No Solution No 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: 74:[72, 61], Operations: ['74-61=13', '48+13=61'] Exploring Operation: 72*61=4392, Resulting Numbers: [4392] 4392,74 unequal: No Solution Exploring Operation: 72+61=133, Resulting Numbers: [133] 133,74 unequal: No Solution Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,74 unequal: No Solution No 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: 74:[48, 85], Operations: ['74-61=13', '72+13=85'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,74 unequal: No Solution Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,74 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
[ 90, 30, 95, 62 ]
30
[ "90/30=3", "95-62=33", "33-3=30" ]
Current State: 30:[90, 30, 95, 62], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [95, 62, 3] Generated Node #2: [95, 62, 3] from Operation: 90/30=3 Current State: 30:[95, 62, 3], Operations: ['90/30=3'] Exploring Operation: 95-62=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 95-62=33 Current State: 30:[3, 33], Operations: ['90/30=3', '95-62=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[90, 30, 95, 62], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [30, 62, 5] Generated Node #0,0: 30:[30, 62, 5] Operation: 95-90=5 Exploring Operation: 95-62=33, Resulting Numbers: [90, 30, 33] Generated Node #0,1: 30:[90, 30, 33] Operation: 95-62=33 Moving to Node #0,0 Current State: 30:[30, 62, 5], Operations: ['95-90=5'] Exploring Operation: 62-30=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 30:[5, 32] Operation: 62-30=32 Exploring Operation: 62-5=57, Resulting Numbers: [30, 57] Generated Node #0,0,1: 30:[30, 57] Operation: 62-5=57 Moving to Node #0,1 Current State: 30:[90, 30, 33], Operations: ['95-62=33'] Exploring Operation: 90-33=57, Resulting Numbers: [30, 57] Generated Node #0,1,0: 30:[30, 57] Operation: 90-33=57 Exploring Operation: 90/30=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 30:[33, 3] Operation: 90/30=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[33, 3], Operations: ['95-62=33', '90/30=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[90, 30, 95, 62], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [90, 30, 33] Generated Node #0,1: 30:[90, 30, 33] Operation: 95-62=33 Moving to Node #0,1 Current State: 30:[90, 30, 33], Operations: ['95-62=33'] Exploring Operation: 90/30=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 30:[33, 3] Operation: 90/30=3 Moving to Node #0,1,1 Current State: 30:[33, 3], Operations: ['95-62=33', '90/30=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 20, 85, 8, 58 ]
17
[ "20*8=160", "85+58=143", "160-143=17" ]
Current State: 17:[20, 85, 8, 58], Operations: [] Exploring Operation: 20*8=160, Resulting Numbers: [85, 58, 160] Generated Node #2: [85, 58, 160] from Operation: 20*8=160 Current State: 17:[85, 58, 160], Operations: ['20*8=160'] Exploring Operation: 85+58=143, Resulting Numbers: [160, 143] Generated Node #3: [160, 143] from Operation: 85+58=143 Current State: 17:[160, 143], Operations: ['20*8=160', '85+58=143'] Exploring Operation: 160-143=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[20, 85, 8, 58], Operations: [] Exploring Operation: 85-20=65, Resulting Numbers: [8, 58, 65] Generated Node #0,0: 17:[8, 58, 65] Operation: 85-20=65 Exploring Operation: 85-8=77, Resulting Numbers: [20, 58, 77] Generated Node #0,1: 17:[20, 58, 77] Operation: 85-8=77 Exploring Operation: 85-58=27, Resulting Numbers: [20, 8, 27] Generated Node #0,2: 17:[20, 8, 27] Operation: 85-58=27 Exploring Operation: 58-20=38, Resulting Numbers: [85, 8, 38] Generated Node #0,3: 17:[85, 8, 38] Operation: 58-20=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[20, 8, 27], Operations: ['85-58=27'] Exploring Operation: 27-20=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 17:[8, 7] Operation: 27-20=7 Exploring Operation: 27-8=19, Resulting Numbers: [20, 19] Generated Node #0,2,1: 17:[20, 19] Operation: 27-8=19 Exploring Operation: 20-8=12, Resulting Numbers: [27, 12] Generated Node #0,2,2: 17:[27, 12] Operation: 20-8=12 Exploring Operation: 20+8=28, Resulting Numbers: [27, 28] Generated Node #0,2,3: 17:[27, 28] Operation: 20+8=28 Moving to Node #0,2,1 Current State: 17:[20, 19], Operations: ['85-58=27', '27-8=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,17 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[27, 12], Operations: ['85-58=27', '20-8=12'] Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,17 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[8, 7], Operations: ['85-58=27', '27-20=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[27, 28], Operations: ['85-58=27', '20+8=28'] Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,17 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[8, 58, 65], Operations: ['85-20=65'] Exploring Operation: 65-8=57, Resulting Numbers: [58, 57] Generated Node #0,0,0: 17:[58, 57] Operation: 65-8=57 Exploring Operation: 58-8=50, Resulting Numbers: [65, 50] Generated Node #0,0,1: 17:[65, 50] Operation: 58-8=50 Exploring Operation: 8+58=66, Resulting Numbers: [65, 66] Generated Node #0,0,2: 17:[65, 66] Operation: 8+58=66 Exploring Operation: 65-58=7, Resulting Numbers: [8, 7] Generated Node #0,0,3: 17:[8, 7] Operation: 65-58=7 Moving to Node #0,0,3 Current State: 17:[8, 7], Operations: ['85-20=65', '65-58=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[65, 50], Operations: ['85-20=65', '58-8=50'] Exploring Operation: 65+50=115, Resulting Numbers: [115] 115,17 unequal: No Solution Exploring Operation: 65*50=3250, Resulting Numbers: [3250] 3250,17 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[58, 57], Operations: ['85-20=65', '65-8=57'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,17 unequal: No Solution Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[65, 66], Operations: ['85-20=65', '8+58=66'] Exploring Operation: 65*66=4290, Resulting Numbers: [4290] 4290,17 unequal: No Solution Exploring Operation: 65+66=131, Resulting Numbers: [131] 131,17 unequal: No Solution Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[85, 8, 38], Operations: ['58-20=38'] Exploring Operation: 85+8=93, Resulting Numbers: [38, 93] Generated Node #0,3,0: 17:[38, 93] Operation: 85+8=93 Exploring Operation: 85-8=77, Resulting Numbers: [38, 77] Generated Node #0,3,1: 17:[38, 77] Operation: 85-8=77 Exploring Operation: 38-8=30, Resulting Numbers: [85, 30] Generated Node #0,3,2: 17:[85, 30] Operation: 38-8=30 Exploring Operation: 85-38=47, Resulting Numbers: [8, 47] Generated Node #0,3,3: 17:[8, 47] Operation: 85-38=47 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 17:[8, 47], Operations: ['58-20=38', '85-38=47'] Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,17 unequal: No Solution Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[38, 77], Operations: ['58-20=38', '85-8=77'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,17 unequal: No Solution Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[85, 30], Operations: ['58-20=38', '38-8=30'] Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,17 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 17:[38, 93], Operations: ['58-20=38', '85+8=93'] Exploring Operation: 38+93=131, Resulting Numbers: [131] 131,17 unequal: No Solution Exploring Operation: 38*93=3534, Resulting Numbers: [3534] 3534,17 unequal: No Solution Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[20, 58, 77], Operations: ['85-8=77'] Exploring Operation: 77-20=57, Resulting Numbers: [58, 57] Generated Node #0,1,0: 17:[58, 57] Operation: 77-20=57 Exploring Operation: 77-58=19, Resulting Numbers: [20, 19] Generated Node #0,1,1: 17:[20, 19] Operation: 77-58=19 Exploring Operation: 58-20=38, Resulting Numbers: [77, 38] Generated Node #0,1,2: 17:[77, 38] Operation: 58-20=38 Exploring Operation: 20+58=78, Resulting Numbers: [77, 78] Generated Node #0,1,3: 17:[77, 78] Operation: 20+58=78 Moving to Node #0,1,1 Current State: 17:[20, 19], Operations: ['85-8=77', '77-58=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,17 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[77, 38], Operations: ['85-8=77', '58-20=38'] Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,17 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,17 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[58, 57], Operations: ['85-8=77', '77-20=57'] Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,17 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,17 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[77, 78], Operations: ['85-8=77', '20+58=78'] Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 77+78=155, Resulting Numbers: [155] 155,17 unequal: No Solution Exploring Operation: 77*78=6006, Resulting Numbers: [6006] 6006,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 25, 35, 14, 6 ]
24
[ "25+35=60", "14*6=84", "84-60=24" ]
Current State: 24:[25, 35, 14, 6], Operations: [] Exploring Operation: 25+35=60, Resulting Numbers: [14, 6, 60] Generated Node #2: [14, 6, 60] from Operation: 25+35=60 Current State: 24:[14, 6, 60], Operations: ['25+35=60'] Exploring Operation: 14*6=84, Resulting Numbers: [60, 84] Generated Node #3: [60, 84] from Operation: 14*6=84 Current State: 24:[60, 84], Operations: ['25+35=60', '14*6=84'] Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[25, 35, 14, 6], Operations: [] Exploring Operation: 35-6=29, Resulting Numbers: [25, 14, 29] Generated Node #0,0: 24:[25, 14, 29] Operation: 35-6=29 Exploring Operation: 35-25=10, Resulting Numbers: [14, 6, 10] Generated Node #0,1: 24:[14, 6, 10] Operation: 35-25=10 Exploring Operation: 35-14=21, Resulting Numbers: [25, 6, 21] Generated Node #0,2: 24:[25, 6, 21] Operation: 35-14=21 Exploring Operation: 25-14=11, Resulting Numbers: [35, 6, 11] Generated Node #0,3: 24:[35, 6, 11] Operation: 25-14=11 Moving to Node #0,1 Current State: 24:[14, 6, 10], Operations: ['35-25=10'] Exploring Operation: 14-6=8, Resulting Numbers: [10, 8] Generated Node #0,1,0: 24:[10, 8] Operation: 14-6=8 Exploring Operation: 14+10=24, Resulting Numbers: [6, 24] Generated Node #0,1,1: 24:[6, 24] Operation: 14+10=24 Exploring Operation: 10-6=4, Resulting Numbers: [14, 4] Generated Node #0,1,2: 24:[14, 4] Operation: 10-6=4 Exploring Operation: 14-10=4, Resulting Numbers: [6, 4] Generated Node #0,1,3: 24:[6, 4] Operation: 14-10=4 Moving to Node #0,2 Current State: 24:[25, 6, 21], Operations: ['35-14=21'] Exploring Operation: 6+21=27, Resulting Numbers: [25, 27] Generated Node #0,2,0: 24:[25, 27] Operation: 6+21=27 Exploring Operation: 25-6=19, Resulting Numbers: [21, 19] Generated Node #0,2,1: 24:[21, 19] Operation: 25-6=19 Exploring Operation: 25-21=4, Resulting Numbers: [6, 4] Generated Node #0,2,2: 24:[6, 4] Operation: 25-21=4 Exploring Operation: 21-6=15, Resulting Numbers: [25, 15] Generated Node #0,2,3: 24:[25, 15] Operation: 21-6=15 Moving to Node #0,0 Current State: 24:[25, 14, 29], Operations: ['35-6=29'] Exploring Operation: 25+14=39, Resulting Numbers: [29, 39] Generated Node #0,0,0: 24:[29, 39] Operation: 25+14=39 Exploring Operation: 29-14=15, Resulting Numbers: [25, 15] Generated Node #0,0,1: 24:[25, 15] Operation: 29-14=15 Exploring Operation: 25-14=11, Resulting Numbers: [29, 11] Generated Node #0,0,2: 24:[29, 11] Operation: 25-14=11 Exploring Operation: 29-25=4, Resulting Numbers: [14, 4] Generated Node #0,0,3: 24:[14, 4] Operation: 29-25=4 Moving to Node #0,3 Current State: 24:[35, 6, 11], Operations: ['25-14=11'] Exploring Operation: 11-6=5, Resulting Numbers: [35, 5] Generated Node #0,3,0: 24:[35, 5] Operation: 11-6=5 Exploring Operation: 35-6=29, Resulting Numbers: [11, 29] Generated Node #0,3,1: 24:[11, 29] Operation: 35-6=29 Exploring Operation: 35-11=24, Resulting Numbers: [6, 24] Generated Node #0,3,2: 24:[6, 24] Operation: 35-11=24 Exploring Operation: 6+11=17, Resulting Numbers: [35, 17] Generated Node #0,3,3: 24:[35, 17] Operation: 6+11=17 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[6, 24], Operations: ['25-14=11', '35-11=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,24 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 24:[11, 29], Operations: ['25-14=11', '35-6=29'] Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,24 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[35, 5], Operations: ['25-14=11', '11-6=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,24 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 24:[35, 17], Operations: ['25-14=11', '6+11=17'] Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,24 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 24:[6, 24], Operations: ['35-25=10', '14+10=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[6, 4], Operations: ['35-25=10', '14-10=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[25, 35, 14, 6], Operations: [] Exploring Operation: 35-25=10, Resulting Numbers: [14, 6, 10] Generated Node #0,1: 24:[14, 6, 10] Operation: 35-25=10 Moving to Node #0,1 Current State: 24:[14, 6, 10], Operations: ['35-25=10'] Exploring Operation: 14-10=4, Resulting Numbers: [6, 4] Generated Node #0,1,3: 24:[6, 4] Operation: 14-10=4 Moving to Node #0,1,3 Current State: 24:[6, 4], Operations: ['35-25=10', '14-10=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.961806
hs_4
mult_heuristic
[ 35, 15, 92, 85 ]
57
[ "35+15=50", "92-85=7", "50+7=57" ]
Current State: 57:[35, 15, 92, 85], Operations: [] Exploring Operation: 35+15=50, Resulting Numbers: [92, 85, 50] Generated Node #2: [92, 85, 50] from Operation: 35+15=50 Current State: 57:[92, 85, 50], Operations: ['35+15=50'] Exploring Operation: 92-85=7, Resulting Numbers: [50, 7] Generated Node #3: [50, 7] from Operation: 92-85=7 Current State: 57:[50, 7], Operations: ['35+15=50', '92-85=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[35, 15, 92, 85], Operations: [] Exploring Operation: 92-35=57, Resulting Numbers: [15, 85, 57] Generated Node #0,0: 57:[15, 85, 57] Operation: 92-35=57 Exploring Operation: 92-85=7, Resulting Numbers: [35, 15, 7] Generated Node #0,1: 57:[35, 15, 7] Operation: 92-85=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[35, 15, 7], Operations: ['92-85=7'] Exploring Operation: 35/7=5, Resulting Numbers: [15, 5] Generated Node #0,1,0: 57:[15, 5] Operation: 35/7=5 Exploring Operation: 35-15=20, Resulting Numbers: [7, 20] Generated Node #0,1,1: 57:[7, 20] Operation: 35-15=20 Moving to Node #0,1,1 Current State: 57:[7, 20], Operations: ['92-85=7', '35-15=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[15, 5], Operations: ['92-85=7', '35/7=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[15, 85, 57], Operations: ['92-35=57'] Exploring Operation: 85-57=28, Resulting Numbers: [15, 28] Generated Node #0,0,0: 57:[15, 28] Operation: 85-57=28 Exploring Operation: 85-15=70, Resulting Numbers: [57, 70] Generated Node #0,0,1: 57:[57, 70] Operation: 85-15=70 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[15, 28], Operations: ['92-35=57', '85-57=28'] Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[57, 70], Operations: ['92-35=57', '85-15=70'] Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 57+70=127, Resulting Numbers: [127] 127,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 66, 42, 9, 28 ]
53
[ "66*28=1848", "1848/42=44", "9+44=53" ]
Current State: 53:[66, 42, 9, 28], Operations: [] Exploring Operation: 66*28=1848, Resulting Numbers: [42, 9, 1848] Generated Node #2: [42, 9, 1848] from Operation: 66*28=1848 Current State: 53:[42, 9, 1848], Operations: ['66*28=1848'] Exploring Operation: 1848/42=44, Resulting Numbers: [9, 44] Generated Node #3: [9, 44] from Operation: 1848/42=44 Current State: 53:[9, 44], Operations: ['66*28=1848', '1848/42=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[66, 42, 9, 28], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [42, 28, 57] Generated Node #0,0: 53:[42, 28, 57] Operation: 66-9=57 Exploring Operation: 42+9=51, Resulting Numbers: [66, 28, 51] Generated Node #0,1: 53:[66, 28, 51] Operation: 42+9=51 Exploring Operation: 9+28=37, Resulting Numbers: [66, 42, 37] Generated Node #0,2: 53:[66, 42, 37] Operation: 9+28=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[42, 28, 57], Operations: ['66-9=57'] Exploring Operation: 42+28=70, Resulting Numbers: [57, 70] Generated Node #0,0,0: 53:[57, 70] Operation: 42+28=70 Exploring Operation: 42-28=14, Resulting Numbers: [57, 14] Generated Node #0,0,1: 53:[57, 14] Operation: 42-28=14 Exploring Operation: 57-28=29, Resulting Numbers: [42, 29] Generated Node #0,0,2: 53:[42, 29] Operation: 57-28=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[57, 70], Operations: ['66-9=57', '42+28=70'] Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 57*70=3990, Resulting Numbers: [3990] 3990,53 unequal: No Solution Exploring Operation: 57+70=127, Resulting Numbers: [127] 127,53 unequal: No Solution No 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: 53:[42, 29], Operations: ['66-9=57', '57-28=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,53 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,53 unequal: No Solution No 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: 53:[57, 14], Operations: ['66-9=57', '42-28=14'] Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,53 unequal: No Solution Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,53 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: 53:[66, 28, 51], Operations: ['42+9=51'] Exploring Operation: 28+51=79, Resulting Numbers: [66, 79] Generated Node #0,1,0: 53:[66, 79] Operation: 28+51=79 Exploring Operation: 66+28=94, Resulting Numbers: [51, 94] Generated Node #0,1,1: 53:[51, 94] Operation: 66+28=94 Exploring Operation: 66-28=38, Resulting Numbers: [51, 38] Generated Node #0,1,2: 53:[51, 38] Operation: 66-28=38 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[51, 38], Operations: ['42+9=51', '66-28=38'] Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,53 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,53 unequal: No Solution No 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: 53:[66, 79], Operations: ['42+9=51', '28+51=79'] Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,53 unequal: No Solution Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,53 unequal: No Solution No 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: 53:[51, 94], Operations: ['42+9=51', '66+28=94'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 51*94=4794, Resulting Numbers: [4794] 4794,53 unequal: No Solution Exploring Operation: 51+94=145, Resulting Numbers: [145] 145,53 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: 53:[66, 42, 37], Operations: ['9+28=37'] Exploring Operation: 42+37=79, Resulting Numbers: [66, 79] Generated Node #0,2,0: 53:[66, 79] Operation: 42+37=79 Exploring Operation: 66-37=29, Resulting Numbers: [42, 29] Generated Node #0,2,1: 53:[42, 29] Operation: 66-37=29 Exploring Operation: 66-42=24, Resulting Numbers: [37, 24] Generated Node #0,2,2: 53:[37, 24] Operation: 66-42=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[42, 29], Operations: ['9+28=37', '66-37=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,53 unequal: No Solution No 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: 53:[66, 79], Operations: ['9+28=37', '42+37=79'] Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,53 unequal: No Solution Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,53 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,53 unequal: No Solution No 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: 53:[37, 24], Operations: ['9+28=37', '66-42=24'] Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,53 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,53 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
[ 2, 79, 59, 19 ]
61
[ "79-19=60", "2*60=120", "120-59=61" ]
Current State: 61:[2, 79, 59, 19], Operations: [] Exploring Operation: 79-19=60, Resulting Numbers: [2, 59, 60] Generated Node #2: [2, 59, 60] from Operation: 79-19=60 Current State: 61:[2, 59, 60], Operations: ['79-19=60'] Exploring Operation: 2*60=120, Resulting Numbers: [59, 120] Generated Node #3: [59, 120] from Operation: 2*60=120 Current State: 61:[59, 120], Operations: ['79-19=60', '2*60=120'] Exploring Operation: 120-59=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[2, 79, 59, 19], Operations: [] Exploring Operation: 2*19=38, Resulting Numbers: [79, 59, 38] Generated Node #0,0: 61:[79, 59, 38] Operation: 2*19=38 Exploring Operation: 2+59=61, Resulting Numbers: [79, 19, 61] Generated Node #0,1: 61:[79, 19, 61] Operation: 2+59=61 Exploring Operation: 79-2=77, Resulting Numbers: [59, 19, 77] Generated Node #0,2: 61:[59, 19, 77] Operation: 79-2=77 Moving to Node #0,0 Current State: 61:[79, 59, 38], Operations: ['2*19=38'] Exploring Operation: 79-38=41, Resulting Numbers: [59, 41] Generated Node #0,0,0: 61:[59, 41] Operation: 79-38=41 Exploring Operation: 59+38=97, Resulting Numbers: [79, 97] Generated Node #0,0,1: 61:[79, 97] Operation: 59+38=97 Exploring Operation: 79+38=117, Resulting Numbers: [59, 117] Generated Node #0,0,2: 61:[59, 117] Operation: 79+38=117 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[59, 41], Operations: ['2*19=38', '79-38=41'] Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[79, 97], Operations: ['2*19=38', '59+38=97'] Exploring Operation: 79+97=176, Resulting Numbers: [176] 176,61 unequal: No Solution Exploring Operation: 97-79=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 79*97=7663, Resulting Numbers: [7663] 7663,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[59, 117], Operations: ['2*19=38', '79+38=117'] Exploring Operation: 59*117=6903, Resulting Numbers: [6903] 6903,61 unequal: No Solution Exploring Operation: 117-59=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 59+117=176, Resulting Numbers: [176] 176,61 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: 61:[79, 19, 61], Operations: ['2+59=61'] Exploring Operation: 79+19=98, Resulting Numbers: [61, 98] Generated Node #0,1,0: 61:[61, 98] Operation: 79+19=98 Exploring Operation: 19+61=80, Resulting Numbers: [79, 80] Generated Node #0,1,1: 61:[79, 80] Operation: 19+61=80 Exploring Operation: 79-19=60, Resulting Numbers: [61, 60] Generated Node #0,1,2: 61:[61, 60] Operation: 79-19=60 Moving to Node #0,2 Current State: 61:[59, 19, 77], Operations: ['79-2=77'] Exploring Operation: 59+19=78, Resulting Numbers: [77, 78] Generated Node #0,2,0: 61:[77, 78] Operation: 59+19=78 Exploring Operation: 59-19=40, Resulting Numbers: [77, 40] Generated Node #0,2,1: 61:[77, 40] Operation: 59-19=40 Exploring Operation: 77-19=58, Resulting Numbers: [59, 58] Generated Node #0,2,2: 61:[59, 58] Operation: 77-19=58 Moving to Node #0,1,2 Current State: 61:[61, 60], Operations: ['2+59=61', '79-19=60'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 61*60=3660, Resulting Numbers: [3660] 3660,61 unequal: No Solution Exploring Operation: 61+60=121, Resulting Numbers: [121] 121,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[59, 58], Operations: ['79-2=77', '77-19=58'] Exploring Operation: 59+58=117, Resulting Numbers: [117] 117,61 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 59*58=3422, Resulting Numbers: [3422] 3422,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[77, 78], Operations: ['79-2=77', '59+19=78'] Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 77*78=6006, Resulting Numbers: [6006] 6006,61 unequal: No Solution Exploring Operation: 77+78=155, Resulting Numbers: [155] 155,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[79, 80], Operations: ['2+59=61', '19+61=80'] Exploring Operation: 80-79=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 79*80=6320, Resulting Numbers: [6320] 6320,61 unequal: No Solution Exploring Operation: 79+80=159, Resulting Numbers: [159] 159,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[61, 98], Operations: ['2+59=61', '79+19=98'] Exploring Operation: 61*98=5978, Resulting Numbers: [5978] 5978,61 unequal: No Solution Exploring Operation: 98-61=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 61+98=159, Resulting Numbers: [159] 159,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[77, 40], Operations: ['79-2=77', '59-19=40'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,61 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,61 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 13, 3, 45, 48 ]
44
[ "45+48=93", "93/3=31", "13+31=44" ]
Current State: 44:[13, 3, 45, 48], Operations: [] Exploring Operation: 45+48=93, Resulting Numbers: [13, 3, 93] Generated Node #2: [13, 3, 93] from Operation: 45+48=93 Current State: 44:[13, 3, 93], Operations: ['45+48=93'] Exploring Operation: 93/3=31, Resulting Numbers: [13, 31] Generated Node #3: [13, 31] from Operation: 93/3=31 Current State: 44:[13, 31], Operations: ['45+48=93', '93/3=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[13, 3, 45, 48], Operations: [] Exploring Operation: 48-3=45, Resulting Numbers: [13, 45, 45] Generated Node #0,0: 44:[13, 45, 45] Operation: 48-3=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[13, 45, 45], Operations: ['48-3=45'] Exploring Operation: 45/45=1, Resulting Numbers: [13, 1] Generated Node #0,0,0: 44:[13, 1] Operation: 45/45=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[13, 1], Operations: ['48-3=45', '45/45=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,44 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
[ 68, 91, 60, 85 ]
14
[ "68+91=159", "60+85=145", "159-145=14" ]
Current State: 14:[68, 91, 60, 85], Operations: [] Exploring Operation: 68+91=159, Resulting Numbers: [60, 85, 159] Generated Node #2: [60, 85, 159] from Operation: 68+91=159 Current State: 14:[60, 85, 159], Operations: ['68+91=159'] Exploring Operation: 60+85=145, Resulting Numbers: [159, 145] Generated Node #3: [159, 145] from Operation: 60+85=145 Current State: 14:[159, 145], Operations: ['68+91=159', '60+85=145'] Exploring Operation: 159-145=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[68, 91, 60, 85], Operations: [] Exploring Operation: 91-68=23, Resulting Numbers: [60, 85, 23] Generated Node #0,0: 14:[60, 85, 23] Operation: 91-68=23 Exploring Operation: 91-85=6, Resulting Numbers: [68, 60, 6] Generated Node #0,1: 14:[68, 60, 6] Operation: 91-85=6 Exploring Operation: 85-68=17, Resulting Numbers: [91, 60, 17] Generated Node #0,2: 14:[91, 60, 17] Operation: 85-68=17 Exploring Operation: 85-60=25, Resulting Numbers: [68, 91, 25] Generated Node #0,3: 14:[68, 91, 25] Operation: 85-60=25 Exploring Operation: 91-60=31, Resulting Numbers: [68, 85, 31] Generated Node #0,4: 14:[68, 85, 31] Operation: 91-60=31 Moving to Node #0,1 Current State: 14:[68, 60, 6], Operations: ['91-85=6'] Exploring Operation: 60/6=10, Resulting Numbers: [68, 10] Generated Node #0,1,0: 14:[68, 10] Operation: 60/6=10 Exploring Operation: 68-6=62, Resulting Numbers: [60, 62] Generated Node #0,1,1: 14:[60, 62] Operation: 68-6=62 Exploring Operation: 68-60=8, Resulting Numbers: [6, 8] Generated Node #0,1,2: 14:[6, 8] Operation: 68-60=8 Exploring Operation: 68+6=74, Resulting Numbers: [60, 74] Generated Node #0,1,3: 14:[60, 74] Operation: 68+6=74 Exploring Operation: 60-6=54, Resulting Numbers: [68, 54] Generated Node #0,1,4: 14:[68, 54] Operation: 60-6=54 Moving to Node #0,2 Current State: 14:[91, 60, 17], Operations: ['85-68=17'] Exploring Operation: 91-60=31, Resulting Numbers: [17, 31] Generated Node #0,2,0: 14:[17, 31] Operation: 91-60=31 Exploring Operation: 91+60=151, Resulting Numbers: [17, 151] Generated Node #0,2,1: 14:[17, 151] Operation: 91+60=151 Exploring Operation: 91-17=74, Resulting Numbers: [60, 74] Generated Node #0,2,2: 14:[60, 74] Operation: 91-17=74 Exploring Operation: 91+17=108, Resulting Numbers: [60, 108] Generated Node #0,2,3: 14:[60, 108] Operation: 91+17=108 Exploring Operation: 60-17=43, Resulting Numbers: [91, 43] Generated Node #0,2,4: 14:[91, 43] Operation: 60-17=43 Moving to Node #0,0 Current State: 14:[60, 85, 23], Operations: ['91-68=23'] Exploring Operation: 60+23=83, Resulting Numbers: [85, 83] Generated Node #0,0,0: 14:[85, 83] Operation: 60+23=83 Exploring Operation: 85-23=62, Resulting Numbers: [60, 62] Generated Node #0,0,1: 14:[60, 62] Operation: 85-23=62 Exploring Operation: 60-23=37, Resulting Numbers: [85, 37] Generated Node #0,0,2: 14:[85, 37] Operation: 60-23=37 Exploring Operation: 60+85=145, Resulting Numbers: [23, 145] Generated Node #0,0,3: 14:[23, 145] Operation: 60+85=145 Exploring Operation: 85-60=25, Resulting Numbers: [23, 25] Generated Node #0,0,4: 14:[23, 25] Operation: 85-60=25 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 14:[23, 25], Operations: ['91-68=23', '85-60=25'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,14 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,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,1 Current State: 14:[60, 62], Operations: ['91-68=23', '85-23=62'] Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,14 unequal: No Solution Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,14 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,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:[85, 37], Operations: ['91-68=23', '60-23=37'] Exploring Operation: 85+37=122, Resulting Numbers: [122] 122,14 unequal: No Solution Exploring Operation: 85*37=3145, Resulting Numbers: [3145] 3145,14 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,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:[85, 83], Operations: ['91-68=23', '60+23=83'] Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,14 unequal: No Solution Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,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:[23, 145], Operations: ['91-68=23', '60+85=145'] Exploring Operation: 145-23=122, Resulting Numbers: [122] 122,14 unequal: No Solution Exploring Operation: 23+145=168, Resulting Numbers: [168] 168,14 unequal: No Solution Exploring Operation: 23*145=3335, Resulting Numbers: [3335] 3335,14 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: 14:[68, 91, 25], Operations: ['85-60=25'] Exploring Operation: 68+25=93, Resulting Numbers: [91, 93] Generated Node #0,3,0: 14:[91, 93] Operation: 68+25=93 Exploring Operation: 68+91=159, Resulting Numbers: [25, 159] Generated Node #0,3,1: 14:[25, 159] Operation: 68+91=159 Exploring Operation: 91-25=66, Resulting Numbers: [68, 66] Generated Node #0,3,2: 14:[68, 66] Operation: 91-25=66 Exploring Operation: 91-68=23, Resulting Numbers: [25, 23] Generated Node #0,3,3: 14:[25, 23] Operation: 91-68=23 Exploring Operation: 68-25=43, Resulting Numbers: [91, 43] Generated Node #0,3,4: 14:[91, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[25, 23], Operations: ['85-60=25', '91-68=23'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,14 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,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,3,2 Current State: 14:[68, 66], Operations: ['85-60=25', '91-25=66'] Exploring Operation: 68*66=4488, Resulting Numbers: [4488] 4488,14 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 68+66=134, Resulting Numbers: [134] 134,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,3,4 Current State: 14:[91, 43], Operations: ['85-60=25', '68-25=43'] Exploring Operation: 91+43=134, Resulting Numbers: [134] 134,14 unequal: No Solution Exploring Operation: 91*43=3913, Resulting Numbers: [3913] 3913,14 unequal: No Solution Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,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,3,0 Current State: 14:[91, 93], Operations: ['85-60=25', '68+25=93'] Exploring Operation: 91*93=8463, Resulting Numbers: [8463] 8463,14 unequal: No Solution Exploring Operation: 91+93=184, Resulting Numbers: [184] 184,14 unequal: No Solution Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,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,3,1 Current State: 14:[25, 159], Operations: ['85-60=25', '68+91=159'] Exploring Operation: 159-25=134, Resulting Numbers: [134] 134,14 unequal: No Solution Exploring Operation: 25+159=184, Resulting Numbers: [184] 184,14 unequal: No Solution Exploring Operation: 25*159=3975, Resulting Numbers: [3975] 3975,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:[68, 85, 31], Operations: ['91-60=31'] Exploring Operation: 68+85=153, Resulting Numbers: [31, 153] Generated Node #0,4,0: 14:[31, 153] Operation: 68+85=153 Exploring Operation: 68-31=37, Resulting Numbers: [85, 37] Generated Node #0,4,1: 14:[85, 37] Operation: 68-31=37 Exploring Operation: 68+31=99, Resulting Numbers: [85, 99] Generated Node #0,4,2: 14:[85, 99] Operation: 68+31=99 Exploring Operation: 85-31=54, Resulting Numbers: [68, 54] Generated Node #0,4,3: 14:[68, 54] Operation: 85-31=54 Exploring Operation: 85-68=17, Resulting Numbers: [31, 17] Generated Node #0,4,4: 14:[31, 17] Operation: 85-68=17 Moving to Node #0,1,2 Current State: 14:[6, 8], Operations: ['91-85=6', '68-60=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[68, 91, 60, 85], Operations: [] Exploring Operation: 91-85=6, Resulting Numbers: [68, 60, 6] Generated Node #0,1: 14:[68, 60, 6] Operation: 91-85=6 Moving to Node #0,1 Current State: 14:[68, 60, 6], Operations: ['91-85=6'] Exploring Operation: 68-60=8, Resulting Numbers: [6, 8] Generated Node #0,1,2: 14:[6, 8] Operation: 68-60=8 Moving to Node #0,1,2 Current State: 14:[6, 8], Operations: ['91-85=6', '68-60=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 94, 14, 85, 19 ]
87
[ "94+85=179", "14*19=266", "266-179=87" ]
Current State: 87:[94, 14, 85, 19], Operations: [] Exploring Operation: 94+85=179, Resulting Numbers: [14, 19, 179] Generated Node #2: [14, 19, 179] from Operation: 94+85=179 Current State: 87:[14, 19, 179], Operations: ['94+85=179'] Exploring Operation: 14*19=266, Resulting Numbers: [179, 266] Generated Node #3: [179, 266] from Operation: 14*19=266 Current State: 87:[179, 266], Operations: ['94+85=179', '14*19=266'] Exploring Operation: 266-179=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[94, 14, 85, 19], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [94, 85, 5] Generated Node #0,0: 87:[94, 85, 5] Operation: 19-14=5 Exploring Operation: 94-19=75, Resulting Numbers: [14, 85, 75] Generated Node #0,1: 87:[14, 85, 75] Operation: 94-19=75 Exploring Operation: 14+19=33, Resulting Numbers: [94, 85, 33] Generated Node #0,2: 87:[94, 85, 33] Operation: 14+19=33 Exploring Operation: 94-14=80, Resulting Numbers: [85, 19, 80] Generated Node #0,3: 87:[85, 19, 80] Operation: 94-14=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[94, 85, 5], Operations: ['19-14=5'] Exploring Operation: 94-5=89, Resulting Numbers: [85, 89] Generated Node #0,0,0: 87:[85, 89] Operation: 94-5=89 Exploring Operation: 85+5=90, Resulting Numbers: [94, 90] Generated Node #0,0,1: 87:[94, 90] Operation: 85+5=90 Exploring Operation: 94-85=9, Resulting Numbers: [5, 9] Generated Node #0,0,2: 87:[5, 9] Operation: 94-85=9 Exploring Operation: 94+5=99, Resulting Numbers: [85, 99] Generated Node #0,0,3: 87:[85, 99] Operation: 94+5=99 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[85, 89], Operations: ['19-14=5', '94-5=89'] Exploring Operation: 85*89=7565, Resulting Numbers: [7565] 7565,87 unequal: No Solution Exploring Operation: 85+89=174, Resulting Numbers: [174] 174,87 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[5, 9], Operations: ['19-14=5', '94-85=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[94, 90], Operations: ['19-14=5', '85+5=90'] Exploring Operation: 94-90=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 94*90=8460, Resulting Numbers: [8460] 8460,87 unequal: No Solution Exploring Operation: 94+90=184, Resulting Numbers: [184] 184,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[85, 99], Operations: ['19-14=5', '94+5=99'] Exploring Operation: 99-85=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 85*99=8415, Resulting Numbers: [8415] 8415,87 unequal: No Solution Exploring Operation: 85+99=184, Resulting Numbers: [184] 184,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[94, 85, 33], Operations: ['14+19=33'] Exploring Operation: 85-33=52, Resulting Numbers: [94, 52] Generated Node #0,2,0: 87:[94, 52] Operation: 85-33=52 Exploring Operation: 85+33=118, Resulting Numbers: [94, 118] Generated Node #0,2,1: 87:[94, 118] Operation: 85+33=118 Exploring Operation: 94-33=61, Resulting Numbers: [85, 61] Generated Node #0,2,2: 87:[85, 61] Operation: 94-33=61 Exploring Operation: 94-85=9, Resulting Numbers: [33, 9] Generated Node #0,2,3: 87:[33, 9] Operation: 94-85=9 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 87:[33, 9], Operations: ['14+19=33', '94-85=9'] Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,87 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[85, 61], Operations: ['14+19=33', '94-33=61'] Exploring Operation: 85-61=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 85*61=5185, Resulting Numbers: [5185] 5185,87 unequal: No Solution Exploring Operation: 85+61=146, Resulting Numbers: [146] 146,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[94, 52], Operations: ['14+19=33', '85-33=52'] Exploring Operation: 94*52=4888, Resulting Numbers: [4888] 4888,87 unequal: No Solution Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,87 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[94, 118], Operations: ['14+19=33', '85+33=118'] Exploring Operation: 94*118=11092, Resulting Numbers: [11092] 11092,87 unequal: No Solution Exploring Operation: 94+118=212, Resulting Numbers: [212] 212,87 unequal: No Solution Exploring Operation: 118-94=24, Resulting Numbers: [24] 24,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[85, 19, 80], Operations: ['94-14=80'] Exploring Operation: 85-19=66, Resulting Numbers: [80, 66] Generated Node #0,3,0: 87:[80, 66] Operation: 85-19=66 Exploring Operation: 85+19=104, Resulting Numbers: [80, 104] Generated Node #0,3,1: 87:[80, 104] Operation: 85+19=104 Exploring Operation: 85-80=5, Resulting Numbers: [19, 5] Generated Node #0,3,2: 87:[19, 5] Operation: 85-80=5 Exploring Operation: 19+80=99, Resulting Numbers: [85, 99] Generated Node #0,3,3: 87:[85, 99] Operation: 19+80=99 Moving to Node #0,3,2 Current State: 87:[19, 5], Operations: ['94-14=80', '85-80=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[85, 99], Operations: ['94-14=80', '19+80=99'] Exploring Operation: 85*99=8415, Resulting Numbers: [8415] 8415,87 unequal: No Solution Exploring Operation: 99-85=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 85+99=184, Resulting Numbers: [184] 184,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[80, 104], Operations: ['94-14=80', '85+19=104'] Exploring Operation: 80*104=8320, Resulting Numbers: [8320] 8320,87 unequal: No Solution Exploring Operation: 80+104=184, Resulting Numbers: [184] 184,87 unequal: No Solution Exploring Operation: 104-80=24, Resulting Numbers: [24] 24,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[80, 66], Operations: ['94-14=80', '85-19=66'] Exploring Operation: 80*66=5280, Resulting Numbers: [5280] 5280,87 unequal: No Solution Exploring Operation: 80+66=146, Resulting Numbers: [146] 146,87 unequal: No Solution Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[14, 85, 75], Operations: ['94-19=75'] Exploring Operation: 14+75=89, Resulting Numbers: [85, 89] Generated Node #0,1,0: 87:[85, 89] Operation: 14+75=89 Exploring Operation: 14+85=99, Resulting Numbers: [75, 99] Generated Node #0,1,1: 87:[75, 99] Operation: 14+85=99 Exploring Operation: 85-14=71, Resulting Numbers: [75, 71] Generated Node #0,1,2: 87:[75, 71] Operation: 85-14=71 Exploring Operation: 85-75=10, Resulting Numbers: [14, 10] Generated Node #0,1,3: 87:[14, 10] Operation: 85-75=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[85, 89], Operations: ['94-19=75', '14+75=89'] Exploring Operation: 85*89=7565, Resulting Numbers: [7565] 7565,87 unequal: No Solution Exploring Operation: 85+89=174, Resulting Numbers: [174] 174,87 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 87:[14, 10], Operations: ['94-19=75', '85-75=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[75, 99], Operations: ['94-19=75', '14+85=99'] Exploring Operation: 99-75=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 75*99=7425, Resulting Numbers: [7425] 7425,87 unequal: No Solution Exploring Operation: 75+99=174, Resulting Numbers: [174] 174,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[75, 71], Operations: ['94-19=75', '85-14=71'] Exploring Operation: 75*71=5325, Resulting Numbers: [5325] 5325,87 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 75+71=146, Resulting Numbers: [146] 146,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 56, 70, 30, 63 ]
45
[ "70-30=40", "63*40=2520", "2520/56=45" ]
Current State: 45:[56, 70, 30, 63], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [56, 63, 40] Generated Node #2: [56, 63, 40] from Operation: 70-30=40 Current State: 45:[56, 63, 40], Operations: ['70-30=40'] Exploring Operation: 63*40=2520, Resulting Numbers: [56, 2520] Generated Node #3: [56, 2520] from Operation: 63*40=2520 Current State: 45:[56, 2520], Operations: ['70-30=40', '63*40=2520'] Exploring Operation: 2520/56=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[56, 70, 30, 63], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [56, 30, 7] Generated Node #0,0: 45:[56, 30, 7] Operation: 70-63=7 Exploring Operation: 70-56=14, Resulting Numbers: [30, 63, 14] Generated Node #0,1: 45:[30, 63, 14] Operation: 70-56=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[56, 30, 7], Operations: ['70-63=7'] Exploring Operation: 56-30=26, Resulting Numbers: [7, 26] Generated Node #0,0,0: 45:[7, 26] Operation: 56-30=26 Exploring Operation: 56/7=8, Resulting Numbers: [30, 8] Generated Node #0,0,1: 45:[30, 8] Operation: 56/7=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[7, 26], Operations: ['70-63=7', '56-30=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,45 unequal: No Solution No 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: 45:[30, 8], Operations: ['70-63=7', '56/7=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,45 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: 45:[30, 63, 14], Operations: ['70-56=14'] Exploring Operation: 63-30=33, Resulting Numbers: [14, 33] Generated Node #0,1,0: 45:[14, 33] Operation: 63-30=33 Exploring Operation: 30+14=44, Resulting Numbers: [63, 44] Generated Node #0,1,1: 45:[63, 44] Operation: 30+14=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[14, 33], Operations: ['70-56=14', '63-30=33'] Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,45 unequal: No Solution No 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: 45:[63, 44], Operations: ['70-56=14', '30+14=44'] Exploring Operation: 63+44=107, Resulting Numbers: [107] 107,45 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,45 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
[ 33, 98, 17, 27 ]
87
[ "33+98=131", "17+27=44", "131-44=87" ]
Current State: 87:[33, 98, 17, 27], Operations: [] Exploring Operation: 33+98=131, Resulting Numbers: [17, 27, 131] Generated Node #2: [17, 27, 131] from Operation: 33+98=131 Current State: 87:[17, 27, 131], Operations: ['33+98=131'] Exploring Operation: 17+27=44, Resulting Numbers: [131, 44] Generated Node #3: [131, 44] from Operation: 17+27=44 Current State: 87:[131, 44], Operations: ['33+98=131', '17+27=44'] Exploring Operation: 131-44=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[33, 98, 17, 27], Operations: [] Exploring Operation: 17+27=44, Resulting Numbers: [33, 98, 44] Generated Node #0,0: 87:[33, 98, 44] Operation: 17+27=44 Exploring Operation: 33-27=6, Resulting Numbers: [98, 17, 6] Generated Node #0,1: 87:[98, 17, 6] Operation: 33-27=6 Exploring Operation: 98-17=81, Resulting Numbers: [33, 27, 81] Generated Node #0,2: 87:[33, 27, 81] Operation: 98-17=81 Exploring Operation: 33-17=16, Resulting Numbers: [98, 27, 16] Generated Node #0,3: 87:[98, 27, 16] Operation: 33-17=16 Exploring Operation: 27-17=10, Resulting Numbers: [33, 98, 10] Generated Node #0,4: 87:[33, 98, 10] Operation: 27-17=10 Moving to Node #0,2 Current State: 87:[33, 27, 81], Operations: ['98-17=81'] Exploring Operation: 27+81=108, Resulting Numbers: [33, 108] Generated Node #0,2,0: 87:[33, 108] Operation: 27+81=108 Exploring Operation: 81/27=3, Resulting Numbers: [33, 3] Generated Node #0,2,1: 87:[33, 3] Operation: 81/27=3 Exploring Operation: 81-33=48, Resulting Numbers: [27, 48] Generated Node #0,2,2: 87:[27, 48] Operation: 81-33=48 Exploring Operation: 33+81=114, Resulting Numbers: [27, 114] Generated Node #0,2,3: 87:[27, 114] Operation: 33+81=114 Exploring Operation: 33-27=6, Resulting Numbers: [81, 6] Generated Node #0,2,4: 87:[81, 6] Operation: 33-27=6 Moving to Node #0,4 Current State: 87:[33, 98, 10], Operations: ['27-17=10'] Exploring Operation: 98-10=88, Resulting Numbers: [33, 88] Generated Node #0,4,0: 87:[33, 88] Operation: 98-10=88 Exploring Operation: 98-33=65, Resulting Numbers: [10, 65] Generated Node #0,4,1: 87:[10, 65] Operation: 98-33=65 Exploring Operation: 98+10=108, Resulting Numbers: [33, 108] Generated Node #0,4,2: 87:[33, 108] Operation: 98+10=108 Exploring Operation: 33+10=43, Resulting Numbers: [98, 43] Generated Node #0,4,3: 87:[98, 43] Operation: 33+10=43 Exploring Operation: 33-10=23, Resulting Numbers: [98, 23] Generated Node #0,4,4: 87:[98, 23] Operation: 33-10=23 Moving to Node #0,1 Current State: 87:[98, 17, 6], Operations: ['33-27=6'] Exploring Operation: 17-6=11, Resulting Numbers: [98, 11] Generated Node #0,1,0: 87:[98, 11] Operation: 17-6=11 Exploring Operation: 17*6=102, Resulting Numbers: [98, 102] Generated Node #0,1,1: 87:[98, 102] Operation: 17*6=102 Exploring Operation: 98-17=81, Resulting Numbers: [6, 81] Generated Node #0,1,2: 87:[6, 81] Operation: 98-17=81 Exploring Operation: 17+6=23, Resulting Numbers: [98, 23] Generated Node #0,1,3: 87:[98, 23] Operation: 17+6=23 Exploring Operation: 98-6=92, Resulting Numbers: [17, 92] Generated Node #0,1,4: 87:[17, 92] Operation: 98-6=92 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[6, 81], Operations: ['33-27=6', '98-17=81'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,87 unequal: No Solution Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,87 unequal: No Solution Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[33, 98, 17, 27], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [98, 17, 6] Generated Node #0,1: 87:[98, 17, 6] Operation: 33-27=6 Moving to Node #0,1 Current State: 87:[98, 17, 6], Operations: ['33-27=6'] Exploring Operation: 98-17=81, Resulting Numbers: [6, 81] Generated Node #0,1,2: 87:[6, 81] Operation: 98-17=81 Moving to Node #0,1,2 Current State: 87:[6, 81], Operations: ['33-27=6', '98-17=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 49, 93, 6, 25 ]
52
[ "6+25=31", "93/31=3", "49+3=52" ]
Current State: 52:[49, 93, 6, 25], Operations: [] Exploring Operation: 6+25=31, Resulting Numbers: [49, 93, 31] Generated Node #2: [49, 93, 31] from Operation: 6+25=31 Current State: 52:[49, 93, 31], Operations: ['6+25=31'] Exploring Operation: 93/31=3, Resulting Numbers: [49, 3] Generated Node #3: [49, 3] from Operation: 93/31=3 Current State: 52:[49, 3], Operations: ['6+25=31', '93/31=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[49, 93, 6, 25], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [49, 6, 68] Generated Node #0,0: 52:[49, 6, 68] Operation: 93-25=68 Exploring Operation: 93-49=44, Resulting Numbers: [6, 25, 44] Generated Node #0,1: 52:[6, 25, 44] Operation: 93-49=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[6, 25, 44], Operations: ['93-49=44'] Exploring Operation: 6+44=50, Resulting Numbers: [25, 50] Generated Node #0,1,0: 52:[25, 50] Operation: 6+44=50 Exploring Operation: 44-25=19, Resulting Numbers: [6, 19] Generated Node #0,1,1: 52:[6, 19] Operation: 44-25=19 Moving to Node #0,1,0 Current State: 52:[25, 50], Operations: ['93-49=44', '6+44=50'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[6, 19], Operations: ['93-49=44', '44-25=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[49, 6, 68], Operations: ['93-25=68'] Exploring Operation: 68-49=19, Resulting Numbers: [6, 19] Generated Node #0,0,0: 52:[6, 19] Operation: 68-49=19 Exploring Operation: 68-6=62, Resulting Numbers: [49, 62] Generated Node #0,0,1: 52:[49, 62] Operation: 68-6=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[6, 19], Operations: ['93-25=68', '68-49=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[49, 62], Operations: ['93-25=68', '68-6=62'] Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,52 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 5, 60, 28, 14 ]
66
[ "5*28=140", "60+14=74", "140-74=66" ]
Current State: 66:[5, 60, 28, 14], Operations: [] Exploring Operation: 5*28=140, Resulting Numbers: [60, 14, 140] Generated Node #2: [60, 14, 140] from Operation: 5*28=140 Current State: 66:[60, 14, 140], Operations: ['5*28=140'] Exploring Operation: 60+14=74, Resulting Numbers: [140, 74] Generated Node #3: [140, 74] from Operation: 60+14=74 Current State: 66:[140, 74], Operations: ['5*28=140', '60+14=74'] Exploring Operation: 140-74=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[5, 60, 28, 14], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [5, 60, 2] Generated Node #0,0: 66:[5, 60, 2] Operation: 28/14=2 Exploring Operation: 60-28=32, Resulting Numbers: [5, 14, 32] Generated Node #0,1: 66:[5, 14, 32] Operation: 60-28=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[5, 14, 32], Operations: ['60-28=32'] Exploring Operation: 5+14=19, Resulting Numbers: [32, 19] Generated Node #0,1,0: 66:[32, 19] Operation: 5+14=19 Exploring Operation: 14-5=9, Resulting Numbers: [32, 9] Generated Node #0,1,1: 66:[32, 9] Operation: 14-5=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[32, 9], Operations: ['60-28=32', '14-5=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,66 unequal: No Solution No 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: 66:[32, 19], Operations: ['60-28=32', '5+14=19'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,66 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: 66:[5, 60, 2], Operations: ['28/14=2'] Exploring Operation: 5+60=65, Resulting Numbers: [2, 65] Generated Node #0,0,0: 66:[2, 65] Operation: 5+60=65 Exploring Operation: 60/5=12, Resulting Numbers: [2, 12] Generated Node #0,0,1: 66:[2, 12] Operation: 60/5=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[2, 65], Operations: ['28/14=2', '5+60=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,66 unequal: No Solution No 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: 66:[2, 12], Operations: ['28/14=2', '60/5=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,66 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
[ 46, 49, 4, 67 ]
83
[ "46+67=113", "49*4=196", "196-113=83" ]
Current State: 83:[46, 49, 4, 67], Operations: [] Exploring Operation: 46+67=113, Resulting Numbers: [49, 4, 113] Generated Node #2: [49, 4, 113] from Operation: 46+67=113 Current State: 83:[49, 4, 113], Operations: ['46+67=113'] Exploring Operation: 49*4=196, Resulting Numbers: [113, 196] Generated Node #3: [113, 196] from Operation: 49*4=196 Current State: 83:[113, 196], Operations: ['46+67=113', '49*4=196'] Exploring Operation: 196-113=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[46, 49, 4, 67], Operations: [] Exploring Operation: 4+67=71, Resulting Numbers: [46, 49, 71] Generated Node #0,0: 83:[46, 49, 71] Operation: 4+67=71 Exploring Operation: 49+4=53, Resulting Numbers: [46, 67, 53] Generated Node #0,1: 83:[46, 67, 53] Operation: 49+4=53 Exploring Operation: 46+4=50, Resulting Numbers: [49, 67, 50] Generated Node #0,2: 83:[49, 67, 50] Operation: 46+4=50 Exploring Operation: 46-4=42, Resulting Numbers: [49, 67, 42] Generated Node #0,3: 83:[49, 67, 42] Operation: 46-4=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[46, 49, 71], Operations: ['4+67=71'] Exploring Operation: 49+71=120, Resulting Numbers: [46, 120] Generated Node #0,0,0: 83:[46, 120] Operation: 49+71=120 Exploring Operation: 49-46=3, Resulting Numbers: [71, 3] Generated Node #0,0,1: 83:[71, 3] Operation: 49-46=3 Exploring Operation: 46+71=117, Resulting Numbers: [49, 117] Generated Node #0,0,2: 83:[49, 117] Operation: 46+71=117 Exploring Operation: 46+49=95, Resulting Numbers: [71, 95] Generated Node #0,0,3: 83:[71, 95] Operation: 46+49=95 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[71, 95], Operations: ['4+67=71', '46+49=95'] Exploring Operation: 71*95=6745, Resulting Numbers: [6745] 6745,83 unequal: No Solution Exploring Operation: 95-71=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 71+95=166, Resulting Numbers: [166] 166,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[49, 117], Operations: ['4+67=71', '46+71=117'] Exploring Operation: 49*117=5733, Resulting Numbers: [5733] 5733,83 unequal: No Solution Exploring Operation: 49+117=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 117-49=68, Resulting Numbers: [68] 68,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[46, 120], Operations: ['4+67=71', '49+71=120'] Exploring Operation: 120-46=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 46*120=5520, Resulting Numbers: [5520] 5520,83 unequal: No Solution Exploring Operation: 46+120=166, Resulting Numbers: [166] 166,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[71, 3], Operations: ['4+67=71', '49-46=3'] Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,83 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,83 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: 83:[46, 67, 53], Operations: ['49+4=53'] Exploring Operation: 46+53=99, Resulting Numbers: [67, 99] Generated Node #0,1,0: 83:[67, 99] Operation: 46+53=99 Exploring Operation: 46+67=113, Resulting Numbers: [53, 113] Generated Node #0,1,1: 83:[53, 113] Operation: 46+67=113 Exploring Operation: 67+53=120, Resulting Numbers: [46, 120] Generated Node #0,1,2: 83:[46, 120] Operation: 67+53=120 Exploring Operation: 67-46=21, Resulting Numbers: [53, 21] Generated Node #0,1,3: 83:[53, 21] Operation: 67-46=21 Moving to Node #0,1,0 Current State: 83:[67, 99], Operations: ['49+4=53', '46+53=99'] Exploring Operation: 67+99=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 67*99=6633, Resulting Numbers: [6633] 6633,83 unequal: No Solution Exploring Operation: 99-67=32, Resulting Numbers: [32] 32,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[53, 113], Operations: ['49+4=53', '46+67=113'] Exploring Operation: 53*113=5989, Resulting Numbers: [5989] 5989,83 unequal: No Solution Exploring Operation: 113-53=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 53+113=166, Resulting Numbers: [166] 166,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[46, 120], Operations: ['49+4=53', '67+53=120'] Exploring Operation: 46+120=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 120-46=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 46*120=5520, Resulting Numbers: [5520] 5520,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[53, 21], Operations: ['49+4=53', '67-46=21'] Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,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,2 Current State: 83:[49, 67, 50], Operations: ['46+4=50'] Exploring Operation: 67-49=18, Resulting Numbers: [50, 18] Generated Node #0,2,0: 83:[50, 18] Operation: 67-49=18 Exploring Operation: 49+50=99, Resulting Numbers: [67, 99] Generated Node #0,2,1: 83:[67, 99] Operation: 49+50=99 Exploring Operation: 49+67=116, Resulting Numbers: [50, 116] Generated Node #0,2,2: 83:[50, 116] Operation: 49+67=116 Exploring Operation: 67+50=117, Resulting Numbers: [49, 117] Generated Node #0,2,3: 83:[49, 117] Operation: 67+50=117 Moving to Node #0,2,1 Current State: 83:[67, 99], Operations: ['46+4=50', '49+50=99'] Exploring Operation: 99-67=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 67+99=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 67*99=6633, Resulting Numbers: [6633] 6633,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[50, 116], Operations: ['46+4=50', '49+67=116'] Exploring Operation: 116-50=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 50*116=5800, Resulting Numbers: [5800] 5800,83 unequal: No Solution Exploring Operation: 50+116=166, Resulting Numbers: [166] 166,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[49, 117], Operations: ['46+4=50', '67+50=117'] Exploring Operation: 49+117=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 49*117=5733, Resulting Numbers: [5733] 5733,83 unequal: No Solution Exploring Operation: 117-49=68, Resulting Numbers: [68] 68,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[50, 18], Operations: ['46+4=50', '67-49=18'] Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,83 unequal: No Solution Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,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 Current State: 83:[49, 67, 42], Operations: ['46-4=42'] Exploring Operation: 49-42=7, Resulting Numbers: [67, 7] Generated Node #0,3,0: 83:[67, 7] Operation: 49-42=7 Exploring Operation: 49+67=116, Resulting Numbers: [42, 116] Generated Node #0,3,1: 83:[42, 116] Operation: 49+67=116 Exploring Operation: 67+42=109, Resulting Numbers: [49, 109] Generated Node #0,3,2: 83:[49, 109] Operation: 67+42=109 Exploring Operation: 49+42=91, Resulting Numbers: [67, 91] Generated Node #0,3,3: 83:[67, 91] Operation: 49+42=91 Moving to Node #0,3,3 Current State: 83:[67, 91], Operations: ['46-4=42', '49+42=91'] Exploring Operation: 67*91=6097, Resulting Numbers: [6097] 6097,83 unequal: No Solution Exploring Operation: 67+91=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[49, 109], Operations: ['46-4=42', '67+42=109'] Exploring Operation: 49*109=5341, Resulting Numbers: [5341] 5341,83 unequal: No Solution Exploring Operation: 49+109=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 109-49=60, Resulting Numbers: [60] 60,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[42, 116], Operations: ['46-4=42', '49+67=116'] Exploring Operation: 116-42=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 42*116=4872, Resulting Numbers: [4872] 4872,83 unequal: No Solution Exploring Operation: 42+116=158, Resulting Numbers: [158] 158,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[67, 7], Operations: ['46-4=42', '49-42=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,83 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 63, 7, 60, 5 ]
36
[ "63-60=3", "7+5=12", "3*12=36" ]
Current State: 36:[63, 7, 60, 5], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [7, 5, 3] Generated Node #2: [7, 5, 3] from Operation: 63-60=3 Current State: 36:[7, 5, 3], Operations: ['63-60=3'] Exploring Operation: 7+5=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 7+5=12 Current State: 36:[3, 12], Operations: ['63-60=3', '7+5=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[63, 7, 60, 5], Operations: [] Exploring Operation: 60/5=12, Resulting Numbers: [63, 7, 12] Generated Node #0,0: 36:[63, 7, 12] Operation: 60/5=12 Exploring Operation: 63/7=9, Resulting Numbers: [60, 5, 9] Generated Node #0,1: 36:[60, 5, 9] Operation: 63/7=9 Exploring Operation: 63-60=3, Resulting Numbers: [7, 5, 3] Generated Node #0,2: 36:[7, 5, 3] Operation: 63-60=3 Exploring Operation: 63-7=56, Resulting Numbers: [60, 5, 56] Generated Node #0,3: 36:[60, 5, 56] Operation: 63-7=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[7, 5, 3], Operations: ['63-60=3'] Exploring Operation: 7+5=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 36:[3, 12] Operation: 7+5=12 Exploring Operation: 7-5=2, Resulting Numbers: [3, 2] Generated Node #0,2,1: 36:[3, 2] Operation: 7-5=2 Exploring Operation: 7-3=4, Resulting Numbers: [5, 4] Generated Node #0,2,2: 36:[5, 4] Operation: 7-3=4 Exploring Operation: 7*5=35, Resulting Numbers: [3, 35] Generated Node #0,2,3: 36:[3, 35] Operation: 7*5=35 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[3, 12], Operations: ['63-60=3', '7+5=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[63, 7, 60, 5], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [7, 5, 3] Generated Node #0,2: 36:[7, 5, 3] Operation: 63-60=3 Moving to Node #0,2 Current State: 36:[7, 5, 3], Operations: ['63-60=3'] Exploring Operation: 7+5=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 36:[3, 12] Operation: 7+5=12 Moving to Node #0,2,0 Current State: 36:[3, 12], Operations: ['63-60=3', '7+5=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 4, 74, 51, 12 ]
82
[ "51-12=39", "4*39=156", "156-74=82" ]
Current State: 82:[4, 74, 51, 12], Operations: [] Exploring Operation: 51-12=39, Resulting Numbers: [4, 74, 39] Generated Node #2: [4, 74, 39] from Operation: 51-12=39 Current State: 82:[4, 74, 39], Operations: ['51-12=39'] Exploring Operation: 4*39=156, Resulting Numbers: [74, 156] Generated Node #3: [74, 156] from Operation: 4*39=156 Current State: 82:[74, 156], Operations: ['51-12=39', '4*39=156'] Exploring Operation: 156-74=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[4, 74, 51, 12], Operations: [] Exploring Operation: 51-12=39, Resulting Numbers: [4, 74, 39] Generated Node #0,0: 82:[4, 74, 39] Operation: 51-12=39 Exploring Operation: 74+12=86, Resulting Numbers: [4, 51, 86] Generated Node #0,1: 82:[4, 51, 86] Operation: 74+12=86 Exploring Operation: 12/4=3, Resulting Numbers: [74, 51, 3] Generated Node #0,2: 82:[74, 51, 3] Operation: 12/4=3 Exploring Operation: 4+74=78, Resulting Numbers: [51, 12, 78] Generated Node #0,3: 82:[51, 12, 78] Operation: 4+74=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[4, 74, 39], Operations: ['51-12=39'] Exploring Operation: 4+39=43, Resulting Numbers: [74, 43] Generated Node #0,0,0: 82:[74, 43] Operation: 4+39=43 Exploring Operation: 74-39=35, Resulting Numbers: [4, 35] Generated Node #0,0,1: 82:[4, 35] Operation: 74-39=35 Exploring Operation: 74-4=70, Resulting Numbers: [39, 70] Generated Node #0,0,2: 82:[39, 70] Operation: 74-4=70 Exploring Operation: 4+74=78, Resulting Numbers: [39, 78] Generated Node #0,0,3: 82:[39, 78] Operation: 4+74=78 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[39, 78], Operations: ['51-12=39', '4+74=78'] Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 39+78=117, Resulting Numbers: [117] 117,82 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 39*78=3042, Resulting Numbers: [3042] 3042,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[4, 35], Operations: ['51-12=39', '74-39=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[74, 43], Operations: ['51-12=39', '4+39=43'] Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,82 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,82 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[39, 70], Operations: ['51-12=39', '74-4=70'] Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,82 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[4, 51, 86], Operations: ['74+12=86'] Exploring Operation: 86-4=82, Resulting Numbers: [51, 82] Generated Node #0,1,0: 82:[51, 82] Operation: 86-4=82 Exploring Operation: 4+51=55, Resulting Numbers: [86, 55] Generated Node #0,1,1: 82:[86, 55] Operation: 4+51=55 Exploring Operation: 86-51=35, Resulting Numbers: [4, 35] Generated Node #0,1,2: 82:[4, 35] Operation: 86-51=35 Exploring Operation: 51-4=47, Resulting Numbers: [86, 47] Generated Node #0,1,3: 82:[86, 47] Operation: 51-4=47 Moving to Node #0,1,2 Current State: 82:[4, 35], Operations: ['74+12=86', '86-51=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,82 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[86, 47], Operations: ['74+12=86', '51-4=47'] Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 86*47=4042, Resulting Numbers: [4042] 4042,82 unequal: No Solution Exploring Operation: 86+47=133, Resulting Numbers: [133] 133,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[51, 82], Operations: ['74+12=86', '86-4=82'] Exploring Operation: 51*82=4182, Resulting Numbers: [4182] 4182,82 unequal: No Solution Exploring Operation: 51+82=133, Resulting Numbers: [133] 133,82 unequal: No Solution Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[86, 55], Operations: ['74+12=86', '4+51=55'] Exploring Operation: 86+55=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 86*55=4730, Resulting Numbers: [4730] 4730,82 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[74, 51, 3], Operations: ['12/4=3'] Exploring Operation: 74+3=77, Resulting Numbers: [51, 77] Generated Node #0,2,0: 82:[51, 77] Operation: 74+3=77 Exploring Operation: 51-3=48, Resulting Numbers: [74, 48] Generated Node #0,2,1: 82:[74, 48] Operation: 51-3=48 Exploring Operation: 74-3=71, Resulting Numbers: [51, 71] Generated Node #0,2,2: 82:[51, 71] Operation: 74-3=71 Exploring Operation: 74-51=23, Resulting Numbers: [3, 23] Generated Node #0,2,3: 82:[3, 23] Operation: 74-51=23 Moving to Node #0,2,0 Current State: 82:[51, 77], Operations: ['12/4=3', '74+3=77'] Exploring Operation: 51*77=3927, Resulting Numbers: [3927] 3927,82 unequal: No Solution Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 51+77=128, Resulting Numbers: [128] 128,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[74, 48], Operations: ['12/4=3', '51-3=48'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,82 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[3, 23], Operations: ['12/4=3', '74-51=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,82 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[51, 71], Operations: ['12/4=3', '74-3=71'] Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,82 unequal: No Solution Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[51, 12, 78], Operations: ['4+74=78'] Exploring Operation: 78-51=27, Resulting Numbers: [12, 27] Generated Node #0,3,0: 82:[12, 27] Operation: 78-51=27 Exploring Operation: 51+12=63, Resulting Numbers: [78, 63] Generated Node #0,3,1: 82:[78, 63] Operation: 51+12=63 Exploring Operation: 12+78=90, Resulting Numbers: [51, 90] Generated Node #0,3,2: 82:[51, 90] Operation: 12+78=90 Exploring Operation: 51-12=39, Resulting Numbers: [78, 39] Generated Node #0,3,3: 82:[78, 39] Operation: 51-12=39 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 82:[78, 39], Operations: ['4+74=78', '51-12=39'] Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,82 unequal: No Solution Exploring Operation: 78*39=3042, Resulting Numbers: [3042] 3042,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[51, 90], Operations: ['4+74=78', '12+78=90'] Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,82 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[78, 63], Operations: ['4+74=78', '51+12=63'] Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[12, 27], Operations: ['4+74=78', '78-51=27'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 88, 30, 18, 44 ]
92
[ "88+30=118", "44-18=26", "118-26=92" ]
Current State: 92:[88, 30, 18, 44], Operations: [] Exploring Operation: 88+30=118, Resulting Numbers: [18, 44, 118] Generated Node #2: [18, 44, 118] from Operation: 88+30=118 Current State: 92:[18, 44, 118], Operations: ['88+30=118'] Exploring Operation: 44-18=26, Resulting Numbers: [118, 26] Generated Node #3: [118, 26] from Operation: 44-18=26 Current State: 92:[118, 26], Operations: ['88+30=118', '44-18=26'] Exploring Operation: 118-26=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[88, 30, 18, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [30, 18, 2] Generated Node #0,0: 92:[30, 18, 2] Operation: 88/44=2 Exploring Operation: 30-18=12, Resulting Numbers: [88, 44, 12] Generated Node #0,1: 92:[88, 44, 12] Operation: 30-18=12 Exploring Operation: 30+18=48, Resulting Numbers: [88, 44, 48] Generated Node #0,2: 92:[88, 44, 48] Operation: 30+18=48 Exploring Operation: 88-44=44, Resulting Numbers: [30, 18, 44] Generated Node #0,3: 92:[30, 18, 44] Operation: 88-44=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[88, 44, 48], Operations: ['30+18=48'] Exploring Operation: 88-44=44, Resulting Numbers: [48, 44] Generated Node #0,2,0: 92:[48, 44] Operation: 88-44=44 Exploring Operation: 44+48=92, Resulting Numbers: [88, 92] Generated Node #0,2,1: 92:[88, 92] Operation: 44+48=92 Exploring Operation: 88/44=2, Resulting Numbers: [48, 2] Generated Node #0,2,2: 92:[48, 2] Operation: 88/44=2 Exploring Operation: 48-44=4, Resulting Numbers: [88, 4] Generated Node #0,2,3: 92:[88, 4] Operation: 48-44=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[48, 2], Operations: ['30+18=48', '88/44=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,92 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[48, 44], Operations: ['30+18=48', '88-44=44'] Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[88, 30, 18, 44], Operations: [] Exploring Operation: 30+18=48, Resulting Numbers: [88, 44, 48] Generated Node #0,2: 92:[88, 44, 48] Operation: 30+18=48 Moving to Node #0,2 Current State: 92:[88, 44, 48], Operations: ['30+18=48'] Exploring Operation: 88-44=44, Resulting Numbers: [48, 44] Generated Node #0,2,0: 92:[48, 44] Operation: 88-44=44 Moving to Node #0,2,0 Current State: 92:[48, 44], Operations: ['30+18=48', '88-44=44'] Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 85, 9, 88, 82 ]
31
[ "88-82=6", "9*6=54", "85-54=31" ]
Current State: 31:[85, 9, 88, 82], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [85, 9, 6] Generated Node #2: [85, 9, 6] from Operation: 88-82=6 Current State: 31:[85, 9, 6], Operations: ['88-82=6'] Exploring Operation: 9*6=54, Resulting Numbers: [85, 54] Generated Node #3: [85, 54] from Operation: 9*6=54 Current State: 31:[85, 54], Operations: ['88-82=6', '9*6=54'] Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[85, 9, 88, 82], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [9, 82, 3] Generated Node #0,0: 31:[9, 82, 3] Operation: 88-85=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[9, 82, 3], Operations: ['88-85=3'] Exploring Operation: 9*3=27, Resulting Numbers: [82, 27] Generated Node #0,0,0: 31:[82, 27] Operation: 9*3=27 Moving to Node #0,0,0 Current State: 31:[82, 27], Operations: ['88-85=3', '9*3=27'] Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,31 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
[ 7, 27, 26, 54 ]
46
[ "7+27=34", "26+54=80", "80-34=46" ]
Current State: 46:[7, 27, 26, 54], Operations: [] Exploring Operation: 7+27=34, Resulting Numbers: [26, 54, 34] Generated Node #2: [26, 54, 34] from Operation: 7+27=34 Current State: 46:[26, 54, 34], Operations: ['7+27=34'] Exploring Operation: 26+54=80, Resulting Numbers: [34, 80] Generated Node #3: [34, 80] from Operation: 26+54=80 Current State: 46:[34, 80], Operations: ['7+27=34', '26+54=80'] Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[7, 27, 26, 54], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [7, 26, 2] Generated Node #0,0: 46:[7, 26, 2] Operation: 54/27=2 Exploring Operation: 54-7=47, Resulting Numbers: [27, 26, 47] Generated Node #0,1: 46:[27, 26, 47] Operation: 54-7=47 Moving to Node #0,0 Current State: 46:[7, 26, 2], Operations: ['54/27=2'] Exploring Operation: 7-2=5, Resulting Numbers: [26, 5] Generated Node #0,0,0: 46:[26, 5] Operation: 7-2=5 Exploring Operation: 26-7=19, Resulting Numbers: [2, 19] Generated Node #0,0,1: 46:[2, 19] Operation: 26-7=19 Moving to Node #0,1 Current State: 46:[27, 26, 47], Operations: ['54-7=47'] Exploring Operation: 47-27=20, Resulting Numbers: [26, 20] Generated Node #0,1,0: 46:[26, 20] Operation: 47-27=20 Exploring Operation: 27-26=1, Resulting Numbers: [47, 1] Generated Node #0,1,1: 46:[47, 1] Operation: 27-26=1 Moving to Node #0,1,1 Current State: 46:[47, 1], Operations: ['54-7=47', '27-26=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[7, 27, 26, 54], Operations: [] Exploring Operation: 54-7=47, Resulting Numbers: [27, 26, 47] Generated Node #0,1: 46:[27, 26, 47] Operation: 54-7=47 Moving to Node #0,1 Current State: 46:[27, 26, 47], Operations: ['54-7=47'] Exploring Operation: 27-26=1, Resulting Numbers: [47, 1] Generated Node #0,1,1: 46:[47, 1] Operation: 27-26=1 Moving to Node #0,1,1 Current State: 46:[47, 1], Operations: ['54-7=47', '27-26=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 96, 10, 90, 7 ]
52
[ "96-90=6", "7*6=42", "10+42=52" ]
Current State: 52:[96, 10, 90, 7], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [10, 7, 6] Generated Node #2: [10, 7, 6] from Operation: 96-90=6 Current State: 52:[10, 7, 6], Operations: ['96-90=6'] Exploring Operation: 7*6=42, Resulting Numbers: [10, 42] Generated Node #3: [10, 42] from Operation: 7*6=42 Current State: 52:[10, 42], Operations: ['96-90=6', '7*6=42'] Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[96, 10, 90, 7], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [96, 7, 9] Generated Node #0,0: 52:[96, 7, 9] Operation: 90/10=9 Exploring Operation: 90-10=80, Resulting Numbers: [96, 7, 80] Generated Node #0,1: 52:[96, 7, 80] Operation: 90-10=80 Exploring Operation: 96-7=89, Resulting Numbers: [10, 90, 89] Generated Node #0,2: 52:[10, 90, 89] Operation: 96-7=89 Exploring Operation: 96-10=86, Resulting Numbers: [90, 7, 86] Generated Node #0,3: 52:[90, 7, 86] Operation: 96-10=86 Exploring Operation: 96-90=6, Resulting Numbers: [10, 7, 6] Generated Node #0,4: 52:[10, 7, 6] Operation: 96-90=6 Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[10, 7, 6], Operations: ['96-90=6'] Exploring Operation: 7+6=13, Resulting Numbers: [10, 13] Generated Node #0,4,0: 52:[10, 13] Operation: 7+6=13 Exploring Operation: 7-6=1, Resulting Numbers: [10, 1] Generated Node #0,4,1: 52:[10, 1] Operation: 7-6=1 Exploring Operation: 10-7=3, Resulting Numbers: [6, 3] Generated Node #0,4,2: 52:[6, 3] Operation: 10-7=3 Exploring Operation: 10+7=17, Resulting Numbers: [6, 17] Generated Node #0,4,3: 52:[6, 17] Operation: 10+7=17 Exploring Operation: 10-6=4, Resulting Numbers: [7, 4] Generated Node #0,4,4: 52:[7, 4] Operation: 10-6=4 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 52:[10, 13], Operations: ['96-90=6', '7+6=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 52:[6, 3], Operations: ['96-90=6', '10-7=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 52:[7, 4], Operations: ['96-90=6', '10-6=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 52:[10, 1], Operations: ['96-90=6', '7-6=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 52:[6, 17], Operations: ['96-90=6', '10+7=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,52 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[96, 7, 9], Operations: ['90/10=9'] Exploring Operation: 9-7=2, Resulting Numbers: [96, 2] Generated Node #0,0,0: 52:[96, 2] Operation: 9-7=2 Exploring Operation: 96-7=89, Resulting Numbers: [9, 89] Generated Node #0,0,1: 52:[9, 89] Operation: 96-7=89 Exploring Operation: 96-9=87, Resulting Numbers: [7, 87] Generated Node #0,0,2: 52:[7, 87] Operation: 96-9=87 Exploring Operation: 7+9=16, Resulting Numbers: [96, 16] Generated Node #0,0,3: 52:[96, 16] Operation: 7+9=16 Exploring Operation: 96+7=103, Resulting Numbers: [9, 103] Generated Node #0,0,4: 52:[9, 103] Operation: 96+7=103 Moving to Node #0,0,2 Current State: 52:[7, 87], Operations: ['90/10=9', '96-9=87'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 7+87=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 7*87=609, Resulting Numbers: [609] 609,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[9, 89], Operations: ['90/10=9', '96-7=89'] Exploring Operation: 9+89=98, Resulting Numbers: [98] 98,52 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 9*89=801, Resulting Numbers: [801] 801,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[96, 2], Operations: ['90/10=9', '9-7=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,52 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 96*2=192, Resulting Numbers: [192] 192,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[96, 16], Operations: ['90/10=9', '7+9=16'] Exploring Operation: 96*16=1536, Resulting Numbers: [1536] 1536,52 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 96+16=112, Resulting Numbers: [112] 112,52 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[9, 103], Operations: ['90/10=9', '96+7=103'] Exploring Operation: 103-9=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 9*103=927, Resulting Numbers: [927] 927,52 unequal: No Solution Exploring Operation: 9+103=112, Resulting Numbers: [112] 112,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[96, 7, 80], Operations: ['90-10=80'] Exploring Operation: 96-80=16, Resulting Numbers: [7, 16] Generated Node #0,1,0: 52:[7, 16] Operation: 96-80=16 Exploring Operation: 80-7=73, Resulting Numbers: [96, 73] Generated Node #0,1,1: 52:[96, 73] Operation: 80-7=73 Exploring Operation: 96-7=89, Resulting Numbers: [80, 89] Generated Node #0,1,2: 52:[80, 89] Operation: 96-7=89 Exploring Operation: 96+7=103, Resulting Numbers: [80, 103] Generated Node #0,1,3: 52:[80, 103] Operation: 96+7=103 Exploring Operation: 7+80=87, Resulting Numbers: [96, 87] Generated Node #0,1,4: 52:[96, 87] Operation: 7+80=87 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[7, 16], Operations: ['90-10=80', '96-80=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[96, 73], Operations: ['90-10=80', '80-7=73'] Exploring Operation: 96-73=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 96*73=7008, Resulting Numbers: [7008] 7008,52 unequal: No Solution Exploring Operation: 96+73=169, Resulting Numbers: [169] 169,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[80, 89], Operations: ['90-10=80', '96-7=89'] Exploring Operation: 80+89=169, Resulting Numbers: [169] 169,52 unequal: No Solution Exploring Operation: 80*89=7120, Resulting Numbers: [7120] 7120,52 unequal: No Solution Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 52:[80, 103], Operations: ['90-10=80', '96+7=103'] Exploring Operation: 80+103=183, Resulting Numbers: [183] 183,52 unequal: No Solution Exploring Operation: 80*103=8240, Resulting Numbers: [8240] 8240,52 unequal: No Solution Exploring Operation: 103-80=23, Resulting Numbers: [23] 23,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 52:[96, 87], Operations: ['90-10=80', '7+80=87'] Exploring Operation: 96+87=183, Resulting Numbers: [183] 183,52 unequal: No Solution Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 96*87=8352, Resulting Numbers: [8352] 8352,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[90, 7, 86], Operations: ['96-10=86'] Exploring Operation: 7+86=93, Resulting Numbers: [90, 93] Generated Node #0,3,0: 52:[90, 93] Operation: 7+86=93 Exploring Operation: 86-7=79, Resulting Numbers: [90, 79] Generated Node #0,3,1: 52:[90, 79] Operation: 86-7=79 Exploring Operation: 90-7=83, Resulting Numbers: [86, 83] Generated Node #0,3,2: 52:[86, 83] Operation: 90-7=83 Exploring Operation: 90-86=4, Resulting Numbers: [7, 4] Generated Node #0,3,3: 52:[7, 4] Operation: 90-86=4 Exploring Operation: 90+7=97, Resulting Numbers: [86, 97] Generated Node #0,3,4: 52:[86, 97] Operation: 90+7=97 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[7, 4], Operations: ['96-10=86', '90-86=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 52:[90, 79], Operations: ['96-10=86', '86-7=79'] Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 90+79=169, Resulting Numbers: [169] 169,52 unequal: No Solution Exploring Operation: 90*79=7110, Resulting Numbers: [7110] 7110,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 52:[86, 83], Operations: ['96-10=86', '90-7=83'] Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 86*83=7138, Resulting Numbers: [7138] 7138,52 unequal: No Solution Exploring Operation: 86+83=169, Resulting Numbers: [169] 169,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 52:[90, 93], Operations: ['96-10=86', '7+86=93'] Exploring Operation: 90*93=8370, Resulting Numbers: [8370] 8370,52 unequal: No Solution Exploring Operation: 90+93=183, Resulting Numbers: [183] 183,52 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 52:[86, 97], Operations: ['96-10=86', '90+7=97'] Exploring Operation: 86+97=183, Resulting Numbers: [183] 183,52 unequal: No Solution Exploring Operation: 97-86=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 86*97=8342, Resulting Numbers: [8342] 8342,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[10, 90, 89], Operations: ['96-7=89'] Exploring Operation: 90-89=1, Resulting Numbers: [10, 1] Generated Node #0,2,0: 52:[10, 1] Operation: 90-89=1 Exploring Operation: 90-10=80, Resulting Numbers: [89, 80] Generated Node #0,2,1: 52:[89, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [89, 9] Generated Node #0,2,2: 52:[89, 9] Operation: 90/10=9 Exploring Operation: 89-10=79, Resulting Numbers: [90, 79] Generated Node #0,2,3: 52:[90, 79] Operation: 89-10=79 Exploring Operation: 10+90=100, Resulting Numbers: [89, 100] Generated Node #0,2,4: 52:[89, 100] Operation: 10+90=100 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[10, 1], Operations: ['96-7=89', '90-89=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[89, 9], Operations: ['96-7=89', '90/10=9'] Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,52 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[89, 80], Operations: ['96-7=89', '90-10=80'] Exploring Operation: 89+80=169, Resulting Numbers: [169] 169,52 unequal: No Solution Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 89*80=7120, Resulting Numbers: [7120] 7120,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 52:[90, 79], Operations: ['96-7=89', '89-10=79'] Exploring Operation: 90+79=169, Resulting Numbers: [169] 169,52 unequal: No Solution Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 90*79=7110, Resulting Numbers: [7110] 7110,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 52:[89, 100], Operations: ['96-7=89', '10+90=100'] Exploring Operation: 89*100=8900, Resulting Numbers: [8900] 8900,52 unequal: No Solution Exploring Operation: 89+100=189, Resulting Numbers: [189] 189,52 unequal: No Solution Exploring Operation: 100-89=11, Resulting Numbers: [11] 11,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 19, 15, 81, 12 ]
16
[ "15+12=27", "81/27=3", "19-3=16" ]
Current State: 16:[19, 15, 81, 12], Operations: [] Exploring Operation: 15+12=27, Resulting Numbers: [19, 81, 27] Generated Node #2: [19, 81, 27] from Operation: 15+12=27 Current State: 16:[19, 81, 27], Operations: ['15+12=27'] Exploring Operation: 81/27=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 81/27=3 Current State: 16:[19, 3], Operations: ['15+12=27', '81/27=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[19, 15, 81, 12], Operations: [] Exploring Operation: 81-15=66, Resulting Numbers: [19, 12, 66] Generated Node #0,0: 16:[19, 12, 66] Operation: 81-15=66 Exploring Operation: 81-19=62, Resulting Numbers: [15, 12, 62] Generated Node #0,1: 16:[15, 12, 62] Operation: 81-19=62 Exploring Operation: 81-12=69, Resulting Numbers: [19, 15, 69] Generated Node #0,2: 16:[19, 15, 69] Operation: 81-12=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[15, 12, 62], Operations: ['81-19=62'] Exploring Operation: 62-12=50, Resulting Numbers: [15, 50] Generated Node #0,1,0: 16:[15, 50] Operation: 62-12=50 Exploring Operation: 15-12=3, Resulting Numbers: [62, 3] Generated Node #0,1,1: 16:[62, 3] Operation: 15-12=3 Exploring Operation: 62-15=47, Resulting Numbers: [12, 47] Generated Node #0,1,2: 16:[12, 47] Operation: 62-15=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[15, 50], Operations: ['81-19=62', '62-12=50'] Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,16 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,16 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,16 unequal: No Solution No 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: 16:[12, 47], Operations: ['81-19=62', '62-15=47'] Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,16 unequal: No Solution Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,16 unequal: No Solution No 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: 16:[62, 3], Operations: ['81-19=62', '15-12=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,16 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,16 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,16 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: 16:[19, 12, 66], Operations: ['81-15=66'] Exploring Operation: 66-12=54, Resulting Numbers: [19, 54] Generated Node #0,0,0: 16:[19, 54] Operation: 66-12=54 Exploring Operation: 19-12=7, Resulting Numbers: [66, 7] Generated Node #0,0,1: 16:[66, 7] Operation: 19-12=7 Exploring Operation: 66-19=47, Resulting Numbers: [12, 47] Generated Node #0,0,2: 16:[12, 47] Operation: 66-19=47 Moving to Node #0,0,2 Current State: 16:[12, 47], Operations: ['81-15=66', '66-19=47'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,16 unequal: No Solution Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[19, 54], Operations: ['81-15=66', '66-12=54'] Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,16 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[66, 7], Operations: ['81-15=66', '19-12=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,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,2 Current State: 16:[19, 15, 69], Operations: ['81-12=69'] Exploring Operation: 19-15=4, Resulting Numbers: [69, 4] Generated Node #0,2,0: 16:[69, 4] Operation: 19-15=4 Exploring Operation: 69-19=50, Resulting Numbers: [15, 50] Generated Node #0,2,1: 16:[15, 50] Operation: 69-19=50 Exploring Operation: 69-15=54, Resulting Numbers: [19, 54] Generated Node #0,2,2: 16:[19, 54] Operation: 69-15=54 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[15, 50], Operations: ['81-12=69', '69-19=50'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,16 unequal: No Solution Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,16 unequal: No Solution No 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: 16:[19, 54], Operations: ['81-12=69', '69-15=54'] Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,16 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,16 unequal: No Solution No 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: 16:[69, 4], Operations: ['81-12=69', '19-15=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,16 unequal: No Solution Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,16 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
[ 8, 78, 88, 22 ]
45
[ "88/8=11", "78-22=56", "56-11=45" ]
Current State: 45:[8, 78, 88, 22], Operations: [] Exploring Operation: 88/8=11, Resulting Numbers: [78, 22, 11] Generated Node #2: [78, 22, 11] from Operation: 88/8=11 Current State: 45:[78, 22, 11], Operations: ['88/8=11'] Exploring Operation: 78-22=56, Resulting Numbers: [11, 56] Generated Node #3: [11, 56] from Operation: 78-22=56 Current State: 45:[11, 56], Operations: ['88/8=11', '78-22=56'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[8, 78, 88, 22], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [8, 78, 4] Generated Node #0,0: 45:[8, 78, 4] Operation: 88/22=4 Exploring Operation: 88-78=10, Resulting Numbers: [8, 22, 10] Generated Node #0,1: 45:[8, 22, 10] Operation: 88-78=10 Exploring Operation: 88/8=11, Resulting Numbers: [78, 22, 11] Generated Node #0,2: 45:[78, 22, 11] Operation: 88/8=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[8, 22, 10], Operations: ['88-78=10'] Exploring Operation: 10-8=2, Resulting Numbers: [22, 2] Generated Node #0,1,0: 45:[22, 2] Operation: 10-8=2 Exploring Operation: 22-8=14, Resulting Numbers: [10, 14] Generated Node #0,1,1: 45:[10, 14] Operation: 22-8=14 Exploring Operation: 22-10=12, Resulting Numbers: [8, 12] Generated Node #0,1,2: 45:[8, 12] Operation: 22-10=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[10, 14], Operations: ['88-78=10', '22-8=14'] Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,45 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,45 unequal: No Solution No 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: 45:[8, 12], Operations: ['88-78=10', '22-10=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,45 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,45 unequal: No Solution No 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: 45:[22, 2], Operations: ['88-78=10', '10-8=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,45 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: 45:[8, 78, 4], Operations: ['88/22=4'] Exploring Operation: 78-4=74, Resulting Numbers: [8, 74] Generated Node #0,0,0: 45:[8, 74] Operation: 78-4=74 Exploring Operation: 78-8=70, Resulting Numbers: [4, 70] Generated Node #0,0,1: 45:[4, 70] Operation: 78-8=70 Exploring Operation: 8-4=4, Resulting Numbers: [78, 4] Generated Node #0,0,2: 45:[78, 4] Operation: 8-4=4 Moving to Node #0,0,1 Current State: 45:[4, 70], Operations: ['88/22=4', '78-8=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,45 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[8, 74], Operations: ['88/22=4', '78-4=74'] Exploring Operation: 8*74=592, Resulting Numbers: [592] 592,45 unequal: No Solution Exploring Operation: 8+74=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[78, 4], Operations: ['88/22=4', '8-4=4'] Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,45 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[78, 22, 11], Operations: ['88/8=11'] Exploring Operation: 78-22=56, Resulting Numbers: [11, 56] Generated Node #0,2,0: 45:[11, 56] Operation: 78-22=56 Exploring Operation: 22/11=2, Resulting Numbers: [78, 2] Generated Node #0,2,1: 45:[78, 2] Operation: 22/11=2 Exploring Operation: 78-11=67, Resulting Numbers: [22, 67] Generated Node #0,2,2: 45:[22, 67] Operation: 78-11=67 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[11, 56], Operations: ['88/8=11', '78-22=56'] Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,45 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,45 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[8, 78, 88, 22], Operations: [] Exploring Operation: 88/8=11, Resulting Numbers: [78, 22, 11] Generated Node #0,2: 45:[78, 22, 11] Operation: 88/8=11 Moving to Node #0,2 Current State: 45:[78, 22, 11], Operations: ['88/8=11'] Exploring Operation: 78-22=56, Resulting Numbers: [11, 56] Generated Node #0,2,0: 45:[11, 56] Operation: 78-22=56 Moving to Node #0,2,0 Current State: 45:[11, 56], Operations: ['88/8=11', '78-22=56'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 90, 7, 80, 65 ]
15
[ "90+80=170", "170-65=105", "105/7=15" ]
Current State: 15:[90, 7, 80, 65], Operations: [] Exploring Operation: 90+80=170, Resulting Numbers: [7, 65, 170] Generated Node #2: [7, 65, 170] from Operation: 90+80=170 Current State: 15:[7, 65, 170], Operations: ['90+80=170'] Exploring Operation: 170-65=105, Resulting Numbers: [7, 105] Generated Node #3: [7, 105] from Operation: 170-65=105 Current State: 15:[7, 105], Operations: ['90+80=170', '170-65=105'] Exploring Operation: 105/7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[90, 7, 80, 65], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [7, 80, 25] Generated Node #0,0: 15:[7, 80, 25] Operation: 90-65=25 Exploring Operation: 80-65=15, Resulting Numbers: [90, 7, 15] Generated Node #0,1: 15:[90, 7, 15] Operation: 80-65=15 Exploring Operation: 90-80=10, Resulting Numbers: [7, 65, 10] Generated Node #0,2: 15:[7, 65, 10] Operation: 90-80=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[7, 65, 10], Operations: ['90-80=10'] Exploring Operation: 65-7=58, Resulting Numbers: [10, 58] Generated Node #0,2,0: 15:[10, 58] Operation: 65-7=58 Exploring Operation: 10-7=3, Resulting Numbers: [65, 3] Generated Node #0,2,1: 15:[65, 3] Operation: 10-7=3 Exploring Operation: 65-10=55, Resulting Numbers: [7, 55] Generated Node #0,2,2: 15:[7, 55] Operation: 65-10=55 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[7, 55], Operations: ['90-80=10', '65-10=55'] Exploring Operation: 7*55=385, Resulting Numbers: [385] 385,15 unequal: No Solution Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[10, 58], Operations: ['90-80=10', '65-7=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[65, 3], Operations: ['90-80=10', '10-7=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[7, 80, 25], Operations: ['90-65=25'] Exploring Operation: 80-7=73, Resulting Numbers: [25, 73] Generated Node #0,0,0: 15:[25, 73] Operation: 80-7=73 Exploring Operation: 80-25=55, Resulting Numbers: [7, 55] Generated Node #0,0,1: 15:[7, 55] Operation: 80-25=55 Exploring Operation: 25-7=18, Resulting Numbers: [80, 18] Generated Node #0,0,2: 15:[80, 18] Operation: 25-7=18 Moving to Node #0,0,1 Current State: 15:[7, 55], Operations: ['90-65=25', '80-25=55'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 7*55=385, Resulting Numbers: [385] 385,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[25, 73], Operations: ['90-65=25', '80-7=73'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 25+73=98, Resulting Numbers: [98] 98,15 unequal: No Solution Exploring Operation: 25*73=1825, Resulting Numbers: [1825] 1825,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[80, 18], Operations: ['90-65=25', '25-7=18'] Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,15 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[90, 7, 15], Operations: ['80-65=15'] Exploring Operation: 90-7=83, Resulting Numbers: [15, 83] Generated Node #0,1,0: 15:[15, 83] Operation: 90-7=83 Exploring Operation: 90-15=75, Resulting Numbers: [7, 75] Generated Node #0,1,1: 15:[7, 75] Operation: 90-15=75 Exploring Operation: 90/15=6, Resulting Numbers: [7, 6] Generated Node #0,1,2: 15:[7, 6] Operation: 90/15=6 Moving to Node #0,1,2 Current State: 15:[7, 6], Operations: ['80-65=15', '90/15=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[7, 75], Operations: ['80-65=15', '90-15=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 7*75=525, Resulting Numbers: [525] 525,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[15, 83], Operations: ['80-65=15', '90-7=83'] Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,15 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,15 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
[ 4, 5, 65, 95 ]
71
[ "4*65=260", "95+260=355", "355/5=71" ]
Current State: 71:[4, 5, 65, 95], Operations: [] Exploring Operation: 4*65=260, Resulting Numbers: [5, 95, 260] Generated Node #2: [5, 95, 260] from Operation: 4*65=260 Current State: 71:[5, 95, 260], Operations: ['4*65=260'] Exploring Operation: 95+260=355, Resulting Numbers: [5, 355] Generated Node #3: [5, 355] from Operation: 95+260=355 Current State: 71:[5, 355], Operations: ['4*65=260', '95+260=355'] Exploring Operation: 355/5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[4, 5, 65, 95], Operations: [] Exploring Operation: 4+5=9, Resulting Numbers: [65, 95, 9] Generated Node #0,0: 71:[65, 95, 9] Operation: 4+5=9 Exploring Operation: 95-4=91, Resulting Numbers: [5, 65, 91] Generated Node #0,1: 71:[5, 65, 91] Operation: 95-4=91 Exploring Operation: 4+65=69, Resulting Numbers: [5, 95, 69] Generated Node #0,2: 71:[5, 95, 69] Operation: 4+65=69 Exploring Operation: 5+65=70, Resulting Numbers: [4, 95, 70] Generated Node #0,3: 71:[4, 95, 70] Operation: 5+65=70 Exploring Operation: 4*5=20, Resulting Numbers: [65, 95, 20] Generated Node #0,4: 71:[65, 95, 20] Operation: 4*5=20 Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[65, 95, 20], Operations: ['4*5=20'] Exploring Operation: 95-65=30, Resulting Numbers: [20, 30] Generated Node #0,4,0: 71:[20, 30] Operation: 95-65=30 Exploring Operation: 95+20=115, Resulting Numbers: [65, 115] Generated Node #0,4,1: 71:[65, 115] Operation: 95+20=115 Exploring Operation: 65+20=85, Resulting Numbers: [95, 85] Generated Node #0,4,2: 71:[95, 85] Operation: 65+20=85 Exploring Operation: 95-20=75, Resulting Numbers: [65, 75] Generated Node #0,4,3: 71:[65, 75] Operation: 95-20=75 Exploring Operation: 65-20=45, Resulting Numbers: [95, 45] Generated Node #0,4,4: 71:[95, 45] Operation: 65-20=45 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 71:[65, 75], Operations: ['4*5=20', '95-20=75'] Exploring Operation: 65+75=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 65*75=4875, Resulting Numbers: [4875] 4875,71 unequal: No Solution Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 71:[95, 85], Operations: ['4*5=20', '65+20=85'] Exploring Operation: 95+85=180, Resulting Numbers: [180] 180,71 unequal: No Solution Exploring Operation: 95*85=8075, Resulting Numbers: [8075] 8075,71 unequal: No Solution Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 71:[65, 115], Operations: ['4*5=20', '95+20=115'] Exploring Operation: 65*115=7475, Resulting Numbers: [7475] 7475,71 unequal: No Solution Exploring Operation: 65+115=180, Resulting Numbers: [180] 180,71 unequal: No Solution Exploring Operation: 115-65=50, Resulting Numbers: [50] 50,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 71:[95, 45], Operations: ['4*5=20', '65-20=45'] Exploring Operation: 95*45=4275, Resulting Numbers: [4275] 4275,71 unequal: No Solution Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 95+45=140, Resulting Numbers: [140] 140,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 71:[20, 30], Operations: ['4*5=20', '95-65=30'] Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[65, 95, 9], Operations: ['4+5=9'] Exploring Operation: 65-9=56, Resulting Numbers: [95, 56] Generated Node #0,0,0: 71:[95, 56] Operation: 65-9=56 Exploring Operation: 95-65=30, Resulting Numbers: [9, 30] Generated Node #0,0,1: 71:[9, 30] Operation: 95-65=30 Exploring Operation: 95+9=104, Resulting Numbers: [65, 104] Generated Node #0,0,2: 71:[65, 104] Operation: 95+9=104 Exploring Operation: 65+9=74, Resulting Numbers: [95, 74] Generated Node #0,0,3: 71:[95, 74] Operation: 65+9=74 Exploring Operation: 95-9=86, Resulting Numbers: [65, 86] Generated Node #0,0,4: 71:[65, 86] Operation: 95-9=86 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[65, 86], Operations: ['4+5=9', '95-9=86'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 65+86=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 65*86=5590, Resulting Numbers: [5590] 5590,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[95, 74], Operations: ['4+5=9', '65+9=74'] Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 95+74=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 95*74=7030, Resulting Numbers: [7030] 7030,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[95, 56], Operations: ['4+5=9', '65-9=56'] Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 95*56=5320, Resulting Numbers: [5320] 5320,71 unequal: No Solution Exploring Operation: 95+56=151, Resulting Numbers: [151] 151,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[65, 104], Operations: ['4+5=9', '95+9=104'] Exploring Operation: 65+104=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 104-65=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 65*104=6760, Resulting Numbers: [6760] 6760,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[9, 30], Operations: ['4+5=9', '95-65=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[5, 65, 91], Operations: ['95-4=91'] Exploring Operation: 5+91=96, Resulting Numbers: [65, 96] Generated Node #0,1,0: 71:[65, 96] Operation: 5+91=96 Exploring Operation: 65/5=13, Resulting Numbers: [91, 13] Generated Node #0,1,1: 71:[91, 13] Operation: 65/5=13 Exploring Operation: 91-5=86, Resulting Numbers: [65, 86] Generated Node #0,1,2: 71:[65, 86] Operation: 91-5=86 Exploring Operation: 5+65=70, Resulting Numbers: [91, 70] Generated Node #0,1,3: 71:[91, 70] Operation: 5+65=70 Exploring Operation: 65-5=60, Resulting Numbers: [91, 60] Generated Node #0,1,4: 71:[91, 60] Operation: 65-5=60 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[65, 86], Operations: ['95-4=91', '91-5=86'] Exploring Operation: 65*86=5590, Resulting Numbers: [5590] 5590,71 unequal: No Solution Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 65+86=151, Resulting Numbers: [151] 151,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[91, 70], Operations: ['95-4=91', '5+65=70'] Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,71 unequal: No Solution Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[65, 96], Operations: ['95-4=91', '5+91=96'] Exploring Operation: 65+96=161, Resulting Numbers: [161] 161,71 unequal: No Solution Exploring Operation: 96-65=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 65*96=6240, Resulting Numbers: [6240] 6240,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 71:[91, 60], Operations: ['95-4=91', '65-5=60'] Exploring Operation: 91*60=5460, Resulting Numbers: [5460] 5460,71 unequal: No Solution Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 91+60=151, Resulting Numbers: [151] 151,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[91, 13], Operations: ['95-4=91', '65/5=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,71 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[5, 95, 69], Operations: ['4+65=69'] Exploring Operation: 5+95=100, Resulting Numbers: [69, 100] Generated Node #0,2,0: 71:[69, 100] Operation: 5+95=100 Exploring Operation: 5+69=74, Resulting Numbers: [95, 74] Generated Node #0,2,1: 71:[95, 74] Operation: 5+69=74 Exploring Operation: 95-5=90, Resulting Numbers: [69, 90] Generated Node #0,2,2: 71:[69, 90] Operation: 95-5=90 Exploring Operation: 69-5=64, Resulting Numbers: [95, 64] Generated Node #0,2,3: 71:[95, 64] Operation: 69-5=64 Exploring Operation: 95/5=19, Resulting Numbers: [69, 19] Generated Node #0,2,4: 71:[69, 19] Operation: 95/5=19 Moving to Node #0,2,2 Current State: 71:[69, 90], Operations: ['4+65=69', '95-5=90'] Exploring Operation: 69*90=6210, Resulting Numbers: [6210] 6210,71 unequal: No Solution Exploring Operation: 69+90=159, Resulting Numbers: [159] 159,71 unequal: No Solution Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[95, 74], Operations: ['4+65=69', '5+69=74'] Exploring Operation: 95*74=7030, Resulting Numbers: [7030] 7030,71 unequal: No Solution Exploring Operation: 95+74=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[69, 100], Operations: ['4+65=69', '5+95=100'] Exploring Operation: 100-69=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 69*100=6900, Resulting Numbers: [6900] 6900,71 unequal: No Solution Exploring Operation: 69+100=169, Resulting Numbers: [169] 169,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[95, 64], Operations: ['4+65=69', '69-5=64'] Exploring Operation: 95-64=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 95+64=159, Resulting Numbers: [159] 159,71 unequal: No Solution Exploring Operation: 95*64=6080, Resulting Numbers: [6080] 6080,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[69, 19], Operations: ['4+65=69', '95/5=19'] Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,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,3 Current State: 71:[4, 95, 70], Operations: ['5+65=70'] Exploring Operation: 4+70=74, Resulting Numbers: [95, 74] Generated Node #0,3,0: 71:[95, 74] Operation: 4+70=74 Exploring Operation: 95-4=91, Resulting Numbers: [70, 91] Generated Node #0,3,1: 71:[70, 91] Operation: 95-4=91 Exploring Operation: 95-70=25, Resulting Numbers: [4, 25] Generated Node #0,3,2: 71:[4, 25] Operation: 95-70=25 Exploring Operation: 4+95=99, Resulting Numbers: [70, 99] Generated Node #0,3,3: 71:[70, 99] Operation: 4+95=99 Exploring Operation: 70-4=66, Resulting Numbers: [95, 66] Generated Node #0,3,4: 71:[95, 66] Operation: 70-4=66 Moving to Node #0,3,1 Current State: 71:[70, 91], Operations: ['5+65=70', '95-4=91'] Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,71 unequal: No Solution Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,71 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[95, 74], Operations: ['5+65=70', '4+70=74'] Exploring Operation: 95+74=169, Resulting Numbers: [169] 169,71 unequal: No Solution Exploring Operation: 95*74=7030, Resulting Numbers: [7030] 7030,71 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[70, 99], Operations: ['5+65=70', '4+95=99'] Exploring Operation: 70*99=6930, Resulting Numbers: [6930] 6930,71 unequal: No Solution Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 70+99=169, Resulting Numbers: [169] 169,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[95, 66], Operations: ['5+65=70', '70-4=66'] Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 95+66=161, Resulting Numbers: [161] 161,71 unequal: No Solution Exploring Operation: 95*66=6270, Resulting Numbers: [6270] 6270,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[4, 25], Operations: ['5+65=70', '95-70=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,71 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
[ 19, 38, 95, 55 ]
80
[ "38/19=2", "95-55=40", "2*40=80" ]
Current State: 80:[19, 38, 95, 55], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [95, 55, 2] Generated Node #2: [95, 55, 2] from Operation: 38/19=2 Current State: 80:[95, 55, 2], Operations: ['38/19=2'] Exploring Operation: 95-55=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 95-55=40 Current State: 80:[2, 40], Operations: ['38/19=2', '95-55=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[19, 38, 95, 55], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [19, 38, 40] Generated Node #0,0: 80:[19, 38, 40] Operation: 95-55=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[19, 38, 40], Operations: ['95-55=40'] Exploring Operation: 38/19=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 80:[40, 2] Operation: 38/19=2 Moving to Node #0,0,0 Current State: 80:[40, 2], Operations: ['95-55=40', '38/19=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[19, 38, 95, 55], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [19, 38, 40] Generated Node #0,0: 80:[19, 38, 40] Operation: 95-55=40 Moving to Node #0,0 Current State: 80:[19, 38, 40], Operations: ['95-55=40'] Exploring Operation: 38/19=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 80:[40, 2] Operation: 38/19=2 Moving to Node #0,0,0 Current State: 80:[40, 2], Operations: ['95-55=40', '38/19=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 21, 58, 4, 84 ]
58
[ "21+58=79", "84/4=21", "79-21=58" ]
Current State: 58:[21, 58, 4, 84], Operations: [] Exploring Operation: 21+58=79, Resulting Numbers: [4, 84, 79] Generated Node #2: [4, 84, 79] from Operation: 21+58=79 Current State: 58:[4, 84, 79], Operations: ['21+58=79'] Exploring Operation: 84/4=21, Resulting Numbers: [79, 21] Generated Node #3: [79, 21] from Operation: 84/4=21 Current State: 58:[79, 21], Operations: ['21+58=79', '84/4=21'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[21, 58, 4, 84], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [21, 58, 21] Generated Node #0,0: 58:[21, 58, 21] Operation: 84/4=21 Exploring Operation: 84-58=26, Resulting Numbers: [21, 4, 26] Generated Node #0,1: 58:[21, 4, 26] Operation: 84-58=26 Exploring Operation: 84-21=63, Resulting Numbers: [58, 4, 63] Generated Node #0,2: 58:[58, 4, 63] Operation: 84-21=63 Exploring Operation: 84/21=4, Resulting Numbers: [58, 4, 4] Generated Node #0,3: 58:[58, 4, 4] Operation: 84/21=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[58, 4, 4], Operations: ['84/21=4'] Exploring Operation: 58+4=62, Resulting Numbers: [4, 62] Generated Node #0,3,0: 58:[4, 62] Operation: 58+4=62 Exploring Operation: 4/4=1, Resulting Numbers: [58, 1] Generated Node #0,3,1: 58:[58, 1] Operation: 4/4=1 Exploring Operation: 4-4=0, Resulting Numbers: [58, 0] Generated Node #0,3,2: 58:[58, 0] Operation: 4-4=0 Exploring Operation: 58-4=54, Resulting Numbers: [4, 54] Generated Node #0,3,3: 58:[4, 54] Operation: 58-4=54 Moving to Node #0,3,1 Current State: 58:[58, 1], Operations: ['84/21=4', '4/4=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[21, 58, 4, 84], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [58, 4, 4] Generated Node #0,3: 58:[58, 4, 4] Operation: 84/21=4 Moving to Node #0,3 Current State: 58:[58, 4, 4], Operations: ['84/21=4'] Exploring Operation: 4/4=1, Resulting Numbers: [58, 1] Generated Node #0,3,1: 58:[58, 1] Operation: 4/4=1 Moving to Node #0,3,1 Current State: 58:[58, 1], Operations: ['84/21=4', '4/4=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 10, 33, 19, 63 ]
67
[ "33-10=23", "63-19=44", "23+44=67" ]
Current State: 67:[10, 33, 19, 63], Operations: [] Exploring Operation: 33-10=23, Resulting Numbers: [19, 63, 23] Generated Node #2: [19, 63, 23] from Operation: 33-10=23 Current State: 67:[19, 63, 23], Operations: ['33-10=23'] Exploring Operation: 63-19=44, Resulting Numbers: [23, 44] Generated Node #3: [23, 44] from Operation: 63-19=44 Current State: 67:[23, 44], Operations: ['33-10=23', '63-19=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[10, 33, 19, 63], Operations: [] Exploring Operation: 10+33=43, Resulting Numbers: [19, 63, 43] Generated Node #0,0: 67:[19, 63, 43] Operation: 10+33=43 Exploring Operation: 10+19=29, Resulting Numbers: [33, 63, 29] Generated Node #0,1: 67:[33, 63, 29] Operation: 10+19=29 Exploring Operation: 33+19=52, Resulting Numbers: [10, 63, 52] Generated Node #0,2: 67:[10, 63, 52] Operation: 33+19=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[19, 63, 43], Operations: ['10+33=43'] Exploring Operation: 63-19=44, Resulting Numbers: [43, 44] Generated Node #0,0,0: 67:[43, 44] Operation: 63-19=44 Exploring Operation: 19+63=82, Resulting Numbers: [43, 82] Generated Node #0,0,1: 67:[43, 82] Operation: 19+63=82 Exploring Operation: 19+43=62, Resulting Numbers: [63, 62] Generated Node #0,0,2: 67:[63, 62] Operation: 19+43=62 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[63, 62], Operations: ['10+33=43', '19+43=62'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 63+62=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 63*62=3906, Resulting Numbers: [3906] 3906,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[43, 82], Operations: ['10+33=43', '19+63=82'] Exploring Operation: 43*82=3526, Resulting Numbers: [3526] 3526,67 unequal: No Solution Exploring Operation: 43+82=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[43, 44], Operations: ['10+33=43', '63-19=44'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[33, 63, 29], Operations: ['10+19=29'] Exploring Operation: 33+63=96, Resulting Numbers: [29, 96] Generated Node #0,1,0: 67:[29, 96] Operation: 33+63=96 Exploring Operation: 63+29=92, Resulting Numbers: [33, 92] Generated Node #0,1,1: 67:[33, 92] Operation: 63+29=92 Exploring Operation: 33+29=62, Resulting Numbers: [63, 62] Generated Node #0,1,2: 67:[63, 62] Operation: 33+29=62 Moving to Node #0,1,2 Current State: 67:[63, 62], Operations: ['10+19=29', '33+29=62'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 63+62=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 63*62=3906, Resulting Numbers: [3906] 3906,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[33, 92], Operations: ['10+19=29', '63+29=92'] Exploring Operation: 33+92=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 33*92=3036, Resulting Numbers: [3036] 3036,67 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[29, 96], Operations: ['10+19=29', '33+63=96'] Exploring Operation: 29+96=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 29*96=2784, Resulting Numbers: [2784] 2784,67 unequal: No Solution Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[10, 33, 19, 63], Operations: [] Exploring Operation: 10+19=29, Resulting Numbers: [33, 63, 29] Generated Node #0,1: 67:[33, 63, 29] Operation: 10+19=29 Moving to Node #0,1 Current State: 67:[33, 63, 29], Operations: ['10+19=29'] Exploring Operation: 33+63=96, Resulting Numbers: [29, 96] Generated Node #0,1,0: 67:[29, 96] Operation: 33+63=96 Moving to Node #0,1,0 Current State: 67:[29, 96], Operations: ['10+19=29', '33+63=96'] Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 95, 46, 74, 3 ]
31
[ "95+74=169", "46*3=138", "169-138=31" ]
Current State: 31:[95, 46, 74, 3], Operations: [] Exploring Operation: 95+74=169, Resulting Numbers: [46, 3, 169] Generated Node #2: [46, 3, 169] from Operation: 95+74=169 Current State: 31:[46, 3, 169], Operations: ['95+74=169'] Exploring Operation: 46*3=138, Resulting Numbers: [169, 138] Generated Node #3: [169, 138] from Operation: 46*3=138 Current State: 31:[169, 138], Operations: ['95+74=169', '46*3=138'] Exploring Operation: 169-138=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[95, 46, 74, 3], Operations: [] Exploring Operation: 95-74=21, Resulting Numbers: [46, 3, 21] Generated Node #0,0: 31:[46, 3, 21] Operation: 95-74=21 Exploring Operation: 74-46=28, Resulting Numbers: [95, 3, 28] Generated Node #0,1: 31:[95, 3, 28] Operation: 74-46=28 Exploring Operation: 95-46=49, Resulting Numbers: [74, 3, 49] Generated Node #0,2: 31:[74, 3, 49] Operation: 95-46=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[46, 3, 21], Operations: ['95-74=21'] Exploring Operation: 46+3=49, Resulting Numbers: [21, 49] Generated Node #0,0,0: 31:[21, 49] Operation: 46+3=49 Exploring Operation: 3+21=24, Resulting Numbers: [46, 24] Generated Node #0,0,1: 31:[46, 24] Operation: 3+21=24 Exploring Operation: 46-3=43, Resulting Numbers: [21, 43] Generated Node #0,0,2: 31:[21, 43] Operation: 46-3=43 Moving to Node #0,0,1 Current State: 31:[46, 24], Operations: ['95-74=21', '3+21=24'] Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,31 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[21, 43], Operations: ['95-74=21', '46-3=43'] Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,31 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[21, 49], Operations: ['95-74=21', '46+3=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,31 unequal: No Solution No 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: 31:[74, 3, 49], Operations: ['95-46=49'] Exploring Operation: 49-3=46, Resulting Numbers: [74, 46] Generated Node #0,2,0: 31:[74, 46] Operation: 49-3=46 Exploring Operation: 74-3=71, Resulting Numbers: [49, 71] Generated Node #0,2,1: 31:[49, 71] Operation: 74-3=71 Exploring Operation: 74-49=25, Resulting Numbers: [3, 25] Generated Node #0,2,2: 31:[3, 25] Operation: 74-49=25 Moving to Node #0,2,2 Current State: 31:[3, 25], Operations: ['95-46=49', '74-49=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[74, 46], Operations: ['95-46=49', '49-3=46'] Exploring Operation: 74+46=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 74*46=3404, Resulting Numbers: [3404] 3404,31 unequal: No Solution Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[49, 71], Operations: ['95-46=49', '74-3=71'] Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,31 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,31 unequal: No Solution No 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: 31:[95, 3, 28], Operations: ['74-46=28'] Exploring Operation: 95-28=67, Resulting Numbers: [3, 67] Generated Node #0,1,0: 31:[3, 67] Operation: 95-28=67 Exploring Operation: 3+28=31, Resulting Numbers: [95, 31] Generated Node #0,1,1: 31:[95, 31] Operation: 3+28=31 Exploring Operation: 95-3=92, Resulting Numbers: [28, 92] Generated Node #0,1,2: 31:[28, 92] Operation: 95-3=92 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[3, 67], Operations: ['74-46=28', '95-28=67'] Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,31 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,31 unequal: No Solution No 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: 31:[95, 31], Operations: ['74-46=28', '3+28=31'] Exploring Operation: 95*31=2945, Resulting Numbers: [2945] 2945,31 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 95+31=126, Resulting Numbers: [126] 126,31 unequal: No Solution No 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: 31:[28, 92], Operations: ['74-46=28', '95-3=92'] Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,31 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
[ 17, 13, 58, 53 ]
82
[ "58-53=5", "13*5=65", "17+65=82" ]
Current State: 82:[17, 13, 58, 53], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [17, 13, 5] Generated Node #2: [17, 13, 5] from Operation: 58-53=5 Current State: 82:[17, 13, 5], Operations: ['58-53=5'] Exploring Operation: 13*5=65, Resulting Numbers: [17, 65] Generated Node #3: [17, 65] from Operation: 13*5=65 Current State: 82:[17, 65], Operations: ['58-53=5', '13*5=65'] Exploring Operation: 17+65=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[17, 13, 58, 53], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [17, 13, 5] Generated Node #0,0: 82:[17, 13, 5] Operation: 58-53=5 Exploring Operation: 17-13=4, Resulting Numbers: [58, 53, 4] Generated Node #0,1: 82:[58, 53, 4] Operation: 17-13=4 Exploring Operation: 58-17=41, Resulting Numbers: [13, 53, 41] Generated Node #0,2: 82:[13, 53, 41] Operation: 58-17=41 Exploring Operation: 17+58=75, Resulting Numbers: [13, 53, 75] Generated Node #0,3: 82:[13, 53, 75] Operation: 17+58=75 Exploring Operation: 58-13=45, Resulting Numbers: [17, 53, 45] Generated Node #0,4: 82:[17, 53, 45] Operation: 58-13=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[13, 53, 41], Operations: ['58-17=41'] Exploring Operation: 13+41=54, Resulting Numbers: [53, 54] Generated Node #0,2,0: 82:[53, 54] Operation: 13+41=54 Exploring Operation: 53-13=40, Resulting Numbers: [41, 40] Generated Node #0,2,1: 82:[41, 40] Operation: 53-13=40 Exploring Operation: 53+41=94, Resulting Numbers: [13, 94] Generated Node #0,2,2: 82:[13, 94] Operation: 53+41=94 Exploring Operation: 53-41=12, Resulting Numbers: [13, 12] Generated Node #0,2,3: 82:[13, 12] Operation: 53-41=12 Exploring Operation: 13+53=66, Resulting Numbers: [41, 66] Generated Node #0,2,4: 82:[41, 66] Operation: 13+53=66 Moving to Node #0,2,1 Current State: 82:[41, 40], Operations: ['58-17=41', '53-13=40'] Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,82 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,82 unequal: No Solution Moving to Node #0,2,4 Current State: 82:[41, 66], Operations: ['58-17=41', '13+53=66'] Exploring Operation: 41+66=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 41*66=2706, Resulting Numbers: [2706] 2706,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[13, 12], Operations: ['58-17=41', '53-41=12'] Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,82 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[13, 94], Operations: ['58-17=41', '53+41=94'] Exploring Operation: 13*94=1222, Resulting Numbers: [1222] 1222,82 unequal: No Solution Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[53, 54], Operations: ['58-17=41', '13+41=54'] Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,82 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[17, 13, 5], Operations: ['58-53=5'] Exploring Operation: 13-5=8, Resulting Numbers: [17, 8] Generated Node #0,0,0: 82:[17, 8] Operation: 13-5=8 Exploring Operation: 17*5=85, Resulting Numbers: [13, 85] Generated Node #0,0,1: 82:[13, 85] Operation: 17*5=85 Exploring Operation: 17-5=12, Resulting Numbers: [13, 12] Generated Node #0,0,2: 82:[13, 12] Operation: 17-5=12 Exploring Operation: 17-13=4, Resulting Numbers: [5, 4] Generated Node #0,0,3: 82:[5, 4] Operation: 17-13=4 Exploring Operation: 17+13=30, Resulting Numbers: [5, 30] Generated Node #0,0,4: 82:[5, 30] Operation: 17+13=30 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[5, 4], Operations: ['58-53=5', '17-13=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[13, 85], Operations: ['58-53=5', '17*5=85'] Exploring Operation: 13+85=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,82 unequal: No Solution Exploring Operation: 13*85=1105, Resulting Numbers: [1105] 1105,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 82:[5, 30], Operations: ['58-53=5', '17+13=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,82 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[17, 8], Operations: ['58-53=5', '13-5=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[13, 12], Operations: ['58-53=5', '17-5=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[13, 53, 75], Operations: ['17+58=75'] Exploring Operation: 53-13=40, Resulting Numbers: [75, 40] Generated Node #0,3,0: 82:[75, 40] Operation: 53-13=40 Exploring Operation: 13+75=88, Resulting Numbers: [53, 88] Generated Node #0,3,1: 82:[53, 88] Operation: 13+75=88 Exploring Operation: 75-13=62, Resulting Numbers: [53, 62] Generated Node #0,3,2: 82:[53, 62] Operation: 75-13=62 Exploring Operation: 13+53=66, Resulting Numbers: [75, 66] Generated Node #0,3,3: 82:[75, 66] Operation: 13+53=66 Exploring Operation: 75-53=22, Resulting Numbers: [13, 22] Generated Node #0,3,4: 82:[13, 22] Operation: 75-53=22 Moving to Node #0,3,0 Current State: 82:[75, 40], Operations: ['17+58=75', '53-13=40'] Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 75*40=3000, Resulting Numbers: [3000] 3000,82 unequal: No Solution Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[53, 88], Operations: ['17+58=75', '13+75=88'] Exploring Operation: 53+88=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 53*88=4664, Resulting Numbers: [4664] 4664,82 unequal: No Solution Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[75, 66], Operations: ['17+58=75', '13+53=66'] Exploring Operation: 75+66=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 75*66=4950, Resulting Numbers: [4950] 4950,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[13, 22], Operations: ['17+58=75', '75-53=22'] Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,82 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[53, 62], Operations: ['17+58=75', '75-13=62'] Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[58, 53, 4], Operations: ['17-13=4'] Exploring Operation: 58+53=111, Resulting Numbers: [4, 111] Generated Node #0,1,0: 82:[4, 111] Operation: 58+53=111 Exploring Operation: 58+4=62, Resulting Numbers: [53, 62] Generated Node #0,1,1: 82:[53, 62] Operation: 58+4=62 Exploring Operation: 58-53=5, Resulting Numbers: [4, 5] Generated Node #0,1,2: 82:[4, 5] Operation: 58-53=5 Exploring Operation: 58-4=54, Resulting Numbers: [53, 54] Generated Node #0,1,3: 82:[53, 54] Operation: 58-4=54 Exploring Operation: 53-4=49, Resulting Numbers: [58, 49] Generated Node #0,1,4: 82:[58, 49] Operation: 53-4=49 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[4, 5], Operations: ['17-13=4', '58-53=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[53, 54], Operations: ['17-13=4', '58-4=54'] Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,82 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 82:[58, 49], Operations: ['17-13=4', '53-4=49'] Exploring Operation: 58+49=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 58*49=2842, Resulting Numbers: [2842] 2842,82 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[4, 111], Operations: ['17-13=4', '58+53=111'] Exploring Operation: 4*111=444, Resulting Numbers: [444] 444,82 unequal: No Solution Exploring Operation: 4+111=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 111-4=107, Resulting Numbers: [107] 107,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[53, 62], Operations: ['17-13=4', '58+4=62'] Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,82 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[17, 53, 45], Operations: ['58-13=45'] Exploring Operation: 53-17=36, Resulting Numbers: [45, 36] Generated Node #0,4,0: 82:[45, 36] Operation: 53-17=36 Exploring Operation: 53+45=98, Resulting Numbers: [17, 98] Generated Node #0,4,1: 82:[17, 98] Operation: 53+45=98 Exploring Operation: 17+53=70, Resulting Numbers: [45, 70] Generated Node #0,4,2: 82:[45, 70] Operation: 17+53=70 Exploring Operation: 45-17=28, Resulting Numbers: [53, 28] Generated Node #0,4,3: 82:[53, 28] Operation: 45-17=28 Exploring Operation: 53-45=8, Resulting Numbers: [17, 8] Generated Node #0,4,4: 82:[17, 8] Operation: 53-45=8 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 82:[45, 36], Operations: ['58-13=45', '53-17=36'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,82 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 82:[45, 70], Operations: ['58-13=45', '17+53=70'] Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,82 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 82:[17, 8], Operations: ['58-13=45', '53-45=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 82:[53, 28], Operations: ['58-13=45', '45-17=28'] Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 82:[17, 98], Operations: ['58-13=45', '53+45=98'] Exploring Operation: 17*98=1666, Resulting Numbers: [1666] 1666,82 unequal: No Solution Exploring Operation: 17+98=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 73, 71, 72, 62 ]
11
[ "73-62=11", "72-71=1", "11*1=11" ]
Current State: 11:[73, 71, 72, 62], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [71, 72, 11] Generated Node #2: [71, 72, 11] from Operation: 73-62=11 Current State: 11:[71, 72, 11], Operations: ['73-62=11'] Exploring Operation: 72-71=1, Resulting Numbers: [11, 1] Generated Node #3: [11, 1] from Operation: 72-71=1 Current State: 11:[11, 1], Operations: ['73-62=11', '72-71=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[73, 71, 72, 62], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [72, 62, 2] Generated Node #0,0: 11:[72, 62, 2] Operation: 73-71=2 Exploring Operation: 72-62=10, Resulting Numbers: [73, 71, 10] Generated Node #0,1: 11:[73, 71, 10] Operation: 72-62=10 Exploring Operation: 72-71=1, Resulting Numbers: [73, 62, 1] Generated Node #0,2: 11:[73, 62, 1] Operation: 72-71=1 Exploring Operation: 73-72=1, Resulting Numbers: [71, 62, 1] Generated Node #0,3: 11:[71, 62, 1] Operation: 73-72=1 Exploring Operation: 73-62=11, Resulting Numbers: [71, 72, 11] Generated Node #0,4: 11:[71, 72, 11] Operation: 73-62=11 Moving to Node #0,0 Current State: 11:[72, 62, 2], Operations: ['73-71=2'] Exploring Operation: 72-62=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 11:[2, 10] Operation: 72-62=10 Exploring Operation: 62-2=60, Resulting Numbers: [72, 60] Generated Node #0,0,1: 11:[72, 60] Operation: 62-2=60 Exploring Operation: 72/2=36, Resulting Numbers: [62, 36] Generated Node #0,0,2: 11:[62, 36] Operation: 72/2=36 Exploring Operation: 62/2=31, Resulting Numbers: [72, 31] Generated Node #0,0,3: 11:[72, 31] Operation: 62/2=31 Exploring Operation: 72-2=70, Resulting Numbers: [62, 70] Generated Node #0,0,4: 11:[62, 70] Operation: 72-2=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[2, 10], Operations: ['73-71=2', '72-62=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,11 unequal: No Solution No 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: 11:[62, 36], Operations: ['73-71=2', '72/2=36'] Exploring Operation: 62+36=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 62*36=2232, Resulting Numbers: [2232] 2232,11 unequal: No Solution No 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: 11:[72, 31], Operations: ['73-71=2', '62/2=31'] Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,11 unequal: No Solution Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,11 unequal: No Solution No 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: 11:[72, 60], Operations: ['73-71=2', '62-2=60'] Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 72+60=132, Resulting Numbers: [132] 132,11 unequal: No Solution Exploring Operation: 72*60=4320, Resulting Numbers: [4320] 4320,11 unequal: No Solution No 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: 11:[62, 70], Operations: ['73-71=2', '72-2=70'] Exploring Operation: 62*70=4340, Resulting Numbers: [4340] 4340,11 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 62+70=132, Resulting Numbers: [132] 132,11 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: 11:[71, 72, 11], Operations: ['73-62=11'] Exploring Operation: 71-11=60, Resulting Numbers: [72, 60] Generated Node #0,4,0: 11:[72, 60] Operation: 71-11=60 Exploring Operation: 72-71=1, Resulting Numbers: [11, 1] Generated Node #0,4,1: 11:[11, 1] Operation: 72-71=1 Exploring Operation: 71+72=143, Resulting Numbers: [11, 143] Generated Node #0,4,2: 11:[11, 143] Operation: 71+72=143 Exploring Operation: 71+11=82, Resulting Numbers: [72, 82] Generated Node #0,4,3: 11:[72, 82] Operation: 71+11=82 Exploring Operation: 72-11=61, Resulting Numbers: [71, 61] Generated Node #0,4,4: 11:[71, 61] Operation: 72-11=61 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[11, 1], Operations: ['73-62=11', '72-71=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[73, 71, 72, 62], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [71, 72, 11] Generated Node #0,4: 11:[71, 72, 11] Operation: 73-62=11 Moving to Node #0,4 Current State: 11:[71, 72, 11], Operations: ['73-62=11'] Exploring Operation: 72-71=1, Resulting Numbers: [11, 1] Generated Node #0,4,1: 11:[11, 1] Operation: 72-71=1 Moving to Node #0,4,1 Current State: 11:[11, 1], Operations: ['73-62=11', '72-71=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 18, 2, 21, 36 ]
78
[ "21-18=3", "36+3=39", "2*39=78" ]
Current State: 78:[18, 2, 21, 36], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [2, 36, 3] Generated Node #2: [2, 36, 3] from Operation: 21-18=3 Current State: 78:[2, 36, 3], Operations: ['21-18=3'] Exploring Operation: 36+3=39, Resulting Numbers: [2, 39] Generated Node #3: [2, 39] from Operation: 36+3=39 Current State: 78:[2, 39], Operations: ['21-18=3', '36+3=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[18, 2, 21, 36], Operations: [] Exploring Operation: 18+21=39, Resulting Numbers: [2, 36, 39] Generated Node #0,0: 78:[2, 36, 39] Operation: 18+21=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[2, 36, 39], Operations: ['18+21=39'] Exploring Operation: 39-36=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 78:[2, 3] Operation: 39-36=3 Moving to Node #0,0,0 Current State: 78:[2, 3], Operations: ['18+21=39', '39-36=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,78 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
[ 92, 48, 92, 34 ]
48
[ "92-92=0", "34*0=0", "48+0=48" ]
Current State: 48:[92, 48, 92, 34], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [48, 34, 0] Generated Node #2: [48, 34, 0] from Operation: 92-92=0 Current State: 48:[48, 34, 0], Operations: ['92-92=0'] Exploring Operation: 34*0=0, Resulting Numbers: [48, 0] Generated Node #3: [48, 0] from Operation: 34*0=0 Current State: 48:[48, 0], Operations: ['92-92=0', '34*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[92, 48, 92, 34], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [48, 34, 0] Generated Node #0,0: 48:[48, 34, 0] Operation: 92-92=0 Exploring Operation: 92-34=58, Resulting Numbers: [92, 48, 58] Generated Node #0,1: 48:[92, 48, 58] Operation: 92-34=58 Exploring Operation: 92/92=1, Resulting Numbers: [48, 34, 1] Generated Node #0,2: 48:[48, 34, 1] Operation: 92/92=1 Exploring Operation: 92-34=58, Resulting Numbers: [48, 92, 58] Generated Node #0,3: 48:[48, 92, 58] Operation: 92-34=58 Moving to Node #0,2 Current State: 48:[48, 34, 1], Operations: ['92/92=1'] Exploring Operation: 48/1=48, Resulting Numbers: [34, 48] Generated Node #0,2,0: 48:[34, 48] Operation: 48/1=48 Exploring Operation: 34-1=33, Resulting Numbers: [48, 33] Generated Node #0,2,1: 48:[48, 33] Operation: 34-1=33 Exploring Operation: 48*1=48, Resulting Numbers: [34, 48] Generated Node #0,2,2: 48:[34, 48] Operation: 48*1=48 Exploring Operation: 48-34=14, Resulting Numbers: [1, 14] Generated Node #0,2,3: 48:[1, 14] Operation: 48-34=14 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[1, 14], Operations: ['92/92=1', '48-34=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[48, 33], Operations: ['92/92=1', '34-1=33'] Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,48 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,48 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[34, 48], Operations: ['92/92=1', '48/1=48'] Exploring Operation: 34*48=1632, Resulting Numbers: [1632] 1632,48 unequal: No Solution Exploring Operation: 34+48=82, Resulting Numbers: [82] 82,48 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[34, 48], Operations: ['92/92=1', '48*1=48'] Exploring Operation: 34*48=1632, Resulting Numbers: [1632] 1632,48 unequal: No Solution Exploring Operation: 34+48=82, Resulting Numbers: [82] 82,48 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 48:[48, 34, 0], Operations: ['92-92=0'] Exploring Operation: 48-34=14, Resulting Numbers: [0, 14] Generated Node #0,0,0: 48:[0, 14] Operation: 48-34=14 Exploring Operation: 48+0=48, Resulting Numbers: [34, 48] Generated Node #0,0,1: 48:[34, 48] Operation: 48+0=48 Exploring Operation: 34*0=0, Resulting Numbers: [48, 0] Generated Node #0,0,2: 48:[48, 0] Operation: 34*0=0 Exploring Operation: 48-0=48, Resulting Numbers: [34, 48] Generated Node #0,0,3: 48:[34, 48] Operation: 48-0=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[48, 0], Operations: ['92-92=0', '34*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[92, 48, 92, 34], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [48, 34, 0] Generated Node #0,0: 48:[48, 34, 0] Operation: 92-92=0 Moving to Node #0,0 Current State: 48:[48, 34, 0], Operations: ['92-92=0'] Exploring Operation: 34*0=0, Resulting Numbers: [48, 0] Generated Node #0,0,2: 48:[48, 0] Operation: 34*0=0 Moving to Node #0,0,2 Current State: 48:[48, 0], Operations: ['92-92=0', '34*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 86, 8, 14, 31 ]
95
[ "86-8=78", "31-14=17", "78+17=95" ]
Current State: 95:[86, 8, 14, 31], Operations: [] Exploring Operation: 86-8=78, Resulting Numbers: [14, 31, 78] Generated Node #2: [14, 31, 78] from Operation: 86-8=78 Current State: 95:[14, 31, 78], Operations: ['86-8=78'] Exploring Operation: 31-14=17, Resulting Numbers: [78, 17] Generated Node #3: [78, 17] from Operation: 31-14=17 Current State: 95:[78, 17], Operations: ['86-8=78', '31-14=17'] Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[86, 8, 14, 31], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [86, 8, 17] Generated Node #0,0: 95:[86, 8, 17] Operation: 31-14=17 Moving to Node #0,0 Current State: 95:[86, 8, 17], Operations: ['31-14=17'] Exploring Operation: 86+8=94, Resulting Numbers: [17, 94] Generated Node #0,0,0: 95:[17, 94] Operation: 86+8=94 Moving to Node #0,0,0 Current State: 95:[17, 94], Operations: ['31-14=17', '86+8=94'] Exploring Operation: 17+94=111, Resulting Numbers: [111] 111,95 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 6, 51, 93, 75 ]
79
[ "93+75=168", "168/6=28", "51+28=79" ]
Current State: 79:[6, 51, 93, 75], Operations: [] Exploring Operation: 93+75=168, Resulting Numbers: [6, 51, 168] Generated Node #2: [6, 51, 168] from Operation: 93+75=168 Current State: 79:[6, 51, 168], Operations: ['93+75=168'] Exploring Operation: 168/6=28, Resulting Numbers: [51, 28] Generated Node #3: [51, 28] from Operation: 168/6=28 Current State: 79:[51, 28], Operations: ['93+75=168', '168/6=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[6, 51, 93, 75], Operations: [] Exploring Operation: 6+93=99, Resulting Numbers: [51, 75, 99] Generated Node #0,0: 79:[51, 75, 99] Operation: 6+93=99 Exploring Operation: 51-6=45, Resulting Numbers: [93, 75, 45] Generated Node #0,1: 79:[93, 75, 45] Operation: 51-6=45 Exploring Operation: 6+51=57, Resulting Numbers: [93, 75, 57] Generated Node #0,2: 79:[93, 75, 57] Operation: 6+51=57 Exploring Operation: 6+75=81, Resulting Numbers: [51, 93, 81] Generated Node #0,3: 79:[51, 93, 81] Operation: 6+75=81 Exploring Operation: 93-6=87, Resulting Numbers: [51, 75, 87] Generated Node #0,4: 79:[51, 75, 87] Operation: 93-6=87 Moving to Node #0,2 Current State: 79:[93, 75, 57], Operations: ['6+51=57'] Exploring Operation: 75-57=18, Resulting Numbers: [93, 18] Generated Node #0,2,0: 79:[93, 18] Operation: 75-57=18 Exploring Operation: 75+57=132, Resulting Numbers: [93, 132] Generated Node #0,2,1: 79:[93, 132] Operation: 75+57=132 Exploring Operation: 93-57=36, Resulting Numbers: [75, 36] Generated Node #0,2,2: 79:[75, 36] Operation: 93-57=36 Exploring Operation: 93-75=18, Resulting Numbers: [57, 18] Generated Node #0,2,3: 79:[57, 18] Operation: 93-75=18 Exploring Operation: 93+57=150, Resulting Numbers: [75, 150] Generated Node #0,2,4: 79:[75, 150] Operation: 93+57=150 Moving to Node #0,4 Current State: 79:[51, 75, 87], Operations: ['93-6=87'] Exploring Operation: 51+87=138, Resulting Numbers: [75, 138] Generated Node #0,4,0: 79:[75, 138] Operation: 51+87=138 Exploring Operation: 75-51=24, Resulting Numbers: [87, 24] Generated Node #0,4,1: 79:[87, 24] Operation: 75-51=24 Exploring Operation: 51+75=126, Resulting Numbers: [87, 126] Generated Node #0,4,2: 79:[87, 126] Operation: 51+75=126 Exploring Operation: 87-75=12, Resulting Numbers: [51, 12] Generated Node #0,4,3: 79:[51, 12] Operation: 87-75=12 Exploring Operation: 87-51=36, Resulting Numbers: [75, 36] Generated Node #0,4,4: 79:[75, 36] Operation: 87-51=36 Moving to Node #0,3 Current State: 79:[51, 93, 81], Operations: ['6+75=81'] Exploring Operation: 81-51=30, Resulting Numbers: [93, 30] Generated Node #0,3,0: 79:[93, 30] Operation: 81-51=30 Exploring Operation: 93-81=12, Resulting Numbers: [51, 12] Generated Node #0,3,1: 79:[51, 12] Operation: 93-81=12 Exploring Operation: 51+81=132, Resulting Numbers: [93, 132] Generated Node #0,3,2: 79:[93, 132] Operation: 51+81=132 Exploring Operation: 51+93=144, Resulting Numbers: [81, 144] Generated Node #0,3,3: 79:[81, 144] Operation: 51+93=144 Exploring Operation: 93-51=42, Resulting Numbers: [81, 42] Generated Node #0,3,4: 79:[81, 42] Operation: 93-51=42 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 79:[81, 42], Operations: ['6+75=81', '93-51=42'] Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,79 unequal: No Solution Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[93, 30], Operations: ['6+75=81', '81-51=30'] Exploring Operation: 93*30=2790, Resulting Numbers: [2790] 2790,79 unequal: No Solution Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[93, 132], Operations: ['6+75=81', '51+81=132'] Exploring Operation: 93*132=12276, Resulting Numbers: [12276] 12276,79 unequal: No Solution Exploring Operation: 132-93=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 93+132=225, Resulting Numbers: [225] 225,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[81, 144], Operations: ['6+75=81', '51+93=144'] Exploring Operation: 81+144=225, Resulting Numbers: [225] 225,79 unequal: No Solution Exploring Operation: 144-81=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 81*144=11664, Resulting Numbers: [11664] 11664,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[51, 12], Operations: ['6+75=81', '93-81=12'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 79:[51, 75, 99], Operations: ['6+93=99'] Exploring Operation: 51+99=150, Resulting Numbers: [75, 150] Generated Node #0,0,0: 79:[75, 150] Operation: 51+99=150 Exploring Operation: 99-51=48, Resulting Numbers: [75, 48] Generated Node #0,0,1: 79:[75, 48] Operation: 99-51=48 Exploring Operation: 51+75=126, Resulting Numbers: [99, 126] Generated Node #0,0,2: 79:[99, 126] Operation: 51+75=126 Exploring Operation: 75-51=24, Resulting Numbers: [99, 24] Generated Node #0,0,3: 79:[99, 24] Operation: 75-51=24 Exploring Operation: 99-75=24, Resulting Numbers: [51, 24] Generated Node #0,0,4: 79:[51, 24] Operation: 99-75=24 Moving to Node #0,1 Current State: 79:[93, 75, 45], Operations: ['51-6=45'] Exploring Operation: 75-45=30, Resulting Numbers: [93, 30] Generated Node #0,1,0: 79:[93, 30] Operation: 75-45=30 Exploring Operation: 93-75=18, Resulting Numbers: [45, 18] Generated Node #0,1,1: 79:[45, 18] Operation: 93-75=18 Exploring Operation: 93-45=48, Resulting Numbers: [75, 48] Generated Node #0,1,2: 79:[75, 48] Operation: 93-45=48 Exploring Operation: 93+45=138, Resulting Numbers: [75, 138] Generated Node #0,1,3: 79:[75, 138] Operation: 93+45=138 Exploring Operation: 75+45=120, Resulting Numbers: [93, 120] Generated Node #0,1,4: 79:[93, 120] Operation: 75+45=120 Moving to Node #0,0,1 Current State: 79:[75, 48], Operations: ['6+93=99', '99-51=48'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,79 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[75, 48], Operations: ['51-6=45', '93-45=48'] Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 75*48=3600, Resulting Numbers: [3600] 3600,79 unequal: No Solution Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,79 unequal: No Solution Moving to Node #0,4,4 Current State: 79:[75, 36], Operations: ['93-6=87', '87-51=36'] Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[75, 36], Operations: ['6+51=57', '93-57=36'] Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,79 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[87, 126], Operations: ['93-6=87', '51+75=126'] Exploring Operation: 87+126=213, Resulting Numbers: [213] 213,79 unequal: No Solution Exploring Operation: 87*126=10962, Resulting Numbers: [10962] 10962,79 unequal: No Solution Exploring Operation: 126-87=39, Resulting Numbers: [39] 39,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[93, 120], Operations: ['51-6=45', '75+45=120'] Exploring Operation: 93+120=213, Resulting Numbers: [213] 213,79 unequal: No Solution Exploring Operation: 120-93=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 93*120=11160, Resulting Numbers: [11160] 11160,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[75, 138], Operations: ['51-6=45', '93+45=138'] Exploring Operation: 75+138=213, Resulting Numbers: [213] 213,79 unequal: No Solution Exploring Operation: 138-75=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 75*138=10350, Resulting Numbers: [10350] 10350,79 unequal: No Solution Moving to Node #0,4,0 Current State: 79:[75, 138], Operations: ['93-6=87', '51+87=138'] Exploring Operation: 75+138=213, Resulting Numbers: [213] 213,79 unequal: No Solution Exploring Operation: 75*138=10350, Resulting Numbers: [10350] 10350,79 unequal: No Solution Exploring Operation: 138-75=63, Resulting Numbers: [63] 63,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[93, 30], Operations: ['51-6=45', '75-45=30'] Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 93*30=2790, Resulting Numbers: [2790] 2790,79 unequal: No Solution Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,79 unequal: No Solution Moving to Node #0,4,1 Current State: 79:[87, 24], Operations: ['93-6=87', '75-51=24'] Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[99, 126], Operations: ['6+93=99', '51+75=126'] Exploring Operation: 99*126=12474, Resulting Numbers: [12474] 12474,79 unequal: No Solution Exploring Operation: 126-99=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 99+126=225, Resulting Numbers: [225] 225,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[93, 132], Operations: ['6+51=57', '75+57=132'] Exploring Operation: 93+132=225, Resulting Numbers: [225] 225,79 unequal: No Solution Exploring Operation: 132-93=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 93*132=12276, Resulting Numbers: [12276] 12276,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[99, 24], Operations: ['6+93=99', '75-51=24'] Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[75, 150], Operations: ['6+93=99', '51+99=150'] Exploring Operation: 150-75=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 150/75=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 75*150=11250, Resulting Numbers: [11250] 11250,79 unequal: No Solution Exploring Operation: 75+150=225, Resulting Numbers: [225] 225,79 unequal: No Solution Moving to Node #0,2,4 Current State: 79:[75, 150], Operations: ['6+51=57', '93+57=150'] Exploring Operation: 150-75=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 150/75=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 75*150=11250, Resulting Numbers: [11250] 11250,79 unequal: No Solution Exploring Operation: 75+150=225, Resulting Numbers: [225] 225,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[93, 18], Operations: ['6+51=57', '75-57=18'] Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 93+18=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 93*18=1674, Resulting Numbers: [1674] 1674,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[57, 18], Operations: ['6+51=57', '93-75=18'] Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,79 unequal: No Solution Moving to Node #0,0,4 Current State: 79:[51, 24], Operations: ['6+93=99', '99-75=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,79 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[45, 18], Operations: ['51-6=45', '93-75=18'] Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,79 unequal: No Solution Moving to Node #0,4,3 Current State: 79:[51, 12], Operations: ['93-6=87', '87-75=12'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,79 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,79 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 5, 69, 2, 97 ]
31
[ "69-5=64", "97-2=95", "95-64=31" ]
Current State: 31:[5, 69, 2, 97], Operations: [] Exploring Operation: 69-5=64, Resulting Numbers: [2, 97, 64] Generated Node #2: [2, 97, 64] from Operation: 69-5=64 Current State: 31:[2, 97, 64], Operations: ['69-5=64'] Exploring Operation: 97-2=95, Resulting Numbers: [64, 95] Generated Node #3: [64, 95] from Operation: 97-2=95 Current State: 31:[64, 95], Operations: ['69-5=64', '97-2=95'] Exploring Operation: 95-64=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[5, 69, 2, 97], Operations: [] Exploring Operation: 69-5=64, Resulting Numbers: [2, 97, 64] Generated Node #0,0: 31:[2, 97, 64] Operation: 69-5=64 Exploring Operation: 97-69=28, Resulting Numbers: [5, 2, 28] Generated Node #0,1: 31:[5, 2, 28] Operation: 97-69=28 Exploring Operation: 5*2=10, Resulting Numbers: [69, 97, 10] Generated Node #0,2: 31:[69, 97, 10] Operation: 5*2=10 Exploring Operation: 5+2=7, Resulting Numbers: [69, 97, 7] Generated Node #0,3: 31:[69, 97, 7] Operation: 5+2=7 Moving to Node #0,1 Current State: 31:[5, 2, 28], Operations: ['97-69=28'] Exploring Operation: 2+28=30, Resulting Numbers: [5, 30] Generated Node #0,1,0: 31:[5, 30] Operation: 2+28=30 Exploring Operation: 5*2=10, Resulting Numbers: [28, 10] Generated Node #0,1,1: 31:[28, 10] Operation: 5*2=10 Exploring Operation: 5-2=3, Resulting Numbers: [28, 3] Generated Node #0,1,2: 31:[28, 3] Operation: 5-2=3 Exploring Operation: 5+2=7, Resulting Numbers: [28, 7] Generated Node #0,1,3: 31:[28, 7] Operation: 5+2=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[28, 10], Operations: ['97-69=28', '5*2=10'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,31 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,31 unequal: No Solution No 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: 31:[5, 30], Operations: ['97-69=28', '2+28=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,31 unequal: No Solution No 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: 31:[28, 7], Operations: ['97-69=28', '5+2=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,31 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,31 unequal: No Solution No 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: 31:[28, 3], Operations: ['97-69=28', '5-2=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[5, 69, 2, 97], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [5, 2, 28] Generated Node #0,1: 31:[5, 2, 28] Operation: 97-69=28 Moving to Node #0,1 Current State: 31:[5, 2, 28], Operations: ['97-69=28'] Exploring Operation: 5-2=3, Resulting Numbers: [28, 3] Generated Node #0,1,2: 31:[28, 3] Operation: 5-2=3 Moving to Node #0,1,2 Current State: 31:[28, 3], Operations: ['97-69=28', '5-2=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 14, 6, 53, 19 ]
26
[ "14-6=8", "53-19=34", "34-8=26" ]
Current State: 26:[14, 6, 53, 19], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [53, 19, 8] Generated Node #2: [53, 19, 8] from Operation: 14-6=8 Current State: 26:[53, 19, 8], Operations: ['14-6=8'] Exploring Operation: 53-19=34, Resulting Numbers: [8, 34] Generated Node #3: [8, 34] from Operation: 53-19=34 Current State: 26:[8, 34], Operations: ['14-6=8', '53-19=34'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[14, 6, 53, 19], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [6, 19, 39] Generated Node #0,0: 26:[6, 19, 39] Operation: 53-14=39 Exploring Operation: 53-19=34, Resulting Numbers: [14, 6, 34] Generated Node #0,1: 26:[14, 6, 34] Operation: 53-19=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[14, 6, 34], Operations: ['53-19=34'] Exploring Operation: 34-6=28, Resulting Numbers: [14, 28] Generated Node #0,1,0: 26:[14, 28] Operation: 34-6=28 Exploring Operation: 34-14=20, Resulting Numbers: [6, 20] Generated Node #0,1,1: 26:[6, 20] Operation: 34-14=20 Moving to Node #0,1,0 Current State: 26:[14, 28], Operations: ['53-19=34', '34-6=28'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[6, 20], Operations: ['53-19=34', '34-14=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[14, 6, 53, 19], Operations: [] Exploring Operation: 53-19=34, Resulting Numbers: [14, 6, 34] Generated Node #0,1: 26:[14, 6, 34] Operation: 53-19=34 Moving to Node #0,1 Current State: 26:[14, 6, 34], Operations: ['53-19=34'] Exploring Operation: 34-14=20, Resulting Numbers: [6, 20] Generated Node #0,1,1: 26:[6, 20] Operation: 34-14=20 Moving to Node #0,1,1 Current State: 26:[6, 20], Operations: ['53-19=34', '34-14=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 31, 49, 83, 29 ]
72
[ "49-31=18", "83-29=54", "18+54=72" ]
Current State: 72:[31, 49, 83, 29], Operations: [] Exploring Operation: 49-31=18, Resulting Numbers: [83, 29, 18] Generated Node #2: [83, 29, 18] from Operation: 49-31=18 Current State: 72:[83, 29, 18], Operations: ['49-31=18'] Exploring Operation: 83-29=54, Resulting Numbers: [18, 54] Generated Node #3: [18, 54] from Operation: 83-29=54 Current State: 72:[18, 54], Operations: ['49-31=18', '83-29=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[31, 49, 83, 29], Operations: [] Exploring Operation: 83-49=34, Resulting Numbers: [31, 29, 34] Generated Node #0,0: 72:[31, 29, 34] Operation: 83-49=34 Exploring Operation: 49-31=18, Resulting Numbers: [83, 29, 18] Generated Node #0,1: 72:[83, 29, 18] Operation: 49-31=18 Moving to Node #0,0 Current State: 72:[31, 29, 34], Operations: ['83-49=34'] Exploring Operation: 31-29=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 72:[34, 2] Operation: 31-29=2 Exploring Operation: 34-31=3, Resulting Numbers: [29, 3] Generated Node #0,0,1: 72:[29, 3] Operation: 34-31=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[34, 2], Operations: ['83-49=34', '31-29=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,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,0,1 Current State: 72:[29, 3], Operations: ['83-49=34', '34-31=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,72 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: 72:[83, 29, 18], Operations: ['49-31=18'] Exploring Operation: 29-18=11, Resulting Numbers: [83, 11] Generated Node #0,1,0: 72:[83, 11] Operation: 29-18=11 Exploring Operation: 83-18=65, Resulting Numbers: [29, 65] Generated Node #0,1,1: 72:[29, 65] Operation: 83-18=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[83, 11], Operations: ['49-31=18', '29-18=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,72 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[31, 49, 83, 29], Operations: [] Exploring Operation: 49-31=18, Resulting Numbers: [83, 29, 18] Generated Node #0,1: 72:[83, 29, 18] Operation: 49-31=18 Moving to Node #0,1 Current State: 72:[83, 29, 18], Operations: ['49-31=18'] Exploring Operation: 29-18=11, Resulting Numbers: [83, 11] Generated Node #0,1,0: 72:[83, 11] Operation: 29-18=11 Moving to Node #0,1,0 Current State: 72:[83, 11], Operations: ['49-31=18', '29-18=11'] Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 46, 2, 37, 92 ]
85
[ "46-2=44", "37+92=129", "129-44=85" ]
Current State: 85:[46, 2, 37, 92], Operations: [] Exploring Operation: 46-2=44, Resulting Numbers: [37, 92, 44] Generated Node #2: [37, 92, 44] from Operation: 46-2=44 Current State: 85:[37, 92, 44], Operations: ['46-2=44'] Exploring Operation: 37+92=129, Resulting Numbers: [44, 129] Generated Node #3: [44, 129] from Operation: 37+92=129 Current State: 85:[44, 129], Operations: ['46-2=44', '37+92=129'] Exploring Operation: 129-44=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[46, 2, 37, 92], Operations: [] Exploring Operation: 46+37=83, Resulting Numbers: [2, 92, 83] Generated Node #0,0: 85:[2, 92, 83] Operation: 46+37=83 Moving to Node #0,0 Current State: 85:[2, 92, 83], Operations: ['46+37=83'] Exploring Operation: 92-2=90, Resulting Numbers: [83, 90] Generated Node #0,0,0: 85:[83, 90] Operation: 92-2=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[83, 90], Operations: ['46+37=83', '92-2=90'] Exploring Operation: 90-83=7, Resulting Numbers: [7] 7,85 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
[ 83, 79, 4, 71 ]
85
[ "79-71=8", "8/4=2", "83+2=85" ]
Current State: 85:[83, 79, 4, 71], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [83, 4, 8] Generated Node #2: [83, 4, 8] from Operation: 79-71=8 Current State: 85:[83, 4, 8], Operations: ['79-71=8'] Exploring Operation: 8/4=2, Resulting Numbers: [83, 2] Generated Node #3: [83, 2] from Operation: 8/4=2 Current State: 85:[83, 2], Operations: ['79-71=8', '8/4=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[83, 79, 4, 71], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [83, 4, 8] Generated Node #0,0: 85:[83, 4, 8] Operation: 79-71=8 Exploring Operation: 83-71=12, Resulting Numbers: [79, 4, 12] Generated Node #0,1: 85:[79, 4, 12] Operation: 83-71=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[83, 4, 8], Operations: ['79-71=8'] Exploring Operation: 8-4=4, Resulting Numbers: [83, 4] Generated Node #0,0,0: 85:[83, 4] Operation: 8-4=4 Exploring Operation: 83+4=87, Resulting Numbers: [8, 87] Generated Node #0,0,1: 85:[8, 87] Operation: 83+4=87 Moving to Node #0,0,0 Current State: 85:[83, 4], Operations: ['79-71=8', '8-4=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[8, 87], Operations: ['79-71=8', '83+4=87'] Exploring Operation: 8+87=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[79, 4, 12], Operations: ['83-71=12'] Exploring Operation: 79+12=91, Resulting Numbers: [4, 91] Generated Node #0,1,0: 85:[4, 91] Operation: 79+12=91 Exploring Operation: 79+4=83, Resulting Numbers: [12, 83] Generated Node #0,1,1: 85:[12, 83] Operation: 79+4=83 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[4, 91], Operations: ['83-71=12', '79+12=91'] Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[12, 83], Operations: ['83-71=12', '79+4=83'] Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,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 No solution found.
0
hs_2
sum_heuristic
[ 96, 84, 3, 33 ]
28
[ "96+3=99", "84*33=2772", "2772/99=28" ]
Current State: 28:[96, 84, 3, 33], Operations: [] Exploring Operation: 96+3=99, Resulting Numbers: [84, 33, 99] Generated Node #2: [84, 33, 99] from Operation: 96+3=99 Current State: 28:[84, 33, 99], Operations: ['96+3=99'] Exploring Operation: 84*33=2772, Resulting Numbers: [99, 2772] Generated Node #3: [99, 2772] from Operation: 84*33=2772 Current State: 28:[99, 2772], Operations: ['96+3=99', '84*33=2772'] Exploring Operation: 2772/99=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[96, 84, 3, 33], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [3, 33, 12] Generated Node #0,0: 28:[3, 33, 12] Operation: 96-84=12 Exploring Operation: 96/3=32, Resulting Numbers: [84, 33, 32] Generated Node #0,1: 28:[84, 33, 32] Operation: 96/3=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[3, 33, 12], Operations: ['96-84=12'] Exploring Operation: 33-3=30, Resulting Numbers: [12, 30] Generated Node #0,0,0: 28:[12, 30] Operation: 33-3=30 Exploring Operation: 33/3=11, Resulting Numbers: [12, 11] Generated Node #0,0,1: 28:[12, 11] Operation: 33/3=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[12, 30], Operations: ['96-84=12', '33-3=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[12, 11], Operations: ['96-84=12', '33/3=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,28 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: 28:[84, 33, 32], Operations: ['96/3=32'] Exploring Operation: 84-32=52, Resulting Numbers: [33, 52] Generated Node #0,1,0: 28:[33, 52] Operation: 84-32=52 Exploring Operation: 84-33=51, Resulting Numbers: [32, 51] Generated Node #0,1,1: 28:[32, 51] Operation: 84-33=51 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[32, 51], Operations: ['96/3=32', '84-33=51'] Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[33, 52], Operations: ['96/3=32', '84-32=52'] Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,28 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
[ 51, 8, 49, 79 ]
67
[ "49+79=128", "128/8=16", "51+16=67" ]
Current State: 67:[51, 8, 49, 79], Operations: [] Exploring Operation: 49+79=128, Resulting Numbers: [51, 8, 128] Generated Node #2: [51, 8, 128] from Operation: 49+79=128 Current State: 67:[51, 8, 128], Operations: ['49+79=128'] Exploring Operation: 128/8=16, Resulting Numbers: [51, 16] Generated Node #3: [51, 16] from Operation: 128/8=16 Current State: 67:[51, 16], Operations: ['49+79=128', '128/8=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[51, 8, 49, 79], Operations: [] Exploring Operation: 79-8=71, Resulting Numbers: [51, 49, 71] Generated Node #0,0: 67:[51, 49, 71] Operation: 79-8=71 Exploring Operation: 51+8=59, Resulting Numbers: [49, 79, 59] Generated Node #0,1: 67:[49, 79, 59] Operation: 51+8=59 Exploring Operation: 8+49=57, Resulting Numbers: [51, 79, 57] Generated Node #0,2: 67:[51, 79, 57] Operation: 8+49=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[51, 49, 71], Operations: ['79-8=71'] Exploring Operation: 71-49=22, Resulting Numbers: [51, 22] Generated Node #0,0,0: 67:[51, 22] Operation: 71-49=22 Exploring Operation: 71-51=20, Resulting Numbers: [49, 20] Generated Node #0,0,1: 67:[49, 20] Operation: 71-51=20 Exploring Operation: 51+49=100, Resulting Numbers: [71, 100] Generated Node #0,0,2: 67:[71, 100] Operation: 51+49=100 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[71, 100], Operations: ['79-8=71', '51+49=100'] Exploring Operation: 71+100=171, Resulting Numbers: [171] 171,67 unequal: No Solution Exploring Operation: 71*100=7100, Resulting Numbers: [7100] 7100,67 unequal: No Solution Exploring Operation: 100-71=29, Resulting Numbers: [29] 29,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[51, 22], Operations: ['79-8=71', '71-49=22'] Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,67 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[49, 20], Operations: ['79-8=71', '71-51=20'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,67 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[49, 79, 59], Operations: ['51+8=59'] Exploring Operation: 79-59=20, Resulting Numbers: [49, 20] Generated Node #0,1,0: 67:[49, 20] Operation: 79-59=20 Exploring Operation: 79-49=30, Resulting Numbers: [59, 30] Generated Node #0,1,1: 67:[59, 30] Operation: 79-49=30 Exploring Operation: 49+59=108, Resulting Numbers: [79, 108] Generated Node #0,1,2: 67:[79, 108] Operation: 49+59=108 Moving to Node #0,1,1 Current State: 67:[59, 30], Operations: ['51+8=59', '79-49=30'] Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[79, 108], Operations: ['51+8=59', '49+59=108'] Exploring Operation: 79*108=8532, Resulting Numbers: [8532] 8532,67 unequal: No Solution Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[49, 20], Operations: ['51+8=59', '79-59=20'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,67 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[51, 79, 57], Operations: ['8+49=57'] Exploring Operation: 79-57=22, Resulting Numbers: [51, 22] Generated Node #0,2,0: 67:[51, 22] Operation: 79-57=22 Exploring Operation: 79-51=28, Resulting Numbers: [57, 28] Generated Node #0,2,1: 67:[57, 28] Operation: 79-51=28 Exploring Operation: 51+57=108, Resulting Numbers: [79, 108] Generated Node #0,2,2: 67:[79, 108] Operation: 51+57=108 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[57, 28], Operations: ['8+49=57', '79-51=28'] Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,67 unequal: No Solution Exploring Operation: 57*28=1596, Resulting Numbers: [1596] 1596,67 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[79, 108], Operations: ['8+49=57', '51+57=108'] Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,67 unequal: No Solution Exploring Operation: 79*108=8532, Resulting Numbers: [8532] 8532,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[51, 22], Operations: ['8+49=57', '79-57=22'] Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,67 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 71, 46, 96, 62 ]
65
[ "62-46=16", "96/16=6", "71-6=65" ]
Current State: 65:[71, 46, 96, 62], Operations: [] Exploring Operation: 62-46=16, Resulting Numbers: [71, 96, 16] Generated Node #2: [71, 96, 16] from Operation: 62-46=16 Current State: 65:[71, 96, 16], Operations: ['62-46=16'] Exploring Operation: 96/16=6, Resulting Numbers: [71, 6] Generated Node #3: [71, 6] from Operation: 96/16=6 Current State: 65:[71, 6], Operations: ['62-46=16', '96/16=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[71, 46, 96, 62], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [71, 62, 50] Generated Node #0,0: 65:[71, 62, 50] Operation: 96-46=50 Moving to Node #0,0 Current State: 65:[71, 62, 50], Operations: ['96-46=50'] Exploring Operation: 62-50=12, Resulting Numbers: [71, 12] Generated Node #0,0,0: 65:[71, 12] Operation: 62-50=12 Moving to Node #0,0,0 Current State: 65:[71, 12], Operations: ['96-46=50', '62-50=12'] Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,65 unequal: No Solution No solution found.
0
hs_1
sum_heuristic