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
[ 49, 61, 59, 12 ]
58
[ "61-49=12", "12/12=1", "59-1=58" ]
Current State: 58:[49, 61, 59, 12], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [59, 12, 12] Generated Node #2: [59, 12, 12] from Operation: 61-49=12 Current State: 58:[59, 12, 12], Operations: ['61-49=12'] Exploring Operation: 12/12=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 12/12=1 Current State: 58:[59, 1], Operations: ['61-49=12', '12/12=1'] Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[49, 61, 59, 12], Operations: [] Exploring Operation: 49-12=37, Resulting Numbers: [61, 59, 37] Generated Node #0,0: 58:[61, 59, 37] Operation: 49-12=37 Exploring Operation: 61-12=49, Resulting Numbers: [49, 59, 49] Generated Node #0,1: 58:[49, 59, 49] Operation: 61-12=49 Exploring Operation: 49+12=61, Resulting Numbers: [61, 59, 61] Generated Node #0,2: 58:[61, 59, 61] Operation: 49+12=61 Exploring Operation: 61-59=2, Resulting Numbers: [49, 12, 2] Generated Node #0,3: 58:[49, 12, 2] Operation: 61-59=2 Exploring Operation: 61-49=12, Resulting Numbers: [59, 12, 12] Generated Node #0,4: 58:[59, 12, 12] Operation: 61-49=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[61, 59, 61], Operations: ['49+12=61'] Exploring Operation: 61+59=120, Resulting Numbers: [61, 120] Generated Node #0,2,0: 58:[61, 120] Operation: 61+59=120 Exploring Operation: 61-59=2, Resulting Numbers: [61, 2] Generated Node #0,2,1: 58:[61, 2] Operation: 61-59=2 Exploring Operation: 61-59=2, Resulting Numbers: [61, 2] Generated Node #0,2,2: 58:[61, 2] Operation: 61-59=2 Exploring Operation: 61/61=1, Resulting Numbers: [59, 1] Generated Node #0,2,3: 58:[59, 1] Operation: 61/61=1 Exploring Operation: 61-61=0, Resulting Numbers: [59, 0] Generated Node #0,2,4: 58:[59, 0] Operation: 61-61=0 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 58:[59, 1], Operations: ['49+12=61', '61/61=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,58 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,58 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[49, 61, 59, 12], Operations: [] Exploring Operation: 49+12=61, Resulting Numbers: [61, 59, 61] Generated Node #0,2: 58:[61, 59, 61] Operation: 49+12=61 Moving to Node #0,2 Current State: 58:[61, 59, 61], Operations: ['49+12=61'] Exploring Operation: 61/61=1, Resulting Numbers: [59, 1] Generated Node #0,2,3: 58:[59, 1] Operation: 61/61=1 Moving to Node #0,2,3 Current State: 58:[59, 1], Operations: ['49+12=61', '61/61=1'] Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 12, 36, 47, 60 ]
35
[ "12+36=48", "60-47=13", "48-13=35" ]
Current State: 35:[12, 36, 47, 60], Operations: [] Exploring Operation: 12+36=48, Resulting Numbers: [47, 60, 48] Generated Node #2: [47, 60, 48] from Operation: 12+36=48 Current State: 35:[47, 60, 48], Operations: ['12+36=48'] Exploring Operation: 60-47=13, Resulting Numbers: [48, 13] Generated Node #3: [48, 13] from Operation: 60-47=13 Current State: 35:[48, 13], Operations: ['12+36=48', '60-47=13'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[12, 36, 47, 60], Operations: [] Exploring Operation: 60/12=5, Resulting Numbers: [36, 47, 5] Generated Node #0,0: 35:[36, 47, 5] Operation: 60/12=5 Exploring Operation: 60-47=13, Resulting Numbers: [12, 36, 13] Generated Node #0,1: 35:[12, 36, 13] Operation: 60-47=13 Exploring Operation: 47-12=35, Resulting Numbers: [36, 60, 35] Generated Node #0,2: 35:[36, 60, 35] Operation: 47-12=35 Exploring Operation: 60-12=48, Resulting Numbers: [36, 47, 48] Generated Node #0,3: 35:[36, 47, 48] Operation: 60-12=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[12, 36, 13], Operations: ['60-47=13'] Exploring Operation: 36/12=3, Resulting Numbers: [13, 3] Generated Node #0,1,0: 35:[13, 3] Operation: 36/12=3 Exploring Operation: 12+13=25, Resulting Numbers: [36, 25] Generated Node #0,1,1: 35:[36, 25] Operation: 12+13=25 Exploring Operation: 13-12=1, Resulting Numbers: [36, 1] Generated Node #0,1,2: 35:[36, 1] Operation: 13-12=1 Exploring Operation: 36-12=24, Resulting Numbers: [13, 24] Generated Node #0,1,3: 35:[13, 24] Operation: 36-12=24 Moving to Node #0,1,2 Current State: 35:[36, 1], Operations: ['60-47=13', '13-12=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[12, 36, 47, 60], Operations: [] Exploring Operation: 60-47=13, Resulting Numbers: [12, 36, 13] Generated Node #0,1: 35:[12, 36, 13] Operation: 60-47=13 Moving to Node #0,1 Current State: 35:[12, 36, 13], Operations: ['60-47=13'] Exploring Operation: 13-12=1, Resulting Numbers: [36, 1] Generated Node #0,1,2: 35:[36, 1] Operation: 13-12=1 Moving to Node #0,1,2 Current State: 35:[36, 1], Operations: ['60-47=13', '13-12=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 23, 20, 57, 84 ]
24
[ "23-20=3", "84-57=27", "27-3=24" ]
Current State: 24:[23, 20, 57, 84], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [57, 84, 3] Generated Node #2: [57, 84, 3] from Operation: 23-20=3 Current State: 24:[57, 84, 3], Operations: ['23-20=3'] Exploring Operation: 84-57=27, Resulting Numbers: [3, 27] Generated Node #3: [3, 27] from Operation: 84-57=27 Current State: 24:[3, 27], Operations: ['23-20=3', '84-57=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[23, 20, 57, 84], Operations: [] Exploring Operation: 57-23=34, Resulting Numbers: [20, 84, 34] Generated Node #0,0: 24:[20, 84, 34] Operation: 57-23=34 Exploring Operation: 84-20=64, Resulting Numbers: [23, 57, 64] Generated Node #0,1: 24:[23, 57, 64] Operation: 84-20=64 Exploring Operation: 84-23=61, Resulting Numbers: [20, 57, 61] Generated Node #0,2: 24:[20, 57, 61] Operation: 84-23=61 Exploring Operation: 84-57=27, Resulting Numbers: [23, 20, 27] Generated Node #0,3: 24:[23, 20, 27] Operation: 84-57=27 Exploring Operation: 57-20=37, Resulting Numbers: [23, 84, 37] Generated Node #0,4: 24:[23, 84, 37] Operation: 57-20=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[23, 20, 27], Operations: ['84-57=27'] Exploring Operation: 27-23=4, Resulting Numbers: [20, 4] Generated Node #0,3,0: 24:[20, 4] Operation: 27-23=4 Exploring Operation: 20+27=47, Resulting Numbers: [23, 47] Generated Node #0,3,1: 24:[23, 47] Operation: 20+27=47 Exploring Operation: 23+20=43, Resulting Numbers: [27, 43] Generated Node #0,3,2: 24:[27, 43] Operation: 23+20=43 Exploring Operation: 27-20=7, Resulting Numbers: [23, 7] Generated Node #0,3,3: 24:[23, 7] Operation: 27-20=7 Exploring Operation: 23-20=3, Resulting Numbers: [27, 3] Generated Node #0,3,4: 24:[27, 3] Operation: 23-20=3 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 24:[23, 7], Operations: ['84-57=27', '27-20=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,24 unequal: No Solution No 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: 24:[27, 3], Operations: ['84-57=27', '23-20=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[23, 20, 57, 84], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [23, 20, 27] Generated Node #0,3: 24:[23, 20, 27] Operation: 84-57=27 Moving to Node #0,3 Current State: 24:[23, 20, 27], Operations: ['84-57=27'] Exploring Operation: 23-20=3, Resulting Numbers: [27, 3] Generated Node #0,3,4: 24:[27, 3] Operation: 23-20=3 Moving to Node #0,3,4 Current State: 24:[27, 3], Operations: ['84-57=27', '23-20=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 87, 2, 22, 64 ]
97
[ "87-22=65", "64/2=32", "65+32=97" ]
Current State: 97:[87, 2, 22, 64], Operations: [] Exploring Operation: 87-22=65, Resulting Numbers: [2, 64, 65] Generated Node #2: [2, 64, 65] from Operation: 87-22=65 Current State: 97:[2, 64, 65], Operations: ['87-22=65'] Exploring Operation: 64/2=32, Resulting Numbers: [65, 32] Generated Node #3: [65, 32] from Operation: 64/2=32 Current State: 97:[65, 32], Operations: ['87-22=65', '64/2=32'] Exploring Operation: 65+32=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[87, 2, 22, 64], Operations: [] Exploring Operation: 2*22=44, Resulting Numbers: [87, 64, 44] Generated Node #0,0: 97:[87, 64, 44] Operation: 2*22=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[87, 64, 44], Operations: ['2*22=44'] Exploring Operation: 64+44=108, Resulting Numbers: [87, 108] Generated Node #0,0,0: 97:[87, 108] Operation: 64+44=108 Moving to Node #0,0,0 Current State: 97:[87, 108], Operations: ['2*22=44', '64+44=108'] Exploring Operation: 108-87=21, Resulting Numbers: [21] 21,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 82, 82, 24 ]
43
[ "66-24=42", "82/82=1", "42+1=43" ]
Current State: 43:[66, 82, 82, 24], Operations: [] Exploring Operation: 66-24=42, Resulting Numbers: [82, 82, 42] Generated Node #2: [82, 82, 42] from Operation: 66-24=42 Current State: 43:[82, 82, 42], Operations: ['66-24=42'] Exploring Operation: 82/82=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 82/82=1 Current State: 43:[42, 1], Operations: ['66-24=42', '82/82=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[66, 82, 82, 24], Operations: [] Exploring Operation: 82-24=58, Resulting Numbers: [66, 82, 58] Generated Node #0,0: 43:[66, 82, 58] Operation: 82-24=58 Exploring Operation: 82-24=58, Resulting Numbers: [66, 82, 58] Generated Node #0,1: 43:[66, 82, 58] Operation: 82-24=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[66, 82, 58], Operations: ['82-24=58'] Exploring Operation: 82-66=16, Resulting Numbers: [58, 16] Generated Node #0,0,0: 43:[58, 16] Operation: 82-66=16 Exploring Operation: 82-58=24, Resulting Numbers: [66, 24] Generated Node #0,0,1: 43:[66, 24] Operation: 82-58=24 Moving to Node #0,0,0 Current State: 43:[58, 16], Operations: ['82-24=58', '82-66=16'] Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,43 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[66, 24], Operations: ['82-24=58', '82-58=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,43 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[66, 82, 58], Operations: ['82-24=58'] Exploring Operation: 82-66=16, Resulting Numbers: [58, 16] Generated Node #0,1,0: 43:[58, 16] Operation: 82-66=16 Exploring Operation: 82-58=24, Resulting Numbers: [66, 24] Generated Node #0,1,1: 43:[66, 24] Operation: 82-58=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[58, 16], Operations: ['82-24=58', '82-66=16'] Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,43 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[66, 24], Operations: ['82-24=58', '82-58=24'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 69, 94, 8, 19 ]
14
[ "94-69=25", "19-8=11", "25-11=14" ]
Current State: 14:[69, 94, 8, 19], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [8, 19, 25] Generated Node #2: [8, 19, 25] from Operation: 94-69=25 Current State: 14:[8, 19, 25], Operations: ['94-69=25'] Exploring Operation: 19-8=11, Resulting Numbers: [25, 11] Generated Node #3: [25, 11] from Operation: 19-8=11 Current State: 14:[25, 11], Operations: ['94-69=25', '19-8=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[69, 94, 8, 19], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [69, 19, 86] Generated Node #0,0: 14:[69, 19, 86] Operation: 94-8=86 Exploring Operation: 94-69=25, Resulting Numbers: [8, 19, 25] Generated Node #0,1: 14:[8, 19, 25] Operation: 94-69=25 Exploring Operation: 69-19=50, Resulting Numbers: [94, 8, 50] Generated Node #0,2: 14:[94, 8, 50] Operation: 69-19=50 Exploring Operation: 69-8=61, Resulting Numbers: [94, 19, 61] Generated Node #0,3: 14:[94, 19, 61] Operation: 69-8=61 Exploring Operation: 94-19=75, Resulting Numbers: [69, 8, 75] Generated Node #0,4: 14:[69, 8, 75] Operation: 94-19=75 Moving to Node #0,1 Current State: 14:[8, 19, 25], Operations: ['94-69=25'] Exploring Operation: 8+19=27, Resulting Numbers: [25, 27] Generated Node #0,1,0: 14:[25, 27] Operation: 8+19=27 Exploring Operation: 25-8=17, Resulting Numbers: [19, 17] Generated Node #0,1,1: 14:[19, 17] Operation: 25-8=17 Exploring Operation: 19-8=11, Resulting Numbers: [25, 11] Generated Node #0,1,2: 14:[25, 11] Operation: 19-8=11 Exploring Operation: 8+25=33, Resulting Numbers: [19, 33] Generated Node #0,1,3: 14:[19, 33] Operation: 8+25=33 Exploring Operation: 25-19=6, Resulting Numbers: [8, 6] Generated Node #0,1,4: 14:[8, 6] Operation: 25-19=6 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 14:[8, 6], Operations: ['94-69=25', '25-19=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[69, 94, 8, 19], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [8, 19, 25] Generated Node #0,1: 14:[8, 19, 25] Operation: 94-69=25 Moving to Node #0,1 Current State: 14:[8, 19, 25], Operations: ['94-69=25'] Exploring Operation: 25-19=6, Resulting Numbers: [8, 6] Generated Node #0,1,4: 14:[8, 6] Operation: 25-19=6 Moving to Node #0,1,4 Current State: 14:[8, 6], Operations: ['94-69=25', '25-19=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 3, 1, 44, 20 ]
27
[ "3*1=3", "44-20=24", "3+24=27" ]
Current State: 27:[3, 1, 44, 20], Operations: [] Exploring Operation: 3*1=3, Resulting Numbers: [44, 20, 3] Generated Node #2: [44, 20, 3] from Operation: 3*1=3 Current State: 27:[44, 20, 3], Operations: ['3*1=3'] Exploring Operation: 44-20=24, Resulting Numbers: [3, 24] Generated Node #3: [3, 24] from Operation: 44-20=24 Current State: 27:[3, 24], Operations: ['3*1=3', '44-20=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[3, 1, 44, 20], Operations: [] Exploring Operation: 44-1=43, Resulting Numbers: [3, 20, 43] Generated Node #0,0: 27:[3, 20, 43] Operation: 44-1=43 Exploring Operation: 44-20=24, Resulting Numbers: [3, 1, 24] Generated Node #0,1: 27:[3, 1, 24] Operation: 44-20=24 Exploring Operation: 3+20=23, Resulting Numbers: [1, 44, 23] Generated Node #0,2: 27:[1, 44, 23] Operation: 3+20=23 Exploring Operation: 1+20=21, Resulting Numbers: [3, 44, 21] Generated Node #0,3: 27:[3, 44, 21] Operation: 1+20=21 Exploring Operation: 44-3=41, Resulting Numbers: [1, 20, 41] Generated Node #0,4: 27:[1, 20, 41] Operation: 44-3=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[3, 1, 24], Operations: ['44-20=24'] Exploring Operation: 24/3=8, Resulting Numbers: [1, 8] Generated Node #0,1,0: 27:[1, 8] Operation: 24/3=8 Exploring Operation: 1+24=25, Resulting Numbers: [3, 25] Generated Node #0,1,1: 27:[3, 25] Operation: 1+24=25 Exploring Operation: 3+24=27, Resulting Numbers: [1, 27] Generated Node #0,1,2: 27:[1, 27] Operation: 3+24=27 Exploring Operation: 3/1=3, Resulting Numbers: [24, 3] Generated Node #0,1,3: 27:[24, 3] Operation: 3/1=3 Exploring Operation: 3*1=3, Resulting Numbers: [24, 3] Generated Node #0,1,4: 27:[24, 3] Operation: 3*1=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[3, 25], Operations: ['44-20=24', '1+24=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,27 unequal: No Solution No 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: 27:[1, 27], Operations: ['44-20=24', '3+24=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[3, 1, 44, 20], Operations: [] Exploring Operation: 44-20=24, Resulting Numbers: [3, 1, 24] Generated Node #0,1: 27:[3, 1, 24] Operation: 44-20=24 Moving to Node #0,1 Current State: 27:[3, 1, 24], Operations: ['44-20=24'] Exploring Operation: 3+24=27, Resulting Numbers: [1, 27] Generated Node #0,1,2: 27:[1, 27] Operation: 3+24=27 Moving to Node #0,1,2 Current State: 27:[1, 27], Operations: ['44-20=24', '3+24=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 30, 67, 97, 20 ]
45
[ "97-67=30", "30*30=900", "900/20=45" ]
Current State: 45:[30, 67, 97, 20], Operations: [] Exploring Operation: 97-67=30, Resulting Numbers: [30, 20, 30] Generated Node #2: [30, 20, 30] from Operation: 97-67=30 Current State: 45:[30, 20, 30], Operations: ['97-67=30'] Exploring Operation: 30*30=900, Resulting Numbers: [20, 900] Generated Node #3: [20, 900] from Operation: 30*30=900 Current State: 45:[20, 900], Operations: ['97-67=30', '30*30=900'] Exploring Operation: 900/20=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[30, 67, 97, 20], Operations: [] Exploring Operation: 67-20=47, Resulting Numbers: [30, 97, 47] Generated Node #0,0: 45:[30, 97, 47] Operation: 67-20=47 Exploring Operation: 97-67=30, Resulting Numbers: [30, 20, 30] Generated Node #0,1: 45:[30, 20, 30] Operation: 97-67=30 Exploring Operation: 97-30=67, Resulting Numbers: [67, 20, 67] Generated Node #0,2: 45:[67, 20, 67] Operation: 97-30=67 Exploring Operation: 67-30=37, Resulting Numbers: [97, 20, 37] Generated Node #0,3: 45:[97, 20, 37] Operation: 67-30=37 Moving to Node #0,1 Current State: 45:[30, 20, 30], Operations: ['97-67=30'] Exploring Operation: 30-30=0, Resulting Numbers: [20, 0] Generated Node #0,1,0: 45:[20, 0] Operation: 30-30=0 Exploring Operation: 30-20=10, Resulting Numbers: [30, 10] Generated Node #0,1,1: 45:[30, 10] Operation: 30-20=10 Exploring Operation: 30/30=1, Resulting Numbers: [20, 1] Generated Node #0,1,2: 45:[20, 1] Operation: 30/30=1 Exploring Operation: 30-20=10, Resulting Numbers: [30, 10] Generated Node #0,1,3: 45:[30, 10] Operation: 30-20=10 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[20, 1], Operations: ['97-67=30', '30/30=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[20, 0], Operations: ['97-67=30', '30-30=0'] Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[30, 10], Operations: ['97-67=30', '30-20=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,45 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[30, 10], Operations: ['97-67=30', '30-20=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,45 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: 45:[67, 20, 67], Operations: ['97-30=67'] Exploring Operation: 67-20=47, Resulting Numbers: [67, 47] Generated Node #0,2,0: 45:[67, 47] Operation: 67-20=47 Exploring Operation: 67/67=1, Resulting Numbers: [20, 1] Generated Node #0,2,1: 45:[20, 1] Operation: 67/67=1 Exploring Operation: 67-67=0, Resulting Numbers: [20, 0] Generated Node #0,2,2: 45:[20, 0] Operation: 67-67=0 Exploring Operation: 67-20=47, Resulting Numbers: [67, 47] Generated Node #0,2,3: 45:[67, 47] Operation: 67-20=47 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[20, 1], Operations: ['97-30=67', '67/67=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,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,2 Current State: 45:[20, 0], Operations: ['97-30=67', '67-67=0'] Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,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,0 Current State: 45:[67, 47], Operations: ['97-30=67', '67-20=47'] Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 67+47=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 67*47=3149, Resulting Numbers: [3149] 3149,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,3 Current State: 45:[67, 47], Operations: ['97-30=67', '67-20=47'] Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 67+47=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 67*47=3149, Resulting Numbers: [3149] 3149,45 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: 45:[97, 20, 37], Operations: ['67-30=37'] Exploring Operation: 97-37=60, Resulting Numbers: [20, 60] Generated Node #0,3,0: 45:[20, 60] Operation: 97-37=60 Exploring Operation: 20+37=57, Resulting Numbers: [97, 57] Generated Node #0,3,1: 45:[97, 57] Operation: 20+37=57 Exploring Operation: 37-20=17, Resulting Numbers: [97, 17] Generated Node #0,3,2: 45:[97, 17] Operation: 37-20=17 Exploring Operation: 97-20=77, Resulting Numbers: [37, 77] Generated Node #0,3,3: 45:[37, 77] Operation: 97-20=77 Moving to Node #0,0 Current State: 45:[30, 97, 47], Operations: ['67-20=47'] Exploring Operation: 97-30=67, Resulting Numbers: [47, 67] Generated Node #0,0,0: 45:[47, 67] Operation: 97-30=67 Exploring Operation: 47-30=17, Resulting Numbers: [97, 17] Generated Node #0,0,1: 45:[97, 17] Operation: 47-30=17 Exploring Operation: 30+97=127, Resulting Numbers: [47, 127] Generated Node #0,0,2: 45:[47, 127] Operation: 30+97=127 Exploring Operation: 97-47=50, Resulting Numbers: [30, 50] Generated Node #0,0,3: 45:[30, 50] Operation: 97-47=50 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[30, 50], Operations: ['67-20=47', '97-47=50'] Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,45 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[47, 67], Operations: ['67-20=47', '97-30=67'] Exploring Operation: 47*67=3149, Resulting Numbers: [3149] 3149,45 unequal: No Solution Exploring Operation: 47+67=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[97, 17], Operations: ['67-20=47', '47-30=17'] Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,45 unequal: No Solution Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[47, 127], Operations: ['67-20=47', '30+97=127'] Exploring Operation: 127-47=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 47*127=5969, Resulting Numbers: [5969] 5969,45 unequal: No Solution Exploring Operation: 47+127=174, Resulting Numbers: [174] 174,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 45:[20, 60], Operations: ['67-30=37', '97-37=60'] Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,45 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[37, 77], Operations: ['67-30=37', '97-20=77'] Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[97, 17], Operations: ['67-30=37', '37-20=17'] Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,45 unequal: No Solution Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[97, 57], Operations: ['67-30=37', '20+37=57'] Exploring Operation: 97+57=154, Resulting Numbers: [154] 154,45 unequal: No Solution Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 97*57=5529, Resulting Numbers: [5529] 5529,45 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 97, 38, 72, 29 ]
77
[ "97*29=2813", "38*72=2736", "2813-2736=77" ]
Current State: 77:[97, 38, 72, 29], Operations: [] Exploring Operation: 97*29=2813, Resulting Numbers: [38, 72, 2813] Generated Node #2: [38, 72, 2813] from Operation: 97*29=2813 Current State: 77:[38, 72, 2813], Operations: ['97*29=2813'] Exploring Operation: 38*72=2736, Resulting Numbers: [2813, 2736] Generated Node #3: [2813, 2736] from Operation: 38*72=2736 Current State: 77:[2813, 2736], Operations: ['97*29=2813', '38*72=2736'] Exploring Operation: 2813-2736=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[97, 38, 72, 29], Operations: [] Exploring Operation: 38+29=67, Resulting Numbers: [97, 72, 67] Generated Node #0,0: 77:[97, 72, 67] Operation: 38+29=67 Exploring Operation: 38-29=9, Resulting Numbers: [97, 72, 9] Generated Node #0,1: 77:[97, 72, 9] Operation: 38-29=9 Moving to Node #0,1 Current State: 77:[97, 72, 9], Operations: ['38-29=9'] Exploring Operation: 97-72=25, Resulting Numbers: [9, 25] Generated Node #0,1,0: 77:[9, 25] Operation: 97-72=25 Exploring Operation: 97-9=88, Resulting Numbers: [72, 88] Generated Node #0,1,1: 77:[72, 88] Operation: 97-9=88 Moving to Node #0,0 Current State: 77:[97, 72, 67], Operations: ['38+29=67'] Exploring Operation: 72-67=5, Resulting Numbers: [97, 5] Generated Node #0,0,0: 77:[97, 5] Operation: 72-67=5 Exploring Operation: 97-72=25, Resulting Numbers: [67, 25] Generated Node #0,0,1: 77:[67, 25] Operation: 97-72=25 Moving to Node #0,1,0 Current State: 77:[9, 25], Operations: ['38-29=9', '97-72=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[72, 88], Operations: ['38-29=9', '97-9=88'] Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 72+88=160, Resulting Numbers: [160] 160,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[97, 5], Operations: ['38+29=67', '72-67=5'] Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,77 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[67, 25], Operations: ['38+29=67', '97-72=25'] Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 67+25=92, Resulting Numbers: [92] 92,77 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 16, 75, 33 ]
59
[ "34-33=1", "75-16=59", "1*59=59" ]
Current State: 59:[34, 16, 75, 33], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [16, 75, 1] Generated Node #2: [16, 75, 1] from Operation: 34-33=1 Current State: 59:[16, 75, 1], Operations: ['34-33=1'] Exploring Operation: 75-16=59, Resulting Numbers: [1, 59] Generated Node #3: [1, 59] from Operation: 75-16=59 Current State: 59:[1, 59], Operations: ['34-33=1', '75-16=59'] Exploring Operation: 1*59=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[34, 16, 75, 33], Operations: [] Exploring Operation: 34+33=67, Resulting Numbers: [16, 75, 67] Generated Node #0,0: 59:[16, 75, 67] Operation: 34+33=67 Exploring Operation: 34-16=18, Resulting Numbers: [75, 33, 18] Generated Node #0,1: 59:[75, 33, 18] Operation: 34-16=18 Exploring Operation: 16+33=49, Resulting Numbers: [34, 75, 49] Generated Node #0,2: 59:[34, 75, 49] Operation: 16+33=49 Exploring Operation: 34+16=50, Resulting Numbers: [75, 33, 50] Generated Node #0,3: 59:[75, 33, 50] Operation: 34+16=50 Exploring Operation: 75-16=59, Resulting Numbers: [34, 33, 59] Generated Node #0,4: 59:[34, 33, 59] Operation: 75-16=59 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[34, 75, 49], Operations: ['16+33=49'] Exploring Operation: 34+49=83, Resulting Numbers: [75, 83] Generated Node #0,2,0: 59:[75, 83] Operation: 34+49=83 Exploring Operation: 49-34=15, Resulting Numbers: [75, 15] Generated Node #0,2,1: 59:[75, 15] Operation: 49-34=15 Exploring Operation: 75-49=26, Resulting Numbers: [34, 26] Generated Node #0,2,2: 59:[34, 26] Operation: 75-49=26 Exploring Operation: 75-34=41, Resulting Numbers: [49, 41] Generated Node #0,2,3: 59:[49, 41] Operation: 75-34=41 Exploring Operation: 34+75=109, Resulting Numbers: [49, 109] Generated Node #0,2,4: 59:[49, 109] Operation: 34+75=109 Moving to Node #0,2,3 Current State: 59:[49, 41], Operations: ['16+33=49', '75-34=41'] Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,59 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[75, 83], Operations: ['16+33=49', '34+49=83'] Exploring Operation: 75*83=6225, Resulting Numbers: [6225] 6225,59 unequal: No Solution Exploring Operation: 75+83=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[34, 26], Operations: ['16+33=49', '75-49=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,59 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[75, 15], Operations: ['16+33=49', '49-34=15'] Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,59 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[49, 109], Operations: ['16+33=49', '34+75=109'] Exploring Operation: 49+109=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 49*109=5341, Resulting Numbers: [5341] 5341,59 unequal: No Solution Exploring Operation: 109-49=60, Resulting Numbers: [60] 60,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[75, 33, 50], Operations: ['34+16=50'] Exploring Operation: 75-50=25, Resulting Numbers: [33, 25] Generated Node #0,3,0: 59:[33, 25] Operation: 75-50=25 Exploring Operation: 75-33=42, Resulting Numbers: [50, 42] Generated Node #0,3,1: 59:[50, 42] Operation: 75-33=42 Exploring Operation: 33+50=83, Resulting Numbers: [75, 83] Generated Node #0,3,2: 59:[75, 83] Operation: 33+50=83 Exploring Operation: 50-33=17, Resulting Numbers: [75, 17] Generated Node #0,3,3: 59:[75, 17] Operation: 50-33=17 Exploring Operation: 75+33=108, Resulting Numbers: [50, 108] Generated Node #0,3,4: 59:[50, 108] Operation: 75+33=108 Moving to Node #0,3,1 Current State: 59:[50, 42], Operations: ['34+16=50', '75-33=42'] Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 50*42=2100, Resulting Numbers: [2100] 2100,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[75, 83], Operations: ['34+16=50', '33+50=83'] Exploring Operation: 75+83=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 75*83=6225, Resulting Numbers: [6225] 6225,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[75, 17], Operations: ['34+16=50', '50-33=17'] Exploring Operation: 75*17=1275, Resulting Numbers: [1275] 1275,59 unequal: No Solution Exploring Operation: 75+17=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[50, 108], Operations: ['34+16=50', '75+33=108'] Exploring Operation: 50+108=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 50*108=5400, Resulting Numbers: [5400] 5400,59 unequal: No Solution Exploring Operation: 108-50=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[33, 25], Operations: ['34+16=50', '75-50=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,59 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 59:[34, 33, 59], Operations: ['75-16=59'] Exploring Operation: 34+33=67, Resulting Numbers: [59, 67] Generated Node #0,4,0: 59:[59, 67] Operation: 34+33=67 Exploring Operation: 34+59=93, Resulting Numbers: [33, 93] Generated Node #0,4,1: 59:[33, 93] Operation: 34+59=93 Exploring Operation: 59-33=26, Resulting Numbers: [34, 26] Generated Node #0,4,2: 59:[34, 26] Operation: 59-33=26 Exploring Operation: 33+59=92, Resulting Numbers: [34, 92] Generated Node #0,4,3: 59:[34, 92] Operation: 33+59=92 Exploring Operation: 34-33=1, Resulting Numbers: [59, 1] Generated Node #0,4,4: 59:[59, 1] Operation: 34-33=1 Moving to Node #0,4,0 Current State: 59:[59, 67], Operations: ['75-16=59', '34+33=67'] Exploring Operation: 59*67=3953, Resulting Numbers: [3953] 3953,59 unequal: No Solution Exploring Operation: 59+67=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[34, 92], Operations: ['75-16=59', '33+59=92'] Exploring Operation: 34+92=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 34*92=3128, Resulting Numbers: [3128] 3128,59 unequal: No Solution Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[34, 26], Operations: ['75-16=59', '59-33=26'] Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[59, 1], Operations: ['75-16=59', '34-33=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[34, 16, 75, 33], Operations: [] Exploring Operation: 75-16=59, Resulting Numbers: [34, 33, 59] Generated Node #0,4: 59:[34, 33, 59] Operation: 75-16=59 Moving to Node #0,4 Current State: 59:[34, 33, 59], Operations: ['75-16=59'] Exploring Operation: 34-33=1, Resulting Numbers: [59, 1] Generated Node #0,4,4: 59:[59, 1] Operation: 34-33=1 Moving to Node #0,4,4 Current State: 59:[59, 1], Operations: ['75-16=59', '34-33=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_5
mult_heuristic
[ 68, 15, 49, 61 ]
95
[ "68+15=83", "61-49=12", "83+12=95" ]
Current State: 95:[68, 15, 49, 61], Operations: [] Exploring Operation: 68+15=83, Resulting Numbers: [49, 61, 83] Generated Node #2: [49, 61, 83] from Operation: 68+15=83 Current State: 95:[49, 61, 83], Operations: ['68+15=83'] Exploring Operation: 61-49=12, Resulting Numbers: [83, 12] Generated Node #3: [83, 12] from Operation: 61-49=12 Current State: 95:[83, 12], Operations: ['68+15=83', '61-49=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[68, 15, 49, 61], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [15, 61, 19] Generated Node #0,0: 95:[15, 61, 19] Operation: 68-49=19 Exploring Operation: 68-61=7, Resulting Numbers: [15, 49, 7] Generated Node #0,1: 95:[15, 49, 7] Operation: 68-61=7 Exploring Operation: 61-49=12, Resulting Numbers: [68, 15, 12] Generated Node #0,2: 95:[68, 15, 12] Operation: 61-49=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[15, 49, 7], Operations: ['68-61=7'] Exploring Operation: 49/7=7, Resulting Numbers: [15, 7] Generated Node #0,1,0: 95:[15, 7] Operation: 49/7=7 Exploring Operation: 49-7=42, Resulting Numbers: [15, 42] Generated Node #0,1,1: 95:[15, 42] Operation: 49-7=42 Exploring Operation: 49-15=34, Resulting Numbers: [7, 34] Generated Node #0,1,2: 95:[7, 34] Operation: 49-15=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[15, 7], Operations: ['68-61=7', '49/7=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[7, 34], Operations: ['68-61=7', '49-15=34'] Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,95 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[15, 42], Operations: ['68-61=7', '49-7=42'] Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,95 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[15, 61, 19], Operations: ['68-49=19'] Exploring Operation: 15+61=76, Resulting Numbers: [19, 76] Generated Node #0,0,0: 95:[19, 76] Operation: 15+61=76 Exploring Operation: 61-15=46, Resulting Numbers: [19, 46] Generated Node #0,0,1: 95:[19, 46] Operation: 61-15=46 Exploring Operation: 61+19=80, Resulting Numbers: [15, 80] Generated Node #0,0,2: 95:[15, 80] Operation: 61+19=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[19, 76], Operations: ['68-49=19', '15+61=76'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[68, 15, 49, 61], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [15, 61, 19] Generated Node #0,0: 95:[15, 61, 19] Operation: 68-49=19 Moving to Node #0,0 Current State: 95:[15, 61, 19], Operations: ['68-49=19'] Exploring Operation: 15+61=76, Resulting Numbers: [19, 76] Generated Node #0,0,0: 95:[19, 76] Operation: 15+61=76 Moving to Node #0,0,0 Current State: 95:[19, 76], Operations: ['68-49=19', '15+61=76'] Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 85, 62, 34, 19 ]
94
[ "85+62=147", "34+19=53", "147-53=94" ]
Current State: 94:[85, 62, 34, 19], Operations: [] Exploring Operation: 85+62=147, Resulting Numbers: [34, 19, 147] Generated Node #2: [34, 19, 147] from Operation: 85+62=147 Current State: 94:[34, 19, 147], Operations: ['85+62=147'] Exploring Operation: 34+19=53, Resulting Numbers: [147, 53] Generated Node #3: [147, 53] from Operation: 34+19=53 Current State: 94:[147, 53], Operations: ['85+62=147', '34+19=53'] Exploring Operation: 147-53=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[85, 62, 34, 19], Operations: [] Exploring Operation: 34+19=53, Resulting Numbers: [85, 62, 53] Generated Node #0,0: 94:[85, 62, 53] Operation: 34+19=53 Exploring Operation: 62+34=96, Resulting Numbers: [85, 19, 96] Generated Node #0,1: 94:[85, 19, 96] Operation: 62+34=96 Exploring Operation: 62-19=43, Resulting Numbers: [85, 34, 43] Generated Node #0,2: 94:[85, 34, 43] Operation: 62-19=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[85, 34, 43], Operations: ['62-19=43'] Exploring Operation: 43-34=9, Resulting Numbers: [85, 9] Generated Node #0,2,0: 94:[85, 9] Operation: 43-34=9 Exploring Operation: 85-43=42, Resulting Numbers: [34, 42] Generated Node #0,2,1: 94:[34, 42] Operation: 85-43=42 Exploring Operation: 85-34=51, Resulting Numbers: [43, 51] Generated Node #0,2,2: 94:[43, 51] Operation: 85-34=51 Moving to Node #0,2,2 Current State: 94:[43, 51], Operations: ['62-19=43', '85-34=51'] Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[85, 62, 34, 19], Operations: [] Exploring Operation: 62-19=43, Resulting Numbers: [85, 34, 43] Generated Node #0,2: 94:[85, 34, 43] Operation: 62-19=43 Moving to Node #0,2 Current State: 94:[85, 34, 43], Operations: ['62-19=43'] Exploring Operation: 85-34=51, Resulting Numbers: [43, 51] Generated Node #0,2,2: 94:[43, 51] Operation: 85-34=51 Moving to Node #0,2,2 Current State: 94:[43, 51], Operations: ['62-19=43', '85-34=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 58, 87, 80, 16 ]
54
[ "87-80=7", "16*7=112", "112-58=54" ]
Current State: 54:[58, 87, 80, 16], Operations: [] Exploring Operation: 87-80=7, Resulting Numbers: [58, 16, 7] Generated Node #2: [58, 16, 7] from Operation: 87-80=7 Current State: 54:[58, 16, 7], Operations: ['87-80=7'] Exploring Operation: 16*7=112, Resulting Numbers: [58, 112] Generated Node #3: [58, 112] from Operation: 16*7=112 Current State: 54:[58, 112], Operations: ['87-80=7', '16*7=112'] Exploring Operation: 112-58=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[58, 87, 80, 16], Operations: [] Exploring Operation: 87-58=29, Resulting Numbers: [80, 16, 29] Generated Node #0,0: 54:[80, 16, 29] Operation: 87-58=29 Exploring Operation: 80/16=5, Resulting Numbers: [58, 87, 5] Generated Node #0,1: 54:[58, 87, 5] Operation: 80/16=5 Exploring Operation: 87-80=7, Resulting Numbers: [58, 16, 7] Generated Node #0,2: 54:[58, 16, 7] Operation: 87-80=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[58, 16, 7], Operations: ['87-80=7'] Exploring Operation: 16+7=23, Resulting Numbers: [58, 23] Generated Node #0,2,0: 54:[58, 23] Operation: 16+7=23 Exploring Operation: 58-7=51, Resulting Numbers: [16, 51] Generated Node #0,2,1: 54:[16, 51] Operation: 58-7=51 Exploring Operation: 16-7=9, Resulting Numbers: [58, 9] Generated Node #0,2,2: 54:[58, 9] Operation: 16-7=9 Moving to Node #0,2,2 Current State: 54:[58, 9], Operations: ['87-80=7', '16-7=9'] Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,54 unequal: No Solution Exploring Operation: 58*9=522, Resulting Numbers: [522] 522,54 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[16, 51], Operations: ['87-80=7', '58-7=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,54 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[58, 23], Operations: ['87-80=7', '16+7=23'] Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,54 unequal: No Solution Exploring Operation: 58*23=1334, Resulting Numbers: [1334] 1334,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[80, 16, 29], Operations: ['87-58=29'] Exploring Operation: 80/16=5, Resulting Numbers: [29, 5] Generated Node #0,0,0: 54:[29, 5] Operation: 80/16=5 Exploring Operation: 80-16=64, Resulting Numbers: [29, 64] Generated Node #0,0,1: 54:[29, 64] Operation: 80-16=64 Exploring Operation: 80-29=51, Resulting Numbers: [16, 51] Generated Node #0,0,2: 54:[16, 51] Operation: 80-29=51 Moving to Node #0,0,0 Current State: 54:[29, 5], Operations: ['87-58=29', '80/16=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[16, 51], Operations: ['87-58=29', '80-29=51'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,54 unequal: No Solution Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[29, 64], Operations: ['87-58=29', '80-16=64'] Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 29*64=1856, Resulting Numbers: [1856] 1856,54 unequal: No Solution Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[58, 87, 5], Operations: ['80/16=5'] Exploring Operation: 87-58=29, Resulting Numbers: [5, 29] Generated Node #0,1,0: 54:[5, 29] Operation: 87-58=29 Exploring Operation: 87-5=82, Resulting Numbers: [58, 82] Generated Node #0,1,1: 54:[58, 82] Operation: 87-5=82 Exploring Operation: 58-5=53, Resulting Numbers: [87, 53] Generated Node #0,1,2: 54:[87, 53] Operation: 58-5=53 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[5, 29], Operations: ['80/16=5', '87-58=29'] Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,54 unequal: No Solution No 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: 54:[58, 82], Operations: ['80/16=5', '87-5=82'] Exploring Operation: 58+82=140, Resulting Numbers: [140] 140,54 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 58*82=4756, Resulting Numbers: [4756] 4756,54 unequal: No Solution No 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: 54:[87, 53], Operations: ['80/16=5', '58-5=53'] Exploring Operation: 87*53=4611, Resulting Numbers: [4611] 4611,54 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 87+53=140, Resulting Numbers: [140] 140,54 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
[ 62, 70, 29, 72 ]
66
[ "62-29=33", "72-70=2", "33*2=66" ]
Current State: 66:[62, 70, 29, 72], Operations: [] Exploring Operation: 62-29=33, Resulting Numbers: [70, 72, 33] Generated Node #2: [70, 72, 33] from Operation: 62-29=33 Current State: 66:[70, 72, 33], Operations: ['62-29=33'] Exploring Operation: 72-70=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 72-70=2 Current State: 66:[33, 2], Operations: ['62-29=33', '72-70=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[62, 70, 29, 72], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [62, 29, 2] Generated Node #0,0: 66:[62, 29, 2] Operation: 72-70=2 Exploring Operation: 72-62=10, Resulting Numbers: [70, 29, 10] Generated Node #0,1: 66:[70, 29, 10] Operation: 72-62=10 Exploring Operation: 70-29=41, Resulting Numbers: [62, 72, 41] Generated Node #0,2: 66:[62, 72, 41] Operation: 70-29=41 Exploring Operation: 62-29=33, Resulting Numbers: [70, 72, 33] Generated Node #0,3: 66:[70, 72, 33] Operation: 62-29=33 Exploring Operation: 70-62=8, Resulting Numbers: [29, 72, 8] Generated Node #0,4: 66:[29, 72, 8] Operation: 70-62=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[62, 29, 2], Operations: ['72-70=2'] Exploring Operation: 62+2=64, Resulting Numbers: [29, 64] Generated Node #0,0,0: 66:[29, 64] Operation: 62+2=64 Exploring Operation: 62-29=33, Resulting Numbers: [2, 33] Generated Node #0,0,1: 66:[2, 33] Operation: 62-29=33 Exploring Operation: 29-2=27, Resulting Numbers: [62, 27] Generated Node #0,0,2: 66:[62, 27] Operation: 29-2=27 Exploring Operation: 29+2=31, Resulting Numbers: [62, 31] Generated Node #0,0,3: 66:[62, 31] Operation: 29+2=31 Exploring Operation: 62/2=31, Resulting Numbers: [29, 31] Generated Node #0,0,4: 66:[29, 31] Operation: 62/2=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[2, 33], Operations: ['72-70=2', '62-29=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[62, 70, 29, 72], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [62, 29, 2] Generated Node #0,0: 66:[62, 29, 2] Operation: 72-70=2 Moving to Node #0,0 Current State: 66:[62, 29, 2], Operations: ['72-70=2'] Exploring Operation: 62-29=33, Resulting Numbers: [2, 33] Generated Node #0,0,1: 66:[2, 33] Operation: 62-29=33 Moving to Node #0,0,1 Current State: 66:[2, 33], Operations: ['72-70=2', '62-29=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 91, 12, 4, 1 ]
95
[ "91+1=92", "12/4=3", "92+3=95" ]
Current State: 95:[91, 12, 4, 1], Operations: [] Exploring Operation: 91+1=92, Resulting Numbers: [12, 4, 92] Generated Node #2: [12, 4, 92] from Operation: 91+1=92 Current State: 95:[12, 4, 92], Operations: ['91+1=92'] Exploring Operation: 12/4=3, Resulting Numbers: [92, 3] Generated Node #3: [92, 3] from Operation: 12/4=3 Current State: 95:[92, 3], Operations: ['91+1=92', '12/4=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[91, 12, 4, 1], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [91, 1, 3] Generated Node #0,0: 95:[91, 1, 3] Operation: 12/4=3 Exploring Operation: 91+4=95, Resulting Numbers: [12, 1, 95] Generated Node #0,1: 95:[12, 1, 95] Operation: 91+4=95 Moving to Node #0,0 Current State: 95:[91, 1, 3], Operations: ['12/4=3'] Exploring Operation: 91+1=92, Resulting Numbers: [3, 92] Generated Node #0,0,0: 95:[3, 92] Operation: 91+1=92 Exploring Operation: 91+3=94, Resulting Numbers: [1, 94] Generated Node #0,0,1: 95:[1, 94] Operation: 91+3=94 Moving to Node #0,1 Current State: 95:[12, 1, 95], Operations: ['91+4=95'] Exploring Operation: 12-1=11, Resulting Numbers: [95, 11] Generated Node #0,1,0: 95:[95, 11] Operation: 12-1=11 Exploring Operation: 12+1=13, Resulting Numbers: [95, 13] Generated Node #0,1,1: 95:[95, 13] Operation: 12+1=13 Moving to Node #0,0,0 Current State: 95:[3, 92], Operations: ['12/4=3', '91+1=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,95 unequal: No Solution Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[91, 12, 4, 1], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [91, 1, 3] Generated Node #0,0: 95:[91, 1, 3] Operation: 12/4=3 Moving to Node #0,0 Current State: 95:[91, 1, 3], Operations: ['12/4=3'] Exploring Operation: 91+1=92, Resulting Numbers: [3, 92] Generated Node #0,0,0: 95:[3, 92] Operation: 91+1=92 Moving to Node #0,0,0 Current State: 95:[3, 92], Operations: ['12/4=3', '91+1=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 5, 56, 49, 2 ]
72
[ "49-5=44", "56/2=28", "44+28=72" ]
Current State: 72:[5, 56, 49, 2], Operations: [] Exploring Operation: 49-5=44, Resulting Numbers: [56, 2, 44] Generated Node #2: [56, 2, 44] from Operation: 49-5=44 Current State: 72:[56, 2, 44], Operations: ['49-5=44'] Exploring Operation: 56/2=28, Resulting Numbers: [44, 28] Generated Node #3: [44, 28] from Operation: 56/2=28 Current State: 72:[44, 28], Operations: ['49-5=44', '56/2=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[5, 56, 49, 2], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [5, 2, 7] Generated Node #0,0: 72:[5, 2, 7] Operation: 56-49=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[5, 2, 7], Operations: ['56-49=7'] Exploring Operation: 5+7=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 72:[2, 12] Operation: 5+7=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[2, 12], Operations: ['56-49=7', '5+7=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 12, 2, 86 ]
66
[ "12-2=10", "2*10=20", "86-20=66" ]
Current State: 66:[2, 12, 2, 86], Operations: [] Exploring Operation: 12-2=10, Resulting Numbers: [86, 10] Generated Node #2: [86, 10] from Operation: 12-2=10 Current State: 66:[86, 10], Operations: ['12-2=10'] Exploring Operation: 2*10=20, Resulting Numbers: [86, 20] Generated Node #3: [86, 20] from Operation: 2*10=20 Current State: 66:[86, 20], Operations: ['12-2=10', '2*10=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[2, 12, 2, 86], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [12, 2, 43] Generated Node #0,0: 66:[12, 2, 43] Operation: 86/2=43 Exploring Operation: 86-12=74, Resulting Numbers: [2, 2, 74] Generated Node #0,1: 66:[2, 2, 74] Operation: 86-12=74 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[2, 2, 74], Operations: ['86-12=74'] Exploring Operation: 74/2=37, Resulting Numbers: [2, 37] Generated Node #0,1,0: 66:[2, 37] Operation: 74/2=37 Exploring Operation: 74/2=37, Resulting Numbers: [2, 37] Generated Node #0,1,1: 66:[2, 37] Operation: 74/2=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[2, 37], Operations: ['86-12=74', '74/2=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,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,1 Current State: 66:[2, 37], Operations: ['86-12=74', '74/2=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,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:[12, 2, 43], Operations: ['86/2=43'] Exploring Operation: 43-2=41, Resulting Numbers: [12, 41] Generated Node #0,0,0: 66:[12, 41] Operation: 43-2=41 Exploring Operation: 43-12=31, Resulting Numbers: [2, 31] Generated Node #0,0,1: 66:[2, 31] Operation: 43-12=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[2, 31], Operations: ['86/2=43', '43-12=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,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,0 Current State: 66:[12, 41], Operations: ['86/2=43', '43-2=41'] Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,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
sum_heuristic
[ 60, 2, 92, 81 ]
53
[ "60*2=120", "92+81=173", "173-120=53" ]
Current State: 53:[60, 2, 92, 81], Operations: [] Exploring Operation: 60*2=120, Resulting Numbers: [92, 81, 120] Generated Node #2: [92, 81, 120] from Operation: 60*2=120 Current State: 53:[92, 81, 120], Operations: ['60*2=120'] Exploring Operation: 92+81=173, Resulting Numbers: [120, 173] Generated Node #3: [120, 173] from Operation: 92+81=173 Current State: 53:[120, 173], Operations: ['60*2=120', '92+81=173'] Exploring Operation: 173-120=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[60, 2, 92, 81], Operations: [] Exploring Operation: 60-2=58, Resulting Numbers: [92, 81, 58] Generated Node #0,0: 53:[92, 81, 58] Operation: 60-2=58 Exploring Operation: 92/2=46, Resulting Numbers: [60, 81, 46] Generated Node #0,1: 53:[60, 81, 46] Operation: 92/2=46 Exploring Operation: 92-2=90, Resulting Numbers: [60, 81, 90] Generated Node #0,2: 53:[60, 81, 90] Operation: 92-2=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[60, 81, 46], Operations: ['92/2=46'] Exploring Operation: 60-46=14, Resulting Numbers: [81, 14] Generated Node #0,1,0: 53:[81, 14] Operation: 60-46=14 Exploring Operation: 81-46=35, Resulting Numbers: [60, 35] Generated Node #0,1,1: 53:[60, 35] Operation: 81-46=35 Exploring Operation: 81-60=21, Resulting Numbers: [46, 21] Generated Node #0,1,2: 53:[46, 21] Operation: 81-60=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[60, 35], Operations: ['92/2=46', '81-46=35'] Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 60*35=2100, Resulting Numbers: [2100] 2100,53 unequal: No Solution Exploring Operation: 60+35=95, Resulting Numbers: [95] 95,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,2 Current State: 53:[46, 21], Operations: ['92/2=46', '81-60=21'] Exploring Operation: 46*21=966, Resulting Numbers: [966] 966,53 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,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:[81, 14], Operations: ['92/2=46', '60-46=14'] Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,53 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,53 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,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,0 Current State: 53:[92, 81, 58], Operations: ['60-2=58'] Exploring Operation: 81-58=23, Resulting Numbers: [92, 23] Generated Node #0,0,0: 53:[92, 23] Operation: 81-58=23 Exploring Operation: 92-81=11, Resulting Numbers: [58, 11] Generated Node #0,0,1: 53:[58, 11] Operation: 92-81=11 Exploring Operation: 92-58=34, Resulting Numbers: [81, 34] Generated Node #0,0,2: 53:[81, 34] Operation: 92-58=34 Moving to Node #0,0,1 Current State: 53:[58, 11], Operations: ['60-2=58', '92-81=11'] Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 58*11=638, Resulting Numbers: [638] 638,53 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[81, 34], Operations: ['60-2=58', '92-58=34'] Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,53 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[92, 23], Operations: ['60-2=58', '81-58=23'] Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 92+23=115, Resulting Numbers: [115] 115,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 Current State: 53:[60, 81, 90], Operations: ['92-2=90'] Exploring Operation: 90-60=30, Resulting Numbers: [81, 30] Generated Node #0,2,0: 53:[81, 30] Operation: 90-60=30 Exploring Operation: 90-81=9, Resulting Numbers: [60, 9] Generated Node #0,2,1: 53:[60, 9] Operation: 90-81=9 Exploring Operation: 81-60=21, Resulting Numbers: [90, 21] Generated Node #0,2,2: 53:[90, 21] Operation: 81-60=21 Moving to Node #0,2,0 Current State: 53:[81, 30], Operations: ['92-2=90', '90-60=30'] Exploring Operation: 81+30=111, Resulting Numbers: [111] 111,53 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 81*30=2430, Resulting Numbers: [2430] 2430,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[60, 9], Operations: ['92-2=90', '90-81=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,53 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[90, 21], Operations: ['92-2=90', '81-60=21'] Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 90+21=111, Resulting Numbers: [111] 111,53 unequal: No Solution Exploring Operation: 90*21=1890, Resulting Numbers: [1890] 1890,53 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
[ 24, 40, 12, 38 ]
38
[ "24+40=64", "38-12=26", "64-26=38" ]
Current State: 38:[24, 40, 12, 38], Operations: [] Exploring Operation: 24+40=64, Resulting Numbers: [12, 38, 64] Generated Node #2: [12, 38, 64] from Operation: 24+40=64 Current State: 38:[12, 38, 64], Operations: ['24+40=64'] Exploring Operation: 38-12=26, Resulting Numbers: [64, 26] Generated Node #3: [64, 26] from Operation: 38-12=26 Current State: 38:[64, 26], Operations: ['24+40=64', '38-12=26'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[24, 40, 12, 38], Operations: [] Exploring Operation: 24+12=36, Resulting Numbers: [40, 38, 36] Generated Node #0,0: 38:[40, 38, 36] Operation: 24+12=36 Exploring Operation: 24-12=12, Resulting Numbers: [40, 38, 12] Generated Node #0,1: 38:[40, 38, 12] Operation: 24-12=12 Exploring Operation: 40-24=16, Resulting Numbers: [12, 38, 16] Generated Node #0,2: 38:[12, 38, 16] Operation: 40-24=16 Exploring Operation: 24/12=2, Resulting Numbers: [40, 38, 2] Generated Node #0,3: 38:[40, 38, 2] Operation: 24/12=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[40, 38, 2], Operations: ['24/12=2'] Exploring Operation: 38/2=19, Resulting Numbers: [40, 19] Generated Node #0,3,0: 38:[40, 19] Operation: 38/2=19 Exploring Operation: 40-38=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 38:[2, 2] Operation: 40-38=2 Exploring Operation: 40/2=20, Resulting Numbers: [38, 20] Generated Node #0,3,2: 38:[38, 20] Operation: 40/2=20 Exploring Operation: 40-2=38, Resulting Numbers: [38, 38] Generated Node #0,3,3: 38:[38, 38] Operation: 40-2=38 Moving to Node #0,3,1 Current State: 38:[2, 2], Operations: ['24/12=2', '40-38=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[38, 38], Operations: ['24/12=2', '40-2=38'] Exploring Operation: 38/38=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 38*38=1444, Resulting Numbers: [1444] 1444,38 unequal: No Solution Exploring Operation: 38-38=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[38, 20], Operations: ['24/12=2', '40/2=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,38 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[40, 19], Operations: ['24/12=2', '38/2=19'] Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,38 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[40, 38, 36], Operations: ['24+12=36'] Exploring Operation: 38-36=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 38:[40, 2] Operation: 38-36=2 Exploring Operation: 40-38=2, Resulting Numbers: [36, 2] Generated Node #0,0,1: 38:[36, 2] Operation: 40-38=2 Exploring Operation: 40+36=76, Resulting Numbers: [38, 76] Generated Node #0,0,2: 38:[38, 76] Operation: 40+36=76 Exploring Operation: 40-36=4, Resulting Numbers: [38, 4] Generated Node #0,0,3: 38:[38, 4] Operation: 40-36=4 Moving to Node #0,0,0 Current State: 38:[40, 2], Operations: ['24+12=36', '38-36=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[24, 40, 12, 38], Operations: [] Exploring Operation: 24+12=36, Resulting Numbers: [40, 38, 36] Generated Node #0,0: 38:[40, 38, 36] Operation: 24+12=36 Moving to Node #0,0 Current State: 38:[40, 38, 36], Operations: ['24+12=36'] Exploring Operation: 38-36=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 38:[40, 2] Operation: 38-36=2 Moving to Node #0,0,0 Current State: 38:[40, 2], Operations: ['24+12=36', '38-36=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 84, 48, 11, 46 ]
97
[ "84+48=132", "46-11=35", "132-35=97" ]
Current State: 97:[84, 48, 11, 46], Operations: [] Exploring Operation: 84+48=132, Resulting Numbers: [11, 46, 132] Generated Node #2: [11, 46, 132] from Operation: 84+48=132 Current State: 97:[11, 46, 132], Operations: ['84+48=132'] Exploring Operation: 46-11=35, Resulting Numbers: [132, 35] Generated Node #3: [132, 35] from Operation: 46-11=35 Current State: 97:[132, 35], Operations: ['84+48=132', '46-11=35'] Exploring Operation: 132-35=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[84, 48, 11, 46], Operations: [] Exploring Operation: 48+11=59, Resulting Numbers: [84, 46, 59] Generated Node #0,0: 97:[84, 46, 59] Operation: 48+11=59 Exploring Operation: 11+46=57, Resulting Numbers: [84, 48, 57] Generated Node #0,1: 97:[84, 48, 57] Operation: 11+46=57 Exploring Operation: 84+11=95, Resulting Numbers: [48, 46, 95] Generated Node #0,2: 97:[48, 46, 95] Operation: 84+11=95 Exploring Operation: 84-11=73, Resulting Numbers: [48, 46, 73] Generated Node #0,3: 97:[48, 46, 73] Operation: 84-11=73 Exploring Operation: 48+46=94, Resulting Numbers: [84, 11, 94] Generated Node #0,4: 97:[84, 11, 94] Operation: 48+46=94 Moving to Node #0,0 Current State: 97:[84, 46, 59], Operations: ['48+11=59'] Exploring Operation: 59-46=13, Resulting Numbers: [84, 13] Generated Node #0,0,0: 97:[84, 13] Operation: 59-46=13 Exploring Operation: 84+59=143, Resulting Numbers: [46, 143] Generated Node #0,0,1: 97:[46, 143] Operation: 84+59=143 Exploring Operation: 84+46=130, Resulting Numbers: [59, 130] Generated Node #0,0,2: 97:[59, 130] Operation: 84+46=130 Exploring Operation: 84-46=38, Resulting Numbers: [59, 38] Generated Node #0,0,3: 97:[59, 38] Operation: 84-46=38 Exploring Operation: 46+59=105, Resulting Numbers: [84, 105] Generated Node #0,0,4: 97:[84, 105] Operation: 46+59=105 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 97:[84, 105], Operations: ['48+11=59', '46+59=105'] Exploring Operation: 84*105=8820, Resulting Numbers: [8820] 8820,97 unequal: No Solution Exploring Operation: 84+105=189, Resulting Numbers: [189] 189,97 unequal: No Solution Exploring Operation: 105-84=21, Resulting Numbers: [21] 21,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[59, 130], Operations: ['48+11=59', '84+46=130'] Exploring Operation: 59+130=189, Resulting Numbers: [189] 189,97 unequal: No Solution Exploring Operation: 130-59=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 59*130=7670, Resulting Numbers: [7670] 7670,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[84, 13], Operations: ['48+11=59', '59-46=13'] Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,97 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[84, 48, 11, 46], Operations: [] Exploring Operation: 48+11=59, Resulting Numbers: [84, 46, 59] Generated Node #0,0: 97:[84, 46, 59] Operation: 48+11=59 Moving to Node #0,0 Current State: 97:[84, 46, 59], Operations: ['48+11=59'] Exploring Operation: 59-46=13, Resulting Numbers: [84, 13] Generated Node #0,0,0: 97:[84, 13] Operation: 59-46=13 Moving to Node #0,0,0 Current State: 97:[84, 13], Operations: ['48+11=59', '59-46=13'] Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 83, 7, 82, 41 ]
47
[ "83-7=76", "82+41=123", "123-76=47" ]
Current State: 47:[83, 7, 82, 41], Operations: [] Exploring Operation: 83-7=76, Resulting Numbers: [82, 41, 76] Generated Node #2: [82, 41, 76] from Operation: 83-7=76 Current State: 47:[82, 41, 76], Operations: ['83-7=76'] Exploring Operation: 82+41=123, Resulting Numbers: [76, 123] Generated Node #3: [76, 123] from Operation: 82+41=123 Current State: 47:[76, 123], Operations: ['83-7=76', '82+41=123'] Exploring Operation: 123-76=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[83, 7, 82, 41], Operations: [] Exploring Operation: 7+41=48, Resulting Numbers: [83, 82, 48] Generated Node #0,0: 47:[83, 82, 48] Operation: 7+41=48 Exploring Operation: 82-7=75, Resulting Numbers: [83, 41, 75] Generated Node #0,1: 47:[83, 41, 75] Operation: 82-7=75 Exploring Operation: 82-41=41, Resulting Numbers: [83, 7, 41] Generated Node #0,2: 47:[83, 7, 41] Operation: 82-41=41 Exploring Operation: 83-41=42, Resulting Numbers: [7, 82, 42] Generated Node #0,3: 47:[7, 82, 42] Operation: 83-41=42 Exploring Operation: 83-7=76, Resulting Numbers: [82, 41, 76] Generated Node #0,4: 47:[82, 41, 76] Operation: 83-7=76 Moving to Node #0,1 Current State: 47:[83, 41, 75], Operations: ['82-7=75'] Exploring Operation: 83-41=42, Resulting Numbers: [75, 42] Generated Node #0,1,0: 47:[75, 42] Operation: 83-41=42 Exploring Operation: 83-75=8, Resulting Numbers: [41, 8] Generated Node #0,1,1: 47:[41, 8] Operation: 83-75=8 Exploring Operation: 83+41=124, Resulting Numbers: [75, 124] Generated Node #0,1,2: 47:[75, 124] Operation: 83+41=124 Exploring Operation: 41+75=116, Resulting Numbers: [83, 116] Generated Node #0,1,3: 47:[83, 116] Operation: 41+75=116 Exploring Operation: 75-41=34, Resulting Numbers: [83, 34] Generated Node #0,1,4: 47:[83, 34] Operation: 75-41=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[75, 42], Operations: ['82-7=75', '83-41=42'] Exploring Operation: 75+42=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 75*42=3150, Resulting Numbers: [3150] 3150,47 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[41, 8], Operations: ['82-7=75', '83-75=8'] Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,47 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 47:[83, 34], Operations: ['82-7=75', '75-41=34'] Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[75, 124], Operations: ['82-7=75', '83+41=124'] Exploring Operation: 75+124=199, Resulting Numbers: [199] 199,47 unequal: No Solution Exploring Operation: 75*124=9300, Resulting Numbers: [9300] 9300,47 unequal: No Solution Exploring Operation: 124-75=49, Resulting Numbers: [49] 49,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[83, 116], Operations: ['82-7=75', '41+75=116'] Exploring Operation: 83*116=9628, Resulting Numbers: [9628] 9628,47 unequal: No Solution Exploring Operation: 116-83=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 83+116=199, Resulting Numbers: [199] 199,47 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: 47:[82, 41, 76], Operations: ['83-7=76'] Exploring Operation: 76-41=35, Resulting Numbers: [82, 35] Generated Node #0,4,0: 47:[82, 35] Operation: 76-41=35 Exploring Operation: 82-41=41, Resulting Numbers: [76, 41] Generated Node #0,4,1: 47:[76, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [76, 2] Generated Node #0,4,2: 47:[76, 2] Operation: 82/41=2 Exploring Operation: 82-76=6, Resulting Numbers: [41, 6] Generated Node #0,4,3: 47:[41, 6] Operation: 82-76=6 Exploring Operation: 82+41=123, Resulting Numbers: [76, 123] Generated Node #0,4,4: 47:[76, 123] Operation: 82+41=123 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 47:[76, 41], Operations: ['83-7=76', '82-41=41'] Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,47 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 47:[82, 35], Operations: ['83-7=76', '76-41=35'] Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[83, 7, 82, 41], Operations: [] Exploring Operation: 83-7=76, Resulting Numbers: [82, 41, 76] Generated Node #0,4: 47:[82, 41, 76] Operation: 83-7=76 Moving to Node #0,4 Current State: 47:[82, 41, 76], Operations: ['83-7=76'] Exploring Operation: 76-41=35, Resulting Numbers: [82, 35] Generated Node #0,4,0: 47:[82, 35] Operation: 76-41=35 Moving to Node #0,4,0 Current State: 47:[82, 35], Operations: ['83-7=76', '76-41=35'] Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 89, 40, 84, 71 ]
79
[ "89-84=5", "40/5=8", "71+8=79" ]
Current State: 79:[89, 40, 84, 71], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [40, 71, 5] Generated Node #2: [40, 71, 5] from Operation: 89-84=5 Current State: 79:[40, 71, 5], Operations: ['89-84=5'] Exploring Operation: 40/5=8, Resulting Numbers: [71, 8] Generated Node #3: [71, 8] from Operation: 40/5=8 Current State: 79:[71, 8], Operations: ['89-84=5', '40/5=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[89, 40, 84, 71], Operations: [] Exploring Operation: 84-40=44, Resulting Numbers: [89, 71, 44] Generated Node #0,0: 79:[89, 71, 44] Operation: 84-40=44 Exploring Operation: 40+71=111, Resulting Numbers: [89, 84, 111] Generated Node #0,1: 79:[89, 84, 111] Operation: 40+71=111 Exploring Operation: 89-40=49, Resulting Numbers: [84, 71, 49] Generated Node #0,2: 79:[84, 71, 49] Operation: 89-40=49 Moving to Node #0,2 Current State: 79:[84, 71, 49], Operations: ['89-40=49'] Exploring Operation: 84+49=133, Resulting Numbers: [71, 133] Generated Node #0,2,0: 79:[71, 133] Operation: 84+49=133 Exploring Operation: 84-49=35, Resulting Numbers: [71, 35] Generated Node #0,2,1: 79:[71, 35] Operation: 84-49=35 Exploring Operation: 71+49=120, Resulting Numbers: [84, 120] Generated Node #0,2,2: 79:[84, 120] Operation: 71+49=120 Moving to Node #0,1 Current State: 79:[89, 84, 111], Operations: ['40+71=111'] Exploring Operation: 111-89=22, Resulting Numbers: [84, 22] Generated Node #0,1,0: 79:[84, 22] Operation: 111-89=22 Exploring Operation: 89-84=5, Resulting Numbers: [111, 5] Generated Node #0,1,1: 79:[111, 5] Operation: 89-84=5 Exploring Operation: 111-84=27, Resulting Numbers: [89, 27] Generated Node #0,1,2: 79:[89, 27] Operation: 111-84=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[84, 22], Operations: ['40+71=111', '111-89=22'] Exploring Operation: 84+22=106, Resulting Numbers: [106] 106,79 unequal: No Solution Exploring Operation: 84*22=1848, Resulting Numbers: [1848] 1848,79 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,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,1,2 Current State: 79:[89, 27], Operations: ['40+71=111', '111-84=27'] Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,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,1,1 Current State: 79:[111, 5], Operations: ['40+71=111', '89-84=5'] Exploring Operation: 111+5=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 111-5=106, Resulting Numbers: [106] 106,79 unequal: No Solution Exploring Operation: 111*5=555, Resulting Numbers: [555] 555,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:[89, 71, 44], Operations: ['84-40=44'] Exploring Operation: 71+44=115, Resulting Numbers: [89, 115] Generated Node #0,0,0: 79:[89, 115] Operation: 71+44=115 Exploring Operation: 89+44=133, Resulting Numbers: [71, 133] Generated Node #0,0,1: 79:[71, 133] Operation: 89+44=133 Exploring Operation: 89-44=45, Resulting Numbers: [71, 45] Generated Node #0,0,2: 79:[71, 45] Operation: 89-44=45 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[71, 45], Operations: ['84-40=44', '89-44=45'] Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 71*45=3195, Resulting Numbers: [3195] 3195,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[89, 115], Operations: ['84-40=44', '71+44=115'] Exploring Operation: 115-89=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 89*115=10235, Resulting Numbers: [10235] 10235,79 unequal: No Solution Exploring Operation: 89+115=204, Resulting Numbers: [204] 204,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[71, 133], Operations: ['84-40=44', '89+44=133'] Exploring Operation: 71*133=9443, Resulting Numbers: [9443] 9443,79 unequal: No Solution Exploring Operation: 133-71=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 71+133=204, Resulting Numbers: [204] 204,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 79:[84, 120], Operations: ['89-40=49', '71+49=120'] Exploring Operation: 84*120=10080, Resulting Numbers: [10080] 10080,79 unequal: No Solution Exploring Operation: 84+120=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 120-84=36, Resulting Numbers: [36] 36,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[71, 35], Operations: ['89-40=49', '84-49=35'] Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,79 unequal: No Solution Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,79 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[71, 133], Operations: ['89-40=49', '84+49=133'] Exploring Operation: 71*133=9443, Resulting Numbers: [9443] 9443,79 unequal: No Solution Exploring Operation: 133-71=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 71+133=204, Resulting Numbers: [204] 204,79 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 93, 51, 26, 91 ]
23
[ "93-51=42", "91-26=65", "65-42=23" ]
Current State: 23:[93, 51, 26, 91], Operations: [] Exploring Operation: 93-51=42, Resulting Numbers: [26, 91, 42] Generated Node #2: [26, 91, 42] from Operation: 93-51=42 Current State: 23:[26, 91, 42], Operations: ['93-51=42'] Exploring Operation: 91-26=65, Resulting Numbers: [42, 65] Generated Node #3: [42, 65] from Operation: 91-26=65 Current State: 23:[42, 65], Operations: ['93-51=42', '91-26=65'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[93, 51, 26, 91], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [51, 26, 2] Generated Node #0,0: 23:[51, 26, 2] Operation: 93-91=2 Exploring Operation: 91-51=40, Resulting Numbers: [93, 26, 40] Generated Node #0,1: 23:[93, 26, 40] Operation: 91-51=40 Exploring Operation: 93-51=42, Resulting Numbers: [26, 91, 42] Generated Node #0,2: 23:[26, 91, 42] Operation: 93-51=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[51, 26, 2], Operations: ['93-91=2'] Exploring Operation: 51-26=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 23:[2, 25] Operation: 51-26=25 Exploring Operation: 26-2=24, Resulting Numbers: [51, 24] Generated Node #0,0,1: 23:[51, 24] Operation: 26-2=24 Exploring Operation: 51-2=49, Resulting Numbers: [26, 49] Generated Node #0,0,2: 23:[26, 49] Operation: 51-2=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[2, 25], Operations: ['93-91=2', '51-26=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[93, 51, 26, 91], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [51, 26, 2] Generated Node #0,0: 23:[51, 26, 2] Operation: 93-91=2 Moving to Node #0,0 Current State: 23:[51, 26, 2], Operations: ['93-91=2'] Exploring Operation: 51-26=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 23:[2, 25] Operation: 51-26=25 Moving to Node #0,0,0 Current State: 23:[2, 25], Operations: ['93-91=2', '51-26=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 87, 13, 83, 8 ]
94
[ "83+8=91", "91/13=7", "87+7=94" ]
Current State: 94:[87, 13, 83, 8], Operations: [] Exploring Operation: 83+8=91, Resulting Numbers: [87, 13, 91] Generated Node #2: [87, 13, 91] from Operation: 83+8=91 Current State: 94:[87, 13, 91], Operations: ['83+8=91'] Exploring Operation: 91/13=7, Resulting Numbers: [87, 7] Generated Node #3: [87, 7] from Operation: 91/13=7 Current State: 94:[87, 7], Operations: ['83+8=91', '91/13=7'] Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[87, 13, 83, 8], Operations: [] Exploring Operation: 13+83=96, Resulting Numbers: [87, 8, 96] Generated Node #0,0: 94:[87, 8, 96] Operation: 13+83=96 Exploring Operation: 87-83=4, Resulting Numbers: [13, 8, 4] Generated Node #0,1: 94:[13, 8, 4] Operation: 87-83=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[87, 8, 96], Operations: ['13+83=96'] Exploring Operation: 87+8=95, Resulting Numbers: [96, 95] Generated Node #0,0,0: 94:[96, 95] Operation: 87+8=95 Exploring Operation: 96-87=9, Resulting Numbers: [8, 9] Generated Node #0,0,1: 94:[8, 9] Operation: 96-87=9 Moving to Node #0,0,0 Current State: 94:[96, 95], Operations: ['13+83=96', '87+8=95'] Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[8, 9], Operations: ['13+83=96', '96-87=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[13, 8, 4], Operations: ['87-83=4'] Exploring Operation: 13-8=5, Resulting Numbers: [4, 5] Generated Node #0,1,0: 94:[4, 5] Operation: 13-8=5 Exploring Operation: 13*4=52, Resulting Numbers: [8, 52] Generated Node #0,1,1: 94:[8, 52] Operation: 13*4=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[4, 5], Operations: ['87-83=4', '13-8=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[8, 52], Operations: ['87-83=4', '13*4=52'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 10, 3, 80, 47 ]
39
[ "80-10=70", "47+70=117", "117/3=39" ]
Current State: 39:[10, 3, 80, 47], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [3, 47, 70] Generated Node #2: [3, 47, 70] from Operation: 80-10=70 Current State: 39:[3, 47, 70], Operations: ['80-10=70'] Exploring Operation: 47+70=117, Resulting Numbers: [3, 117] Generated Node #3: [3, 117] from Operation: 47+70=117 Current State: 39:[3, 117], Operations: ['80-10=70', '47+70=117'] Exploring Operation: 117/3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[10, 3, 80, 47], Operations: [] Exploring Operation: 80-47=33, Resulting Numbers: [10, 3, 33] Generated Node #0,0: 39:[10, 3, 33] Operation: 80-47=33 Exploring Operation: 80-10=70, Resulting Numbers: [3, 47, 70] Generated Node #0,1: 39:[3, 47, 70] Operation: 80-10=70 Exploring Operation: 80/10=8, Resulting Numbers: [3, 47, 8] Generated Node #0,2: 39:[3, 47, 8] Operation: 80/10=8 Moving to Node #0,0 Current State: 39:[10, 3, 33], Operations: ['80-47=33'] Exploring Operation: 10+33=43, Resulting Numbers: [3, 43] Generated Node #0,0,0: 39:[3, 43] Operation: 10+33=43 Exploring Operation: 33/3=11, Resulting Numbers: [10, 11] Generated Node #0,0,1: 39:[10, 11] Operation: 33/3=11 Exploring Operation: 10+3=13, Resulting Numbers: [33, 13] Generated Node #0,0,2: 39:[33, 13] Operation: 10+3=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[3, 43], Operations: ['80-47=33', '10+33=43'] Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,39 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[10, 11], Operations: ['80-47=33', '33/3=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[33, 13], Operations: ['80-47=33', '10+3=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,39 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: 39:[3, 47, 8], Operations: ['80/10=8'] Exploring Operation: 47-3=44, Resulting Numbers: [8, 44] Generated Node #0,2,0: 39:[8, 44] Operation: 47-3=44 Exploring Operation: 47-8=39, Resulting Numbers: [3, 39] Generated Node #0,2,1: 39:[3, 39] Operation: 47-8=39 Exploring Operation: 3+8=11, Resulting Numbers: [47, 11] Generated Node #0,2,2: 39:[47, 11] Operation: 3+8=11 Moving to Node #0,1 Current State: 39:[3, 47, 70], Operations: ['80-10=70'] Exploring Operation: 70-3=67, Resulting Numbers: [47, 67] Generated Node #0,1,0: 39:[47, 67] Operation: 70-3=67 Exploring Operation: 47-3=44, Resulting Numbers: [70, 44] Generated Node #0,1,1: 39:[70, 44] Operation: 47-3=44 Exploring Operation: 70-47=23, Resulting Numbers: [3, 23] Generated Node #0,1,2: 39:[3, 23] Operation: 70-47=23 Moving to Node #0,2,1 Current State: 39:[3, 39], Operations: ['80/10=8', '47-8=39'] Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[47, 11], Operations: ['80/10=8', '3+8=11'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,39 unequal: No Solution Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[8, 44], Operations: ['80/10=8', '47-3=44'] Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,39 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[3, 23], Operations: ['80-10=70', '70-47=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[47, 67], Operations: ['80-10=70', '70-3=67'] Exploring Operation: 47+67=114, Resulting Numbers: [114] 114,39 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 47*67=3149, Resulting Numbers: [3149] 3149,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[70, 44], Operations: ['80-10=70', '47-3=44'] Exploring Operation: 70*44=3080, Resulting Numbers: [3080] 3080,39 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 70+44=114, Resulting Numbers: [114] 114,39 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 5, 92, 2, 61 ]
75
[ "92/2=46", "61-46=15", "5*15=75" ]
Current State: 75:[5, 92, 2, 61], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [5, 61, 46] Generated Node #2: [5, 61, 46] from Operation: 92/2=46 Current State: 75:[5, 61, 46], Operations: ['92/2=46'] Exploring Operation: 61-46=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 61-46=15 Current State: 75:[5, 15], Operations: ['92/2=46', '61-46=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[5, 92, 2, 61], Operations: [] Exploring Operation: 5+61=66, Resulting Numbers: [92, 2, 66] Generated Node #0,0: 75:[92, 2, 66] Operation: 5+61=66 Exploring Operation: 92-5=87, Resulting Numbers: [2, 61, 87] Generated Node #0,1: 75:[2, 61, 87] Operation: 92-5=87 Exploring Operation: 92-61=31, Resulting Numbers: [5, 2, 31] Generated Node #0,2: 75:[5, 2, 31] Operation: 92-61=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[5, 2, 31], Operations: ['92-61=31'] Exploring Operation: 31-2=29, Resulting Numbers: [5, 29] Generated Node #0,2,0: 75:[5, 29] Operation: 31-2=29 Exploring Operation: 5-2=3, Resulting Numbers: [31, 3] Generated Node #0,2,1: 75:[31, 3] Operation: 5-2=3 Exploring Operation: 31-5=26, Resulting Numbers: [2, 26] Generated Node #0,2,2: 75:[2, 26] Operation: 31-5=26 Moving to Node #0,2,2 Current State: 75:[2, 26], Operations: ['92-61=31', '31-5=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[5, 29], Operations: ['92-61=31', '31-2=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[31, 3], Operations: ['92-61=31', '5-2=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[92, 2, 66], Operations: ['5+61=66'] Exploring Operation: 2+66=68, Resulting Numbers: [92, 68] Generated Node #0,0,0: 75:[92, 68] Operation: 2+66=68 Exploring Operation: 92-2=90, Resulting Numbers: [66, 90] Generated Node #0,0,1: 75:[66, 90] Operation: 92-2=90 Exploring Operation: 92-66=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 75:[2, 26] Operation: 92-66=26 Moving to Node #0,0,2 Current State: 75:[2, 26], Operations: ['5+61=66', '92-66=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[92, 68], Operations: ['5+61=66', '2+66=68'] Exploring Operation: 92+68=160, Resulting Numbers: [160] 160,75 unequal: No Solution Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 92*68=6256, Resulting Numbers: [6256] 6256,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[66, 90], Operations: ['5+61=66', '92-2=90'] Exploring Operation: 66+90=156, Resulting Numbers: [156] 156,75 unequal: No Solution Exploring Operation: 90-66=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 66*90=5940, Resulting Numbers: [5940] 5940,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[2, 61, 87], Operations: ['92-5=87'] Exploring Operation: 87-2=85, Resulting Numbers: [61, 85] Generated Node #0,1,0: 75:[61, 85] Operation: 87-2=85 Exploring Operation: 2+61=63, Resulting Numbers: [87, 63] Generated Node #0,1,1: 75:[87, 63] Operation: 2+61=63 Exploring Operation: 87-61=26, Resulting Numbers: [2, 26] Generated Node #0,1,2: 75:[2, 26] Operation: 87-61=26 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[2, 26], Operations: ['92-5=87', '87-61=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[61, 85], Operations: ['92-5=87', '87-2=85'] Exploring Operation: 61*85=5185, Resulting Numbers: [5185] 5185,75 unequal: No Solution Exploring Operation: 61+85=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 85-61=24, Resulting Numbers: [24] 24,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[87, 63], Operations: ['92-5=87', '2+61=63'] Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 87+63=150, Resulting Numbers: [150] 150,75 unequal: No Solution Exploring Operation: 87*63=5481, Resulting Numbers: [5481] 5481,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 96, 25, 55, 84 ]
42
[ "96-25=71", "84-55=29", "71-29=42" ]
Current State: 42:[96, 25, 55, 84], Operations: [] Exploring Operation: 96-25=71, Resulting Numbers: [55, 84, 71] Generated Node #2: [55, 84, 71] from Operation: 96-25=71 Current State: 42:[55, 84, 71], Operations: ['96-25=71'] Exploring Operation: 84-55=29, Resulting Numbers: [71, 29] Generated Node #3: [71, 29] from Operation: 84-55=29 Current State: 42:[71, 29], Operations: ['96-25=71', '84-55=29'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[96, 25, 55, 84], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [96, 25, 29] Generated Node #0,0: 42:[96, 25, 29] Operation: 84-55=29 Exploring Operation: 96-55=41, Resulting Numbers: [25, 84, 41] Generated Node #0,1: 42:[25, 84, 41] Operation: 96-55=41 Exploring Operation: 96-84=12, Resulting Numbers: [25, 55, 12] Generated Node #0,2: 42:[25, 55, 12] Operation: 96-84=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[25, 55, 12], Operations: ['96-84=12'] Exploring Operation: 25-12=13, Resulting Numbers: [55, 13] Generated Node #0,2,0: 42:[55, 13] Operation: 25-12=13 Exploring Operation: 55-12=43, Resulting Numbers: [25, 43] Generated Node #0,2,1: 42:[25, 43] Operation: 55-12=43 Exploring Operation: 55-25=30, Resulting Numbers: [12, 30] Generated Node #0,2,2: 42:[12, 30] Operation: 55-25=30 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[25, 43], Operations: ['96-84=12', '55-12=43'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 25*43=1075, Resulting Numbers: [1075] 1075,42 unequal: No Solution Exploring Operation: 25+43=68, Resulting Numbers: [68] 68,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[12, 30], Operations: ['96-84=12', '55-25=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[96, 25, 55, 84], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [25, 55, 12] Generated Node #0,2: 42:[25, 55, 12] Operation: 96-84=12 Moving to Node #0,2 Current State: 42:[25, 55, 12], Operations: ['96-84=12'] Exploring Operation: 55-25=30, Resulting Numbers: [12, 30] Generated Node #0,2,2: 42:[12, 30] Operation: 55-25=30 Moving to Node #0,2,2 Current State: 42:[12, 30], Operations: ['96-84=12', '55-25=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 48, 4, 57, 32 ]
37
[ "48+4=52", "57+32=89", "89-52=37" ]
Current State: 37:[48, 4, 57, 32], Operations: [] Exploring Operation: 48+4=52, Resulting Numbers: [57, 32, 52] Generated Node #2: [57, 32, 52] from Operation: 48+4=52 Current State: 37:[57, 32, 52], Operations: ['48+4=52'] Exploring Operation: 57+32=89, Resulting Numbers: [52, 89] Generated Node #3: [52, 89] from Operation: 57+32=89 Current State: 37:[52, 89], Operations: ['48+4=52', '57+32=89'] Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[48, 4, 57, 32], Operations: [] Exploring Operation: 57-4=53, Resulting Numbers: [48, 32, 53] Generated Node #0,0: 37:[48, 32, 53] Operation: 57-4=53 Exploring Operation: 48-4=44, Resulting Numbers: [57, 32, 44] Generated Node #0,1: 37:[57, 32, 44] Operation: 48-4=44 Moving to Node #0,0 Current State: 37:[48, 32, 53], Operations: ['57-4=53'] Exploring Operation: 48-32=16, Resulting Numbers: [53, 16] Generated Node #0,0,0: 37:[53, 16] Operation: 48-32=16 Exploring Operation: 53-32=21, Resulting Numbers: [48, 21] Generated Node #0,0,1: 37:[48, 21] Operation: 53-32=21 Moving to Node #0,1 Current State: 37:[57, 32, 44], Operations: ['48-4=44'] Exploring Operation: 57-44=13, Resulting Numbers: [32, 13] Generated Node #0,1,0: 37:[32, 13] Operation: 57-44=13 Exploring Operation: 57-32=25, Resulting Numbers: [44, 25] Generated Node #0,1,1: 37:[44, 25] Operation: 57-32=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[44, 25], Operations: ['48-4=44', '57-32=25'] Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,37 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,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,0 Current State: 37:[32, 13], Operations: ['48-4=44', '57-44=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 37:[48, 21], Operations: ['57-4=53', '53-32=21'] Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,37 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[53, 16], Operations: ['57-4=53', '48-32=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[48, 4, 57, 32], Operations: [] Exploring Operation: 57-4=53, Resulting Numbers: [48, 32, 53] Generated Node #0,0: 37:[48, 32, 53] Operation: 57-4=53 Moving to Node #0,0 Current State: 37:[48, 32, 53], Operations: ['57-4=53'] Exploring Operation: 48-32=16, Resulting Numbers: [53, 16] Generated Node #0,0,0: 37:[53, 16] Operation: 48-32=16 Moving to Node #0,0,0 Current State: 37:[53, 16], Operations: ['57-4=53', '48-32=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 72, 7, 5, 33 ]
86
[ "72+7=79", "5*33=165", "165-79=86" ]
Current State: 86:[72, 7, 5, 33], Operations: [] Exploring Operation: 72+7=79, Resulting Numbers: [5, 33, 79] Generated Node #2: [5, 33, 79] from Operation: 72+7=79 Current State: 86:[5, 33, 79], Operations: ['72+7=79'] Exploring Operation: 5*33=165, Resulting Numbers: [79, 165] Generated Node #3: [79, 165] from Operation: 5*33=165 Current State: 86:[79, 165], Operations: ['72+7=79', '5*33=165'] Exploring Operation: 165-79=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[72, 7, 5, 33], Operations: [] Exploring Operation: 7+33=40, Resulting Numbers: [72, 5, 40] Generated Node #0,0: 86:[72, 5, 40] Operation: 7+33=40 Exploring Operation: 72+5=77, Resulting Numbers: [7, 33, 77] Generated Node #0,1: 86:[7, 33, 77] Operation: 72+5=77 Exploring Operation: 72-33=39, Resulting Numbers: [7, 5, 39] Generated Node #0,2: 86:[7, 5, 39] Operation: 72-33=39 Exploring Operation: 72+7=79, Resulting Numbers: [5, 33, 79] Generated Node #0,3: 86:[5, 33, 79] Operation: 72+7=79 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[7, 5, 39], Operations: ['72-33=39'] Exploring Operation: 7+39=46, Resulting Numbers: [5, 46] Generated Node #0,2,0: 86:[5, 46] Operation: 7+39=46 Exploring Operation: 7*5=35, Resulting Numbers: [39, 35] Generated Node #0,2,1: 86:[39, 35] Operation: 7*5=35 Exploring Operation: 7-5=2, Resulting Numbers: [39, 2] Generated Node #0,2,2: 86:[39, 2] Operation: 7-5=2 Exploring Operation: 5+39=44, Resulting Numbers: [7, 44] Generated Node #0,2,3: 86:[7, 44] Operation: 5+39=44 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[39, 2], Operations: ['72-33=39', '7-5=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,86 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,86 unequal: No Solution No 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: 86:[5, 46], Operations: ['72-33=39', '7+39=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,86 unequal: No Solution No 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: 86:[7, 44], Operations: ['72-33=39', '5+39=44'] Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,86 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,86 unequal: No Solution No 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: 86:[39, 35], Operations: ['72-33=39', '7*5=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,86 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,86 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: 86:[72, 5, 40], Operations: ['7+33=40'] Exploring Operation: 72-40=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 86:[5, 32] Operation: 72-40=32 Exploring Operation: 72+5=77, Resulting Numbers: [40, 77] Generated Node #0,0,1: 86:[40, 77] Operation: 72+5=77 Exploring Operation: 40/5=8, Resulting Numbers: [72, 8] Generated Node #0,0,2: 86:[72, 8] Operation: 40/5=8 Exploring Operation: 5+40=45, Resulting Numbers: [72, 45] Generated Node #0,0,3: 86:[72, 45] Operation: 5+40=45 Moving to Node #0,0,1 Current State: 86:[40, 77], Operations: ['7+33=40', '72+5=77'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[5, 32], Operations: ['7+33=40', '72-40=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,86 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[72, 45], Operations: ['7+33=40', '5+40=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,86 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[72, 8], Operations: ['7+33=40', '40/5=8'] Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,86 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[5, 33, 79], Operations: ['72+7=79'] Exploring Operation: 33-5=28, Resulting Numbers: [79, 28] Generated Node #0,3,0: 86:[79, 28] Operation: 33-5=28 Exploring Operation: 79-33=46, Resulting Numbers: [5, 46] Generated Node #0,3,1: 86:[5, 46] Operation: 79-33=46 Exploring Operation: 5+79=84, Resulting Numbers: [33, 84] Generated Node #0,3,2: 86:[33, 84] Operation: 5+79=84 Exploring Operation: 5+33=38, Resulting Numbers: [79, 38] Generated Node #0,3,3: 86:[79, 38] Operation: 5+33=38 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 86:[5, 46], Operations: ['72+7=79', '79-33=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,86 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,86 unequal: No Solution No 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: 86:[33, 84], Operations: ['72+7=79', '5+79=84'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 33*84=2772, Resulting Numbers: [2772] 2772,86 unequal: No Solution Exploring Operation: 33+84=117, Resulting Numbers: [117] 117,86 unequal: No Solution No 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: 86:[79, 38], Operations: ['72+7=79', '5+33=38'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,86 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,86 unequal: No Solution No 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: 86:[79, 28], Operations: ['72+7=79', '33-5=28'] Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,86 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,86 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: 86:[7, 33, 77], Operations: ['72+5=77'] Exploring Operation: 7+77=84, Resulting Numbers: [33, 84] Generated Node #0,1,0: 86:[33, 84] Operation: 7+77=84 Exploring Operation: 77-33=44, Resulting Numbers: [7, 44] Generated Node #0,1,1: 86:[7, 44] Operation: 77-33=44 Exploring Operation: 7+33=40, Resulting Numbers: [77, 40] Generated Node #0,1,2: 86:[77, 40] Operation: 7+33=40 Exploring Operation: 77/7=11, Resulting Numbers: [33, 11] Generated Node #0,1,3: 86:[33, 11] Operation: 77/7=11 Moving to Node #0,1,1 Current State: 86:[7, 44], Operations: ['72+5=77', '77-33=44'] Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,86 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[77, 40], Operations: ['72+5=77', '7+33=40'] Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[33, 84], Operations: ['72+5=77', '7+77=84'] Exploring Operation: 33+84=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 33*84=2772, Resulting Numbers: [2772] 2772,86 unequal: No Solution Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[33, 11], Operations: ['72+5=77', '77/7=11'] Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,86 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 65, 48, 78, 43 ]
83
[ "65*48=3120", "3120/78=40", "43+40=83" ]
Current State: 83:[65, 48, 78, 43], Operations: [] Exploring Operation: 65*48=3120, Resulting Numbers: [78, 43, 3120] Generated Node #2: [78, 43, 3120] from Operation: 65*48=3120 Current State: 83:[78, 43, 3120], Operations: ['65*48=3120'] Exploring Operation: 3120/78=40, Resulting Numbers: [43, 40] Generated Node #3: [43, 40] from Operation: 3120/78=40 Current State: 83:[43, 40], Operations: ['65*48=3120', '3120/78=40'] Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[65, 48, 78, 43], Operations: [] Exploring Operation: 48+43=91, Resulting Numbers: [65, 78, 91] Generated Node #0,0: 83:[65, 78, 91] Operation: 48+43=91 Exploring Operation: 65+43=108, Resulting Numbers: [48, 78, 108] Generated Node #0,1: 83:[48, 78, 108] Operation: 65+43=108 Exploring Operation: 65+48=113, Resulting Numbers: [78, 43, 113] Generated Node #0,2: 83:[78, 43, 113] Operation: 65+48=113 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[65, 78, 91], Operations: ['48+43=91'] Exploring Operation: 91-65=26, Resulting Numbers: [78, 26] Generated Node #0,0,0: 83:[78, 26] Operation: 91-65=26 Exploring Operation: 65+78=143, Resulting Numbers: [91, 143] Generated Node #0,0,1: 83:[91, 143] Operation: 65+78=143 Exploring Operation: 78-65=13, Resulting Numbers: [91, 13] Generated Node #0,0,2: 83:[91, 13] Operation: 78-65=13 Moving to Node #0,0,0 Current State: 83:[78, 26], Operations: ['48+43=91', '91-65=26'] Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,83 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[91, 143], Operations: ['48+43=91', '65+78=143'] Exploring Operation: 91*143=13013, Resulting Numbers: [13013] 13013,83 unequal: No Solution Exploring Operation: 143-91=52, Resulting Numbers: [52] 52,83 unequal: No Solution Exploring Operation: 91+143=234, Resulting Numbers: [234] 234,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[91, 13], Operations: ['48+43=91', '78-65=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,83 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[48, 78, 108], Operations: ['65+43=108'] Exploring Operation: 108-48=60, Resulting Numbers: [78, 60] Generated Node #0,1,0: 83:[78, 60] Operation: 108-48=60 Exploring Operation: 78-48=30, Resulting Numbers: [108, 30] Generated Node #0,1,1: 83:[108, 30] Operation: 78-48=30 Exploring Operation: 48+78=126, Resulting Numbers: [108, 126] Generated Node #0,1,2: 83:[108, 126] Operation: 48+78=126 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[78, 60], Operations: ['65+43=108', '108-48=60'] Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,83 unequal: No Solution Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,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,1,2 Current State: 83:[108, 126], Operations: ['65+43=108', '48+78=126'] Exploring Operation: 108+126=234, Resulting Numbers: [234] 234,83 unequal: No Solution Exploring Operation: 126-108=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 108*126=13608, Resulting Numbers: [13608] 13608,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,1,1 Current State: 83:[108, 30], Operations: ['65+43=108', '78-48=30'] Exploring Operation: 108*30=3240, Resulting Numbers: [3240] 3240,83 unequal: No Solution Exploring Operation: 108-30=78, Resulting Numbers: [78] 78,83 unequal: No Solution Exploring Operation: 108+30=138, Resulting Numbers: [138] 138,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,2 Current State: 83:[78, 43, 113], Operations: ['65+48=113'] Exploring Operation: 78+43=121, Resulting Numbers: [113, 121] Generated Node #0,2,0: 83:[113, 121] Operation: 78+43=121 Exploring Operation: 113-43=70, Resulting Numbers: [78, 70] Generated Node #0,2,1: 83:[78, 70] Operation: 113-43=70 Exploring Operation: 78-43=35, Resulting Numbers: [113, 35] Generated Node #0,2,2: 83:[113, 35] Operation: 78-43=35 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[78, 70], Operations: ['65+48=113', '113-43=70'] Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 78*70=5460, Resulting Numbers: [5460] 5460,83 unequal: No Solution Exploring Operation: 78+70=148, Resulting Numbers: [148] 148,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,2,0 Current State: 83:[113, 121], Operations: ['65+48=113', '78+43=121'] Exploring Operation: 113*121=13673, Resulting Numbers: [13673] 13673,83 unequal: No Solution Exploring Operation: 113+121=234, Resulting Numbers: [234] 234,83 unequal: No Solution Exploring Operation: 121-113=8, Resulting Numbers: [8] 8,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,2,2 Current State: 83:[113, 35], Operations: ['65+48=113', '78-43=35'] Exploring Operation: 113+35=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 113-35=78, Resulting Numbers: [78] 78,83 unequal: No Solution Exploring Operation: 113*35=3955, Resulting Numbers: [3955] 3955,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 No solution found.
0
hs_3
sum_heuristic
[ 12, 48, 54, 41 ]
43
[ "54-48=6", "12/6=2", "41+2=43" ]
Current State: 43:[12, 48, 54, 41], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [12, 41, 6] Generated Node #2: [12, 41, 6] from Operation: 54-48=6 Current State: 43:[12, 41, 6], Operations: ['54-48=6'] Exploring Operation: 12/6=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 12/6=2 Current State: 43:[41, 2], Operations: ['54-48=6', '12/6=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[12, 48, 54, 41], Operations: [] Exploring Operation: 48-12=36, Resulting Numbers: [54, 41, 36] Generated Node #0,0: 43:[54, 41, 36] Operation: 48-12=36 Exploring Operation: 54-12=42, Resulting Numbers: [48, 41, 42] Generated Node #0,1: 43:[48, 41, 42] Operation: 54-12=42 Exploring Operation: 12+41=53, Resulting Numbers: [48, 54, 53] Generated Node #0,2: 43:[48, 54, 53] Operation: 12+41=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[48, 41, 42], Operations: ['54-12=42'] Exploring Operation: 48-42=6, Resulting Numbers: [41, 6] Generated Node #0,1,0: 43:[41, 6] Operation: 48-42=6 Exploring Operation: 41+42=83, Resulting Numbers: [48, 83] Generated Node #0,1,1: 43:[48, 83] Operation: 41+42=83 Exploring Operation: 48-41=7, Resulting Numbers: [42, 7] Generated Node #0,1,2: 43:[42, 7] Operation: 48-41=7 Moving to Node #0,1,2 Current State: 43:[42, 7], Operations: ['54-12=42', '48-41=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,43 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[41, 6], Operations: ['54-12=42', '48-42=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[48, 83], Operations: ['54-12=42', '41+42=83'] Exploring Operation: 48*83=3984, Resulting Numbers: [3984] 3984,43 unequal: No Solution Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 48+83=131, Resulting Numbers: [131] 131,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[54, 41, 36], Operations: ['48-12=36'] Exploring Operation: 54-36=18, Resulting Numbers: [41, 18] Generated Node #0,0,0: 43:[41, 18] Operation: 54-36=18 Exploring Operation: 54-41=13, Resulting Numbers: [36, 13] Generated Node #0,0,1: 43:[36, 13] Operation: 54-41=13 Exploring Operation: 41+36=77, Resulting Numbers: [54, 77] Generated Node #0,0,2: 43:[54, 77] Operation: 41+36=77 Moving to Node #0,0,0 Current State: 43:[41, 18], Operations: ['48-12=36', '54-36=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[36, 13], Operations: ['48-12=36', '54-41=13'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,43 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[54, 77], Operations: ['48-12=36', '41+36=77'] Exploring Operation: 54*77=4158, Resulting Numbers: [4158] 4158,43 unequal: No Solution Exploring Operation: 54+77=131, Resulting Numbers: [131] 131,43 unequal: No Solution Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[48, 54, 53], Operations: ['12+41=53'] Exploring Operation: 54-53=1, Resulting Numbers: [48, 1] Generated Node #0,2,0: 43:[48, 1] Operation: 54-53=1 Exploring Operation: 54-48=6, Resulting Numbers: [53, 6] Generated Node #0,2,1: 43:[53, 6] Operation: 54-48=6 Exploring Operation: 53-48=5, Resulting Numbers: [54, 5] Generated Node #0,2,2: 43:[54, 5] Operation: 53-48=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[48, 1], Operations: ['12+41=53', '54-53=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[53, 6], Operations: ['12+41=53', '54-48=6'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[54, 5], Operations: ['12+41=53', '53-48=5'] Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,43 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,43 unequal: No Solution Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 82, 71, 53, 50 ]
57
[ "82*50=4100", "4100-53=4047", "4047/71=57" ]
Current State: 57:[82, 71, 53, 50], Operations: [] Exploring Operation: 82*50=4100, Resulting Numbers: [71, 53, 4100] Generated Node #2: [71, 53, 4100] from Operation: 82*50=4100 Current State: 57:[71, 53, 4100], Operations: ['82*50=4100'] Exploring Operation: 4100-53=4047, Resulting Numbers: [71, 4047] Generated Node #3: [71, 4047] from Operation: 4100-53=4047 Current State: 57:[71, 4047], Operations: ['82*50=4100', '4100-53=4047'] Exploring Operation: 4047/71=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[82, 71, 53, 50], Operations: [] Exploring Operation: 82-53=29, Resulting Numbers: [71, 50, 29] Generated Node #0,0: 57:[71, 50, 29] Operation: 82-53=29 Exploring Operation: 82-71=11, Resulting Numbers: [53, 50, 11] Generated Node #0,1: 57:[53, 50, 11] Operation: 82-71=11 Exploring Operation: 82-50=32, Resulting Numbers: [71, 53, 32] Generated Node #0,2: 57:[71, 53, 32] Operation: 82-50=32 Exploring Operation: 71-50=21, Resulting Numbers: [82, 53, 21] Generated Node #0,3: 57:[82, 53, 21] Operation: 71-50=21 Moving to Node #0,1 Current State: 57:[53, 50, 11], Operations: ['82-71=11'] Exploring Operation: 53-50=3, Resulting Numbers: [11, 3] Generated Node #0,1,0: 57:[11, 3] Operation: 53-50=3 Exploring Operation: 53+11=64, Resulting Numbers: [50, 64] Generated Node #0,1,1: 57:[50, 64] Operation: 53+11=64 Exploring Operation: 53-11=42, Resulting Numbers: [50, 42] Generated Node #0,1,2: 57:[50, 42] Operation: 53-11=42 Exploring Operation: 50+11=61, Resulting Numbers: [53, 61] Generated Node #0,1,3: 57:[53, 61] Operation: 50+11=61 Moving to Node #0,2 Current State: 57:[71, 53, 32], Operations: ['82-50=32'] Exploring Operation: 53+32=85, Resulting Numbers: [71, 85] Generated Node #0,2,0: 57:[71, 85] Operation: 53+32=85 Exploring Operation: 71-53=18, Resulting Numbers: [32, 18] Generated Node #0,2,1: 57:[32, 18] Operation: 71-53=18 Exploring Operation: 53-32=21, Resulting Numbers: [71, 21] Generated Node #0,2,2: 57:[71, 21] Operation: 53-32=21 Exploring Operation: 71-32=39, Resulting Numbers: [53, 39] Generated Node #0,2,3: 57:[53, 39] Operation: 71-32=39 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[32, 18], Operations: ['82-50=32', '71-53=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,57 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[71, 21], Operations: ['82-50=32', '53-32=21'] Exploring Operation: 71*21=1491, Resulting Numbers: [1491] 1491,57 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 57:[53, 39], Operations: ['82-50=32', '71-32=39'] Exploring Operation: 53*39=2067, Resulting Numbers: [2067] 2067,57 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 53+39=92, Resulting Numbers: [92] 92,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[71, 85], Operations: ['82-50=32', '53+32=85'] Exploring Operation: 71+85=156, Resulting Numbers: [156] 156,57 unequal: No Solution Exploring Operation: 85-71=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 71*85=6035, Resulting Numbers: [6035] 6035,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 57:[71, 50, 29], Operations: ['82-53=29'] Exploring Operation: 50-29=21, Resulting Numbers: [71, 21] Generated Node #0,0,0: 57:[71, 21] Operation: 50-29=21 Exploring Operation: 50+29=79, Resulting Numbers: [71, 79] Generated Node #0,0,1: 57:[71, 79] Operation: 50+29=79 Exploring Operation: 71-50=21, Resulting Numbers: [29, 21] Generated Node #0,0,2: 57:[29, 21] Operation: 71-50=21 Exploring Operation: 71-29=42, Resulting Numbers: [50, 42] Generated Node #0,0,3: 57:[50, 42] Operation: 71-29=42 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[29, 21], Operations: ['82-53=29', '71-50=21'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,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,0 Current State: 57:[71, 21], Operations: ['82-53=29', '50-29=21'] Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 71*21=1491, Resulting Numbers: [1491] 1491,57 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,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,3 Current State: 57:[50, 42], Operations: ['82-53=29', '71-29=42'] Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 50*42=2100, Resulting Numbers: [2100] 2100,57 unequal: No Solution Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,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,1 Current State: 57:[71, 79], Operations: ['82-53=29', '50+29=79'] Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 71*79=5609, Resulting Numbers: [5609] 5609,57 unequal: No Solution Exploring Operation: 71+79=150, Resulting Numbers: [150] 150,57 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: 57:[82, 53, 21], Operations: ['71-50=21'] Exploring Operation: 53-21=32, Resulting Numbers: [82, 32] Generated Node #0,3,0: 57:[82, 32] Operation: 53-21=32 Exploring Operation: 53+21=74, Resulting Numbers: [82, 74] Generated Node #0,3,1: 57:[82, 74] Operation: 53+21=74 Exploring Operation: 82-53=29, Resulting Numbers: [21, 29] Generated Node #0,3,2: 57:[21, 29] Operation: 82-53=29 Exploring Operation: 82-21=61, Resulting Numbers: [53, 61] Generated Node #0,3,3: 57:[53, 61] Operation: 82-21=61 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[53, 61], Operations: ['71-50=21', '82-21=61'] Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[21, 29], Operations: ['71-50=21', '82-53=29'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 57:[82, 32], Operations: ['71-50=21', '53-21=32'] Exploring Operation: 82*32=2624, Resulting Numbers: [2624] 2624,57 unequal: No Solution Exploring Operation: 82+32=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 57:[82, 74], Operations: ['71-50=21', '53+21=74'] Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 82*74=6068, Resulting Numbers: [6068] 6068,57 unequal: No Solution Exploring Operation: 82+74=156, Resulting Numbers: [156] 156,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 57:[11, 3], Operations: ['82-71=11', '53-50=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,57 unequal: No Solution Moving to Node #0,1,3 Current State: 57:[53, 61], Operations: ['82-71=11', '50+11=61'] Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,57 unequal: No Solution Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[50, 64], Operations: ['82-71=11', '53+11=64'] Exploring Operation: 50+64=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 50*64=3200, Resulting Numbers: [3200] 3200,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[50, 42], Operations: ['82-71=11', '53-11=42'] Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 50*42=2100, Resulting Numbers: [2100] 2100,57 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 8, 44, 26, 65 ]
39
[ "8+44=52", "26+65=91", "91-52=39" ]
Current State: 39:[8, 44, 26, 65], Operations: [] Exploring Operation: 8+44=52, Resulting Numbers: [26, 65, 52] Generated Node #2: [26, 65, 52] from Operation: 8+44=52 Current State: 39:[26, 65, 52], Operations: ['8+44=52'] Exploring Operation: 26+65=91, Resulting Numbers: [52, 91] Generated Node #3: [52, 91] from Operation: 26+65=91 Current State: 39:[52, 91], Operations: ['8+44=52', '26+65=91'] Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[8, 44, 26, 65], Operations: [] Exploring Operation: 26-8=18, Resulting Numbers: [44, 65, 18] Generated Node #0,0: 39:[44, 65, 18] Operation: 26-8=18 Exploring Operation: 65-26=39, Resulting Numbers: [8, 44, 39] Generated Node #0,1: 39:[8, 44, 39] Operation: 65-26=39 Exploring Operation: 8+26=34, Resulting Numbers: [44, 65, 34] Generated Node #0,2: 39:[44, 65, 34] Operation: 8+26=34 Exploring Operation: 65-44=21, Resulting Numbers: [8, 26, 21] Generated Node #0,3: 39:[8, 26, 21] Operation: 65-44=21 Moving to Node #0,1 Current State: 39:[8, 44, 39], Operations: ['65-26=39'] Exploring Operation: 44-8=36, Resulting Numbers: [39, 36] Generated Node #0,1,0: 39:[39, 36] Operation: 44-8=36 Exploring Operation: 8+39=47, Resulting Numbers: [44, 47] Generated Node #0,1,1: 39:[44, 47] Operation: 8+39=47 Exploring Operation: 44-39=5, Resulting Numbers: [8, 5] Generated Node #0,1,2: 39:[8, 5] Operation: 44-39=5 Exploring Operation: 8+44=52, Resulting Numbers: [39, 52] Generated Node #0,1,3: 39:[39, 52] Operation: 8+44=52 Moving to Node #0,3 Current State: 39:[8, 26, 21], Operations: ['65-44=21'] Exploring Operation: 26-21=5, Resulting Numbers: [8, 5] Generated Node #0,3,0: 39:[8, 5] Operation: 26-21=5 Exploring Operation: 26-8=18, Resulting Numbers: [21, 18] Generated Node #0,3,1: 39:[21, 18] Operation: 26-8=18 Exploring Operation: 21-8=13, Resulting Numbers: [26, 13] Generated Node #0,3,2: 39:[26, 13] Operation: 21-8=13 Exploring Operation: 8+26=34, Resulting Numbers: [21, 34] Generated Node #0,3,3: 39:[21, 34] Operation: 8+26=34 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 39:[8, 5], Operations: ['65-44=21', '26-21=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[21, 18], Operations: ['65-44=21', '26-8=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,39 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[8, 44, 26, 65], Operations: [] Exploring Operation: 65-44=21, Resulting Numbers: [8, 26, 21] Generated Node #0,3: 39:[8, 26, 21] Operation: 65-44=21 Moving to Node #0,3 Current State: 39:[8, 26, 21], Operations: ['65-44=21'] Exploring Operation: 26-8=18, Resulting Numbers: [21, 18] Generated Node #0,3,1: 39:[21, 18] Operation: 26-8=18 Moving to Node #0,3,1 Current State: 39:[21, 18], Operations: ['65-44=21', '26-8=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 39, 78, 45, 8 ]
74
[ "78/39=2", "45-8=37", "2*37=74" ]
Current State: 74:[39, 78, 45, 8], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [45, 8, 2] Generated Node #2: [45, 8, 2] from Operation: 78/39=2 Current State: 74:[45, 8, 2], Operations: ['78/39=2'] Exploring Operation: 45-8=37, Resulting Numbers: [2, 37] Generated Node #3: [2, 37] from Operation: 45-8=37 Current State: 74:[2, 37], Operations: ['78/39=2', '45-8=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[39, 78, 45, 8], Operations: [] Exploring Operation: 78-45=33, Resulting Numbers: [39, 8, 33] Generated Node #0,0: 74:[39, 8, 33] Operation: 78-45=33 Exploring Operation: 45-39=6, Resulting Numbers: [78, 8, 6] Generated Node #0,1: 74:[78, 8, 6] Operation: 45-39=6 Exploring Operation: 78/39=2, Resulting Numbers: [45, 8, 2] Generated Node #0,2: 74:[45, 8, 2] Operation: 78/39=2 Exploring Operation: 78-8=70, Resulting Numbers: [39, 45, 70] Generated Node #0,3: 74:[39, 45, 70] Operation: 78-8=70 Exploring Operation: 45-8=37, Resulting Numbers: [39, 78, 37] Generated Node #0,4: 74:[39, 78, 37] Operation: 45-8=37 Moving to Node #0,4 Current State: 74:[39, 78, 37], Operations: ['45-8=37'] Exploring Operation: 78-37=41, Resulting Numbers: [39, 41] Generated Node #0,4,0: 74:[39, 41] Operation: 78-37=41 Exploring Operation: 78-39=39, Resulting Numbers: [37, 39] Generated Node #0,4,1: 74:[37, 39] Operation: 78-39=39 Exploring Operation: 39+37=76, Resulting Numbers: [78, 76] Generated Node #0,4,2: 74:[78, 76] Operation: 39+37=76 Exploring Operation: 78/39=2, Resulting Numbers: [37, 2] Generated Node #0,4,3: 74:[37, 2] Operation: 78/39=2 Exploring Operation: 39-37=2, Resulting Numbers: [78, 2] Generated Node #0,4,4: 74:[78, 2] Operation: 39-37=2 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 74:[37, 2], Operations: ['45-8=37', '78/39=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[39, 78, 45, 8], Operations: [] Exploring Operation: 45-8=37, Resulting Numbers: [39, 78, 37] Generated Node #0,4: 74:[39, 78, 37] Operation: 45-8=37 Moving to Node #0,4 Current State: 74:[39, 78, 37], Operations: ['45-8=37'] Exploring Operation: 78/39=2, Resulting Numbers: [37, 2] Generated Node #0,4,3: 74:[37, 2] Operation: 78/39=2 Moving to Node #0,4,3 Current State: 74:[37, 2], Operations: ['45-8=37', '78/39=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 33, 39, 22, 66 ]
46
[ "39*22=858", "858/66=13", "33+13=46" ]
Current State: 46:[33, 39, 22, 66], Operations: [] Exploring Operation: 39*22=858, Resulting Numbers: [33, 66, 858] Generated Node #2: [33, 66, 858] from Operation: 39*22=858 Current State: 46:[33, 66, 858], Operations: ['39*22=858'] Exploring Operation: 858/66=13, Resulting Numbers: [33, 13] Generated Node #3: [33, 13] from Operation: 858/66=13 Current State: 46:[33, 13], Operations: ['39*22=858', '858/66=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[33, 39, 22, 66], Operations: [] Exploring Operation: 66-39=27, Resulting Numbers: [33, 22, 27] Generated Node #0,0: 46:[33, 22, 27] Operation: 66-39=27 Exploring Operation: 66/33=2, Resulting Numbers: [39, 22, 2] Generated Node #0,1: 46:[39, 22, 2] Operation: 66/33=2 Moving to Node #0,1 Current State: 46:[39, 22, 2], Operations: ['66/33=2'] Exploring Operation: 39+2=41, Resulting Numbers: [22, 41] Generated Node #0,1,0: 46:[22, 41] Operation: 39+2=41 Exploring Operation: 39-22=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 46:[2, 17] Operation: 39-22=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[22, 41], Operations: ['66/33=2', '39+2=41'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[2, 17], Operations: ['66/33=2', '39-22=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,46 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: 46:[33, 22, 27], Operations: ['66-39=27'] Exploring Operation: 33+22=55, Resulting Numbers: [27, 55] Generated Node #0,0,0: 46:[27, 55] Operation: 33+22=55 Exploring Operation: 33-27=6, Resulting Numbers: [22, 6] Generated Node #0,0,1: 46:[22, 6] Operation: 33-27=6 Moving to Node #0,0,1 Current State: 46:[22, 6], Operations: ['66-39=27', '33-27=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[27, 55], Operations: ['66-39=27', '33+22=55'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,46 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 80, 75, 25, 60 ]
44
[ "80-25=55", "60*55=3300", "3300/75=44" ]
Current State: 44:[80, 75, 25, 60], Operations: [] Exploring Operation: 80-25=55, Resulting Numbers: [75, 60, 55] Generated Node #2: [75, 60, 55] from Operation: 80-25=55 Current State: 44:[75, 60, 55], Operations: ['80-25=55'] Exploring Operation: 60*55=3300, Resulting Numbers: [75, 3300] Generated Node #3: [75, 3300] from Operation: 60*55=3300 Current State: 44:[75, 3300], Operations: ['80-25=55', '60*55=3300'] Exploring Operation: 3300/75=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[80, 75, 25, 60], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [75, 25, 20] Generated Node #0,0: 44:[75, 25, 20] Operation: 80-60=20 Exploring Operation: 80-75=5, Resulting Numbers: [25, 60, 5] Generated Node #0,1: 44:[25, 60, 5] Operation: 80-75=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[25, 60, 5], Operations: ['80-75=5'] Exploring Operation: 60/5=12, Resulting Numbers: [25, 12] Generated Node #0,1,0: 44:[25, 12] Operation: 60/5=12 Exploring Operation: 60-25=35, Resulting Numbers: [5, 35] Generated Node #0,1,1: 44:[5, 35] Operation: 60-25=35 Moving to Node #0,1,0 Current State: 44:[25, 12], Operations: ['80-75=5', '60/5=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[5, 35], Operations: ['80-75=5', '60-25=35'] Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,44 unequal: No Solution No 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: 44:[75, 25, 20], Operations: ['80-60=20'] Exploring Operation: 75-25=50, Resulting Numbers: [20, 50] Generated Node #0,0,0: 44:[20, 50] Operation: 75-25=50 Exploring Operation: 75/25=3, Resulting Numbers: [20, 3] Generated Node #0,0,1: 44:[20, 3] Operation: 75/25=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[20, 3], Operations: ['80-60=20', '75/25=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,44 unequal: No Solution No 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: 44:[20, 50], Operations: ['80-60=20', '75-25=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,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_2
sum_heuristic
[ 57, 31, 79, 19 ]
45
[ "57/19=3", "79-31=48", "48-3=45" ]
Current State: 45:[57, 31, 79, 19], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [31, 79, 3] Generated Node #2: [31, 79, 3] from Operation: 57/19=3 Current State: 45:[31, 79, 3], Operations: ['57/19=3'] Exploring Operation: 79-31=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 79-31=48 Current State: 45:[3, 48], Operations: ['57/19=3', '79-31=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[57, 31, 79, 19], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [31, 79, 3] Generated Node #0,0: 45:[31, 79, 3] Operation: 57/19=3 Exploring Operation: 79-57=22, Resulting Numbers: [31, 19, 22] Generated Node #0,1: 45:[31, 19, 22] Operation: 79-57=22 Exploring Operation: 79-19=60, Resulting Numbers: [57, 31, 60] Generated Node #0,2: 45:[57, 31, 60] Operation: 79-19=60 Exploring Operation: 79-31=48, Resulting Numbers: [57, 19, 48] Generated Node #0,3: 45:[57, 19, 48] Operation: 79-31=48 Exploring Operation: 57-31=26, Resulting Numbers: [79, 19, 26] Generated Node #0,4: 45:[79, 19, 26] Operation: 57-31=26 Moving to Node #0,3 Current State: 45:[57, 19, 48], Operations: ['79-31=48'] Exploring Operation: 48-19=29, Resulting Numbers: [57, 29] Generated Node #0,3,0: 45:[57, 29] Operation: 48-19=29 Exploring Operation: 57/19=3, Resulting Numbers: [48, 3] Generated Node #0,3,1: 45:[48, 3] Operation: 57/19=3 Exploring Operation: 57+19=76, Resulting Numbers: [48, 76] Generated Node #0,3,2: 45:[48, 76] Operation: 57+19=76 Exploring Operation: 57-19=38, Resulting Numbers: [48, 38] Generated Node #0,3,3: 45:[48, 38] Operation: 57-19=38 Exploring Operation: 57-48=9, Resulting Numbers: [19, 9] Generated Node #0,3,4: 45:[19, 9] Operation: 57-48=9 Moving to Node #0,1 Current State: 45:[31, 19, 22], Operations: ['79-57=22'] Exploring Operation: 31-19=12, Resulting Numbers: [22, 12] Generated Node #0,1,0: 45:[22, 12] Operation: 31-19=12 Exploring Operation: 22-19=3, Resulting Numbers: [31, 3] Generated Node #0,1,1: 45:[31, 3] Operation: 22-19=3 Exploring Operation: 31+19=50, Resulting Numbers: [22, 50] Generated Node #0,1,2: 45:[22, 50] Operation: 31+19=50 Exploring Operation: 31+22=53, Resulting Numbers: [19, 53] Generated Node #0,1,3: 45:[19, 53] Operation: 31+22=53 Exploring Operation: 31-22=9, Resulting Numbers: [19, 9] Generated Node #0,1,4: 45:[19, 9] Operation: 31-22=9 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 45:[19, 9], Operations: ['79-57=22', '31-22=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,45 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[22, 12], Operations: ['79-57=22', '31-19=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,45 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[22, 50], Operations: ['79-57=22', '31+19=50'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,45 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[19, 53], Operations: ['79-57=22', '31+22=53'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[31, 3], Operations: ['79-57=22', '22-19=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,45 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,45 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: 45:[57, 31, 60], Operations: ['79-19=60'] Exploring Operation: 60-57=3, Resulting Numbers: [31, 3] Generated Node #0,2,0: 45:[31, 3] Operation: 60-57=3 Exploring Operation: 31+60=91, Resulting Numbers: [57, 91] Generated Node #0,2,1: 45:[57, 91] Operation: 31+60=91 Exploring Operation: 60-31=29, Resulting Numbers: [57, 29] Generated Node #0,2,2: 45:[57, 29] Operation: 60-31=29 Exploring Operation: 57-31=26, Resulting Numbers: [60, 26] Generated Node #0,2,3: 45:[60, 26] Operation: 57-31=26 Exploring Operation: 57+31=88, Resulting Numbers: [60, 88] Generated Node #0,2,4: 45:[60, 88] Operation: 57+31=88 Moving to Node #0,0 Current State: 45:[31, 79, 3], Operations: ['57/19=3'] Exploring Operation: 31-3=28, Resulting Numbers: [79, 28] Generated Node #0,0,0: 45:[79, 28] Operation: 31-3=28 Exploring Operation: 31+3=34, Resulting Numbers: [79, 34] Generated Node #0,0,1: 45:[79, 34] Operation: 31+3=34 Exploring Operation: 79-31=48, Resulting Numbers: [3, 48] Generated Node #0,0,2: 45:[3, 48] Operation: 79-31=48 Exploring Operation: 79+3=82, Resulting Numbers: [31, 82] Generated Node #0,0,3: 45:[31, 82] Operation: 79+3=82 Exploring Operation: 79-3=76, Resulting Numbers: [31, 76] Generated Node #0,0,4: 45:[31, 76] Operation: 79-3=76 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[3, 48], Operations: ['57/19=3', '79-31=48'] Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,45 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[57, 31, 79, 19], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [31, 79, 3] Generated Node #0,0: 45:[31, 79, 3] Operation: 57/19=3 Moving to Node #0,0 Current State: 45:[31, 79, 3], Operations: ['57/19=3'] Exploring Operation: 79-31=48, Resulting Numbers: [3, 48] Generated Node #0,0,2: 45:[3, 48] Operation: 79-31=48 Moving to Node #0,0,2 Current State: 45:[3, 48], Operations: ['57/19=3', '79-31=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 84, 98, 72, 21 ]
89
[ "84+98=182", "72+21=93", "182-93=89" ]
Current State: 89:[84, 98, 72, 21], Operations: [] Exploring Operation: 84+98=182, Resulting Numbers: [72, 21, 182] Generated Node #2: [72, 21, 182] from Operation: 84+98=182 Current State: 89:[72, 21, 182], Operations: ['84+98=182'] Exploring Operation: 72+21=93, Resulting Numbers: [182, 93] Generated Node #3: [182, 93] from Operation: 72+21=93 Current State: 89:[182, 93], Operations: ['84+98=182', '72+21=93'] Exploring Operation: 182-93=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[84, 98, 72, 21], Operations: [] Exploring Operation: 84-21=63, Resulting Numbers: [98, 72, 63] Generated Node #0,0: 89:[98, 72, 63] Operation: 84-21=63 Exploring Operation: 84+21=105, Resulting Numbers: [98, 72, 105] Generated Node #0,1: 89:[98, 72, 105] Operation: 84+21=105 Exploring Operation: 98-21=77, Resulting Numbers: [84, 72, 77] Generated Node #0,2: 89:[84, 72, 77] Operation: 98-21=77 Exploring Operation: 72+21=93, Resulting Numbers: [84, 98, 93] Generated Node #0,3: 89:[84, 98, 93] Operation: 72+21=93 Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[84, 98, 93], Operations: ['72+21=93'] Exploring Operation: 93-84=9, Resulting Numbers: [98, 9] Generated Node #0,3,0: 89:[98, 9] Operation: 93-84=9 Exploring Operation: 98-93=5, Resulting Numbers: [84, 5] Generated Node #0,3,1: 89:[84, 5] Operation: 98-93=5 Exploring Operation: 98-84=14, Resulting Numbers: [93, 14] Generated Node #0,3,2: 89:[93, 14] Operation: 98-84=14 Exploring Operation: 84+98=182, Resulting Numbers: [93, 182] Generated Node #0,3,3: 89:[93, 182] Operation: 84+98=182 Moving to Node #0,3,2 Current State: 89:[93, 14], Operations: ['72+21=93', '98-84=14'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 93*14=1302, Resulting Numbers: [1302] 1302,89 unequal: No Solution Exploring Operation: 93+14=107, Resulting Numbers: [107] 107,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[84, 5], Operations: ['72+21=93', '98-93=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[84, 98, 72, 21], Operations: [] Exploring Operation: 72+21=93, Resulting Numbers: [84, 98, 93] Generated Node #0,3: 89:[84, 98, 93] Operation: 72+21=93 Moving to Node #0,3 Current State: 89:[84, 98, 93], Operations: ['72+21=93'] Exploring Operation: 98-93=5, Resulting Numbers: [84, 5] Generated Node #0,3,1: 89:[84, 5] Operation: 98-93=5 Moving to Node #0,3,1 Current State: 89:[84, 5], Operations: ['72+21=93', '98-93=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 74, 88, 12, 91 ]
70
[ "91-88=3", "12/3=4", "74-4=70" ]
Current State: 70:[74, 88, 12, 91], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [74, 12, 3] Generated Node #2: [74, 12, 3] from Operation: 91-88=3 Current State: 70:[74, 12, 3], Operations: ['91-88=3'] Exploring Operation: 12/3=4, Resulting Numbers: [74, 4] Generated Node #3: [74, 4] from Operation: 12/3=4 Current State: 70:[74, 4], Operations: ['91-88=3', '12/3=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[74, 88, 12, 91], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [74, 12, 3] Generated Node #0,0: 70:[74, 12, 3] Operation: 91-88=3 Exploring Operation: 91-74=17, Resulting Numbers: [88, 12, 17] Generated Node #0,1: 70:[88, 12, 17] Operation: 91-74=17 Exploring Operation: 88-12=76, Resulting Numbers: [74, 91, 76] Generated Node #0,2: 70:[74, 91, 76] Operation: 88-12=76 Exploring Operation: 88-74=14, Resulting Numbers: [12, 91, 14] Generated Node #0,3: 70:[12, 91, 14] Operation: 88-74=14 Moving to Node #0,0 Current State: 70:[74, 12, 3], Operations: ['91-88=3'] Exploring Operation: 12*3=36, Resulting Numbers: [74, 36] Generated Node #0,0,0: 70:[74, 36] Operation: 12*3=36 Exploring Operation: 12+3=15, Resulting Numbers: [74, 15] Generated Node #0,0,1: 70:[74, 15] Operation: 12+3=15 Exploring Operation: 74-3=71, Resulting Numbers: [12, 71] Generated Node #0,0,2: 70:[12, 71] Operation: 74-3=71 Exploring Operation: 12-3=9, Resulting Numbers: [74, 9] Generated Node #0,0,3: 70:[74, 9] Operation: 12-3=9 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[12, 71], Operations: ['91-88=3', '74-3=71'] Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 12*71=852, Resulting Numbers: [852] 852,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[74, 36], Operations: ['91-88=3', '12*3=36'] Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,70 unequal: No Solution Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[74, 15], Operations: ['91-88=3', '12+3=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[74, 9], Operations: ['91-88=3', '12-3=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,70 unequal: No Solution Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,70 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,70 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: 70:[12, 91, 14], Operations: ['88-74=14'] Exploring Operation: 91-14=77, Resulting Numbers: [12, 77] Generated Node #0,3,0: 70:[12, 77] Operation: 91-14=77 Exploring Operation: 91-12=79, Resulting Numbers: [14, 79] Generated Node #0,3,1: 70:[14, 79] Operation: 91-12=79 Exploring Operation: 14-12=2, Resulting Numbers: [91, 2] Generated Node #0,3,2: 70:[91, 2] Operation: 14-12=2 Exploring Operation: 12+14=26, Resulting Numbers: [91, 26] Generated Node #0,3,3: 70:[91, 26] Operation: 12+14=26 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[12, 77], Operations: ['88-74=14', '91-14=77'] Exploring Operation: 12+77=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,70 unequal: No Solution Exploring Operation: 12*77=924, Resulting Numbers: [924] 924,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[14, 79], Operations: ['88-74=14', '91-12=79'] Exploring Operation: 14+79=93, Resulting Numbers: [93] 93,70 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,70 unequal: No Solution Exploring Operation: 14*79=1106, Resulting Numbers: [1106] 1106,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[91, 2], Operations: ['88-74=14', '14-12=2'] Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,70 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[91, 26], Operations: ['88-74=14', '12+14=26'] Exploring Operation: 91*26=2366, Resulting Numbers: [2366] 2366,70 unequal: No Solution Exploring Operation: 91+26=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[88, 12, 17], Operations: ['91-74=17'] Exploring Operation: 88-17=71, Resulting Numbers: [12, 71] Generated Node #0,1,0: 70:[12, 71] Operation: 88-17=71 Exploring Operation: 12+17=29, Resulting Numbers: [88, 29] Generated Node #0,1,1: 70:[88, 29] Operation: 12+17=29 Exploring Operation: 88-12=76, Resulting Numbers: [17, 76] Generated Node #0,1,2: 70:[17, 76] Operation: 88-12=76 Exploring Operation: 17-12=5, Resulting Numbers: [88, 5] Generated Node #0,1,3: 70:[88, 5] Operation: 17-12=5 Moving to Node #0,2 Current State: 70:[74, 91, 76], Operations: ['88-12=76'] Exploring Operation: 76-74=2, Resulting Numbers: [91, 2] Generated Node #0,2,0: 70:[91, 2] Operation: 76-74=2 Exploring Operation: 74+91=165, Resulting Numbers: [76, 165] Generated Node #0,2,1: 70:[76, 165] Operation: 74+91=165 Exploring Operation: 91-74=17, Resulting Numbers: [76, 17] Generated Node #0,2,2: 70:[76, 17] Operation: 91-74=17 Exploring Operation: 91-76=15, Resulting Numbers: [74, 15] Generated Node #0,2,3: 70:[74, 15] Operation: 91-76=15 Moving to Node #0,1,0 Current State: 70:[12, 71], Operations: ['91-74=17', '88-17=71'] Exploring Operation: 12*71=852, Resulting Numbers: [852] 852,70 unequal: No Solution Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[74, 15], Operations: ['88-12=76', '91-76=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[76, 17], Operations: ['88-12=76', '91-74=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,70 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[17, 76], Operations: ['91-74=17', '88-12=76'] Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,70 unequal: No Solution Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,70 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[88, 5], Operations: ['91-74=17', '17-12=5'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,70 unequal: No Solution Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[91, 2], Operations: ['88-12=76', '76-74=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,70 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[88, 29], Operations: ['91-74=17', '12+17=29'] Exploring Operation: 88*29=2552, Resulting Numbers: [2552] 2552,70 unequal: No Solution Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 88+29=117, Resulting Numbers: [117] 117,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[76, 165], Operations: ['88-12=76', '74+91=165'] Exploring Operation: 76*165=12540, Resulting Numbers: [12540] 12540,70 unequal: No Solution Exploring Operation: 165-76=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 76+165=241, Resulting Numbers: [241] 241,70 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 33, 58, 57, 55 ]
42
[ "58-55=3", "33*3=99", "99-57=42" ]
Current State: 42:[33, 58, 57, 55], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [33, 57, 3] Generated Node #2: [33, 57, 3] from Operation: 58-55=3 Current State: 42:[33, 57, 3], Operations: ['58-55=3'] Exploring Operation: 33*3=99, Resulting Numbers: [57, 99] Generated Node #3: [57, 99] from Operation: 33*3=99 Current State: 42:[57, 99], Operations: ['58-55=3', '33*3=99'] Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[33, 58, 57, 55], Operations: [] Exploring Operation: 58-57=1, Resulting Numbers: [33, 55, 1] Generated Node #0,0: 42:[33, 55, 1] Operation: 58-57=1 Exploring Operation: 58-55=3, Resulting Numbers: [33, 57, 3] Generated Node #0,1: 42:[33, 57, 3] Operation: 58-55=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[33, 55, 1], Operations: ['58-57=1'] Exploring Operation: 33+1=34, Resulting Numbers: [55, 34] Generated Node #0,0,0: 42:[55, 34] Operation: 33+1=34 Exploring Operation: 55-33=22, Resulting Numbers: [1, 22] Generated Node #0,0,1: 42:[1, 22] Operation: 55-33=22 Moving to Node #0,0,1 Current State: 42:[1, 22], Operations: ['58-57=1', '55-33=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[55, 34], Operations: ['58-57=1', '33+1=34'] Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[33, 57, 3], Operations: ['58-55=3'] Exploring Operation: 57-33=24, Resulting Numbers: [3, 24] Generated Node #0,1,0: 42:[3, 24] Operation: 57-33=24 Exploring Operation: 57/3=19, Resulting Numbers: [33, 19] Generated Node #0,1,1: 42:[33, 19] Operation: 57/3=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[3, 24], Operations: ['58-55=3', '57-33=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[33, 19], Operations: ['58-55=3', '57/3=19'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 7, 90, 35, 36 ]
97
[ "7+90=97", "36-35=1", "97*1=97" ]
Current State: 97:[7, 90, 35, 36], Operations: [] Exploring Operation: 7+90=97, Resulting Numbers: [35, 36, 97] Generated Node #2: [35, 36, 97] from Operation: 7+90=97 Current State: 97:[35, 36, 97], Operations: ['7+90=97'] Exploring Operation: 36-35=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 36-35=1 Current State: 97:[97, 1], Operations: ['7+90=97', '36-35=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[7, 90, 35, 36], Operations: [] Exploring Operation: 7+35=42, Resulting Numbers: [90, 36, 42] Generated Node #0,0: 97:[90, 36, 42] Operation: 7+35=42 Exploring Operation: 7+90=97, Resulting Numbers: [35, 36, 97] Generated Node #0,1: 97:[35, 36, 97] Operation: 7+90=97 Exploring Operation: 7+36=43, Resulting Numbers: [90, 35, 43] Generated Node #0,2: 97:[90, 35, 43] Operation: 7+36=43 Exploring Operation: 35+36=71, Resulting Numbers: [7, 90, 71] Generated Node #0,3: 97:[7, 90, 71] Operation: 35+36=71 Moving to Node #0,0 Current State: 97:[90, 36, 42], Operations: ['7+35=42'] Exploring Operation: 90+36=126, Resulting Numbers: [42, 126] Generated Node #0,0,0: 97:[42, 126] Operation: 90+36=126 Exploring Operation: 36+42=78, Resulting Numbers: [90, 78] Generated Node #0,0,1: 97:[90, 78] Operation: 36+42=78 Exploring Operation: 90+42=132, Resulting Numbers: [36, 132] Generated Node #0,0,2: 97:[36, 132] Operation: 90+42=132 Exploring Operation: 90-36=54, Resulting Numbers: [42, 54] Generated Node #0,0,3: 97:[42, 54] Operation: 90-36=54 Moving to Node #0,2 Current State: 97:[90, 35, 43], Operations: ['7+36=43'] Exploring Operation: 35+43=78, Resulting Numbers: [90, 78] Generated Node #0,2,0: 97:[90, 78] Operation: 35+43=78 Exploring Operation: 43-35=8, Resulting Numbers: [90, 8] Generated Node #0,2,1: 97:[90, 8] Operation: 43-35=8 Exploring Operation: 90-35=55, Resulting Numbers: [43, 55] Generated Node #0,2,2: 97:[43, 55] Operation: 90-35=55 Exploring Operation: 90+35=125, Resulting Numbers: [43, 125] Generated Node #0,2,3: 97:[43, 125] Operation: 90+35=125 Moving to Node #0,1 Current State: 97:[35, 36, 97], Operations: ['7+90=97'] Exploring Operation: 35+97=132, Resulting Numbers: [36, 132] Generated Node #0,1,0: 97:[36, 132] Operation: 35+97=132 Exploring Operation: 97-35=62, Resulting Numbers: [36, 62] Generated Node #0,1,1: 97:[36, 62] Operation: 97-35=62 Exploring Operation: 35+36=71, Resulting Numbers: [97, 71] Generated Node #0,1,2: 97:[97, 71] Operation: 35+36=71 Exploring Operation: 36-35=1, Resulting Numbers: [97, 1] Generated Node #0,1,3: 97:[97, 1] Operation: 36-35=1 Moving to Node #0,3 Current State: 97:[7, 90, 71], Operations: ['35+36=71'] Exploring Operation: 71-7=64, Resulting Numbers: [90, 64] Generated Node #0,3,0: 97:[90, 64] Operation: 71-7=64 Exploring Operation: 7+90=97, Resulting Numbers: [71, 97] Generated Node #0,3,1: 97:[71, 97] Operation: 7+90=97 Exploring Operation: 7+71=78, Resulting Numbers: [90, 78] Generated Node #0,3,2: 97:[90, 78] Operation: 7+71=78 Exploring Operation: 90-7=83, Resulting Numbers: [71, 83] Generated Node #0,3,3: 97:[71, 83] Operation: 90-7=83 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[71, 97], Operations: ['35+36=71', '7+90=97'] Exploring Operation: 97-71=26, Resulting Numbers: [26] 26,97 unequal: No Solution Exploring Operation: 71+97=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 71*97=6887, Resulting Numbers: [6887] 6887,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[90, 78], Operations: ['35+36=71', '7+71=78'] Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 90*78=7020, Resulting Numbers: [7020] 7020,97 unequal: No Solution Exploring Operation: 90+78=168, Resulting Numbers: [168] 168,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[90, 64], Operations: ['35+36=71', '71-7=64'] Exploring Operation: 90*64=5760, Resulting Numbers: [5760] 5760,97 unequal: No Solution Exploring Operation: 90+64=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 90-64=26, Resulting Numbers: [26] 26,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[71, 83], Operations: ['35+36=71', '90-7=83'] Exploring Operation: 71*83=5893, Resulting Numbers: [5893] 5893,97 unequal: No Solution Exploring Operation: 71+83=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 83-71=12, Resulting Numbers: [12] 12,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 97:[90, 78], Operations: ['7+35=42', '36+42=78'] Exploring Operation: 90+78=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 90*78=7020, Resulting Numbers: [7020] 7020,97 unequal: No Solution Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[90, 78], Operations: ['7+36=43', '35+43=78'] Exploring Operation: 90+78=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 90*78=7020, Resulting Numbers: [7020] 7020,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[97, 71], Operations: ['7+90=97', '35+36=71'] Exploring Operation: 97+71=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 97*71=6887, Resulting Numbers: [6887] 6887,97 unequal: No Solution Exploring Operation: 97-71=26, Resulting Numbers: [26] 26,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[43, 125], Operations: ['7+36=43', '90+35=125'] Exploring Operation: 43+125=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 125-43=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 43*125=5375, Resulting Numbers: [5375] 5375,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[42, 126], Operations: ['7+35=42', '90+36=126'] Exploring Operation: 42*126=5292, Resulting Numbers: [5292] 5292,97 unequal: No Solution Exploring Operation: 126-42=84, Resulting Numbers: [84] 84,97 unequal: No Solution Exploring Operation: 42+126=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 126/42=3, Resulting Numbers: [3] 3,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[90, 8], Operations: ['7+36=43', '43-35=8'] Exploring Operation: 90*8=720, Resulting Numbers: [720] 720,97 unequal: No Solution Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,97 unequal: No Solution Exploring Operation: 90+8=98, Resulting Numbers: [98] 98,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[36, 62], Operations: ['7+90=97', '97-35=62'] Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,97 unequal: No Solution Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[36, 132], Operations: ['7+35=42', '90+42=132'] Exploring Operation: 36*132=4752, Resulting Numbers: [4752] 4752,97 unequal: No Solution Exploring Operation: 132-36=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 36+132=168, Resulting Numbers: [168] 168,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[36, 132], Operations: ['7+90=97', '35+97=132'] Exploring Operation: 132-36=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 36+132=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 36*132=4752, Resulting Numbers: [4752] 4752,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[43, 55], Operations: ['7+36=43', '90-35=55'] Exploring Operation: 43*55=2365, Resulting Numbers: [2365] 2365,97 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 43+55=98, Resulting Numbers: [98] 98,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[97, 1], Operations: ['7+90=97', '36-35=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[7, 90, 35, 36], Operations: [] Exploring Operation: 7+90=97, Resulting Numbers: [35, 36, 97] Generated Node #0,1: 97:[35, 36, 97] Operation: 7+90=97 Moving to Node #0,1 Current State: 97:[35, 36, 97], Operations: ['7+90=97'] Exploring Operation: 36-35=1, Resulting Numbers: [97, 1] Generated Node #0,1,3: 97:[97, 1] Operation: 36-35=1 Moving to Node #0,1,3 Current State: 97:[97, 1], Operations: ['7+90=97', '36-35=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.940972
hs_4
mult_heuristic
[ 3, 68, 27, 68 ]
84
[ "68/68=1", "27+1=28", "3*28=84" ]
Current State: 84:[3, 68, 27, 68], Operations: [] Exploring Operation: 68/68=1, Resulting Numbers: [3, 27, 1] Generated Node #2: [3, 27, 1] from Operation: 68/68=1 Current State: 84:[3, 27, 1], Operations: ['68/68=1'] Exploring Operation: 27+1=28, Resulting Numbers: [3, 28] Generated Node #3: [3, 28] from Operation: 27+1=28 Current State: 84:[3, 28], Operations: ['68/68=1', '27+1=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[3, 68, 27, 68], Operations: [] Exploring Operation: 68/68=1, Resulting Numbers: [3, 27, 1] Generated Node #0,0: 84:[3, 27, 1] Operation: 68/68=1 Exploring Operation: 68-27=41, Resulting Numbers: [3, 68, 41] Generated Node #0,1: 84:[3, 68, 41] Operation: 68-27=41 Exploring Operation: 68-27=41, Resulting Numbers: [3, 68, 41] Generated Node #0,2: 84:[3, 68, 41] Operation: 68-27=41 Exploring Operation: 68-68=0, Resulting Numbers: [3, 27, 0] Generated Node #0,3: 84:[3, 27, 0] Operation: 68-68=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[3, 27, 1], Operations: ['68/68=1'] Exploring Operation: 27+1=28, Resulting Numbers: [3, 28] Generated Node #0,0,0: 84:[3, 28] Operation: 27+1=28 Exploring Operation: 3+1=4, Resulting Numbers: [27, 4] Generated Node #0,0,1: 84:[27, 4] Operation: 3+1=4 Exploring Operation: 3*1=3, Resulting Numbers: [27, 3] Generated Node #0,0,2: 84:[27, 3] Operation: 3*1=3 Exploring Operation: 3-1=2, Resulting Numbers: [27, 2] Generated Node #0,0,3: 84:[27, 2] Operation: 3-1=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[3, 28], Operations: ['68/68=1', '27+1=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[3, 68, 27, 68], Operations: [] Exploring Operation: 68/68=1, Resulting Numbers: [3, 27, 1] Generated Node #0,0: 84:[3, 27, 1] Operation: 68/68=1 Moving to Node #0,0 Current State: 84:[3, 27, 1], Operations: ['68/68=1'] Exploring Operation: 27+1=28, Resulting Numbers: [3, 28] Generated Node #0,0,0: 84:[3, 28] Operation: 27+1=28 Moving to Node #0,0,0 Current State: 84:[3, 28], Operations: ['68/68=1', '27+1=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 4, 27, 86, 93 ]
56
[ "27+93=120", "120/4=30", "86-30=56" ]
Current State: 56:[4, 27, 86, 93], Operations: [] Exploring Operation: 27+93=120, Resulting Numbers: [4, 86, 120] Generated Node #2: [4, 86, 120] from Operation: 27+93=120 Current State: 56:[4, 86, 120], Operations: ['27+93=120'] Exploring Operation: 120/4=30, Resulting Numbers: [86, 30] Generated Node #3: [86, 30] from Operation: 120/4=30 Current State: 56:[86, 30], Operations: ['27+93=120', '120/4=30'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[4, 27, 86, 93], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [4, 27, 7] Generated Node #0,0: 56:[4, 27, 7] Operation: 93-86=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[4, 27, 7], Operations: ['93-86=7'] Exploring Operation: 4*7=28, Resulting Numbers: [27, 28] Generated Node #0,0,0: 56:[27, 28] Operation: 4*7=28 Moving to Node #0,0,0 Current State: 56:[27, 28], Operations: ['93-86=7', '4*7=28'] Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,56 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
[ 12, 3, 79, 96 ]
74
[ "96/12=8", "3+79=82", "82-8=74" ]
Current State: 74:[12, 3, 79, 96], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [3, 79, 8] Generated Node #2: [3, 79, 8] from Operation: 96/12=8 Current State: 74:[3, 79, 8], Operations: ['96/12=8'] Exploring Operation: 3+79=82, Resulting Numbers: [8, 82] Generated Node #3: [8, 82] from Operation: 3+79=82 Current State: 74:[8, 82], Operations: ['96/12=8', '3+79=82'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[12, 3, 79, 96], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [12, 79, 32] Generated Node #0,0: 74:[12, 79, 32] Operation: 96/3=32 Exploring Operation: 96-12=84, Resulting Numbers: [3, 79, 84] Generated Node #0,1: 74:[3, 79, 84] Operation: 96-12=84 Exploring Operation: 96/12=8, Resulting Numbers: [3, 79, 8] Generated Node #0,2: 74:[3, 79, 8] Operation: 96/12=8 Moving to Node #0,2 Current State: 74:[3, 79, 8], Operations: ['96/12=8'] Exploring Operation: 79-3=76, Resulting Numbers: [8, 76] Generated Node #0,2,0: 74:[8, 76] Operation: 79-3=76 Exploring Operation: 8-3=5, Resulting Numbers: [79, 5] Generated Node #0,2,1: 74:[79, 5] Operation: 8-3=5 Exploring Operation: 79-8=71, Resulting Numbers: [3, 71] Generated Node #0,2,2: 74:[3, 71] Operation: 79-8=71 Moving to Node #0,1 Current State: 74:[3, 79, 84], Operations: ['96-12=84'] Exploring Operation: 79-3=76, Resulting Numbers: [84, 76] Generated Node #0,1,0: 74:[84, 76] Operation: 79-3=76 Exploring Operation: 84-3=81, Resulting Numbers: [79, 81] Generated Node #0,1,1: 74:[79, 81] Operation: 84-3=81 Exploring Operation: 84-79=5, Resulting Numbers: [3, 5] Generated Node #0,1,2: 74:[3, 5] Operation: 84-79=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[3, 5], Operations: ['96-12=84', '84-79=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[84, 76], Operations: ['96-12=84', '79-3=76'] Exploring Operation: 84*76=6384, Resulting Numbers: [6384] 6384,74 unequal: No Solution Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 84+76=160, Resulting Numbers: [160] 160,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[79, 81], Operations: ['96-12=84', '84-3=81'] Exploring Operation: 81-79=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 79*81=6399, Resulting Numbers: [6399] 6399,74 unequal: No Solution Exploring Operation: 79+81=160, Resulting Numbers: [160] 160,74 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: 74:[12, 79, 32], Operations: ['96/3=32'] Exploring Operation: 79-12=67, Resulting Numbers: [32, 67] Generated Node #0,0,0: 74:[32, 67] Operation: 79-12=67 Exploring Operation: 12+32=44, Resulting Numbers: [79, 44] Generated Node #0,0,1: 74:[79, 44] Operation: 12+32=44 Exploring Operation: 79-32=47, Resulting Numbers: [12, 47] Generated Node #0,0,2: 74:[12, 47] Operation: 79-32=47 Moving to Node #0,2,2 Current State: 74:[3, 71], Operations: ['96/12=8', '79-8=71'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[12, 3, 79, 96], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [3, 79, 8] Generated Node #0,2: 74:[3, 79, 8] Operation: 96/12=8 Moving to Node #0,2 Current State: 74:[3, 79, 8], Operations: ['96/12=8'] Exploring Operation: 79-8=71, Resulting Numbers: [3, 71] Generated Node #0,2,2: 74:[3, 71] Operation: 79-8=71 Moving to Node #0,2,2 Current State: 74:[3, 71], Operations: ['96/12=8', '79-8=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 45, 9, 16, 6 ]
64
[ "45+9=54", "16-6=10", "54+10=64" ]
Current State: 64:[45, 9, 16, 6], Operations: [] Exploring Operation: 45+9=54, Resulting Numbers: [16, 6, 54] Generated Node #2: [16, 6, 54] from Operation: 45+9=54 Current State: 64:[16, 6, 54], Operations: ['45+9=54'] Exploring Operation: 16-6=10, Resulting Numbers: [54, 10] Generated Node #3: [54, 10] from Operation: 16-6=10 Current State: 64:[54, 10], Operations: ['45+9=54', '16-6=10'] Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[45, 9, 16, 6], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [16, 6, 5] Generated Node #0,0: 64:[16, 6, 5] Operation: 45/9=5 Exploring Operation: 45-9=36, Resulting Numbers: [16, 6, 36] Generated Node #0,1: 64:[16, 6, 36] Operation: 45-9=36 Exploring Operation: 45+16=61, Resulting Numbers: [9, 6, 61] Generated Node #0,2: 64:[9, 6, 61] Operation: 45+16=61 Exploring Operation: 45-16=29, Resulting Numbers: [9, 6, 29] Generated Node #0,3: 64:[9, 6, 29] Operation: 45-16=29 Exploring Operation: 45-6=39, Resulting Numbers: [9, 16, 39] Generated Node #0,4: 64:[9, 16, 39] Operation: 45-6=39 Moving to Node #0,0 Current State: 64:[16, 6, 5], Operations: ['45/9=5'] Exploring Operation: 6+5=11, Resulting Numbers: [16, 11] Generated Node #0,0,0: 64:[16, 11] Operation: 6+5=11 Exploring Operation: 6*5=30, Resulting Numbers: [16, 30] Generated Node #0,0,1: 64:[16, 30] Operation: 6*5=30 Exploring Operation: 16-5=11, Resulting Numbers: [6, 11] Generated Node #0,0,2: 64:[6, 11] Operation: 16-5=11 Exploring Operation: 6-5=1, Resulting Numbers: [16, 1] Generated Node #0,0,3: 64:[16, 1] Operation: 6-5=1 Exploring Operation: 16-6=10, Resulting Numbers: [5, 10] Generated Node #0,0,4: 64:[5, 10] Operation: 16-6=10 Moving to Node #0,2 Current State: 64:[9, 6, 61], Operations: ['45+16=61'] Exploring Operation: 9+61=70, Resulting Numbers: [6, 70] Generated Node #0,2,0: 64:[6, 70] Operation: 9+61=70 Exploring Operation: 61-6=55, Resulting Numbers: [9, 55] Generated Node #0,2,1: 64:[9, 55] Operation: 61-6=55 Exploring Operation: 9-6=3, Resulting Numbers: [61, 3] Generated Node #0,2,2: 64:[61, 3] Operation: 9-6=3 Exploring Operation: 6+61=67, Resulting Numbers: [9, 67] Generated Node #0,2,3: 64:[9, 67] Operation: 6+61=67 Exploring Operation: 9+6=15, Resulting Numbers: [61, 15] Generated Node #0,2,4: 64:[61, 15] Operation: 9+6=15 Moving to Node #0,1 Current State: 64:[16, 6, 36], Operations: ['45-9=36'] Exploring Operation: 16-6=10, Resulting Numbers: [36, 10] Generated Node #0,1,0: 64:[36, 10] Operation: 16-6=10 Exploring Operation: 16+6=22, Resulting Numbers: [36, 22] Generated Node #0,1,1: 64:[36, 22] Operation: 16+6=22 Exploring Operation: 36-16=20, Resulting Numbers: [6, 20] Generated Node #0,1,2: 64:[6, 20] Operation: 36-16=20 Exploring Operation: 36/6=6, Resulting Numbers: [16, 6] Generated Node #0,1,3: 64:[16, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [16, 30] Generated Node #0,1,4: 64:[16, 30] Operation: 36-6=30 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[16, 6], Operations: ['45-9=36', '36/6=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,64 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 64:[16, 30], Operations: ['45-9=36', '36-6=30'] Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,64 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,64 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[36, 10], Operations: ['45-9=36', '16-6=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,64 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,64 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[6, 20], Operations: ['45-9=36', '36-16=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,64 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[36, 22], Operations: ['45-9=36', '16+6=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,64 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,64 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: 64:[9, 6, 29], Operations: ['45-16=29'] Exploring Operation: 9+6=15, Resulting Numbers: [29, 15] Generated Node #0,3,0: 64:[29, 15] Operation: 9+6=15 Exploring Operation: 6+29=35, Resulting Numbers: [9, 35] Generated Node #0,3,1: 64:[9, 35] Operation: 6+29=35 Exploring Operation: 9+29=38, Resulting Numbers: [6, 38] Generated Node #0,3,2: 64:[6, 38] Operation: 9+29=38 Exploring Operation: 9-6=3, Resulting Numbers: [29, 3] Generated Node #0,3,3: 64:[29, 3] Operation: 9-6=3 Exploring Operation: 29-9=20, Resulting Numbers: [6, 20] Generated Node #0,3,4: 64:[6, 20] Operation: 29-9=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[29, 15], Operations: ['45-16=29', '9+6=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,64 unequal: No Solution Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[9, 35], Operations: ['45-16=29', '6+29=35'] Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[29, 3], Operations: ['45-16=29', '9-6=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,64 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 64:[6, 20], Operations: ['45-16=29', '29-9=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,64 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[6, 38], Operations: ['45-16=29', '9+29=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,64 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 64:[9, 16, 39], Operations: ['45-6=39'] Exploring Operation: 9+16=25, Resulting Numbers: [39, 25] Generated Node #0,4,0: 64:[39, 25] Operation: 9+16=25 Exploring Operation: 16-9=7, Resulting Numbers: [39, 7] Generated Node #0,4,1: 64:[39, 7] Operation: 16-9=7 Exploring Operation: 16+39=55, Resulting Numbers: [9, 55] Generated Node #0,4,2: 64:[9, 55] Operation: 16+39=55 Exploring Operation: 39-16=23, Resulting Numbers: [9, 23] Generated Node #0,4,3: 64:[9, 23] Operation: 39-16=23 Exploring Operation: 39-9=30, Resulting Numbers: [16, 30] Generated Node #0,4,4: 64:[16, 30] Operation: 39-9=30 Moving to Node #0,0,3 Current State: 64:[16, 1], Operations: ['45/9=5', '6-5=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[16, 30], Operations: ['45/9=5', '6*5=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,64 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[16, 30], Operations: ['45-6=39', '39-9=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,64 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[16, 11], Operations: ['45/9=5', '6+5=11'] Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,64 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[5, 10], Operations: ['45/9=5', '16-6=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[9, 67], Operations: ['45+16=61', '6+61=67'] Exploring Operation: 9*67=603, Resulting Numbers: [603] 603,64 unequal: No Solution Exploring Operation: 9+67=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[61, 3], Operations: ['45+16=61', '9-6=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[45, 9, 16, 6], Operations: [] Exploring Operation: 45+16=61, Resulting Numbers: [9, 6, 61] Generated Node #0,2: 64:[9, 6, 61] Operation: 45+16=61 Moving to Node #0,2 Current State: 64:[9, 6, 61], Operations: ['45+16=61'] Exploring Operation: 9-6=3, Resulting Numbers: [61, 3] Generated Node #0,2,2: 64:[61, 3] Operation: 9-6=3 Moving to Node #0,2,2 Current State: 64:[61, 3], Operations: ['45+16=61', '9-6=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.926215
hs_5
sum_heuristic
[ 56, 9, 60, 68 ]
48
[ "68-56=12", "9*12=108", "108-60=48" ]
Current State: 48:[56, 9, 60, 68], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [9, 60, 12] Generated Node #2: [9, 60, 12] from Operation: 68-56=12 Current State: 48:[9, 60, 12], Operations: ['68-56=12'] Exploring Operation: 9*12=108, Resulting Numbers: [60, 108] Generated Node #3: [60, 108] from Operation: 9*12=108 Current State: 48:[60, 108], Operations: ['68-56=12', '9*12=108'] Exploring Operation: 108-60=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[56, 9, 60, 68], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [9, 60, 12] Generated Node #0,0: 48:[9, 60, 12] Operation: 68-56=12 Exploring Operation: 68-60=8, Resulting Numbers: [56, 9, 8] Generated Node #0,1: 48:[56, 9, 8] Operation: 68-60=8 Exploring Operation: 68-9=59, Resulting Numbers: [56, 60, 59] Generated Node #0,2: 48:[56, 60, 59] Operation: 68-9=59 Exploring Operation: 60-56=4, Resulting Numbers: [9, 68, 4] Generated Node #0,3: 48:[9, 68, 4] Operation: 60-56=4 Exploring Operation: 60-9=51, Resulting Numbers: [56, 68, 51] Generated Node #0,4: 48:[56, 68, 51] Operation: 60-9=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[56, 9, 8], Operations: ['68-60=8'] Exploring Operation: 9-8=1, Resulting Numbers: [56, 1] Generated Node #0,1,0: 48:[56, 1] Operation: 9-8=1 Exploring Operation: 56-9=47, Resulting Numbers: [8, 47] Generated Node #0,1,1: 48:[8, 47] Operation: 56-9=47 Exploring Operation: 56/8=7, Resulting Numbers: [9, 7] Generated Node #0,1,2: 48:[9, 7] Operation: 56/8=7 Exploring Operation: 56-8=48, Resulting Numbers: [9, 48] Generated Node #0,1,3: 48:[9, 48] Operation: 56-8=48 Exploring Operation: 9+8=17, Resulting Numbers: [56, 17] Generated Node #0,1,4: 48:[56, 17] Operation: 9+8=17 Moving to Node #0,1,1 Current State: 48:[8, 47], Operations: ['68-60=8', '56-9=47'] Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[9, 48], Operations: ['68-60=8', '56-8=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[9, 7], Operations: ['68-60=8', '56/8=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[56, 1], Operations: ['68-60=8', '9-8=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[56, 17], Operations: ['68-60=8', '9+8=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,48 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,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,0 Current State: 48:[9, 60, 12], Operations: ['68-56=12'] Exploring Operation: 12-9=3, Resulting Numbers: [60, 3] Generated Node #0,0,0: 48:[60, 3] Operation: 12-9=3 Exploring Operation: 60-9=51, Resulting Numbers: [12, 51] Generated Node #0,0,1: 48:[12, 51] Operation: 60-9=51 Exploring Operation: 60/12=5, Resulting Numbers: [9, 5] Generated Node #0,0,2: 48:[9, 5] Operation: 60/12=5 Exploring Operation: 60-12=48, Resulting Numbers: [9, 48] Generated Node #0,0,3: 48:[9, 48] Operation: 60-12=48 Exploring Operation: 9+12=21, Resulting Numbers: [60, 21] Generated Node #0,0,4: 48:[60, 21] Operation: 9+12=21 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 48:[9, 48], Operations: ['68-56=12', '60-12=48'] Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,48 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,48 unequal: No Solution No 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: 48:[9, 5], Operations: ['68-56=12', '60/12=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,48 unequal: No Solution No 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: 48:[12, 51], Operations: ['68-56=12', '60-9=51'] Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 12*51=612, Resulting Numbers: [612] 612,48 unequal: No Solution No 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: 48:[60, 3], Operations: ['68-56=12', '12-9=3'] Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,48 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,48 unequal: No Solution No 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: 48:[60, 21], Operations: ['68-56=12', '9+12=21'] Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,48 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,48 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: 48:[9, 68, 4], Operations: ['60-56=4'] Exploring Operation: 9+4=13, Resulting Numbers: [68, 13] Generated Node #0,3,0: 48:[68, 13] Operation: 9+4=13 Exploring Operation: 9-4=5, Resulting Numbers: [68, 5] Generated Node #0,3,1: 48:[68, 5] Operation: 9-4=5 Exploring Operation: 68/4=17, Resulting Numbers: [9, 17] Generated Node #0,3,2: 48:[9, 17] Operation: 68/4=17 Exploring Operation: 68-9=59, Resulting Numbers: [4, 59] Generated Node #0,3,3: 48:[4, 59] Operation: 68-9=59 Exploring Operation: 68-4=64, Resulting Numbers: [9, 64] Generated Node #0,3,4: 48:[9, 64] Operation: 68-4=64 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 48:[9, 17], Operations: ['60-56=4', '68/4=17'] Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,48 unequal: No Solution No 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: 48:[4, 59], Operations: ['60-56=4', '68-9=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,48 unequal: No Solution No 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: 48:[9, 64], Operations: ['60-56=4', '68-4=64'] Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,48 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,48 unequal: No Solution No 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: 48:[68, 13], Operations: ['60-56=4', '9+4=13'] Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,48 unequal: No Solution Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,48 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,48 unequal: No Solution No 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: 48:[68, 5], Operations: ['60-56=4', '9-4=5'] Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,48 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,48 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: 48:[56, 60, 59], Operations: ['68-9=59'] Exploring Operation: 60-56=4, Resulting Numbers: [59, 4] Generated Node #0,2,0: 48:[59, 4] Operation: 60-56=4 Exploring Operation: 60-59=1, Resulting Numbers: [56, 1] Generated Node #0,2,1: 48:[56, 1] Operation: 60-59=1 Exploring Operation: 59-56=3, Resulting Numbers: [60, 3] Generated Node #0,2,2: 48:[60, 3] Operation: 59-56=3 Exploring Operation: 56+60=116, Resulting Numbers: [59, 116] Generated Node #0,2,3: 48:[59, 116] Operation: 56+60=116 Exploring Operation: 56+59=115, Resulting Numbers: [60, 115] Generated Node #0,2,4: 48:[60, 115] Operation: 56+59=115 Moving to Node #0,2,1 Current State: 48:[56, 1], Operations: ['68-9=59', '60-59=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[59, 4], Operations: ['68-9=59', '60-56=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[60, 3], Operations: ['68-9=59', '59-56=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[59, 116], Operations: ['68-9=59', '56+60=116'] Exploring Operation: 59+116=175, Resulting Numbers: [175] 175,48 unequal: No Solution Exploring Operation: 116-59=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 59*116=6844, Resulting Numbers: [6844] 6844,48 unequal: No Solution Moving to Node #0,2,4 Current State: 48:[60, 115], Operations: ['68-9=59', '56+59=115'] Exploring Operation: 60+115=175, Resulting Numbers: [175] 175,48 unequal: No Solution Exploring Operation: 115-60=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 60*115=6900, Resulting Numbers: [6900] 6900,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,4 Current State: 48:[56, 68, 51], Operations: ['60-9=51'] Exploring Operation: 56+51=107, Resulting Numbers: [68, 107] Generated Node #0,4,0: 48:[68, 107] Operation: 56+51=107 Exploring Operation: 56-51=5, Resulting Numbers: [68, 5] Generated Node #0,4,1: 48:[68, 5] Operation: 56-51=5 Exploring Operation: 68-56=12, Resulting Numbers: [51, 12] Generated Node #0,4,2: 48:[51, 12] Operation: 68-56=12 Exploring Operation: 56+68=124, Resulting Numbers: [51, 124] Generated Node #0,4,3: 48:[51, 124] Operation: 56+68=124 Exploring Operation: 68-51=17, Resulting Numbers: [56, 17] Generated Node #0,4,4: 48:[56, 17] Operation: 68-51=17 Moving to Node #0,4,2 Current State: 48:[51, 12], Operations: ['60-9=51', '68-56=12'] Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,48 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,48 unequal: No Solution Moving to Node #0,4,4 Current State: 48:[56, 17], Operations: ['60-9=51', '68-51=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,48 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,48 unequal: No Solution Moving to Node #0,4,1 Current State: 48:[68, 5], Operations: ['60-9=51', '56-51=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[68, 107], Operations: ['60-9=51', '56+51=107'] Exploring Operation: 107-68=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 68+107=175, Resulting Numbers: [175] 175,48 unequal: No Solution Exploring Operation: 68*107=7276, Resulting Numbers: [7276] 7276,48 unequal: No Solution Moving to Node #0,4,3 Current State: 48:[51, 124], Operations: ['60-9=51', '56+68=124'] Exploring Operation: 51+124=175, Resulting Numbers: [175] 175,48 unequal: No Solution Exploring Operation: 124-51=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 51*124=6324, Resulting Numbers: [6324] 6324,48 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
[ 10, 75, 6, 56 ]
76
[ "10-6=4", "75-56=19", "4*19=76" ]
Current State: 76:[10, 75, 6, 56], Operations: [] Exploring Operation: 10-6=4, Resulting Numbers: [75, 56, 4] Generated Node #2: [75, 56, 4] from Operation: 10-6=4 Current State: 76:[75, 56, 4], Operations: ['10-6=4'] Exploring Operation: 75-56=19, Resulting Numbers: [4, 19] Generated Node #3: [4, 19] from Operation: 75-56=19 Current State: 76:[4, 19], Operations: ['10-6=4', '75-56=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[10, 75, 6, 56], Operations: [] Exploring Operation: 75-56=19, Resulting Numbers: [10, 6, 19] Generated Node #0,0: 76:[10, 6, 19] Operation: 75-56=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[10, 6, 19], Operations: ['75-56=19'] Exploring Operation: 10-6=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 76:[19, 4] Operation: 10-6=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[19, 4], Operations: ['75-56=19', '10-6=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[10, 75, 6, 56], Operations: [] Exploring Operation: 75-56=19, Resulting Numbers: [10, 6, 19] Generated Node #0,0: 76:[10, 6, 19] Operation: 75-56=19 Moving to Node #0,0 Current State: 76:[10, 6, 19], Operations: ['75-56=19'] Exploring Operation: 10-6=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 76:[19, 4] Operation: 10-6=4 Moving to Node #0,0,0 Current State: 76:[19, 4], Operations: ['75-56=19', '10-6=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 11, 6, 30, 13 ]
33
[ "13-11=2", "6/2=3", "30+3=33" ]
Current State: 33:[11, 6, 30, 13], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [6, 30, 2] Generated Node #2: [6, 30, 2] from Operation: 13-11=2 Current State: 33:[6, 30, 2], Operations: ['13-11=2'] Exploring Operation: 6/2=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 6/2=3 Current State: 33:[30, 3], Operations: ['13-11=2', '6/2=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[11, 6, 30, 13], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [11, 13, 5] Generated Node #0,0: 33:[11, 13, 5] Operation: 30/6=5 Exploring Operation: 6+30=36, Resulting Numbers: [11, 13, 36] Generated Node #0,1: 33:[11, 13, 36] Operation: 6+30=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[11, 13, 5], Operations: ['30/6=5'] Exploring Operation: 13-11=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 33:[5, 2] Operation: 13-11=2 Exploring Operation: 13-5=8, Resulting Numbers: [11, 8] Generated Node #0,0,1: 33:[11, 8] Operation: 13-5=8 Moving to Node #0,0,0 Current State: 33:[5, 2], Operations: ['30/6=5', '13-11=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[11, 8], Operations: ['30/6=5', '13-5=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[11, 13, 36], Operations: ['6+30=36'] Exploring Operation: 36-11=25, Resulting Numbers: [13, 25] Generated Node #0,1,0: 33:[13, 25] Operation: 36-11=25 Exploring Operation: 13-11=2, Resulting Numbers: [36, 2] Generated Node #0,1,1: 33:[36, 2] Operation: 13-11=2 Moving to Node #0,1,1 Current State: 33:[36, 2], Operations: ['6+30=36', '13-11=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[13, 25], Operations: ['6+30=36', '36-11=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 43, 75, 18, 23 ]
77
[ "43+75=118", "18+23=41", "118-41=77" ]
Current State: 77:[43, 75, 18, 23], Operations: [] Exploring Operation: 43+75=118, Resulting Numbers: [18, 23, 118] Generated Node #2: [18, 23, 118] from Operation: 43+75=118 Current State: 77:[18, 23, 118], Operations: ['43+75=118'] Exploring Operation: 18+23=41, Resulting Numbers: [118, 41] Generated Node #3: [118, 41] from Operation: 18+23=41 Current State: 77:[118, 41], Operations: ['43+75=118', '18+23=41'] Exploring Operation: 118-41=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[43, 75, 18, 23], Operations: [] Exploring Operation: 43+23=66, Resulting Numbers: [75, 18, 66] Generated Node #0,0: 77:[75, 18, 66] Operation: 43+23=66 Exploring Operation: 43-23=20, Resulting Numbers: [75, 18, 20] Generated Node #0,1: 77:[75, 18, 20] Operation: 43-23=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[75, 18, 20], Operations: ['43-23=20'] Exploring Operation: 20-18=2, Resulting Numbers: [75, 2] Generated Node #0,1,0: 77:[75, 2] Operation: 20-18=2 Exploring Operation: 75+18=93, Resulting Numbers: [20, 93] Generated Node #0,1,1: 77:[20, 93] Operation: 75+18=93 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[75, 2], Operations: ['43-23=20', '20-18=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[43, 75, 18, 23], Operations: [] Exploring Operation: 43-23=20, Resulting Numbers: [75, 18, 20] Generated Node #0,1: 77:[75, 18, 20] Operation: 43-23=20 Moving to Node #0,1 Current State: 77:[75, 18, 20], Operations: ['43-23=20'] Exploring Operation: 20-18=2, Resulting Numbers: [75, 2] Generated Node #0,1,0: 77:[75, 2] Operation: 20-18=2 Moving to Node #0,1,0 Current State: 77:[75, 2], Operations: ['43-23=20', '20-18=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 74, 12, 39, 78 ]
60
[ "74-12=62", "78/39=2", "62-2=60" ]
Current State: 60:[74, 12, 39, 78], Operations: [] Exploring Operation: 74-12=62, Resulting Numbers: [39, 78, 62] Generated Node #2: [39, 78, 62] from Operation: 74-12=62 Current State: 60:[39, 78, 62], Operations: ['74-12=62'] Exploring Operation: 78/39=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 78/39=2 Current State: 60:[62, 2], Operations: ['74-12=62', '78/39=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[74, 12, 39, 78], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [74, 12, 2] Generated Node #0,0: 60:[74, 12, 2] Operation: 78/39=2 Exploring Operation: 74-39=35, Resulting Numbers: [12, 78, 35] Generated Node #0,1: 60:[12, 78, 35] Operation: 74-39=35 Exploring Operation: 78-74=4, Resulting Numbers: [12, 39, 4] Generated Node #0,2: 60:[12, 39, 4] Operation: 78-74=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[12, 39, 4], Operations: ['78-74=4'] Exploring Operation: 39-4=35, Resulting Numbers: [12, 35] Generated Node #0,2,0: 60:[12, 35] Operation: 39-4=35 Exploring Operation: 39-12=27, Resulting Numbers: [4, 27] Generated Node #0,2,1: 60:[4, 27] Operation: 39-12=27 Exploring Operation: 12+39=51, Resulting Numbers: [4, 51] Generated Node #0,2,2: 60:[4, 51] Operation: 12+39=51 Moving to Node #0,2,1 Current State: 60:[4, 27], Operations: ['78-74=4', '39-12=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,60 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[12, 35], Operations: ['78-74=4', '39-4=35'] Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,60 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[4, 51], Operations: ['78-74=4', '12+39=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,60 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,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:[74, 12, 2], Operations: ['78/39=2'] Exploring Operation: 74/2=37, Resulting Numbers: [12, 37] Generated Node #0,0,0: 60:[12, 37] Operation: 74/2=37 Exploring Operation: 74-12=62, Resulting Numbers: [2, 62] Generated Node #0,0,1: 60:[2, 62] Operation: 74-12=62 Exploring Operation: 74-2=72, Resulting Numbers: [12, 72] Generated Node #0,0,2: 60:[12, 72] Operation: 74-2=72 Moving to Node #0,0,1 Current State: 60:[2, 62], Operations: ['78/39=2', '74-12=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[74, 12, 39, 78], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [74, 12, 2] Generated Node #0,0: 60:[74, 12, 2] Operation: 78/39=2 Moving to Node #0,0 Current State: 60:[74, 12, 2], Operations: ['78/39=2'] Exploring Operation: 74-12=62, Resulting Numbers: [2, 62] Generated Node #0,0,1: 60:[2, 62] Operation: 74-12=62 Moving to Node #0,0,1 Current State: 60:[2, 62], Operations: ['78/39=2', '74-12=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 96, 16, 96, 48 ]
33
[ "96/96=1", "48-16=32", "1+32=33" ]
Current State: 33:[96, 16, 96, 48], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [16, 48, 1] Generated Node #2: [16, 48, 1] from Operation: 96/96=1 Current State: 33:[16, 48, 1], Operations: ['96/96=1'] Exploring Operation: 48-16=32, Resulting Numbers: [1, 32] Generated Node #3: [1, 32] from Operation: 48-16=32 Current State: 33:[1, 32], Operations: ['96/96=1', '48-16=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[96, 16, 96, 48], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [16, 48, 1] Generated Node #0,0: 33:[16, 48, 1] Operation: 96/96=1 Moving to Node #0,0 Current State: 33:[16, 48, 1], Operations: ['96/96=1'] Exploring Operation: 48/16=3, Resulting Numbers: [1, 3] Generated Node #0,0,0: 33:[1, 3] Operation: 48/16=3 Moving to Node #0,0,0 Current State: 33:[1, 3], Operations: ['96/96=1', '48/16=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 56, 48, 44, 9 ]
64
[ "56-44=12", "48*12=576", "576/9=64" ]
Current State: 64:[56, 48, 44, 9], Operations: [] Exploring Operation: 56-44=12, Resulting Numbers: [48, 9, 12] Generated Node #2: [48, 9, 12] from Operation: 56-44=12 Current State: 64:[48, 9, 12], Operations: ['56-44=12'] Exploring Operation: 48*12=576, Resulting Numbers: [9, 576] Generated Node #3: [9, 576] from Operation: 48*12=576 Current State: 64:[9, 576], Operations: ['56-44=12', '48*12=576'] Exploring Operation: 576/9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[56, 48, 44, 9], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [56, 9, 4] Generated Node #0,0: 64:[56, 9, 4] Operation: 48-44=4 Moving to Node #0,0 Current State: 64:[56, 9, 4], Operations: ['48-44=4'] Exploring Operation: 56+9=65, Resulting Numbers: [4, 65] Generated Node #0,0,0: 64:[4, 65] Operation: 56+9=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[4, 65], Operations: ['48-44=4', '56+9=65'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 51, 3, 75, 85 ]
27
[ "51/3=17", "85-75=10", "17+10=27" ]
Current State: 27:[51, 3, 75, 85], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [75, 85, 17] Generated Node #2: [75, 85, 17] from Operation: 51/3=17 Current State: 27:[75, 85, 17], Operations: ['51/3=17'] Exploring Operation: 85-75=10, Resulting Numbers: [17, 10] Generated Node #3: [17, 10] from Operation: 85-75=10 Current State: 27:[17, 10], Operations: ['51/3=17', '85-75=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[51, 3, 75, 85], Operations: [] Exploring Operation: 85-51=34, Resulting Numbers: [3, 75, 34] Generated Node #0,0: 27:[3, 75, 34] Operation: 85-51=34 Exploring Operation: 75/3=25, Resulting Numbers: [51, 85, 25] Generated Node #0,1: 27:[51, 85, 25] Operation: 75/3=25 Exploring Operation: 75-51=24, Resulting Numbers: [3, 85, 24] Generated Node #0,2: 27:[3, 85, 24] Operation: 75-51=24 Exploring Operation: 85-75=10, Resulting Numbers: [51, 3, 10] Generated Node #0,3: 27:[51, 3, 10] Operation: 85-75=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[51, 3, 10], Operations: ['85-75=10'] Exploring Operation: 51/3=17, Resulting Numbers: [10, 17] Generated Node #0,3,0: 27:[10, 17] Operation: 51/3=17 Exploring Operation: 10-3=7, Resulting Numbers: [51, 7] Generated Node #0,3,1: 27:[51, 7] Operation: 10-3=7 Exploring Operation: 51-10=41, Resulting Numbers: [3, 41] Generated Node #0,3,2: 27:[3, 41] Operation: 51-10=41 Exploring Operation: 51-3=48, Resulting Numbers: [10, 48] Generated Node #0,3,3: 27:[10, 48] Operation: 51-3=48 Moving to Node #0,3,0 Current State: 27:[10, 17], Operations: ['85-75=10', '51/3=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,27 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[51, 3, 75, 85], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [51, 3, 10] Generated Node #0,3: 27:[51, 3, 10] Operation: 85-75=10 Moving to Node #0,3 Current State: 27:[51, 3, 10], Operations: ['85-75=10'] Exploring Operation: 51/3=17, Resulting Numbers: [10, 17] Generated Node #0,3,0: 27:[10, 17] Operation: 51/3=17 Moving to Node #0,3,0 Current State: 27:[10, 17], Operations: ['85-75=10', '51/3=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 36, 40, 3, 38 ]
83
[ "38-36=2", "40*2=80", "3+80=83" ]
Current State: 83:[36, 40, 3, 38], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [40, 3, 2] Generated Node #2: [40, 3, 2] from Operation: 38-36=2 Current State: 83:[40, 3, 2], Operations: ['38-36=2'] Exploring Operation: 40*2=80, Resulting Numbers: [3, 80] Generated Node #3: [3, 80] from Operation: 40*2=80 Current State: 83:[3, 80], Operations: ['38-36=2', '40*2=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[36, 40, 3, 38], Operations: [] Exploring Operation: 36*3=108, Resulting Numbers: [40, 38, 108] Generated Node #0,0: 83:[40, 38, 108] Operation: 36*3=108 Exploring Operation: 3*38=114, Resulting Numbers: [36, 40, 114] Generated Node #0,1: 83:[36, 40, 114] Operation: 3*38=114 Exploring Operation: 40*3=120, Resulting Numbers: [36, 38, 120] Generated Node #0,2: 83:[36, 38, 120] Operation: 40*3=120 Exploring Operation: 36+40=76, Resulting Numbers: [3, 38, 76] Generated Node #0,3: 83:[3, 38, 76] Operation: 36+40=76 Moving to Node #0,0 Current State: 83:[40, 38, 108], Operations: ['36*3=108'] Exploring Operation: 40+38=78, Resulting Numbers: [108, 78] Generated Node #0,0,0: 83:[108, 78] Operation: 40+38=78 Exploring Operation: 108-38=70, Resulting Numbers: [40, 70] Generated Node #0,0,1: 83:[40, 70] Operation: 108-38=70 Exploring Operation: 108-40=68, Resulting Numbers: [38, 68] Generated Node #0,0,2: 83:[38, 68] Operation: 108-40=68 Exploring Operation: 40-38=2, Resulting Numbers: [108, 2] Generated Node #0,0,3: 83:[108, 2] Operation: 40-38=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[108, 78], Operations: ['36*3=108', '40+38=78'] Exploring Operation: 108-78=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 108*78=8424, Resulting Numbers: [8424] 8424,83 unequal: No Solution Exploring Operation: 108+78=186, Resulting Numbers: [186] 186,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[40, 70], Operations: ['36*3=108', '108-38=70'] Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,83 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[38, 68], Operations: ['36*3=108', '108-40=68'] Exploring Operation: 38*68=2584, Resulting Numbers: [2584] 2584,83 unequal: No Solution Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[108, 2], Operations: ['36*3=108', '40-38=2'] Exploring Operation: 108*2=216, Resulting Numbers: [216] 216,83 unequal: No Solution Exploring Operation: 108/2=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 108+2=110, Resulting Numbers: [110] 110,83 unequal: No Solution Exploring Operation: 108-2=106, Resulting Numbers: [106] 106,83 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: 83:[36, 40, 114], Operations: ['3*38=114'] Exploring Operation: 40-36=4, Resulting Numbers: [114, 4] Generated Node #0,1,0: 83:[114, 4] Operation: 40-36=4 Exploring Operation: 36+40=76, Resulting Numbers: [114, 76] Generated Node #0,1,1: 83:[114, 76] Operation: 36+40=76 Exploring Operation: 114-36=78, Resulting Numbers: [40, 78] Generated Node #0,1,2: 83:[40, 78] Operation: 114-36=78 Exploring Operation: 114-40=74, Resulting Numbers: [36, 74] Generated Node #0,1,3: 83:[36, 74] Operation: 114-40=74 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[114, 76], Operations: ['3*38=114', '36+40=76'] Exploring Operation: 114*76=8664, Resulting Numbers: [8664] 8664,83 unequal: No Solution Exploring Operation: 114-76=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 114+76=190, Resulting Numbers: [190] 190,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[40, 78], Operations: ['3*38=114', '114-36=78'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,83 unequal: No Solution Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[36, 74], Operations: ['3*38=114', '114-40=74'] Exploring Operation: 36*74=2664, Resulting Numbers: [2664] 2664,83 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 36+74=110, Resulting Numbers: [110] 110,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[114, 4], Operations: ['3*38=114', '40-36=4'] Exploring Operation: 114*4=456, Resulting Numbers: [456] 456,83 unequal: No Solution Exploring Operation: 114-4=110, Resulting Numbers: [110] 110,83 unequal: No Solution Exploring Operation: 114+4=118, Resulting Numbers: [118] 118,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[36, 38, 120], Operations: ['40*3=120'] Exploring Operation: 120-36=84, Resulting Numbers: [38, 84] Generated Node #0,2,0: 83:[38, 84] Operation: 120-36=84 Exploring Operation: 38-36=2, Resulting Numbers: [120, 2] Generated Node #0,2,1: 83:[120, 2] Operation: 38-36=2 Exploring Operation: 36+38=74, Resulting Numbers: [120, 74] Generated Node #0,2,2: 83:[120, 74] Operation: 36+38=74 Exploring Operation: 120-38=82, Resulting Numbers: [36, 82] Generated Node #0,2,3: 83:[36, 82] Operation: 120-38=82 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[38, 84], Operations: ['40*3=120', '120-36=84'] Exploring Operation: 38+84=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 38*84=3192, Resulting Numbers: [3192] 3192,83 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,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,2 Current State: 83:[120, 74], Operations: ['40*3=120', '36+38=74'] Exploring Operation: 120*74=8880, Resulting Numbers: [8880] 8880,83 unequal: No Solution Exploring Operation: 120-74=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 120+74=194, Resulting Numbers: [194] 194,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,3 Current State: 83:[36, 82], Operations: ['40*3=120', '120-38=82'] Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,83 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,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,1 Current State: 83:[120, 2], Operations: ['40*3=120', '38-36=2'] Exploring Operation: 120+2=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 120-2=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 120/2=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 120*2=240, Resulting Numbers: [240] 240,83 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: 83:[3, 38, 76], Operations: ['36+40=76'] Exploring Operation: 3+38=41, Resulting Numbers: [76, 41] Generated Node #0,3,0: 83:[76, 41] Operation: 3+38=41 Exploring Operation: 3*38=114, Resulting Numbers: [76, 114] Generated Node #0,3,1: 83:[76, 114] Operation: 3*38=114 Exploring Operation: 3+76=79, Resulting Numbers: [38, 79] Generated Node #0,3,2: 83:[38, 79] Operation: 3+76=79 Exploring Operation: 38-3=35, Resulting Numbers: [76, 35] Generated Node #0,3,3: 83:[76, 35] Operation: 38-3=35 Moving to Node #0,3,1 Current State: 83:[76, 114], Operations: ['36+40=76', '3*38=114'] Exploring Operation: 114-76=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 76+114=190, Resulting Numbers: [190] 190,83 unequal: No Solution Exploring Operation: 76*114=8664, Resulting Numbers: [8664] 8664,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[38, 79], Operations: ['36+40=76', '3+76=79'] Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,83 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[76, 41], Operations: ['36+40=76', '3+38=41'] Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,83 unequal: No Solution Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,83 unequal: No Solution Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[76, 35], Operations: ['36+40=76', '38-3=35'] Exploring Operation: 76*35=2660, Resulting Numbers: [2660] 2660,83 unequal: No Solution Exploring Operation: 76+35=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,83 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 1, 88, 89, 86 ]
86
[ "1+88=89", "89+86=175", "175-89=86" ]
Current State: 86:[1, 88, 89, 86], Operations: [] Exploring Operation: 1+88=89, Resulting Numbers: [89, 86, 89] Generated Node #2: [89, 86, 89] from Operation: 1+88=89 Current State: 86:[89, 86, 89], Operations: ['1+88=89'] Exploring Operation: 89+86=175, Resulting Numbers: [175] 175,86 equal: Goal Reached Exploring Operation: 175-89=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[1, 88, 89, 86], Operations: [] Exploring Operation: 89-1=88, Resulting Numbers: [88, 86, 88] Generated Node #0,0: 86:[88, 86, 88] Operation: 89-1=88 Exploring Operation: 89-86=3, Resulting Numbers: [1, 88, 3] Generated Node #0,1: 86:[1, 88, 3] Operation: 89-86=3 Exploring Operation: 88-1=87, Resulting Numbers: [89, 86, 87] Generated Node #0,2: 86:[89, 86, 87] Operation: 88-1=87 Exploring Operation: 89-88=1, Resulting Numbers: [1, 86, 1] Generated Node #0,3: 86:[1, 86, 1] Operation: 89-88=1 Exploring Operation: 88-86=2, Resulting Numbers: [1, 89, 2] Generated Node #0,4: 86:[1, 89, 2] Operation: 88-86=2 Moving to Node #0,3 Current State: 86:[1, 86, 1], Operations: ['89-88=1'] Exploring Operation: 1+1=2, Resulting Numbers: [86, 2] Generated Node #0,3,0: 86:[86, 2] Operation: 1+1=2 Exploring Operation: 1/1=1, Resulting Numbers: [86, 1] Generated Node #0,3,1: 86:[86, 1] Operation: 1/1=1 Exploring Operation: 86/1=86, Resulting Numbers: [1, 86] Generated Node #0,3,2: 86:[1, 86] Operation: 86/1=86 Exploring Operation: 1*1=1, Resulting Numbers: [86, 1] Generated Node #0,3,3: 86:[86, 1] Operation: 1*1=1 Exploring Operation: 1*86=86, Resulting Numbers: [1, 86] Generated Node #0,3,4: 86:[1, 86] Operation: 1*86=86 Moving to Node #0,1 Current State: 86:[1, 88, 3], Operations: ['89-86=3'] Exploring Operation: 88/1=88, Resulting Numbers: [3, 88] Generated Node #0,1,0: 86:[3, 88] Operation: 88/1=88 Exploring Operation: 88-1=87, Resulting Numbers: [3, 87] Generated Node #0,1,1: 86:[3, 87] Operation: 88-1=87 Exploring Operation: 88-3=85, Resulting Numbers: [1, 85] Generated Node #0,1,2: 86:[1, 85] Operation: 88-3=85 Exploring Operation: 3-1=2, Resulting Numbers: [88, 2] Generated Node #0,1,3: 86:[88, 2] Operation: 3-1=2 Exploring Operation: 1*88=88, Resulting Numbers: [3, 88] Generated Node #0,1,4: 86:[3, 88] Operation: 1*88=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[3, 87], Operations: ['89-86=3', '88-1=87'] Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,86 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,86 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[1, 85], Operations: ['89-86=3', '88-3=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[1, 88, 89, 86], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [1, 88, 3] Generated Node #0,1: 86:[1, 88, 3] Operation: 89-86=3 Moving to Node #0,1 Current State: 86:[1, 88, 3], Operations: ['89-86=3'] Exploring Operation: 88-3=85, Resulting Numbers: [1, 85] Generated Node #0,1,2: 86:[1, 85] Operation: 88-3=85 Moving to Node #0,1,2 Current State: 86:[1, 85], Operations: ['89-86=3', '88-3=85'] Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 87, 3, 41, 30 ]
60
[ "87-30=57", "57/3=19", "41+19=60" ]
Current State: 60:[87, 3, 41, 30], Operations: [] Exploring Operation: 87-30=57, Resulting Numbers: [3, 41, 57] Generated Node #2: [3, 41, 57] from Operation: 87-30=57 Current State: 60:[3, 41, 57], Operations: ['87-30=57'] Exploring Operation: 57/3=19, Resulting Numbers: [41, 19] Generated Node #3: [41, 19] from Operation: 57/3=19 Current State: 60:[41, 19], Operations: ['87-30=57', '57/3=19'] Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[87, 3, 41, 30], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [41, 30, 29] Generated Node #0,0: 60:[41, 30, 29] Operation: 87/3=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[41, 30, 29], Operations: ['87/3=29'] Exploring Operation: 41-29=12, Resulting Numbers: [30, 12] Generated Node #0,0,0: 60:[30, 12] Operation: 41-29=12 Moving to Node #0,0,0 Current State: 60:[30, 12], Operations: ['87/3=29', '41-29=12'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,60 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
[ 20, 97, 66, 2 ]
55
[ "97-20=77", "66*2=132", "132-77=55" ]
Current State: 55:[20, 97, 66, 2], Operations: [] Exploring Operation: 97-20=77, Resulting Numbers: [66, 2, 77] Generated Node #2: [66, 2, 77] from Operation: 97-20=77 Current State: 55:[66, 2, 77], Operations: ['97-20=77'] Exploring Operation: 66*2=132, Resulting Numbers: [77, 132] Generated Node #3: [77, 132] from Operation: 66*2=132 Current State: 55:[77, 132], Operations: ['97-20=77', '66*2=132'] Exploring Operation: 132-77=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[20, 97, 66, 2], Operations: [] Exploring Operation: 66-20=46, Resulting Numbers: [97, 2, 46] Generated Node #0,0: 55:[97, 2, 46] Operation: 66-20=46 Exploring Operation: 97-66=31, Resulting Numbers: [20, 2, 31] Generated Node #0,1: 55:[20, 2, 31] Operation: 97-66=31 Exploring Operation: 20/2=10, Resulting Numbers: [97, 66, 10] Generated Node #0,2: 55:[97, 66, 10] Operation: 20/2=10 Exploring Operation: 97-20=77, Resulting Numbers: [66, 2, 77] Generated Node #0,3: 55:[66, 2, 77] Operation: 97-20=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[20, 2, 31], Operations: ['97-66=31'] Exploring Operation: 20+31=51, Resulting Numbers: [2, 51] Generated Node #0,1,0: 55:[2, 51] Operation: 20+31=51 Exploring Operation: 31-20=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 55:[2, 11] Operation: 31-20=11 Exploring Operation: 20/2=10, Resulting Numbers: [31, 10] Generated Node #0,1,2: 55:[31, 10] Operation: 20/2=10 Exploring Operation: 2*31=62, Resulting Numbers: [20, 62] Generated Node #0,1,3: 55:[20, 62] Operation: 2*31=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[2, 11], Operations: ['97-66=31', '31-20=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[2, 51], Operations: ['97-66=31', '20+31=51'] Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[20, 62], Operations: ['97-66=31', '2*31=62'] Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,55 unequal: No Solution Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[31, 10], Operations: ['97-66=31', '20/2=10'] Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,55 unequal: No Solution Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[66, 2, 77], Operations: ['97-20=77'] Exploring Operation: 77-2=75, Resulting Numbers: [66, 75] Generated Node #0,3,0: 55:[66, 75] Operation: 77-2=75 Exploring Operation: 77-66=11, Resulting Numbers: [2, 11] Generated Node #0,3,1: 55:[2, 11] Operation: 77-66=11 Exploring Operation: 66-2=64, Resulting Numbers: [77, 64] Generated Node #0,3,2: 55:[77, 64] Operation: 66-2=64 Exploring Operation: 66+2=68, Resulting Numbers: [77, 68] Generated Node #0,3,3: 55:[77, 68] Operation: 66+2=68 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 55:[2, 11], Operations: ['97-20=77', '77-66=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[66, 75], Operations: ['97-20=77', '77-2=75'] Exploring Operation: 66+75=141, Resulting Numbers: [141] 141,55 unequal: No Solution Exploring Operation: 66*75=4950, Resulting Numbers: [4950] 4950,55 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[77, 64], Operations: ['97-20=77', '66-2=64'] Exploring Operation: 77*64=4928, Resulting Numbers: [4928] 4928,55 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 77+64=141, Resulting Numbers: [141] 141,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[77, 68], Operations: ['97-20=77', '66+2=68'] Exploring Operation: 77+68=145, Resulting Numbers: [145] 145,55 unequal: No Solution Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 77*68=5236, Resulting Numbers: [5236] 5236,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[97, 2, 46], Operations: ['66-20=46'] Exploring Operation: 97+2=99, Resulting Numbers: [46, 99] Generated Node #0,0,0: 55:[46, 99] Operation: 97+2=99 Exploring Operation: 2+46=48, Resulting Numbers: [97, 48] Generated Node #0,0,1: 55:[97, 48] Operation: 2+46=48 Exploring Operation: 97-46=51, Resulting Numbers: [2, 51] Generated Node #0,0,2: 55:[2, 51] Operation: 97-46=51 Exploring Operation: 97-2=95, Resulting Numbers: [46, 95] Generated Node #0,0,3: 55:[46, 95] Operation: 97-2=95 Moving to Node #0,0,2 Current State: 55:[2, 51], Operations: ['66-20=46', '97-46=51'] Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,55 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[46, 95], Operations: ['66-20=46', '97-2=95'] Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,55 unequal: No Solution Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,55 unequal: No Solution Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[97, 48], Operations: ['66-20=46', '2+46=48'] Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,55 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,55 unequal: No Solution Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[46, 99], Operations: ['66-20=46', '97+2=99'] Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,55 unequal: No Solution Exploring Operation: 46+99=145, Resulting Numbers: [145] 145,55 unequal: No Solution Exploring Operation: 46*99=4554, Resulting Numbers: [4554] 4554,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[97, 66, 10], Operations: ['20/2=10'] Exploring Operation: 97-10=87, Resulting Numbers: [66, 87] Generated Node #0,2,0: 55:[66, 87] Operation: 97-10=87 Exploring Operation: 97+10=107, Resulting Numbers: [66, 107] Generated Node #0,2,1: 55:[66, 107] Operation: 97+10=107 Exploring Operation: 66-10=56, Resulting Numbers: [97, 56] Generated Node #0,2,2: 55:[97, 56] Operation: 66-10=56 Exploring Operation: 97-66=31, Resulting Numbers: [10, 31] Generated Node #0,2,3: 55:[10, 31] Operation: 97-66=31 Moving to Node #0,2,3 Current State: 55:[10, 31], Operations: ['20/2=10', '97-66=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,55 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[97, 56], Operations: ['20/2=10', '66-10=56'] Exploring Operation: 97-56=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 97+56=153, Resulting Numbers: [153] 153,55 unequal: No Solution Exploring Operation: 97*56=5432, Resulting Numbers: [5432] 5432,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[66, 87], Operations: ['20/2=10', '97-10=87'] Exploring Operation: 66*87=5742, Resulting Numbers: [5742] 5742,55 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 66+87=153, Resulting Numbers: [153] 153,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[66, 107], Operations: ['20/2=10', '97+10=107'] Exploring Operation: 66*107=7062, Resulting Numbers: [7062] 7062,55 unequal: No Solution Exploring Operation: 107-66=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 66+107=173, Resulting Numbers: [173] 173,55 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
[ 33, 4, 4, 22 ]
44
[ "33*4=132", "4*22=88", "132-88=44" ]
Current State: 44:[33, 4, 4, 22], Operations: [] Exploring Operation: 33*4=132, Resulting Numbers: [22, 132] Generated Node #2: [22, 132] from Operation: 33*4=132 Current State: 44:[22, 132], Operations: ['33*4=132'] Exploring Operation: 4*22=88, Resulting Numbers: [132, 88] Generated Node #3: [132, 88] from Operation: 4*22=88 Current State: 44:[132, 88], Operations: ['33*4=132', '4*22=88'] Exploring Operation: 132-88=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[33, 4, 4, 22], Operations: [] Exploring Operation: 33-22=11, Resulting Numbers: [4, 4, 11] Generated Node #0,0: 44:[4, 4, 11] Operation: 33-22=11 Exploring Operation: 33+4=37, Resulting Numbers: [4, 22, 37] Generated Node #0,1: 44:[4, 22, 37] Operation: 33+4=37 Moving to Node #0,0 Current State: 44:[4, 4, 11], Operations: ['33-22=11'] Exploring Operation: 4*11=44, Resulting Numbers: [4, 44] Generated Node #0,0,0: 44:[4, 44] Operation: 4*11=44 Exploring Operation: 4*11=44, Resulting Numbers: [4, 44] Generated Node #0,0,1: 44:[4, 44] Operation: 4*11=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[4, 44], Operations: ['33-22=11', '4*11=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,44 unequal: No Solution No 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: 44:[4, 44], Operations: ['33-22=11', '4*11=44'] Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,44 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: 44:[4, 22, 37], Operations: ['33+4=37'] Exploring Operation: 4+37=41, Resulting Numbers: [22, 41] Generated Node #0,1,0: 44:[22, 41] Operation: 4+37=41 Exploring Operation: 37-22=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 44:[4, 15] Operation: 37-22=15 Moving to Node #0,1,0 Current State: 44:[22, 41], Operations: ['33+4=37', '4+37=41'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[4, 15], Operations: ['33+4=37', '37-22=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,44 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 65, 66, 5, 43 ]
44
[ "65-43=22", "5*22=110", "110-66=44" ]
Current State: 44:[65, 66, 5, 43], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [66, 5, 22] Generated Node #2: [66, 5, 22] from Operation: 65-43=22 Current State: 44:[66, 5, 22], Operations: ['65-43=22'] Exploring Operation: 5*22=110, Resulting Numbers: [66, 110] Generated Node #3: [66, 110] from Operation: 5*22=110 Current State: 44:[66, 110], Operations: ['65-43=22', '5*22=110'] Exploring Operation: 110-66=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[65, 66, 5, 43], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [66, 5, 22] Generated Node #0,0: 44:[66, 5, 22] Operation: 65-43=22 Exploring Operation: 66-65=1, Resulting Numbers: [5, 43, 1] Generated Node #0,1: 44:[5, 43, 1] Operation: 66-65=1 Moving to Node #0,1 Current State: 44:[5, 43, 1], Operations: ['66-65=1'] Exploring Operation: 43+1=44, Resulting Numbers: [5, 44] Generated Node #0,1,0: 44:[5, 44] Operation: 43+1=44 Exploring Operation: 5-1=4, Resulting Numbers: [43, 4] Generated Node #0,1,1: 44:[43, 4] Operation: 5-1=4 Moving to Node #0,0 Current State: 44:[66, 5, 22], Operations: ['65-43=22'] Exploring Operation: 66-22=44, Resulting Numbers: [5, 44] Generated Node #0,0,0: 44:[5, 44] Operation: 66-22=44 Exploring Operation: 66/22=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 44:[5, 3] Operation: 66/22=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[5, 44], Operations: ['65-43=22', '66-22=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,44 unequal: No Solution No 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: 44:[5, 3], Operations: ['65-43=22', '66/22=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 44:[5, 44], Operations: ['66-65=1', '43+1=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[43, 4], Operations: ['66-65=1', '5-1=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,44 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 40, 77, 78, 98 ]
17
[ "77-40=37", "98-78=20", "37-20=17" ]
Current State: 17:[40, 77, 78, 98], Operations: [] Exploring Operation: 77-40=37, Resulting Numbers: [78, 98, 37] Generated Node #2: [78, 98, 37] from Operation: 77-40=37 Current State: 17:[78, 98, 37], Operations: ['77-40=37'] Exploring Operation: 98-78=20, Resulting Numbers: [37, 20] Generated Node #3: [37, 20] from Operation: 98-78=20 Current State: 17:[37, 20], Operations: ['77-40=37', '98-78=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[40, 77, 78, 98], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [40, 77, 20] Generated Node #0,0: 17:[40, 77, 20] Operation: 98-78=20 Exploring Operation: 98-77=21, Resulting Numbers: [40, 78, 21] Generated Node #0,1: 17:[40, 78, 21] Operation: 98-77=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[40, 77, 20], Operations: ['98-78=20'] Exploring Operation: 77-40=37, Resulting Numbers: [20, 37] Generated Node #0,0,0: 17:[20, 37] Operation: 77-40=37 Exploring Operation: 40-20=20, Resulting Numbers: [77, 20] Generated Node #0,0,1: 17:[77, 20] Operation: 40-20=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[20, 37], Operations: ['98-78=20', '77-40=37'] Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,17 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[40, 77, 78, 98], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [40, 77, 20] Generated Node #0,0: 17:[40, 77, 20] Operation: 98-78=20 Moving to Node #0,0 Current State: 17:[40, 77, 20], Operations: ['98-78=20'] Exploring Operation: 77-40=37, Resulting Numbers: [20, 37] Generated Node #0,0,0: 17:[20, 37] Operation: 77-40=37 Moving to Node #0,0,0 Current State: 17:[20, 37], Operations: ['98-78=20', '77-40=37'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 51, 25, 82, 82 ]
76
[ "51+25=76", "82-82=0", "76+0=76" ]
Current State: 76:[51, 25, 82, 82], Operations: [] Exploring Operation: 51+25=76, Resulting Numbers: [82, 82, 76] Generated Node #2: [82, 82, 76] from Operation: 51+25=76 Current State: 76:[82, 82, 76], Operations: ['51+25=76'] Exploring Operation: 82-82=0, Resulting Numbers: [76, 0] Generated Node #3: [76, 0] from Operation: 82-82=0 Current State: 76:[76, 0], Operations: ['51+25=76', '82-82=0'] Exploring Operation: 76+0=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[51, 25, 82, 82], Operations: [] Exploring Operation: 51+25=76, Resulting Numbers: [82, 82, 76] Generated Node #0,0: 76:[82, 82, 76] Operation: 51+25=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[82, 82, 76], Operations: ['51+25=76'] Exploring Operation: 82/82=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 76:[76, 1] Operation: 82/82=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[76, 1], Operations: ['51+25=76', '82/82=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[51, 25, 82, 82], Operations: [] Exploring Operation: 51+25=76, Resulting Numbers: [82, 82, 76] Generated Node #0,0: 76:[82, 82, 76] Operation: 51+25=76 Moving to Node #0,0 Current State: 76:[82, 82, 76], Operations: ['51+25=76'] Exploring Operation: 82/82=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 76:[76, 1] Operation: 82/82=1 Moving to Node #0,0,0 Current State: 76:[76, 1], Operations: ['51+25=76', '82/82=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 41, 15, 77, 88 ]
49
[ "41+15=56", "77*56=4312", "4312/88=49" ]
Current State: 49:[41, 15, 77, 88], Operations: [] Exploring Operation: 41+15=56, Resulting Numbers: [77, 88, 56] Generated Node #2: [77, 88, 56] from Operation: 41+15=56 Current State: 49:[77, 88, 56], Operations: ['41+15=56'] Exploring Operation: 77*56=4312, Resulting Numbers: [88, 4312] Generated Node #3: [88, 4312] from Operation: 77*56=4312 Current State: 49:[88, 4312], Operations: ['41+15=56', '77*56=4312'] Exploring Operation: 4312/88=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[41, 15, 77, 88], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [15, 88, 36] Generated Node #0,0: 49:[15, 88, 36] Operation: 77-41=36 Exploring Operation: 88-15=73, Resulting Numbers: [41, 77, 73] Generated Node #0,1: 49:[41, 77, 73] Operation: 88-15=73 Exploring Operation: 88-77=11, Resulting Numbers: [41, 15, 11] Generated Node #0,2: 49:[41, 15, 11] Operation: 88-77=11 Exploring Operation: 77-15=62, Resulting Numbers: [41, 88, 62] Generated Node #0,3: 49:[41, 88, 62] Operation: 77-15=62 Exploring Operation: 88-41=47, Resulting Numbers: [15, 77, 47] Generated Node #0,4: 49:[15, 77, 47] Operation: 88-41=47 Moving to Node #0,2 Current State: 49:[41, 15, 11], Operations: ['88-77=11'] Exploring Operation: 41-15=26, Resulting Numbers: [11, 26] Generated Node #0,2,0: 49:[11, 26] Operation: 41-15=26 Exploring Operation: 41-11=30, Resulting Numbers: [15, 30] Generated Node #0,2,1: 49:[15, 30] Operation: 41-11=30 Exploring Operation: 15-11=4, Resulting Numbers: [41, 4] Generated Node #0,2,2: 49:[41, 4] Operation: 15-11=4 Exploring Operation: 41+11=52, Resulting Numbers: [15, 52] Generated Node #0,2,3: 49:[15, 52] Operation: 41+11=52 Exploring Operation: 41+15=56, Resulting Numbers: [11, 56] Generated Node #0,2,4: 49:[11, 56] Operation: 41+15=56 Moving to Node #0,4 Current State: 49:[15, 77, 47], Operations: ['88-41=47'] Exploring Operation: 15+77=92, Resulting Numbers: [47, 92] Generated Node #0,4,0: 49:[47, 92] Operation: 15+77=92 Exploring Operation: 47-15=32, Resulting Numbers: [77, 32] Generated Node #0,4,1: 49:[77, 32] Operation: 47-15=32 Exploring Operation: 77-47=30, Resulting Numbers: [15, 30] Generated Node #0,4,2: 49:[15, 30] Operation: 77-47=30 Exploring Operation: 15+47=62, Resulting Numbers: [77, 62] Generated Node #0,4,3: 49:[77, 62] Operation: 15+47=62 Exploring Operation: 77-15=62, Resulting Numbers: [47, 62] Generated Node #0,4,4: 49:[47, 62] Operation: 77-15=62 Moving to Node #0,0 Current State: 49:[15, 88, 36], Operations: ['77-41=36'] Exploring Operation: 15+88=103, Resulting Numbers: [36, 103] Generated Node #0,0,0: 49:[36, 103] Operation: 15+88=103 Exploring Operation: 88-15=73, Resulting Numbers: [36, 73] Generated Node #0,0,1: 49:[36, 73] Operation: 88-15=73 Exploring Operation: 36-15=21, Resulting Numbers: [88, 21] Generated Node #0,0,2: 49:[88, 21] Operation: 36-15=21 Exploring Operation: 88-36=52, Resulting Numbers: [15, 52] Generated Node #0,0,3: 49:[15, 52] Operation: 88-36=52 Exploring Operation: 15+36=51, Resulting Numbers: [88, 51] Generated Node #0,0,4: 49:[88, 51] Operation: 15+36=51 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 49:[15, 52], Operations: ['77-41=36', '88-36=52'] Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 15*52=780, Resulting Numbers: [780] 780,49 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[36, 73], Operations: ['77-41=36', '88-15=73'] Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 49:[88, 51], Operations: ['77-41=36', '15+36=51'] Exploring Operation: 88+51=139, Resulting Numbers: [139] 139,49 unequal: No Solution Exploring Operation: 88*51=4488, Resulting Numbers: [4488] 4488,49 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[88, 21], Operations: ['77-41=36', '36-15=21'] Exploring Operation: 88+21=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 88*21=1848, Resulting Numbers: [1848] 1848,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[36, 103], Operations: ['77-41=36', '15+88=103'] Exploring Operation: 36+103=139, Resulting Numbers: [139] 139,49 unequal: No Solution Exploring Operation: 36*103=3708, Resulting Numbers: [3708] 3708,49 unequal: No Solution Exploring Operation: 103-36=67, Resulting Numbers: [67] 67,49 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: 49:[41, 77, 73], Operations: ['88-15=73'] Exploring Operation: 41+73=114, Resulting Numbers: [77, 114] Generated Node #0,1,0: 49:[77, 114] Operation: 41+73=114 Exploring Operation: 77-73=4, Resulting Numbers: [41, 4] Generated Node #0,1,1: 49:[41, 4] Operation: 77-73=4 Exploring Operation: 41+77=118, Resulting Numbers: [73, 118] Generated Node #0,1,2: 49:[73, 118] Operation: 41+77=118 Exploring Operation: 77-41=36, Resulting Numbers: [73, 36] Generated Node #0,1,3: 49:[73, 36] Operation: 77-41=36 Exploring Operation: 73-41=32, Resulting Numbers: [77, 32] Generated Node #0,1,4: 49:[77, 32] Operation: 73-41=32 Moving to Node #0,3 Current State: 49:[41, 88, 62], Operations: ['77-15=62'] Exploring Operation: 88-62=26, Resulting Numbers: [41, 26] Generated Node #0,3,0: 49:[41, 26] Operation: 88-62=26 Exploring Operation: 41+88=129, Resulting Numbers: [62, 129] Generated Node #0,3,1: 49:[62, 129] Operation: 41+88=129 Exploring Operation: 88-41=47, Resulting Numbers: [62, 47] Generated Node #0,3,2: 49:[62, 47] Operation: 88-41=47 Exploring Operation: 41+62=103, Resulting Numbers: [88, 103] Generated Node #0,3,3: 49:[88, 103] Operation: 41+62=103 Exploring Operation: 62-41=21, Resulting Numbers: [88, 21] Generated Node #0,3,4: 49:[88, 21] Operation: 62-41=21 Moving to Node #0,2,2 Current State: 49:[41, 4], Operations: ['88-77=11', '15-11=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,49 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,2,4 Current State: 49:[11, 56], Operations: ['88-77=11', '41+15=56'] Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,49 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[15, 52], Operations: ['88-77=11', '41+11=52'] Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 15*52=780, Resulting Numbers: [780] 780,49 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[41, 4], Operations: ['88-15=73', '77-73=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,49 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,49 unequal: No Solution Moving to Node #0,4,4 Current State: 49:[47, 62], Operations: ['88-41=47', '77-15=62'] Exploring Operation: 47*62=2914, Resulting Numbers: [2914] 2914,49 unequal: No Solution Exploring Operation: 62-47=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 47+62=109, Resulting Numbers: [109] 109,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[62, 47], Operations: ['77-15=62', '88-41=47'] Exploring Operation: 62-47=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 62*47=2914, Resulting Numbers: [2914] 2914,49 unequal: No Solution Exploring Operation: 62+47=109, Resulting Numbers: [109] 109,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[11, 26], Operations: ['88-77=11', '41-15=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,49 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,49 unequal: No Solution Moving to Node #0,4,2 Current State: 49:[15, 30], Operations: ['88-41=47', '77-47=30'] Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,49 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[15, 30], Operations: ['88-77=11', '41-11=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,49 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[41, 26], Operations: ['77-15=62', '88-62=26'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[73, 36], Operations: ['88-15=73', '77-41=36'] Exploring Operation: 73*36=2628, Resulting Numbers: [2628] 2628,49 unequal: No Solution Exploring Operation: 73+36=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,49 unequal: No Solution Moving to Node #0,4,3 Current State: 49:[77, 62], Operations: ['88-41=47', '15+47=62'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 77*62=4774, Resulting Numbers: [4774] 4774,49 unequal: No Solution Exploring Operation: 77+62=139, Resulting Numbers: [139] 139,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[77, 32], Operations: ['88-15=73', '73-41=32'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,49 unequal: No Solution Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,49 unequal: No Solution Moving to Node #0,4,1 Current State: 49:[77, 32], Operations: ['88-41=47', '47-15=32'] Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,49 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,4,0 Current State: 49:[47, 92], Operations: ['88-41=47', '15+77=92'] Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,49 unequal: No Solution Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,49 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,3,4 Current State: 49:[88, 21], Operations: ['77-15=62', '62-41=21'] Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 88*21=1848, Resulting Numbers: [1848] 1848,49 unequal: No Solution Exploring Operation: 88+21=109, Resulting Numbers: [109] 109,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[62, 129], Operations: ['77-15=62', '41+88=129'] Exploring Operation: 62*129=7998, Resulting Numbers: [7998] 7998,49 unequal: No Solution Exploring Operation: 129-62=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 62+129=191, Resulting Numbers: [191] 191,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[88, 103], Operations: ['77-15=62', '41+62=103'] Exploring Operation: 88+103=191, Resulting Numbers: [191] 191,49 unequal: No Solution Exploring Operation: 88*103=9064, Resulting Numbers: [9064] 9064,49 unequal: No Solution Exploring Operation: 103-88=15, Resulting Numbers: [15] 15,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[73, 118], Operations: ['88-15=73', '41+77=118'] Exploring Operation: 73*118=8614, Resulting Numbers: [8614] 8614,49 unequal: No Solution Exploring Operation: 73+118=191, Resulting Numbers: [191] 191,49 unequal: No Solution Exploring Operation: 118-73=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[77, 114], Operations: ['88-15=73', '41+73=114'] Exploring Operation: 77*114=8778, Resulting Numbers: [8778] 8778,49 unequal: No Solution Exploring Operation: 77+114=191, Resulting Numbers: [191] 191,49 unequal: No Solution Exploring Operation: 114-77=37, Resulting Numbers: [37] 37,49 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 59, 47, 19, 3 ]
34
[ "59-47=12", "19+3=22", "12+22=34" ]
Current State: 34:[59, 47, 19, 3], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [19, 3, 12] Generated Node #2: [19, 3, 12] from Operation: 59-47=12 Current State: 34:[19, 3, 12], Operations: ['59-47=12'] Exploring Operation: 19+3=22, Resulting Numbers: [12, 22] Generated Node #3: [12, 22] from Operation: 19+3=22 Current State: 34:[12, 22], Operations: ['59-47=12', '19+3=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[59, 47, 19, 3], Operations: [] Exploring Operation: 47-19=28, Resulting Numbers: [59, 3, 28] Generated Node #0,0: 34:[59, 3, 28] Operation: 47-19=28 Exploring Operation: 59-47=12, Resulting Numbers: [19, 3, 12] Generated Node #0,1: 34:[19, 3, 12] Operation: 59-47=12 Exploring Operation: 59-19=40, Resulting Numbers: [47, 3, 40] Generated Node #0,2: 34:[47, 3, 40] Operation: 59-19=40 Moving to Node #0,1 Current State: 34:[19, 3, 12], Operations: ['59-47=12'] Exploring Operation: 3+12=15, Resulting Numbers: [19, 15] Generated Node #0,1,0: 34:[19, 15] Operation: 3+12=15 Exploring Operation: 3*12=36, Resulting Numbers: [19, 36] Generated Node #0,1,1: 34:[19, 36] Operation: 3*12=36 Exploring Operation: 19+12=31, Resulting Numbers: [3, 31] Generated Node #0,1,2: 34:[3, 31] Operation: 19+12=31 Moving to Node #0,2 Current State: 34:[47, 3, 40], Operations: ['59-19=40'] Exploring Operation: 47-3=44, Resulting Numbers: [40, 44] Generated Node #0,2,0: 34:[40, 44] Operation: 47-3=44 Exploring Operation: 47-40=7, Resulting Numbers: [3, 7] Generated Node #0,2,1: 34:[3, 7] Operation: 47-40=7 Exploring Operation: 40-3=37, Resulting Numbers: [47, 37] Generated Node #0,2,2: 34:[47, 37] Operation: 40-3=37 Moving to Node #0,0 Current State: 34:[59, 3, 28], Operations: ['47-19=28'] Exploring Operation: 59-28=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 34:[3, 31] Operation: 59-28=31 Exploring Operation: 3+28=31, Resulting Numbers: [59, 31] Generated Node #0,0,1: 34:[59, 31] Operation: 3+28=31 Exploring Operation: 59-3=56, Resulting Numbers: [28, 56] Generated Node #0,0,2: 34:[28, 56] Operation: 59-3=56 Moving to Node #0,1,0 Current State: 34:[19, 15], Operations: ['59-47=12', '3+12=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[59, 47, 19, 3], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [19, 3, 12] Generated Node #0,1: 34:[19, 3, 12] Operation: 59-47=12 Moving to Node #0,1 Current State: 34:[19, 3, 12], Operations: ['59-47=12'] Exploring Operation: 3+12=15, Resulting Numbers: [19, 15] Generated Node #0,1,0: 34:[19, 15] Operation: 3+12=15 Moving to Node #0,1,0 Current State: 34:[19, 15], Operations: ['59-47=12', '3+12=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 10, 43, 48, 34 ]
16
[ "48-43=5", "10*5=50", "50-34=16" ]
Current State: 16:[10, 43, 48, 34], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [10, 34, 5] Generated Node #2: [10, 34, 5] from Operation: 48-43=5 Current State: 16:[10, 34, 5], Operations: ['48-43=5'] Exploring Operation: 10*5=50, Resulting Numbers: [34, 50] Generated Node #3: [34, 50] from Operation: 10*5=50 Current State: 16:[34, 50], Operations: ['48-43=5', '10*5=50'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[10, 43, 48, 34], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [10, 34, 5] Generated Node #0,0: 16:[10, 34, 5] Operation: 48-43=5 Exploring Operation: 43-10=33, Resulting Numbers: [48, 34, 33] Generated Node #0,1: 16:[48, 34, 33] Operation: 43-10=33 Exploring Operation: 48-10=38, Resulting Numbers: [43, 34, 38] Generated Node #0,2: 16:[43, 34, 38] Operation: 48-10=38 Exploring Operation: 48-34=14, Resulting Numbers: [10, 43, 14] Generated Node #0,3: 16:[10, 43, 14] Operation: 48-34=14 Exploring Operation: 43-34=9, Resulting Numbers: [10, 48, 9] Generated Node #0,4: 16:[10, 48, 9] Operation: 43-34=9 Moving to Node #0,0 Current State: 16:[10, 34, 5], Operations: ['48-43=5'] Exploring Operation: 10/5=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 16:[34, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [34, 5] Generated Node #0,0,1: 16:[34, 5] Operation: 10-5=5 Exploring Operation: 34-5=29, Resulting Numbers: [10, 29] Generated Node #0,0,2: 16:[10, 29] Operation: 34-5=29 Exploring Operation: 10+5=15, Resulting Numbers: [34, 15] Generated Node #0,0,3: 16:[34, 15] Operation: 10+5=15 Exploring Operation: 34-10=24, Resulting Numbers: [5, 24] Generated Node #0,0,4: 16:[5, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 16:[5, 24], Operations: ['48-43=5', '34-10=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,16 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,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,2 Current State: 16:[10, 29], Operations: ['48-43=5', '34-5=29'] Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,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,0 Current State: 16:[34, 2], Operations: ['48-43=5', '10/5=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,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:[34, 5], Operations: ['48-43=5', '10-5=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,16 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,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,3 Current State: 16:[34, 15], Operations: ['48-43=5', '10+5=15'] Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,16 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,16 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: 16:[10, 43, 14], Operations: ['48-34=14'] Exploring Operation: 14-10=4, Resulting Numbers: [43, 4] Generated Node #0,3,0: 16:[43, 4] Operation: 14-10=4 Exploring Operation: 10+14=24, Resulting Numbers: [43, 24] Generated Node #0,3,1: 16:[43, 24] Operation: 10+14=24 Exploring Operation: 43-14=29, Resulting Numbers: [10, 29] Generated Node #0,3,2: 16:[10, 29] Operation: 43-14=29 Exploring Operation: 43-10=33, Resulting Numbers: [14, 33] Generated Node #0,3,3: 16:[14, 33] Operation: 43-10=33 Exploring Operation: 10+43=53, Resulting Numbers: [14, 53] Generated Node #0,3,4: 16:[14, 53] Operation: 10+43=53 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 16:[10, 29], Operations: ['48-34=14', '43-14=29'] Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,16 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,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,3,3 Current State: 16:[14, 33], Operations: ['48-34=14', '43-10=33'] Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,16 unequal: No Solution Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,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,3,0 Current State: 16:[43, 4], Operations: ['48-34=14', '14-10=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,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,3,1 Current State: 16:[43, 24], Operations: ['48-34=14', '10+14=24'] Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,16 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,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,3,4 Current State: 16:[14, 53], Operations: ['48-34=14', '10+43=53'] Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,16 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: 16:[10, 48, 9], Operations: ['43-34=9'] Exploring Operation: 48-9=39, Resulting Numbers: [10, 39] Generated Node #0,4,0: 16:[10, 39] Operation: 48-9=39 Exploring Operation: 10+9=19, Resulting Numbers: [48, 19] Generated Node #0,4,1: 16:[48, 19] Operation: 10+9=19 Exploring Operation: 10+48=58, Resulting Numbers: [9, 58] Generated Node #0,4,2: 16:[9, 58] Operation: 10+48=58 Exploring Operation: 48-10=38, Resulting Numbers: [9, 38] Generated Node #0,4,3: 16:[9, 38] Operation: 48-10=38 Exploring Operation: 10-9=1, Resulting Numbers: [48, 1] Generated Node #0,4,4: 16:[48, 1] Operation: 10-9=1 Moving to Node #0,1 Current State: 16:[48, 34, 33], Operations: ['43-10=33'] Exploring Operation: 48-33=15, Resulting Numbers: [34, 15] Generated Node #0,1,0: 16:[34, 15] Operation: 48-33=15 Exploring Operation: 34-33=1, Resulting Numbers: [48, 1] Generated Node #0,1,1: 16:[48, 1] Operation: 34-33=1 Exploring Operation: 48+33=81, Resulting Numbers: [34, 81] Generated Node #0,1,2: 16:[34, 81] Operation: 48+33=81 Exploring Operation: 48+34=82, Resulting Numbers: [33, 82] Generated Node #0,1,3: 16:[33, 82] Operation: 48+34=82 Exploring Operation: 48-34=14, Resulting Numbers: [33, 14] Generated Node #0,1,4: 16:[33, 14] Operation: 48-34=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[34, 15], Operations: ['43-10=33', '48-33=15'] Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,16 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,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,1,4 Current State: 16:[33, 14], Operations: ['43-10=33', '48-34=14'] Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,16 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,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,1,1 Current State: 16:[48, 1], Operations: ['43-10=33', '34-33=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,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,1,2 Current State: 16:[34, 81], Operations: ['43-10=33', '48+33=81'] Exploring Operation: 34+81=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 34*81=2754, Resulting Numbers: [2754] 2754,16 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,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,1,3 Current State: 16:[33, 82], Operations: ['43-10=33', '48+34=82'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,16 unequal: No Solution Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,16 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: 16:[43, 34, 38], Operations: ['48-10=38'] Exploring Operation: 43-34=9, Resulting Numbers: [38, 9] Generated Node #0,2,0: 16:[38, 9] Operation: 43-34=9 Exploring Operation: 43+34=77, Resulting Numbers: [38, 77] Generated Node #0,2,1: 16:[38, 77] Operation: 43+34=77 Exploring Operation: 43-38=5, Resulting Numbers: [34, 5] Generated Node #0,2,2: 16:[34, 5] Operation: 43-38=5 Exploring Operation: 43+38=81, Resulting Numbers: [34, 81] Generated Node #0,2,3: 16:[34, 81] Operation: 43+38=81 Exploring Operation: 38-34=4, Resulting Numbers: [43, 4] Generated Node #0,2,4: 16:[43, 4] Operation: 38-34=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[34, 5], Operations: ['48-10=38', '43-38=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,16 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,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,0 Current State: 16:[38, 9], Operations: ['48-10=38', '43-34=9'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,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,4 Current State: 16:[43, 4], Operations: ['48-10=38', '38-34=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,16 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,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,1 Current State: 16:[38, 77], Operations: ['48-10=38', '43+34=77'] Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,16 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,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,3 Current State: 16:[34, 81], Operations: ['48-10=38', '43+38=81'] Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 34*81=2754, Resulting Numbers: [2754] 2754,16 unequal: No Solution Exploring Operation: 34+81=115, Resulting Numbers: [115] 115,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 16:[9, 38], Operations: ['43-34=9', '48-10=38'] Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,16 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,16 unequal: No Solution Moving to Node #0,4,0 Current State: 16:[10, 39], Operations: ['43-34=9', '48-9=39'] Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,16 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[48, 1], Operations: ['43-34=9', '10-9=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[48, 19], Operations: ['43-34=9', '10+9=19'] Exploring Operation: 48*19=912, Resulting Numbers: [912] 912,16 unequal: No Solution Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[9, 58], Operations: ['43-34=9', '10+48=58'] Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,16 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 82, 86, 54, 81 ]
33
[ "82+86=168", "54+81=135", "168-135=33" ]
Current State: 33:[82, 86, 54, 81], Operations: [] Exploring Operation: 82+86=168, Resulting Numbers: [54, 81, 168] Generated Node #2: [54, 81, 168] from Operation: 82+86=168 Current State: 33:[54, 81, 168], Operations: ['82+86=168'] Exploring Operation: 54+81=135, Resulting Numbers: [168, 135] Generated Node #3: [168, 135] from Operation: 54+81=135 Current State: 33:[168, 135], Operations: ['82+86=168', '54+81=135'] Exploring Operation: 168-135=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[82, 86, 54, 81], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [86, 54, 1] Generated Node #0,0: 33:[86, 54, 1] Operation: 82-81=1 Exploring Operation: 86-81=5, Resulting Numbers: [82, 54, 5] Generated Node #0,1: 33:[82, 54, 5] Operation: 86-81=5 Exploring Operation: 86-82=4, Resulting Numbers: [54, 81, 4] Generated Node #0,2: 33:[54, 81, 4] Operation: 86-82=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[54, 81, 4], Operations: ['86-82=4'] Exploring Operation: 54-4=50, Resulting Numbers: [81, 50] Generated Node #0,2,0: 33:[81, 50] Operation: 54-4=50 Exploring Operation: 81-4=77, Resulting Numbers: [54, 77] Generated Node #0,2,1: 33:[54, 77] Operation: 81-4=77 Exploring Operation: 81-54=27, Resulting Numbers: [4, 27] Generated Node #0,2,2: 33:[4, 27] Operation: 81-54=27 Moving to Node #0,2,2 Current State: 33:[4, 27], Operations: ['86-82=4', '81-54=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[81, 50], Operations: ['86-82=4', '54-4=50'] Exploring Operation: 81+50=131, Resulting Numbers: [131] 131,33 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 81*50=4050, Resulting Numbers: [4050] 4050,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[54, 77], Operations: ['86-82=4', '81-4=77'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 54*77=4158, Resulting Numbers: [4158] 4158,33 unequal: No Solution Exploring Operation: 54+77=131, Resulting Numbers: [131] 131,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[82, 54, 5], Operations: ['86-81=5'] Exploring Operation: 54-5=49, Resulting Numbers: [82, 49] Generated Node #0,1,0: 33:[82, 49] Operation: 54-5=49 Exploring Operation: 82-54=28, Resulting Numbers: [5, 28] Generated Node #0,1,1: 33:[5, 28] Operation: 82-54=28 Exploring Operation: 82-5=77, Resulting Numbers: [54, 77] Generated Node #0,1,2: 33:[54, 77] Operation: 82-5=77 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[5, 28], Operations: ['86-81=5', '82-54=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[82, 86, 54, 81], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [82, 54, 5] Generated Node #0,1: 33:[82, 54, 5] Operation: 86-81=5 Moving to Node #0,1 Current State: 33:[82, 54, 5], Operations: ['86-81=5'] Exploring Operation: 82-54=28, Resulting Numbers: [5, 28] Generated Node #0,1,1: 33:[5, 28] Operation: 82-54=28 Moving to Node #0,1,1 Current State: 33:[5, 28], Operations: ['86-81=5', '82-54=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 93, 57, 53, 12 ]
90
[ "57-53=4", "12/4=3", "93-3=90" ]
Current State: 90:[93, 57, 53, 12], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [93, 12, 4] Generated Node #2: [93, 12, 4] from Operation: 57-53=4 Current State: 90:[93, 12, 4], Operations: ['57-53=4'] Exploring Operation: 12/4=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 12/4=3 Current State: 90:[93, 3], Operations: ['57-53=4', '12/4=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[93, 57, 53, 12], Operations: [] Exploring Operation: 57-12=45, Resulting Numbers: [93, 53, 45] Generated Node #0,0: 90:[93, 53, 45] Operation: 57-12=45 Exploring Operation: 93-53=40, Resulting Numbers: [57, 12, 40] Generated Node #0,1: 90:[57, 12, 40] Operation: 93-53=40 Exploring Operation: 57-53=4, Resulting Numbers: [93, 12, 4] Generated Node #0,2: 90:[93, 12, 4] Operation: 57-53=4 Exploring Operation: 93-57=36, Resulting Numbers: [53, 12, 36] Generated Node #0,3: 90:[53, 12, 36] Operation: 93-57=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[93, 12, 4], Operations: ['57-53=4'] Exploring Operation: 12/4=3, Resulting Numbers: [93, 3] Generated Node #0,2,0: 90:[93, 3] Operation: 12/4=3 Exploring Operation: 12+4=16, Resulting Numbers: [93, 16] Generated Node #0,2,1: 90:[93, 16] Operation: 12+4=16 Exploring Operation: 12-4=8, Resulting Numbers: [93, 8] Generated Node #0,2,2: 90:[93, 8] Operation: 12-4=8 Exploring Operation: 93-4=89, Resulting Numbers: [12, 89] Generated Node #0,2,3: 90:[12, 89] Operation: 93-4=89 Moving to Node #0,2,0 Current State: 90:[93, 3], Operations: ['57-53=4', '12/4=3'] Exploring Operation: 93*3=279, Resulting Numbers: [279] 279,90 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,90 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[93, 57, 53, 12], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [93, 12, 4] Generated Node #0,2: 90:[93, 12, 4] Operation: 57-53=4 Moving to Node #0,2 Current State: 90:[93, 12, 4], Operations: ['57-53=4'] Exploring Operation: 12/4=3, Resulting Numbers: [93, 3] Generated Node #0,2,0: 90:[93, 3] Operation: 12/4=3 Moving to Node #0,2,0 Current State: 90:[93, 3], Operations: ['57-53=4', '12/4=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 53, 37, 80, 50 ]
60
[ "53+37=90", "80-50=30", "90-30=60" ]
Current State: 60:[53, 37, 80, 50], Operations: [] Exploring Operation: 53+37=90, Resulting Numbers: [80, 50, 90] Generated Node #2: [80, 50, 90] from Operation: 53+37=90 Current State: 60:[80, 50, 90], Operations: ['53+37=90'] Exploring Operation: 80-50=30, Resulting Numbers: [90, 30] Generated Node #3: [90, 30] from Operation: 80-50=30 Current State: 60:[90, 30], Operations: ['53+37=90', '80-50=30'] Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[53, 37, 80, 50], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [53, 37, 30] Generated Node #0,0: 60:[53, 37, 30] Operation: 80-50=30 Exploring Operation: 80-53=27, Resulting Numbers: [37, 50, 27] Generated Node #0,1: 60:[37, 50, 27] Operation: 80-53=27 Exploring Operation: 53-50=3, Resulting Numbers: [37, 80, 3] Generated Node #0,2: 60:[37, 80, 3] Operation: 53-50=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[53, 37, 30], Operations: ['80-50=30'] Exploring Operation: 37-30=7, Resulting Numbers: [53, 7] Generated Node #0,0,0: 60:[53, 7] Operation: 37-30=7 Exploring Operation: 53-30=23, Resulting Numbers: [37, 23] Generated Node #0,0,1: 60:[37, 23] Operation: 53-30=23 Exploring Operation: 53-37=16, Resulting Numbers: [30, 16] Generated Node #0,0,2: 60:[30, 16] Operation: 53-37=16 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[30, 16], Operations: ['80-50=30', '53-37=16'] Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,60 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,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,0 Current State: 60:[53, 7], Operations: ['80-50=30', '37-30=7'] Exploring Operation: 53*7=371, Resulting Numbers: [371] 371,60 unequal: No Solution Exploring Operation: 53+7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[53, 37, 80, 50], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [53, 37, 30] Generated Node #0,0: 60:[53, 37, 30] Operation: 80-50=30 Moving to Node #0,0 Current State: 60:[53, 37, 30], Operations: ['80-50=30'] Exploring Operation: 37-30=7, Resulting Numbers: [53, 7] Generated Node #0,0,0: 60:[53, 7] Operation: 37-30=7 Moving to Node #0,0,0 Current State: 60:[53, 7], Operations: ['80-50=30', '37-30=7'] Exploring Operation: 53+7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 17, 47, 97, 10 ]
26
[ "17*10=170", "47+97=144", "170-144=26" ]
Current State: 26:[17, 47, 97, 10], Operations: [] Exploring Operation: 17*10=170, Resulting Numbers: [47, 97, 170] Generated Node #2: [47, 97, 170] from Operation: 17*10=170 Current State: 26:[47, 97, 170], Operations: ['17*10=170'] Exploring Operation: 47+97=144, Resulting Numbers: [170, 144] Generated Node #3: [170, 144] from Operation: 47+97=144 Current State: 26:[170, 144], Operations: ['17*10=170', '47+97=144'] Exploring Operation: 170-144=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[17, 47, 97, 10], Operations: [] Exploring Operation: 97-47=50, Resulting Numbers: [17, 10, 50] Generated Node #0,0: 26:[17, 10, 50] Operation: 97-47=50 Moving to Node #0,0 Current State: 26:[17, 10, 50], Operations: ['97-47=50'] Exploring Operation: 50/10=5, Resulting Numbers: [17, 5] Generated Node #0,0,0: 26:[17, 5] Operation: 50/10=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[17, 5], Operations: ['97-47=50', '50/10=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 54, 19, 70 ]
73
[ "3+54=57", "57/19=3", "70+3=73" ]
Current State: 73:[3, 54, 19, 70], Operations: [] Exploring Operation: 3+54=57, Resulting Numbers: [19, 70, 57] Generated Node #2: [19, 70, 57] from Operation: 3+54=57 Current State: 73:[19, 70, 57], Operations: ['3+54=57'] Exploring Operation: 57/19=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 57/19=3 Current State: 73:[70, 3], Operations: ['3+54=57', '57/19=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[3, 54, 19, 70], Operations: [] Exploring Operation: 54+19=73, Resulting Numbers: [3, 70, 73] Generated Node #0,0: 73:[3, 70, 73] Operation: 54+19=73 Exploring Operation: 3+19=22, Resulting Numbers: [54, 70, 22] Generated Node #0,1: 73:[54, 70, 22] Operation: 3+19=22 Exploring Operation: 3+54=57, Resulting Numbers: [19, 70, 57] Generated Node #0,2: 73:[19, 70, 57] Operation: 3+54=57 Exploring Operation: 3*19=57, Resulting Numbers: [54, 70, 57] Generated Node #0,3: 73:[54, 70, 57] Operation: 3*19=57 Exploring Operation: 3+70=73, Resulting Numbers: [54, 19, 73] Generated Node #0,4: 73:[54, 19, 73] Operation: 3+70=73 Moving to Node #0,3 Current State: 73:[54, 70, 57], Operations: ['3*19=57'] Exploring Operation: 54+70=124, Resulting Numbers: [57, 124] Generated Node #0,3,0: 73:[57, 124] Operation: 54+70=124 Exploring Operation: 54+57=111, Resulting Numbers: [70, 111] Generated Node #0,3,1: 73:[70, 111] Operation: 54+57=111 Exploring Operation: 70+57=127, Resulting Numbers: [54, 127] Generated Node #0,3,2: 73:[54, 127] Operation: 70+57=127 Exploring Operation: 70-54=16, Resulting Numbers: [57, 16] Generated Node #0,3,3: 73:[57, 16] Operation: 70-54=16 Exploring Operation: 57-54=3, Resulting Numbers: [70, 3] Generated Node #0,3,4: 73:[70, 3] Operation: 57-54=3 Moving to Node #0,1 Current State: 73:[54, 70, 22], Operations: ['3+19=22'] Exploring Operation: 70-22=48, Resulting Numbers: [54, 48] Generated Node #0,1,0: 73:[54, 48] Operation: 70-22=48 Exploring Operation: 54+22=76, Resulting Numbers: [70, 76] Generated Node #0,1,1: 73:[70, 76] Operation: 54+22=76 Exploring Operation: 54-22=32, Resulting Numbers: [70, 32] Generated Node #0,1,2: 73:[70, 32] Operation: 54-22=32 Exploring Operation: 70+22=92, Resulting Numbers: [54, 92] Generated Node #0,1,3: 73:[54, 92] Operation: 70+22=92 Exploring Operation: 54+70=124, Resulting Numbers: [22, 124] Generated Node #0,1,4: 73:[22, 124] Operation: 54+70=124 Moving to Node #0,4 Current State: 73:[54, 19, 73], Operations: ['3+70=73'] Exploring Operation: 54+73=127, Resulting Numbers: [19, 127] Generated Node #0,4,0: 73:[19, 127] Operation: 54+73=127 Exploring Operation: 54-19=35, Resulting Numbers: [73, 35] Generated Node #0,4,1: 73:[73, 35] Operation: 54-19=35 Exploring Operation: 54+19=73, Resulting Numbers: [73, 73] Generated Node #0,4,2: 73:[73, 73] Operation: 54+19=73 Exploring Operation: 73-19=54, Resulting Numbers: [54, 54] Generated Node #0,4,3: 73:[54, 54] Operation: 73-19=54 Exploring Operation: 19+73=92, Resulting Numbers: [54, 92] Generated Node #0,4,4: 73:[54, 92] Operation: 19+73=92 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 73:[73, 73], Operations: ['3+70=73', '54+19=73'] Exploring Operation: 73+73=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 73-73=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 73/73=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 73*73=5329, Resulting Numbers: [5329] 5329,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,4,1 Current State: 73:[73, 35], Operations: ['3+70=73', '54-19=35'] Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,73 unequal: No Solution Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,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,4,3 Current State: 73:[54, 54], Operations: ['3+70=73', '73-19=54'] Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,73 unequal: No Solution Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,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,4,4 Current State: 73:[54, 92], Operations: ['3+70=73', '19+73=92'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 54*92=4968, Resulting Numbers: [4968] 4968,73 unequal: No Solution Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,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,4,0 Current State: 73:[19, 127], Operations: ['3+70=73', '54+73=127'] Exploring Operation: 19*127=2413, Resulting Numbers: [2413] 2413,73 unequal: No Solution Exploring Operation: 19+127=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 127-19=108, Resulting Numbers: [108] 108,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 73:[3, 70, 73], Operations: ['54+19=73'] Exploring Operation: 3+73=76, Resulting Numbers: [70, 76] Generated Node #0,0,0: 73:[70, 76] Operation: 3+73=76 Exploring Operation: 3+70=73, Resulting Numbers: [73, 73] Generated Node #0,0,1: 73:[73, 73] Operation: 3+70=73 Exploring Operation: 3*70=210, Resulting Numbers: [73, 210] Generated Node #0,0,2: 73:[73, 210] Operation: 3*70=210 Exploring Operation: 73-3=70, Resulting Numbers: [70, 70] Generated Node #0,0,3: 73:[70, 70] Operation: 73-3=70 Exploring Operation: 70-3=67, Resulting Numbers: [73, 67] Generated Node #0,0,4: 73:[73, 67] Operation: 70-3=67 Moving to Node #0,2 Current State: 73:[19, 70, 57], Operations: ['3+54=57'] Exploring Operation: 57/19=3, Resulting Numbers: [70, 3] Generated Node #0,2,0: 73:[70, 3] Operation: 57/19=3 Exploring Operation: 57-19=38, Resulting Numbers: [70, 38] Generated Node #0,2,1: 73:[70, 38] Operation: 57-19=38 Exploring Operation: 19+70=89, Resulting Numbers: [57, 89] Generated Node #0,2,2: 73:[57, 89] Operation: 19+70=89 Exploring Operation: 19+57=76, Resulting Numbers: [70, 76] Generated Node #0,2,3: 73:[70, 76] Operation: 19+57=76 Exploring Operation: 70-19=51, Resulting Numbers: [57, 51] Generated Node #0,2,4: 73:[57, 51] Operation: 70-19=51 Moving to Node #0,0,1 Current State: 73:[73, 73], Operations: ['54+19=73', '3+70=73'] Exploring Operation: 73+73=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 73-73=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 73/73=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 73*73=5329, Resulting Numbers: [5329] 5329,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[70, 76], Operations: ['54+19=73', '3+73=76'] Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,73 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[73, 67], Operations: ['54+19=73', '70-3=67'] Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 73*67=4891, Resulting Numbers: [4891] 4891,73 unequal: No Solution Exploring Operation: 73+67=140, Resulting Numbers: [140] 140,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[70, 70], Operations: ['54+19=73', '73-3=70'] Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,73 unequal: No Solution Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[70, 76], Operations: ['3+19=22', '54+22=76'] Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,73 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[70, 76], Operations: ['3+54=57', '19+57=76'] Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[57, 89], Operations: ['3+54=57', '19+70=89'] Exploring Operation: 57*89=5073, Resulting Numbers: [5073] 5073,73 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 57+89=146, Resulting Numbers: [146] 146,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[54, 92], Operations: ['3+19=22', '70+22=92'] Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 54*92=4968, Resulting Numbers: [4968] 4968,73 unequal: No Solution Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[57, 51], Operations: ['3+54=57', '70-19=51'] Exploring Operation: 57+51=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 57*51=2907, Resulting Numbers: [2907] 2907,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[70, 38], Operations: ['3+54=57', '57-19=38'] Exploring Operation: 70*38=2660, Resulting Numbers: [2660] 2660,73 unequal: No Solution Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[70, 111], Operations: ['3*19=57', '54+57=111'] Exploring Operation: 70*111=7770, Resulting Numbers: [7770] 7770,73 unequal: No Solution Exploring Operation: 111-70=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 70+111=181, Resulting Numbers: [181] 181,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[54, 48], Operations: ['3+19=22', '70-22=48'] Exploring Operation: 54+48=102, Resulting Numbers: [102] 102,73 unequal: No Solution Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 54*48=2592, Resulting Numbers: [2592] 2592,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[70, 32], Operations: ['3+19=22', '54-22=32'] Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,73 unequal: No Solution Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,73 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[57, 124], Operations: ['3*19=57', '54+70=124'] Exploring Operation: 124-57=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 57+124=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 57*124=7068, Resulting Numbers: [7068] 7068,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[54, 127], Operations: ['3*19=57', '70+57=127'] Exploring Operation: 127-54=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[3, 54, 19, 70], Operations: [] Exploring Operation: 3*19=57, Resulting Numbers: [54, 70, 57] Generated Node #0,3: 73:[54, 70, 57] Operation: 3*19=57 Moving to Node #0,3 Current State: 73:[54, 70, 57], Operations: ['3*19=57'] Exploring Operation: 70+57=127, Resulting Numbers: [54, 127] Generated Node #0,3,2: 73:[54, 127] Operation: 70+57=127 Moving to Node #0,3,2 Current State: 73:[54, 127], Operations: ['3*19=57', '70+57=127'] Exploring Operation: 127-54=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.916667
hs_5
sum_heuristic
[ 77, 15, 63, 54 ]
53
[ "77-15=62", "63-54=9", "62-9=53" ]
Current State: 53:[77, 15, 63, 54], Operations: [] Exploring Operation: 77-15=62, Resulting Numbers: [63, 54, 62] Generated Node #2: [63, 54, 62] from Operation: 77-15=62 Current State: 53:[63, 54, 62], Operations: ['77-15=62'] Exploring Operation: 63-54=9, Resulting Numbers: [62, 9] Generated Node #3: [62, 9] from Operation: 63-54=9 Current State: 53:[62, 9], Operations: ['77-15=62', '63-54=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[77, 15, 63, 54], Operations: [] Exploring Operation: 77-15=62, Resulting Numbers: [63, 54, 62] Generated Node #0,0: 53:[63, 54, 62] Operation: 77-15=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[63, 54, 62], Operations: ['77-15=62'] Exploring Operation: 63-54=9, Resulting Numbers: [62, 9] Generated Node #0,0,0: 53:[62, 9] Operation: 63-54=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[62, 9], Operations: ['77-15=62', '63-54=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[77, 15, 63, 54], Operations: [] Exploring Operation: 77-15=62, Resulting Numbers: [63, 54, 62] Generated Node #0,0: 53:[63, 54, 62] Operation: 77-15=62 Moving to Node #0,0 Current State: 53:[63, 54, 62], Operations: ['77-15=62'] Exploring Operation: 63-54=9, Resulting Numbers: [62, 9] Generated Node #0,0,0: 53:[62, 9] Operation: 63-54=9 Moving to Node #0,0,0 Current State: 53:[62, 9], Operations: ['77-15=62', '63-54=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 51, 52, 18, 67 ]
50
[ "52-51=1", "67-18=49", "1+49=50" ]
Current State: 50:[51, 52, 18, 67], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [18, 67, 1] Generated Node #2: [18, 67, 1] from Operation: 52-51=1 Current State: 50:[18, 67, 1], Operations: ['52-51=1'] Exploring Operation: 67-18=49, Resulting Numbers: [1, 49] Generated Node #3: [1, 49] from Operation: 67-18=49 Current State: 50:[1, 49], Operations: ['52-51=1', '67-18=49'] Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[51, 52, 18, 67], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [51, 52, 49] Generated Node #0,0: 50:[51, 52, 49] Operation: 67-18=49 Moving to Node #0,0 Current State: 50:[51, 52, 49], Operations: ['67-18=49'] Exploring Operation: 52-51=1, Resulting Numbers: [49, 1] Generated Node #0,0,0: 50:[49, 1] Operation: 52-51=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[49, 1], Operations: ['67-18=49', '52-51=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[51, 52, 18, 67], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [51, 52, 49] Generated Node #0,0: 50:[51, 52, 49] Operation: 67-18=49 Moving to Node #0,0 Current State: 50:[51, 52, 49], Operations: ['67-18=49'] Exploring Operation: 52-51=1, Resulting Numbers: [49, 1] Generated Node #0,0,0: 50:[49, 1] Operation: 52-51=1 Moving to Node #0,0,0 Current State: 50:[49, 1], Operations: ['67-18=49', '52-51=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 71, 39, 93, 50 ]
77
[ "71*50=3550", "39*93=3627", "3627-3550=77" ]
Current State: 77:[71, 39, 93, 50], Operations: [] Exploring Operation: 71*50=3550, Resulting Numbers: [39, 93, 3550] Generated Node #2: [39, 93, 3550] from Operation: 71*50=3550 Current State: 77:[39, 93, 3550], Operations: ['71*50=3550'] Exploring Operation: 39*93=3627, Resulting Numbers: [3550, 3627] Generated Node #3: [3550, 3627] from Operation: 39*93=3627 Current State: 77:[3550, 3627], Operations: ['71*50=3550', '39*93=3627'] Exploring Operation: 3627-3550=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[71, 39, 93, 50], Operations: [] Exploring Operation: 39+50=89, Resulting Numbers: [71, 93, 89] Generated Node #0,0: 77:[71, 93, 89] Operation: 39+50=89 Exploring Operation: 50-39=11, Resulting Numbers: [71, 93, 11] Generated Node #0,1: 77:[71, 93, 11] Operation: 50-39=11 Moving to Node #0,1 Current State: 77:[71, 93, 11], Operations: ['50-39=11'] Exploring Operation: 93-71=22, Resulting Numbers: [11, 22] Generated Node #0,1,0: 77:[11, 22] Operation: 93-71=22 Exploring Operation: 93-11=82, Resulting Numbers: [71, 82] Generated Node #0,1,1: 77:[71, 82] Operation: 93-11=82 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[11, 22], Operations: ['50-39=11', '93-71=22'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[71, 82], Operations: ['50-39=11', '93-11=82'] Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,77 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: 77:[71, 93, 89], Operations: ['39+50=89'] Exploring Operation: 93-71=22, Resulting Numbers: [89, 22] Generated Node #0,0,0: 77:[89, 22] Operation: 93-71=22 Exploring Operation: 93-89=4, Resulting Numbers: [71, 4] Generated Node #0,0,1: 77:[71, 4] Operation: 93-89=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[71, 4], Operations: ['39+50=89', '93-89=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[89, 22], Operations: ['39+50=89', '93-71=22'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 88, 60, 92, 98 ]
83
[ "92-88=4", "60/4=15", "98-15=83" ]
Current State: 83:[88, 60, 92, 98], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [60, 98, 4] Generated Node #2: [60, 98, 4] from Operation: 92-88=4 Current State: 83:[60, 98, 4], Operations: ['92-88=4'] Exploring Operation: 60/4=15, Resulting Numbers: [98, 15] Generated Node #3: [98, 15] from Operation: 60/4=15 Current State: 83:[98, 15], Operations: ['92-88=4', '60/4=15'] Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[88, 60, 92, 98], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [88, 92, 38] Generated Node #0,0: 83:[88, 92, 38] Operation: 98-60=38 Exploring Operation: 92-60=32, Resulting Numbers: [88, 98, 32] Generated Node #0,1: 83:[88, 98, 32] Operation: 92-60=32 Exploring Operation: 88+60=148, Resulting Numbers: [92, 98, 148] Generated Node #0,2: 83:[92, 98, 148] Operation: 88+60=148 Exploring Operation: 88-60=28, Resulting Numbers: [92, 98, 28] Generated Node #0,3: 83:[92, 98, 28] Operation: 88-60=28 Moving to Node #0,0 Current State: 83:[88, 92, 38], Operations: ['98-60=38'] Exploring Operation: 92+38=130, Resulting Numbers: [88, 130] Generated Node #0,0,0: 83:[88, 130] Operation: 92+38=130 Exploring Operation: 92-38=54, Resulting Numbers: [88, 54] Generated Node #0,0,1: 83:[88, 54] Operation: 92-38=54 Exploring Operation: 88-38=50, Resulting Numbers: [92, 50] Generated Node #0,0,2: 83:[92, 50] Operation: 88-38=50 Exploring Operation: 88+38=126, Resulting Numbers: [92, 126] Generated Node #0,0,3: 83:[92, 126] Operation: 88+38=126 Moving to Node #0,1 Current State: 83:[88, 98, 32], Operations: ['92-60=32'] Exploring Operation: 98-32=66, Resulting Numbers: [88, 66] Generated Node #0,1,0: 83:[88, 66] Operation: 98-32=66 Exploring Operation: 88-32=56, Resulting Numbers: [98, 56] Generated Node #0,1,1: 83:[98, 56] Operation: 88-32=56 Exploring Operation: 88+32=120, Resulting Numbers: [98, 120] Generated Node #0,1,2: 83:[98, 120] Operation: 88+32=120 Exploring Operation: 98+32=130, Resulting Numbers: [88, 130] Generated Node #0,1,3: 83:[88, 130] Operation: 98+32=130 Moving to Node #0,3 Current State: 83:[92, 98, 28], Operations: ['88-60=28'] Exploring Operation: 92-28=64, Resulting Numbers: [98, 64] Generated Node #0,3,0: 83:[98, 64] Operation: 92-28=64 Exploring Operation: 98+28=126, Resulting Numbers: [92, 126] Generated Node #0,3,1: 83:[92, 126] Operation: 98+28=126 Exploring Operation: 98-28=70, Resulting Numbers: [92, 70] Generated Node #0,3,2: 83:[92, 70] Operation: 98-28=70 Exploring Operation: 92+28=120, Resulting Numbers: [98, 120] Generated Node #0,3,3: 83:[98, 120] Operation: 92+28=120 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[92, 70], Operations: ['88-60=28', '98-28=70'] Exploring Operation: 92+70=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 92*70=6440, Resulting Numbers: [6440] 6440,83 unequal: No Solution Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[98, 64], Operations: ['88-60=28', '92-28=64'] Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,83 unequal: No Solution Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[92, 126], Operations: ['88-60=28', '98+28=126'] Exploring Operation: 126-92=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 92+126=218, Resulting Numbers: [218] 218,83 unequal: No Solution Exploring Operation: 92*126=11592, Resulting Numbers: [11592] 11592,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[98, 120], Operations: ['88-60=28', '92+28=120'] Exploring Operation: 120-98=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 98*120=11760, Resulting Numbers: [11760] 11760,83 unequal: No Solution Exploring Operation: 98+120=218, Resulting Numbers: [218] 218,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[92, 98, 148], Operations: ['88+60=148'] Exploring Operation: 98-92=6, Resulting Numbers: [148, 6] Generated Node #0,2,0: 83:[148, 6] Operation: 98-92=6 Exploring Operation: 92+98=190, Resulting Numbers: [148, 190] Generated Node #0,2,1: 83:[148, 190] Operation: 92+98=190 Exploring Operation: 148-98=50, Resulting Numbers: [92, 50] Generated Node #0,2,2: 83:[92, 50] Operation: 148-98=50 Exploring Operation: 148-92=56, Resulting Numbers: [98, 56] Generated Node #0,2,3: 83:[98, 56] Operation: 148-92=56 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[92, 50], Operations: ['88+60=148', '148-98=50'] Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 92+50=142, Resulting Numbers: [142] 142,83 unequal: No Solution Exploring Operation: 92*50=4600, Resulting Numbers: [4600] 4600,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,3 Current State: 83:[98, 56], Operations: ['88+60=148', '148-92=56'] Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 98+56=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 98*56=5488, Resulting Numbers: [5488] 5488,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,0 Current State: 83:[148, 6], Operations: ['88+60=148', '98-92=6'] Exploring Operation: 148-6=142, Resulting Numbers: [142] 142,83 unequal: No Solution Exploring Operation: 148*6=888, Resulting Numbers: [888] 888,83 unequal: No Solution Exploring Operation: 148+6=154, Resulting Numbers: [154] 154,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,1 Current State: 83:[148, 190], Operations: ['88+60=148', '92+98=190'] Exploring Operation: 148+190=338, Resulting Numbers: [338] 338,83 unequal: No Solution Exploring Operation: 148*190=28120, Resulting Numbers: [28120] 28120,83 unequal: No Solution Exploring Operation: 190-148=42, Resulting Numbers: [42] 42,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 83:[88, 66], Operations: ['92-60=32', '98-32=66'] Exploring Operation: 88*66=5808, Resulting Numbers: [5808] 5808,83 unequal: No Solution Exploring Operation: 88+66=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[88, 54], Operations: ['98-60=38', '92-38=54'] Exploring Operation: 88+54=142, Resulting Numbers: [142] 142,83 unequal: No Solution Exploring Operation: 88*54=4752, Resulting Numbers: [4752] 4752,83 unequal: No Solution Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[98, 56], Operations: ['92-60=32', '88-32=56'] Exploring Operation: 98+56=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 98*56=5488, Resulting Numbers: [5488] 5488,83 unequal: No Solution Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[92, 50], Operations: ['98-60=38', '88-38=50'] Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 92+50=142, Resulting Numbers: [142] 142,83 unequal: No Solution Exploring Operation: 92*50=4600, Resulting Numbers: [4600] 4600,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[88, 130], Operations: ['98-60=38', '92+38=130'] Exploring Operation: 88*130=11440, Resulting Numbers: [11440] 11440,83 unequal: No Solution Exploring Operation: 88+130=218, Resulting Numbers: [218] 218,83 unequal: No Solution Exploring Operation: 130-88=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[98, 120], Operations: ['92-60=32', '88+32=120'] Exploring Operation: 98+120=218, Resulting Numbers: [218] 218,83 unequal: No Solution Exploring Operation: 98*120=11760, Resulting Numbers: [11760] 11760,83 unequal: No Solution Exploring Operation: 120-98=22, Resulting Numbers: [22] 22,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[88, 130], Operations: ['92-60=32', '98+32=130'] Exploring Operation: 88*130=11440, Resulting Numbers: [11440] 11440,83 unequal: No Solution Exploring Operation: 130-88=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 88+130=218, Resulting Numbers: [218] 218,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[92, 126], Operations: ['98-60=38', '88+38=126'] Exploring Operation: 126-92=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 92+126=218, Resulting Numbers: [218] 218,83 unequal: No Solution Exploring Operation: 92*126=11592, Resulting Numbers: [11592] 11592,83 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 19, 78, 22, 56 ]
93
[ "78-19=59", "56-22=34", "59+34=93" ]
Current State: 93:[19, 78, 22, 56], Operations: [] Exploring Operation: 78-19=59, Resulting Numbers: [22, 56, 59] Generated Node #2: [22, 56, 59] from Operation: 78-19=59 Current State: 93:[22, 56, 59], Operations: ['78-19=59'] Exploring Operation: 56-22=34, Resulting Numbers: [59, 34] Generated Node #3: [59, 34] from Operation: 56-22=34 Current State: 93:[59, 34], Operations: ['78-19=59', '56-22=34'] Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[19, 78, 22, 56], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [19, 22, 22] Generated Node #0,0: 93:[19, 22, 22] Operation: 78-56=22 Exploring Operation: 19+78=97, Resulting Numbers: [22, 56, 97] Generated Node #0,1: 93:[22, 56, 97] Operation: 19+78=97 Exploring Operation: 22-19=3, Resulting Numbers: [78, 56, 3] Generated Node #0,2: 93:[78, 56, 3] Operation: 22-19=3 Exploring Operation: 56-19=37, Resulting Numbers: [78, 22, 37] Generated Node #0,3: 93:[78, 22, 37] Operation: 56-19=37 Exploring Operation: 56-22=34, Resulting Numbers: [19, 78, 34] Generated Node #0,4: 93:[19, 78, 34] Operation: 56-22=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[19, 22, 22], Operations: ['78-56=22'] Exploring Operation: 22-22=0, Resulting Numbers: [19, 0] Generated Node #0,0,0: 93:[19, 0] Operation: 22-22=0 Exploring Operation: 22-19=3, Resulting Numbers: [22, 3] Generated Node #0,0,1: 93:[22, 3] Operation: 22-19=3 Exploring Operation: 19+22=41, Resulting Numbers: [22, 41] Generated Node #0,0,2: 93:[22, 41] Operation: 19+22=41 Exploring Operation: 22/22=1, Resulting Numbers: [19, 1] Generated Node #0,0,3: 93:[19, 1] Operation: 22/22=1 Exploring Operation: 22-19=3, Resulting Numbers: [22, 3] Generated Node #0,0,4: 93:[22, 3] Operation: 22-19=3 Moving to Node #0,0,1 Current State: 93:[22, 3], Operations: ['78-56=22', '22-19=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[22, 3], Operations: ['78-56=22', '22-19=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[19, 1], Operations: ['78-56=22', '22/22=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,93 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[19, 0], Operations: ['78-56=22', '22-22=0'] Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[22, 41], Operations: ['78-56=22', '19+22=41'] Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 22*41=902, Resulting Numbers: [902] 902,93 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,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 Current State: 93:[78, 22, 37], Operations: ['56-19=37'] Exploring Operation: 78-22=56, Resulting Numbers: [37, 56] Generated Node #0,3,0: 93:[37, 56] Operation: 78-22=56 Exploring Operation: 78+22=100, Resulting Numbers: [37, 100] Generated Node #0,3,1: 93:[37, 100] Operation: 78+22=100 Exploring Operation: 78+37=115, Resulting Numbers: [22, 115] Generated Node #0,3,2: 93:[22, 115] Operation: 78+37=115 Exploring Operation: 78-37=41, Resulting Numbers: [22, 41] Generated Node #0,3,3: 93:[22, 41] Operation: 78-37=41 Exploring Operation: 37-22=15, Resulting Numbers: [78, 15] Generated Node #0,3,4: 93:[78, 15] Operation: 37-22=15 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[37, 100], Operations: ['56-19=37', '78+22=100'] Exploring Operation: 37+100=137, Resulting Numbers: [137] 137,93 unequal: No Solution Exploring Operation: 37*100=3700, Resulting Numbers: [3700] 3700,93 unequal: No Solution Exploring Operation: 100-37=63, Resulting Numbers: [63] 63,93 unequal: No Solution No 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: 93:[22, 41], Operations: ['56-19=37', '78-37=41'] Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 22*41=902, Resulting Numbers: [902] 902,93 unequal: No Solution No 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: 93:[78, 15], Operations: ['56-19=37', '37-22=15'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[19, 78, 22, 56], Operations: [] Exploring Operation: 56-19=37, Resulting Numbers: [78, 22, 37] Generated Node #0,3: 93:[78, 22, 37] Operation: 56-19=37 Moving to Node #0,3 Current State: 93:[78, 22, 37], Operations: ['56-19=37'] Exploring Operation: 37-22=15, Resulting Numbers: [78, 15] Generated Node #0,3,4: 93:[78, 15] Operation: 37-22=15 Moving to Node #0,3,4 Current State: 93:[78, 15], Operations: ['56-19=37', '37-22=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 20, 83, 66, 26 ]
78
[ "83-20=63", "66-63=3", "26*3=78" ]
Current State: 78:[20, 83, 66, 26], Operations: [] Exploring Operation: 83-20=63, Resulting Numbers: [66, 26, 63] Generated Node #2: [66, 26, 63] from Operation: 83-20=63 Current State: 78:[66, 26, 63], Operations: ['83-20=63'] Exploring Operation: 66-63=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 66-63=3 Current State: 78:[26, 3], Operations: ['83-20=63', '66-63=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[20, 83, 66, 26], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [20, 26, 17] Generated Node #0,0: 78:[20, 26, 17] Operation: 83-66=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[20, 26, 17], Operations: ['83-66=17'] Exploring Operation: 20-17=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 78:[26, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[26, 3], Operations: ['83-66=17', '20-17=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[20, 83, 66, 26], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [20, 26, 17] Generated Node #0,0: 78:[20, 26, 17] Operation: 83-66=17 Moving to Node #0,0 Current State: 78:[20, 26, 17], Operations: ['83-66=17'] Exploring Operation: 20-17=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 78:[26, 3] Operation: 20-17=3 Moving to Node #0,0,0 Current State: 78:[26, 3], Operations: ['83-66=17', '20-17=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 27, 80, 72, 4 ]
29
[ "80-72=8", "8/4=2", "27+2=29" ]
Current State: 29:[27, 80, 72, 4], Operations: [] Exploring Operation: 80-72=8, Resulting Numbers: [27, 4, 8] Generated Node #2: [27, 4, 8] from Operation: 80-72=8 Current State: 29:[27, 4, 8], Operations: ['80-72=8'] Exploring Operation: 8/4=2, Resulting Numbers: [27, 2] Generated Node #3: [27, 2] from Operation: 8/4=2 Current State: 29:[27, 2], Operations: ['80-72=8', '8/4=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[27, 80, 72, 4], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [27, 72, 20] Generated Node #0,0: 29:[27, 72, 20] Operation: 80/4=20 Exploring Operation: 80-72=8, Resulting Numbers: [27, 4, 8] Generated Node #0,1: 29:[27, 4, 8] Operation: 80-72=8 Exploring Operation: 80-27=53, Resulting Numbers: [72, 4, 53] Generated Node #0,2: 29:[72, 4, 53] Operation: 80-27=53 Exploring Operation: 72/4=18, Resulting Numbers: [27, 80, 18] Generated Node #0,3: 29:[27, 80, 18] Operation: 72/4=18 Exploring Operation: 72-27=45, Resulting Numbers: [80, 4, 45] Generated Node #0,4: 29:[80, 4, 45] Operation: 72-27=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[27, 4, 8], Operations: ['80-72=8'] Exploring Operation: 4+8=12, Resulting Numbers: [27, 12] Generated Node #0,1,0: 29:[27, 12] Operation: 4+8=12 Exploring Operation: 8-4=4, Resulting Numbers: [27, 4] Generated Node #0,1,1: 29:[27, 4] Operation: 8-4=4 Exploring Operation: 4*8=32, Resulting Numbers: [27, 32] Generated Node #0,1,2: 29:[27, 32] Operation: 4*8=32 Exploring Operation: 27-4=23, Resulting Numbers: [8, 23] Generated Node #0,1,3: 29:[8, 23] Operation: 27-4=23 Exploring Operation: 27+4=31, Resulting Numbers: [8, 31] Generated Node #0,1,4: 29:[8, 31] Operation: 27+4=31 Moving to Node #0,1,2 Current State: 29:[27, 32], Operations: ['80-72=8', '4*8=32'] Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,29 unequal: No Solution Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,29 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[27, 12], Operations: ['80-72=8', '4+8=12'] Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,29 unequal: No Solution Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,29 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[8, 31], Operations: ['80-72=8', '27+4=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,29 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[27, 4], Operations: ['80-72=8', '8-4=4'] Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,29 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[8, 23], Operations: ['80-72=8', '27-4=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,29 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[27, 72, 20], Operations: ['80/4=20'] Exploring Operation: 72+20=92, Resulting Numbers: [27, 92] Generated Node #0,0,0: 29:[27, 92] Operation: 72+20=92 Exploring Operation: 27-20=7, Resulting Numbers: [72, 7] Generated Node #0,0,1: 29:[72, 7] Operation: 27-20=7 Exploring Operation: 72-20=52, Resulting Numbers: [27, 52] Generated Node #0,0,2: 29:[27, 52] Operation: 72-20=52 Exploring Operation: 72-27=45, Resulting Numbers: [20, 45] Generated Node #0,0,3: 29:[20, 45] Operation: 72-27=45 Exploring Operation: 27+20=47, Resulting Numbers: [72, 47] Generated Node #0,0,4: 29:[72, 47] Operation: 27+20=47 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[27, 52], Operations: ['80/4=20', '72-20=52'] Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,29 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,29 unequal: No Solution No 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: 29:[20, 45], Operations: ['80/4=20', '72-27=45'] Exploring Operation: 20+45=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 20*45=900, Resulting Numbers: [900] 900,29 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,29 unequal: No Solution No 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: 29:[72, 47], Operations: ['80/4=20', '27+20=47'] Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,29 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,29 unequal: No Solution No 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: 29:[27, 92], Operations: ['80/4=20', '72+20=92'] Exploring Operation: 27*92=2484, Resulting Numbers: [2484] 2484,29 unequal: No Solution Exploring Operation: 27+92=119, Resulting Numbers: [119] 119,29 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,29 unequal: No Solution No 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: 29:[72, 7], Operations: ['80/4=20', '27-20=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,29 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: 29:[27, 80, 18], Operations: ['72/4=18'] Exploring Operation: 80-18=62, Resulting Numbers: [27, 62] Generated Node #0,3,0: 29:[27, 62] Operation: 80-18=62 Exploring Operation: 80-27=53, Resulting Numbers: [18, 53] Generated Node #0,3,1: 29:[18, 53] Operation: 80-27=53 Exploring Operation: 27-18=9, Resulting Numbers: [80, 9] Generated Node #0,3,2: 29:[80, 9] Operation: 27-18=9 Exploring Operation: 80+18=98, Resulting Numbers: [27, 98] Generated Node #0,3,3: 29:[27, 98] Operation: 80+18=98 Exploring Operation: 27+18=45, Resulting Numbers: [80, 45] Generated Node #0,3,4: 29:[80, 45] Operation: 27+18=45 Moving to Node #0,3,0 Current State: 29:[27, 62], Operations: ['72/4=18', '80-18=62'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,29 unequal: No Solution Exploring Operation: 27*62=1674, Resulting Numbers: [1674] 1674,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[18, 53], Operations: ['72/4=18', '80-27=53'] Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,29 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,29 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[80, 45], Operations: ['72/4=18', '27+18=45'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,29 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[80, 9], Operations: ['72/4=18', '27-18=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,29 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,29 unequal: No Solution Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[27, 98], Operations: ['72/4=18', '80+18=98'] Exploring Operation: 27+98=125, Resulting Numbers: [125] 125,29 unequal: No Solution Exploring Operation: 27*98=2646, Resulting Numbers: [2646] 2646,29 unequal: No Solution Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[72, 4, 53], Operations: ['80-27=53'] Exploring Operation: 72-4=68, Resulting Numbers: [53, 68] Generated Node #0,2,0: 29:[53, 68] Operation: 72-4=68 Exploring Operation: 53-4=49, Resulting Numbers: [72, 49] Generated Node #0,2,1: 29:[72, 49] Operation: 53-4=49 Exploring Operation: 72+4=76, Resulting Numbers: [53, 76] Generated Node #0,2,2: 29:[53, 76] Operation: 72+4=76 Exploring Operation: 72-53=19, Resulting Numbers: [4, 19] Generated Node #0,2,3: 29:[4, 19] Operation: 72-53=19 Exploring Operation: 72/4=18, Resulting Numbers: [53, 18] Generated Node #0,2,4: 29:[53, 18] Operation: 72/4=18 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[4, 19], Operations: ['80-27=53', '72-53=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,29 unequal: No Solution No 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: 29:[53, 18], Operations: ['80-27=53', '72/4=18'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,29 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,29 unequal: No Solution No 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: 29:[53, 68], Operations: ['80-27=53', '72-4=68'] Exploring Operation: 53+68=121, Resulting Numbers: [121] 121,29 unequal: No Solution Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 53*68=3604, Resulting Numbers: [3604] 3604,29 unequal: No Solution No 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: 29:[72, 49], Operations: ['80-27=53', '53-4=49'] Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,29 unequal: No Solution Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,29 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,29 unequal: No Solution No 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: 29:[53, 76], Operations: ['80-27=53', '72+4=76'] Exploring Operation: 53+76=129, Resulting Numbers: [129] 129,29 unequal: No Solution Exploring Operation: 53*76=4028, Resulting Numbers: [4028] 4028,29 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,29 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: 29:[80, 4, 45], Operations: ['72-27=45'] Exploring Operation: 80-4=76, Resulting Numbers: [45, 76] Generated Node #0,4,0: 29:[45, 76] Operation: 80-4=76 Exploring Operation: 45-4=41, Resulting Numbers: [80, 41] Generated Node #0,4,1: 29:[80, 41] Operation: 45-4=41 Exploring Operation: 80/4=20, Resulting Numbers: [45, 20] Generated Node #0,4,2: 29:[45, 20] Operation: 80/4=20 Exploring Operation: 80+4=84, Resulting Numbers: [45, 84] Generated Node #0,4,3: 29:[45, 84] Operation: 80+4=84 Exploring Operation: 80-45=35, Resulting Numbers: [4, 35] Generated Node #0,4,4: 29:[4, 35] Operation: 80-45=35 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 29:[45, 20], Operations: ['72-27=45', '80/4=20'] Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,29 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,29 unequal: No Solution No 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: 29:[4, 35], Operations: ['72-27=45', '80-45=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,29 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,29 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,29 unequal: No Solution No 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: 29:[45, 76], Operations: ['72-27=45', '80-4=76'] Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,29 unequal: No Solution Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,29 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,29 unequal: No Solution No 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: 29:[80, 41], Operations: ['72-27=45', '45-4=41'] Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,29 unequal: No Solution Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,29 unequal: No Solution Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,29 unequal: No Solution No 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: 29:[45, 84], Operations: ['72-27=45', '80+4=84'] Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,29 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,29 unequal: No Solution Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,29 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
[ 70, 68, 6, 96 ]
88
[ "70-68=2", "96-6=90", "90-2=88" ]
Current State: 88:[70, 68, 6, 96], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [6, 96, 2] Generated Node #2: [6, 96, 2] from Operation: 70-68=2 Current State: 88:[6, 96, 2], Operations: ['70-68=2'] Exploring Operation: 96-6=90, Resulting Numbers: [2, 90] Generated Node #3: [2, 90] from Operation: 96-6=90 Current State: 88:[2, 90], Operations: ['70-68=2', '96-6=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[70, 68, 6, 96], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [6, 96, 2] Generated Node #0,0: 88:[6, 96, 2] Operation: 70-68=2 Moving to Node #0,0 Current State: 88:[6, 96, 2], Operations: ['70-68=2'] Exploring Operation: 96-6=90, Resulting Numbers: [2, 90] Generated Node #0,0,0: 88:[2, 90] Operation: 96-6=90 Moving to Node #0,0,0 Current State: 88:[2, 90], Operations: ['70-68=2', '96-6=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[70, 68, 6, 96], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [6, 96, 2] Generated Node #0,0: 88:[6, 96, 2] Operation: 70-68=2 Moving to Node #0,0 Current State: 88:[6, 96, 2], Operations: ['70-68=2'] Exploring Operation: 96-6=90, Resulting Numbers: [2, 90] Generated Node #0,0,0: 88:[2, 90] Operation: 96-6=90 Moving to Node #0,0,0 Current State: 88:[2, 90], Operations: ['70-68=2', '96-6=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 83, 31, 50, 38 ]
85
[ "50-31=19", "38/19=2", "83+2=85" ]
Current State: 85:[83, 31, 50, 38], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [83, 38, 19] Generated Node #2: [83, 38, 19] from Operation: 50-31=19 Current State: 85:[83, 38, 19], Operations: ['50-31=19'] Exploring Operation: 38/19=2, Resulting Numbers: [83, 2] Generated Node #3: [83, 2] from Operation: 38/19=2 Current State: 85:[83, 2], Operations: ['50-31=19', '38/19=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[83, 31, 50, 38], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [83, 31, 12] Generated Node #0,0: 85:[83, 31, 12] Operation: 50-38=12 Exploring Operation: 50+38=88, Resulting Numbers: [83, 31, 88] Generated Node #0,1: 85:[83, 31, 88] Operation: 50+38=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[83, 31, 88], Operations: ['50+38=88'] Exploring Operation: 88-83=5, Resulting Numbers: [31, 5] Generated Node #0,1,0: 85:[31, 5] Operation: 88-83=5 Exploring Operation: 88-31=57, Resulting Numbers: [83, 57] Generated Node #0,1,1: 85:[83, 57] Operation: 88-31=57 Moving to Node #0,1,0 Current State: 85:[31, 5], Operations: ['50+38=88', '88-83=5'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[83, 57], Operations: ['50+38=88', '88-31=57'] Exploring Operation: 83-57=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 83+57=140, Resulting Numbers: [140] 140,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,0 Current State: 85:[83, 31, 12], Operations: ['50-38=12'] Exploring Operation: 83+12=95, Resulting Numbers: [31, 95] Generated Node #0,0,0: 85:[31, 95] Operation: 83+12=95 Exploring Operation: 31-12=19, Resulting Numbers: [83, 19] Generated Node #0,0,1: 85:[83, 19] Operation: 31-12=19 Moving to Node #0,0,1 Current State: 85:[83, 19], Operations: ['50-38=12', '31-12=19'] Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,85 unequal: No Solution Exploring Operation: 83+19=102, Resulting Numbers: [102] 102,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[31, 95], Operations: ['50-38=12', '83+12=95'] Exploring Operation: 31+95=126, Resulting Numbers: [126] 126,85 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 98, 61, 16, 97 ]
46
[ "98+61=159", "16+97=113", "159-113=46" ]
Current State: 46:[98, 61, 16, 97], Operations: [] Exploring Operation: 98+61=159, Resulting Numbers: [16, 97, 159] Generated Node #2: [16, 97, 159] from Operation: 98+61=159 Current State: 46:[16, 97, 159], Operations: ['98+61=159'] Exploring Operation: 16+97=113, Resulting Numbers: [159, 113] Generated Node #3: [159, 113] from Operation: 16+97=113 Current State: 46:[159, 113], Operations: ['98+61=159', '16+97=113'] Exploring Operation: 159-113=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[98, 61, 16, 97], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [61, 97, 82] Generated Node #0,0: 46:[61, 97, 82] Operation: 98-16=82 Exploring Operation: 98-61=37, Resulting Numbers: [16, 97, 37] Generated Node #0,1: 46:[16, 97, 37] Operation: 98-61=37 Exploring Operation: 98-97=1, Resulting Numbers: [61, 16, 1] Generated Node #0,2: 46:[61, 16, 1] Operation: 98-97=1 Exploring Operation: 97-61=36, Resulting Numbers: [98, 16, 36] Generated Node #0,3: 46:[98, 16, 36] Operation: 97-61=36 Moving to Node #0,2 Current State: 46:[61, 16, 1], Operations: ['98-97=1'] Exploring Operation: 16+1=17, Resulting Numbers: [61, 17] Generated Node #0,2,0: 46:[61, 17] Operation: 16+1=17 Exploring Operation: 61-1=60, Resulting Numbers: [16, 60] Generated Node #0,2,1: 46:[16, 60] Operation: 61-1=60 Exploring Operation: 61-16=45, Resulting Numbers: [1, 45] Generated Node #0,2,2: 46:[1, 45] Operation: 61-16=45 Exploring Operation: 61*1=61, Resulting Numbers: [16, 61] Generated Node #0,2,3: 46:[16, 61] Operation: 61*1=61 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[1, 45], Operations: ['98-97=1', '61-16=45'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[98, 61, 16, 97], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [61, 16, 1] Generated Node #0,2: 46:[61, 16, 1] Operation: 98-97=1 Moving to Node #0,2 Current State: 46:[61, 16, 1], Operations: ['98-97=1'] Exploring Operation: 61-16=45, Resulting Numbers: [1, 45] Generated Node #0,2,2: 46:[1, 45] Operation: 61-16=45 Moving to Node #0,2,2 Current State: 46:[1, 45], Operations: ['98-97=1', '61-16=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 6, 72, 51, 69 ]
96
[ "6+72=78", "69-51=18", "78+18=96" ]
Current State: 96:[6, 72, 51, 69], Operations: [] Exploring Operation: 6+72=78, Resulting Numbers: [51, 69, 78] Generated Node #2: [51, 69, 78] from Operation: 6+72=78 Current State: 96:[51, 69, 78], Operations: ['6+72=78'] Exploring Operation: 69-51=18, Resulting Numbers: [78, 18] Generated Node #3: [78, 18] from Operation: 69-51=18 Current State: 96:[78, 18], Operations: ['6+72=78', '69-51=18'] Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 72, 51, 69], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [6, 51, 3] Generated Node #0,0: 96:[6, 51, 3] Operation: 72-69=3 Moving to Node #0,0 Current State: 96:[6, 51, 3], Operations: ['72-69=3'] Exploring Operation: 51-3=48, Resulting Numbers: [6, 48] Generated Node #0,0,0: 96:[6, 48] Operation: 51-3=48 Moving to Node #0,0,0 Current State: 96:[6, 48], Operations: ['72-69=3', '51-3=48'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,96 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 32, 31, 11 ]
34
[ "32/4=8", "31+11=42", "42-8=34" ]
Current State: 34:[4, 32, 31, 11], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [31, 11, 8] Generated Node #2: [31, 11, 8] from Operation: 32/4=8 Current State: 34:[31, 11, 8], Operations: ['32/4=8'] Exploring Operation: 31+11=42, Resulting Numbers: [8, 42] Generated Node #3: [8, 42] from Operation: 31+11=42 Current State: 34:[8, 42], Operations: ['32/4=8', '31+11=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[4, 32, 31, 11], Operations: [] Exploring Operation: 4+31=35, Resulting Numbers: [32, 11, 35] Generated Node #0,0: 34:[32, 11, 35] Operation: 4+31=35 Exploring Operation: 31-11=20, Resulting Numbers: [4, 32, 20] Generated Node #0,1: 34:[4, 32, 20] Operation: 31-11=20 Exploring Operation: 4+11=15, Resulting Numbers: [32, 31, 15] Generated Node #0,2: 34:[32, 31, 15] Operation: 4+11=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[4, 32, 20], Operations: ['31-11=20'] Exploring Operation: 4+32=36, Resulting Numbers: [20, 36] Generated Node #0,1,0: 34:[20, 36] Operation: 4+32=36 Exploring Operation: 20-4=16, Resulting Numbers: [32, 16] Generated Node #0,1,1: 34:[32, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [32, 5] Generated Node #0,1,2: 34:[32, 5] Operation: 20/4=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[32, 16], Operations: ['31-11=20', '20-4=16'] Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,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:[20, 36], Operations: ['31-11=20', '4+32=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,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,2 Current State: 34:[32, 5], Operations: ['31-11=20', '20/4=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,34 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,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,2 Current State: 34:[32, 31, 15], Operations: ['4+11=15'] Exploring Operation: 32-15=17, Resulting Numbers: [31, 17] Generated Node #0,2,0: 34:[31, 17] Operation: 32-15=17 Exploring Operation: 31-15=16, Resulting Numbers: [32, 16] Generated Node #0,2,1: 34:[32, 16] Operation: 31-15=16 Exploring Operation: 32-31=1, Resulting Numbers: [15, 1] Generated Node #0,2,2: 34:[15, 1] Operation: 32-31=1 Moving to Node #0,2,0 Current State: 34:[31, 17], Operations: ['4+11=15', '32-15=17'] Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[32, 16], Operations: ['4+11=15', '31-15=16'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[15, 1], Operations: ['4+11=15', '32-31=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,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:[32, 11, 35], Operations: ['4+31=35'] Exploring Operation: 32-11=21, Resulting Numbers: [35, 21] Generated Node #0,0,0: 34:[35, 21] Operation: 32-11=21 Exploring Operation: 35-11=24, Resulting Numbers: [32, 24] Generated Node #0,0,1: 34:[32, 24] Operation: 35-11=24 Exploring Operation: 35-32=3, Resulting Numbers: [11, 3] Generated Node #0,0,2: 34:[11, 3] Operation: 35-32=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[35, 21], Operations: ['4+31=35', '32-11=21'] Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,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,0,2 Current State: 34:[11, 3], Operations: ['4+31=35', '35-32=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,0,1 Current State: 34:[32, 24], Operations: ['4+31=35', '35-11=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,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 No solution found.
0
hs_3
sum_heuristic
[ 11, 56, 62, 44 ]
27
[ "56-11=45", "62-44=18", "45-18=27" ]
Current State: 27:[11, 56, 62, 44], Operations: [] Exploring Operation: 56-11=45, Resulting Numbers: [62, 44, 45] Generated Node #2: [62, 44, 45] from Operation: 56-11=45 Current State: 27:[62, 44, 45], Operations: ['56-11=45'] Exploring Operation: 62-44=18, Resulting Numbers: [45, 18] Generated Node #3: [45, 18] from Operation: 62-44=18 Current State: 27:[45, 18], Operations: ['56-11=45', '62-44=18'] Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[11, 56, 62, 44], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [11, 44, 6] Generated Node #0,0: 27:[11, 44, 6] Operation: 62-56=6 Exploring Operation: 56-44=12, Resulting Numbers: [11, 62, 12] Generated Node #0,1: 27:[11, 62, 12] Operation: 56-44=12 Exploring Operation: 62-44=18, Resulting Numbers: [11, 56, 18] Generated Node #0,2: 27:[11, 56, 18] Operation: 62-44=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[11, 44, 6], Operations: ['62-56=6'] Exploring Operation: 44/11=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 27:[6, 4] Operation: 44/11=4 Exploring Operation: 44-11=33, Resulting Numbers: [6, 33] Generated Node #0,0,1: 27:[6, 33] Operation: 44-11=33 Exploring Operation: 44-6=38, Resulting Numbers: [11, 38] Generated Node #0,0,2: 27:[11, 38] Operation: 44-6=38 Moving to Node #0,0,0 Current State: 27:[6, 4], Operations: ['62-56=6', '44/11=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[6, 33], Operations: ['62-56=6', '44-11=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,27 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[11, 56, 62, 44], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [11, 44, 6] Generated Node #0,0: 27:[11, 44, 6] Operation: 62-56=6 Moving to Node #0,0 Current State: 27:[11, 44, 6], Operations: ['62-56=6'] Exploring Operation: 44-11=33, Resulting Numbers: [6, 33] Generated Node #0,0,1: 27:[6, 33] Operation: 44-11=33 Moving to Node #0,0,1 Current State: 27:[6, 33], Operations: ['62-56=6', '44-11=33'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 27, 76, 90, 75 ]
64
[ "76-27=49", "90-75=15", "49+15=64" ]
Current State: 64:[27, 76, 90, 75], Operations: [] Exploring Operation: 76-27=49, Resulting Numbers: [90, 75, 49] Generated Node #2: [90, 75, 49] from Operation: 76-27=49 Current State: 64:[90, 75, 49], Operations: ['76-27=49'] Exploring Operation: 90-75=15, Resulting Numbers: [49, 15] Generated Node #3: [49, 15] from Operation: 90-75=15 Current State: 64:[49, 15], Operations: ['76-27=49', '90-75=15'] Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[27, 76, 90, 75], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [27, 75, 14] Generated Node #0,0: 64:[27, 75, 14] Operation: 90-76=14 Exploring Operation: 76-75=1, Resulting Numbers: [27, 90, 1] Generated Node #0,1: 64:[27, 90, 1] Operation: 76-75=1 Exploring Operation: 90-75=15, Resulting Numbers: [27, 76, 15] Generated Node #0,2: 64:[27, 76, 15] Operation: 90-75=15 Exploring Operation: 90-27=63, Resulting Numbers: [76, 75, 63] Generated Node #0,3: 64:[76, 75, 63] Operation: 90-27=63 Moving to Node #0,0 Current State: 64:[27, 75, 14], Operations: ['90-76=14'] Exploring Operation: 27+14=41, Resulting Numbers: [75, 41] Generated Node #0,0,0: 64:[75, 41] Operation: 27+14=41 Exploring Operation: 27-14=13, Resulting Numbers: [75, 13] Generated Node #0,0,1: 64:[75, 13] Operation: 27-14=13 Exploring Operation: 75-14=61, Resulting Numbers: [27, 61] Generated Node #0,0,2: 64:[27, 61] Operation: 75-14=61 Exploring Operation: 75-27=48, Resulting Numbers: [14, 48] Generated Node #0,0,3: 64:[14, 48] Operation: 75-27=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[27, 61], Operations: ['90-76=14', '75-14=61'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[75, 13], Operations: ['90-76=14', '27-14=13'] Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,64 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[14, 48], Operations: ['90-76=14', '75-27=48'] Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,64 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[75, 41], Operations: ['90-76=14', '27+14=41'] Exploring Operation: 75+41=116, Resulting Numbers: [116] 116,64 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 75*41=3075, Resulting Numbers: [3075] 3075,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[27, 76, 15], Operations: ['90-75=15'] Exploring Operation: 27-15=12, Resulting Numbers: [76, 12] Generated Node #0,2,0: 64:[76, 12] Operation: 27-15=12 Exploring Operation: 27+15=42, Resulting Numbers: [76, 42] Generated Node #0,2,1: 64:[76, 42] Operation: 27+15=42 Exploring Operation: 76-15=61, Resulting Numbers: [27, 61] Generated Node #0,2,2: 64:[27, 61] Operation: 76-15=61 Exploring Operation: 76-27=49, Resulting Numbers: [15, 49] Generated Node #0,2,3: 64:[15, 49] Operation: 76-27=49 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[27, 61], Operations: ['90-75=15', '76-15=61'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,64 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[76, 12], Operations: ['90-75=15', '27-15=12'] Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,64 unequal: No Solution Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[27, 76, 90, 75], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [27, 76, 15] Generated Node #0,2: 64:[27, 76, 15] Operation: 90-75=15 Moving to Node #0,2 Current State: 64:[27, 76, 15], Operations: ['90-75=15'] Exploring Operation: 27-15=12, Resulting Numbers: [76, 12] Generated Node #0,2,0: 64:[76, 12] Operation: 27-15=12 Moving to Node #0,2,0 Current State: 64:[76, 12], Operations: ['90-75=15', '27-15=12'] Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 50, 62, 25, 19 ]
83
[ "50/25=2", "62+19=81", "2+81=83" ]
Current State: 83:[50, 62, 25, 19], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [62, 19, 2] Generated Node #2: [62, 19, 2] from Operation: 50/25=2 Current State: 83:[62, 19, 2], Operations: ['50/25=2'] Exploring Operation: 62+19=81, Resulting Numbers: [2, 81] Generated Node #3: [2, 81] from Operation: 62+19=81 Current State: 83:[2, 81], Operations: ['50/25=2', '62+19=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[50, 62, 25, 19], Operations: [] Exploring Operation: 50+25=75, Resulting Numbers: [62, 19, 75] Generated Node #0,0: 83:[62, 19, 75] Operation: 50+25=75 Exploring Operation: 50+19=69, Resulting Numbers: [62, 25, 69] Generated Node #0,1: 83:[62, 25, 69] Operation: 50+19=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[62, 19, 75], Operations: ['50+25=75'] Exploring Operation: 19+75=94, Resulting Numbers: [62, 94] Generated Node #0,0,0: 83:[62, 94] Operation: 19+75=94 Exploring Operation: 62+19=81, Resulting Numbers: [75, 81] Generated Node #0,0,1: 83:[75, 81] Operation: 62+19=81 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[75, 81], Operations: ['50+25=75', '62+19=81'] Exploring Operation: 81-75=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 75+81=156, Resulting Numbers: [156] 156,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:[62, 94], Operations: ['50+25=75', '19+75=94'] Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 62+94=156, Resulting Numbers: [156] 156,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:[62, 25, 69], Operations: ['50+19=69'] Exploring Operation: 62+25=87, Resulting Numbers: [69, 87] Generated Node #0,1,0: 83:[69, 87] Operation: 62+25=87 Exploring Operation: 25+69=94, Resulting Numbers: [62, 94] Generated Node #0,1,1: 83:[62, 94] Operation: 25+69=94 Moving to Node #0,1,0 Current State: 83:[69, 87], Operations: ['50+19=69', '62+25=87'] Exploring Operation: 69+87=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 87-69=18, Resulting Numbers: [18] 18,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[62, 94], Operations: ['50+19=69', '25+69=94'] Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 62+94=156, Resulting Numbers: [156] 156,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 19, 63, 67, 72 ]
77
[ "19+63=82", "72-67=5", "82-5=77" ]
Current State: 77:[19, 63, 67, 72], Operations: [] Exploring Operation: 19+63=82, Resulting Numbers: [67, 72, 82] Generated Node #2: [67, 72, 82] from Operation: 19+63=82 Current State: 77:[67, 72, 82], Operations: ['19+63=82'] Exploring Operation: 72-67=5, Resulting Numbers: [82, 5] Generated Node #3: [82, 5] from Operation: 72-67=5 Current State: 77:[82, 5], Operations: ['19+63=82', '72-67=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[19, 63, 67, 72], Operations: [] Exploring Operation: 19+63=82, Resulting Numbers: [67, 72, 82] Generated Node #0,0: 77:[67, 72, 82] Operation: 19+63=82 Exploring Operation: 72-67=5, Resulting Numbers: [19, 63, 5] Generated Node #0,1: 77:[19, 63, 5] Operation: 72-67=5 Exploring Operation: 67-63=4, Resulting Numbers: [19, 72, 4] Generated Node #0,2: 77:[19, 72, 4] Operation: 67-63=4 Exploring Operation: 72-63=9, Resulting Numbers: [19, 67, 9] Generated Node #0,3: 77:[19, 67, 9] Operation: 72-63=9 Exploring Operation: 19+67=86, Resulting Numbers: [63, 72, 86] Generated Node #0,4: 77:[63, 72, 86] Operation: 19+67=86 Moving to Node #0,2 Current State: 77:[19, 72, 4], Operations: ['67-63=4'] Exploring Operation: 19-4=15, Resulting Numbers: [72, 15] Generated Node #0,2,0: 77:[72, 15] Operation: 19-4=15 Exploring Operation: 19+72=91, Resulting Numbers: [4, 91] Generated Node #0,2,1: 77:[4, 91] Operation: 19+72=91 Exploring Operation: 72/4=18, Resulting Numbers: [19, 18] Generated Node #0,2,2: 77:[19, 18] Operation: 72/4=18 Exploring Operation: 19*4=76, Resulting Numbers: [72, 76] Generated Node #0,2,3: 77:[72, 76] Operation: 19*4=76 Exploring Operation: 72+4=76, Resulting Numbers: [19, 76] Generated Node #0,2,4: 77:[19, 76] Operation: 72+4=76 Moving to Node #0,3 Current State: 77:[19, 67, 9], Operations: ['72-63=9'] Exploring Operation: 19+67=86, Resulting Numbers: [9, 86] Generated Node #0,3,0: 77:[9, 86] Operation: 19+67=86 Exploring Operation: 19+9=28, Resulting Numbers: [67, 28] Generated Node #0,3,1: 77:[67, 28] Operation: 19+9=28 Exploring Operation: 19-9=10, Resulting Numbers: [67, 10] Generated Node #0,3,2: 77:[67, 10] Operation: 19-9=10 Exploring Operation: 67-9=58, Resulting Numbers: [19, 58] Generated Node #0,3,3: 77:[19, 58] Operation: 67-9=58 Exploring Operation: 67+9=76, Resulting Numbers: [19, 76] Generated Node #0,3,4: 77:[19, 76] Operation: 67+9=76 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 77:[19, 76], Operations: ['72-63=9', '67+9=76'] Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,77 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,77 unequal: No Solution Exploring Operation: 19*76=1444, Resulting Numbers: [1444] 1444,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[9, 86], Operations: ['72-63=9', '19+67=86'] Exploring Operation: 9*86=774, Resulting Numbers: [774] 774,77 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[19, 63, 67, 72], Operations: [] Exploring Operation: 72-63=9, Resulting Numbers: [19, 67, 9] Generated Node #0,3: 77:[19, 67, 9] Operation: 72-63=9 Moving to Node #0,3 Current State: 77:[19, 67, 9], Operations: ['72-63=9'] Exploring Operation: 19+67=86, Resulting Numbers: [9, 86] Generated Node #0,3,0: 77:[9, 86] Operation: 19+67=86 Moving to Node #0,3,0 Current State: 77:[9, 86], Operations: ['72-63=9', '19+67=86'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 31, 44, 36, 40 ]
76
[ "31*44=1364", "36*40=1440", "1440-1364=76" ]
Current State: 76:[31, 44, 36, 40], Operations: [] Exploring Operation: 31*44=1364, Resulting Numbers: [36, 40, 1364] Generated Node #2: [36, 40, 1364] from Operation: 31*44=1364 Current State: 76:[36, 40, 1364], Operations: ['31*44=1364'] Exploring Operation: 36*40=1440, Resulting Numbers: [1364, 1440] Generated Node #3: [1364, 1440] from Operation: 36*40=1440 Current State: 76:[1364, 1440], Operations: ['31*44=1364', '36*40=1440'] Exploring Operation: 1440-1364=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[31, 44, 36, 40], Operations: [] Exploring Operation: 31+44=75, Resulting Numbers: [36, 40, 75] Generated Node #0,0: 76:[36, 40, 75] Operation: 31+44=75 Exploring Operation: 44-31=13, Resulting Numbers: [36, 40, 13] Generated Node #0,1: 76:[36, 40, 13] Operation: 44-31=13 Exploring Operation: 44-40=4, Resulting Numbers: [31, 36, 4] Generated Node #0,2: 76:[31, 36, 4] Operation: 44-40=4 Exploring Operation: 36-31=5, Resulting Numbers: [44, 40, 5] Generated Node #0,3: 76:[44, 40, 5] Operation: 36-31=5 Moving to Node #0,0 Current State: 76:[36, 40, 75], Operations: ['31+44=75'] Exploring Operation: 75-36=39, Resulting Numbers: [40, 39] Generated Node #0,0,0: 76:[40, 39] Operation: 75-36=39 Exploring Operation: 40-36=4, Resulting Numbers: [75, 4] Generated Node #0,0,1: 76:[75, 4] Operation: 40-36=4 Exploring Operation: 36+40=76, Resulting Numbers: [75, 76] Generated Node #0,0,2: 76:[75, 76] Operation: 36+40=76 Exploring Operation: 75-40=35, Resulting Numbers: [36, 35] Generated Node #0,0,3: 76:[36, 35] Operation: 75-40=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[75, 4], Operations: ['31+44=75', '40-36=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[75, 76], Operations: ['31+44=75', '36+40=76'] Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,76 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[40, 39], Operations: ['31+44=75', '75-36=39'] Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,76 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[36, 35], Operations: ['31+44=75', '75-40=35'] Exploring Operation: 36*35=1260, Resulting Numbers: [1260] 1260,76 unequal: No Solution Exploring Operation: 36+35=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,76 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: 76:[44, 40, 5], Operations: ['36-31=5'] Exploring Operation: 44-40=4, Resulting Numbers: [5, 4] Generated Node #0,3,0: 76:[5, 4] Operation: 44-40=4 Exploring Operation: 40-5=35, Resulting Numbers: [44, 35] Generated Node #0,3,1: 76:[44, 35] Operation: 40-5=35 Exploring Operation: 44+40=84, Resulting Numbers: [5, 84] Generated Node #0,3,2: 76:[5, 84] Operation: 44+40=84 Exploring Operation: 44-5=39, Resulting Numbers: [40, 39] Generated Node #0,3,3: 76:[40, 39] Operation: 44-5=39 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 76:[5, 4], Operations: ['36-31=5', '44-40=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 76:[40, 39], Operations: ['36-31=5', '44-5=39'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,76 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[44, 35], Operations: ['36-31=5', '40-5=35'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 76:[5, 84], Operations: ['36-31=5', '44+40=84'] Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,76 unequal: No Solution Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,76 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,76 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: 76:[31, 36, 4], Operations: ['44-40=4'] Exploring Operation: 31+4=35, Resulting Numbers: [36, 35] Generated Node #0,2,0: 76:[36, 35] Operation: 31+4=35 Exploring Operation: 36+4=40, Resulting Numbers: [31, 40] Generated Node #0,2,1: 76:[31, 40] Operation: 36+4=40 Exploring Operation: 36-31=5, Resulting Numbers: [4, 5] Generated Node #0,2,2: 76:[4, 5] Operation: 36-31=5 Exploring Operation: 31+36=67, Resulting Numbers: [4, 67] Generated Node #0,2,3: 76:[4, 67] Operation: 31+36=67 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[4, 5], Operations: ['44-40=4', '36-31=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[36, 35], Operations: ['44-40=4', '31+4=35'] Exploring Operation: 36*35=1260, Resulting Numbers: [1260] 1260,76 unequal: No Solution Exploring Operation: 36+35=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[31, 40], Operations: ['44-40=4', '36+4=40'] Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,76 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[4, 67], Operations: ['44-40=4', '31+36=67'] Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,76 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: 76:[36, 40, 13], Operations: ['44-31=13'] Exploring Operation: 36+40=76, Resulting Numbers: [13, 76] Generated Node #0,1,0: 76:[13, 76] Operation: 36+40=76 Exploring Operation: 40-36=4, Resulting Numbers: [13, 4] Generated Node #0,1,1: 76:[13, 4] Operation: 40-36=4 Exploring Operation: 40-13=27, Resulting Numbers: [36, 27] Generated Node #0,1,2: 76:[36, 27] Operation: 40-13=27 Exploring Operation: 36-13=23, Resulting Numbers: [40, 23] Generated Node #0,1,3: 76:[40, 23] Operation: 36-13=23 Moving to Node #0,1,0 Current State: 76:[13, 76], Operations: ['44-31=13', '36+40=76'] Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,76 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[40, 23], Operations: ['44-31=13', '36-13=23'] Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,76 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[13, 4], Operations: ['44-31=13', '40-36=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[36, 27], Operations: ['44-31=13', '40-13=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,76 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,76 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 9, 6, 5, 37 ]
38
[ "9+6=15", "5*15=75", "75-37=38" ]
Current State: 38:[9, 6, 5, 37], Operations: [] Exploring Operation: 9+6=15, Resulting Numbers: [5, 37, 15] Generated Node #2: [5, 37, 15] from Operation: 9+6=15 Current State: 38:[5, 37, 15], Operations: ['9+6=15'] Exploring Operation: 5*15=75, Resulting Numbers: [37, 75] Generated Node #3: [37, 75] from Operation: 5*15=75 Current State: 38:[37, 75], Operations: ['9+6=15', '5*15=75'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[9, 6, 5, 37], Operations: [] Exploring Operation: 6-5=1, Resulting Numbers: [9, 37, 1] Generated Node #0,0: 38:[9, 37, 1] Operation: 6-5=1 Exploring Operation: 9+6=15, Resulting Numbers: [5, 37, 15] Generated Node #0,1: 38:[5, 37, 15] Operation: 9+6=15 Exploring Operation: 9-6=3, Resulting Numbers: [5, 37, 3] Generated Node #0,2: 38:[5, 37, 3] Operation: 9-6=3 Exploring Operation: 9-5=4, Resulting Numbers: [6, 37, 4] Generated Node #0,3: 38:[6, 37, 4] Operation: 9-5=4 Moving to Node #0,2 Current State: 38:[5, 37, 3], Operations: ['9-6=3'] Exploring Operation: 5-3=2, Resulting Numbers: [37, 2] Generated Node #0,2,0: 38:[37, 2] Operation: 5-3=2 Exploring Operation: 5+37=42, Resulting Numbers: [3, 42] Generated Node #0,2,1: 38:[3, 42] Operation: 5+37=42 Exploring Operation: 5*3=15, Resulting Numbers: [37, 15] Generated Node #0,2,2: 38:[37, 15] Operation: 5*3=15 Exploring Operation: 37+3=40, Resulting Numbers: [5, 40] Generated Node #0,2,3: 38:[5, 40] Operation: 37+3=40 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[37, 2], Operations: ['9-6=3', '5-3=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[3, 42], Operations: ['9-6=3', '5+37=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,38 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[37, 15], Operations: ['9-6=3', '5*3=15'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 37+15=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 37*15=555, Resulting Numbers: [555] 555,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[5, 40], Operations: ['9-6=3', '37+3=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,38 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: 38:[6, 37, 4], Operations: ['9-5=4'] Exploring Operation: 6+37=43, Resulting Numbers: [4, 43] Generated Node #0,3,0: 38:[4, 43] Operation: 6+37=43 Exploring Operation: 6*4=24, Resulting Numbers: [37, 24] Generated Node #0,3,1: 38:[37, 24] Operation: 6*4=24 Exploring Operation: 37+4=41, Resulting Numbers: [6, 41] Generated Node #0,3,2: 38:[6, 41] Operation: 37+4=41 Exploring Operation: 6-4=2, Resulting Numbers: [37, 2] Generated Node #0,3,3: 38:[37, 2] Operation: 6-4=2 Moving to Node #0,1 Current State: 38:[5, 37, 15], Operations: ['9+6=15'] Exploring Operation: 5+15=20, Resulting Numbers: [37, 20] Generated Node #0,1,0: 38:[37, 20] Operation: 5+15=20 Exploring Operation: 5+37=42, Resulting Numbers: [15, 42] Generated Node #0,1,1: 38:[15, 42] Operation: 5+37=42 Exploring Operation: 15/5=3, Resulting Numbers: [37, 3] Generated Node #0,1,2: 38:[37, 3] Operation: 15/5=3 Exploring Operation: 37-15=22, Resulting Numbers: [5, 22] Generated Node #0,1,3: 38:[5, 22] Operation: 37-15=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[37, 20], Operations: ['9+6=15', '5+15=20'] Exploring Operation: 37*20=740, Resulting Numbers: [740] 740,38 unequal: No Solution Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[37, 3], Operations: ['9+6=15', '15/5=3'] Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,38 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[5, 22], Operations: ['9+6=15', '37-15=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,38 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,38 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[15, 42], Operations: ['9+6=15', '5+37=42'] Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,38 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,38 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: 38:[9, 37, 1], Operations: ['6-5=1'] Exploring Operation: 9/1=9, Resulting Numbers: [37, 9] Generated Node #0,0,0: 38:[37, 9] Operation: 9/1=9 Exploring Operation: 37+1=38, Resulting Numbers: [9, 38] Generated Node #0,0,1: 38:[9, 38] Operation: 37+1=38 Exploring Operation: 9-1=8, Resulting Numbers: [37, 8] Generated Node #0,0,2: 38:[37, 8] Operation: 9-1=8 Exploring Operation: 9*1=9, Resulting Numbers: [37, 9] Generated Node #0,0,3: 38:[37, 9] Operation: 9*1=9 Moving to Node #0,3,3 Current State: 38:[37, 2], Operations: ['9-5=4', '6-4=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[37, 24], Operations: ['9-5=4', '6*4=24'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,38 unequal: No Solution Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[4, 43], Operations: ['9-5=4', '6+37=43'] Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,38 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[37, 8], Operations: ['6-5=1', '9-1=8'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,38 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[9, 38], Operations: ['6-5=1', '37+1=38'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,38 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,38 unequal: No Solution Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[6, 41], Operations: ['9-5=4', '37+4=41'] Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,38 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[37, 9], Operations: ['6-5=1', '9*1=9'] Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,38 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[37, 9], Operations: ['6-5=1', '9/1=9'] Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,38 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,38 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 90, 45, 90, 97 ]
95
[ "90-45=45", "90/45=2", "97-2=95" ]
Current State: 95:[90, 45, 90, 97], Operations: [] Exploring Operation: 90-45=45, Resulting Numbers: [97, 45] Generated Node #2: [97, 45] from Operation: 90-45=45 Current State: 95:[97, 45], Operations: ['90-45=45'] Exploring Operation: 90/45=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 90/45=2 Current State: 95:[97, 2], Operations: ['90-45=45', '90/45=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[90, 45, 90, 97], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [90, 97, 2] Generated Node #0,0: 95:[90, 97, 2] Operation: 90/45=2 Exploring Operation: 90/45=2, Resulting Numbers: [90, 97, 2] Generated Node #0,1: 95:[90, 97, 2] Operation: 90/45=2 Moving to Node #0,0 Current State: 95:[90, 97, 2], Operations: ['90/45=2'] Exploring Operation: 90+2=92, Resulting Numbers: [97, 92] Generated Node #0,0,0: 95:[97, 92] Operation: 90+2=92 Exploring Operation: 97-90=7, Resulting Numbers: [2, 7] Generated Node #0,0,1: 95:[2, 7] Operation: 97-90=7 Moving to Node #0,1 Current State: 95:[90, 97, 2], Operations: ['90/45=2'] Exploring Operation: 90+2=92, Resulting Numbers: [97, 92] Generated Node #0,1,0: 95:[97, 92] Operation: 90+2=92 Exploring Operation: 97-90=7, Resulting Numbers: [2, 7] Generated Node #0,1,1: 95:[2, 7] Operation: 97-90=7 Moving to Node #0,0,0 Current State: 95:[97, 92], Operations: ['90/45=2', '90+2=92'] Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 97+92=189, Resulting Numbers: [189] 189,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[97, 92], Operations: ['90/45=2', '90+2=92'] Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 97+92=189, Resulting Numbers: [189] 189,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[2, 7], Operations: ['90/45=2', '97-90=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[2, 7], Operations: ['90/45=2', '97-90=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 97, 96, 19, 76 ]
48
[ "97-19=78", "78-76=2", "96/2=48" ]
Current State: 48:[97, 96, 19, 76], Operations: [] Exploring Operation: 97-19=78, Resulting Numbers: [96, 76, 78] Generated Node #2: [96, 76, 78] from Operation: 97-19=78 Current State: 48:[96, 76, 78], Operations: ['97-19=78'] Exploring Operation: 78-76=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 78-76=2 Current State: 48:[96, 2], Operations: ['97-19=78', '78-76=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[97, 96, 19, 76], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [96, 19, 21] Generated Node #0,0: 48:[96, 19, 21] Operation: 97-76=21 Exploring Operation: 76/19=4, Resulting Numbers: [97, 96, 4] Generated Node #0,1: 48:[97, 96, 4] Operation: 76/19=4 Exploring Operation: 97-19=78, Resulting Numbers: [96, 76, 78] Generated Node #0,2: 48:[96, 76, 78] Operation: 97-19=78 Exploring Operation: 97-96=1, Resulting Numbers: [19, 76, 1] Generated Node #0,3: 48:[19, 76, 1] Operation: 97-96=1 Exploring Operation: 96-76=20, Resulting Numbers: [97, 19, 20] Generated Node #0,4: 48:[97, 19, 20] Operation: 96-76=20 Moving to Node #0,3 Current State: 48:[19, 76, 1], Operations: ['97-96=1'] Exploring Operation: 76-1=75, Resulting Numbers: [19, 75] Generated Node #0,3,0: 48:[19, 75] Operation: 76-1=75 Exploring Operation: 19-1=18, Resulting Numbers: [76, 18] Generated Node #0,3,1: 48:[76, 18] Operation: 19-1=18 Exploring Operation: 19*1=19, Resulting Numbers: [76, 19] Generated Node #0,3,2: 48:[76, 19] Operation: 19*1=19 Exploring Operation: 76-19=57, Resulting Numbers: [1, 57] Generated Node #0,3,3: 48:[1, 57] Operation: 76-19=57 Exploring Operation: 76/19=4, Resulting Numbers: [1, 4] Generated Node #0,3,4: 48:[1, 4] Operation: 76/19=4 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 48:[1, 4], Operations: ['97-96=1', '76/19=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,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:[1, 57], Operations: ['97-96=1', '76-19=57'] Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,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:[19, 75], Operations: ['97-96=1', '76-1=75'] Exploring Operation: 19*75=1425, Resulting Numbers: [1425] 1425,48 unequal: No Solution Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 19+75=94, Resulting Numbers: [94] 94,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:[76, 18], Operations: ['97-96=1', '19-1=18'] Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,48 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,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,2 Current State: 48:[76, 19], Operations: ['97-96=1', '19*1=19'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 76*19=1444, Resulting Numbers: [1444] 1444,48 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,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:[96, 19, 21], Operations: ['97-76=21'] Exploring Operation: 96+19=115, Resulting Numbers: [21, 115] Generated Node #0,0,0: 48:[21, 115] Operation: 96+19=115 Exploring Operation: 21-19=2, Resulting Numbers: [96, 2] Generated Node #0,0,1: 48:[96, 2] Operation: 21-19=2 Exploring Operation: 96-19=77, Resulting Numbers: [21, 77] Generated Node #0,0,2: 48:[21, 77] Operation: 96-19=77 Exploring Operation: 19+21=40, Resulting Numbers: [96, 40] Generated Node #0,0,3: 48:[96, 40] Operation: 19+21=40 Exploring Operation: 96-21=75, Resulting Numbers: [19, 75] Generated Node #0,0,4: 48:[19, 75] Operation: 96-21=75 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 48:[19, 75], Operations: ['97-76=21', '96-21=75'] Exploring Operation: 19*75=1425, Resulting Numbers: [1425] 1425,48 unequal: No Solution Exploring Operation: 19+75=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,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,0,2 Current State: 48:[21, 77], Operations: ['97-76=21', '96-19=77'] Exploring Operation: 21*77=1617, Resulting Numbers: [1617] 1617,48 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 21+77=98, Resulting Numbers: [98] 98,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,0,1 Current State: 48:[96, 2], Operations: ['97-76=21', '21-19=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[97, 96, 19, 76], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [96, 19, 21] Generated Node #0,0: 48:[96, 19, 21] Operation: 97-76=21 Moving to Node #0,0 Current State: 48:[96, 19, 21], Operations: ['97-76=21'] Exploring Operation: 21-19=2, Resulting Numbers: [96, 2] Generated Node #0,0,1: 48:[96, 2] Operation: 21-19=2 Moving to Node #0,0,1 Current State: 48:[96, 2], Operations: ['97-76=21', '21-19=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 27, 76, 4, 9 ]
83
[ "27/9=3", "76+4=80", "3+80=83" ]
Current State: 83:[27, 76, 4, 9], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [76, 4, 3] Generated Node #2: [76, 4, 3] from Operation: 27/9=3 Current State: 83:[76, 4, 3], Operations: ['27/9=3'] Exploring Operation: 76+4=80, Resulting Numbers: [3, 80] Generated Node #3: [3, 80] from Operation: 76+4=80 Current State: 83:[3, 80], Operations: ['27/9=3', '76+4=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[27, 76, 4, 9], Operations: [] Exploring Operation: 27*4=108, Resulting Numbers: [76, 9, 108] Generated Node #0,0: 83:[76, 9, 108] Operation: 27*4=108 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[76, 9, 108], Operations: ['27*4=108'] Exploring Operation: 108-9=99, Resulting Numbers: [76, 99] Generated Node #0,0,0: 83:[76, 99] Operation: 108-9=99 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[76, 99], Operations: ['27*4=108', '108-9=99'] Exploring Operation: 99-76=23, Resulting Numbers: [23] 23,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 No solution found.
0
hs_1
mult_heuristic
[ 40, 13, 15, 72 ]
56
[ "40+72=112", "15-13=2", "112/2=56" ]
Current State: 56:[40, 13, 15, 72], Operations: [] Exploring Operation: 40+72=112, Resulting Numbers: [13, 15, 112] Generated Node #2: [13, 15, 112] from Operation: 40+72=112 Current State: 56:[13, 15, 112], Operations: ['40+72=112'] Exploring Operation: 15-13=2, Resulting Numbers: [112, 2] Generated Node #3: [112, 2] from Operation: 15-13=2 Current State: 56:[112, 2], Operations: ['40+72=112', '15-13=2'] Exploring Operation: 112/2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[40, 13, 15, 72], Operations: [] Exploring Operation: 72-13=59, Resulting Numbers: [40, 15, 59] Generated Node #0,0: 56:[40, 15, 59] Operation: 72-13=59 Exploring Operation: 72-15=57, Resulting Numbers: [40, 13, 57] Generated Node #0,1: 56:[40, 13, 57] Operation: 72-15=57 Exploring Operation: 72-40=32, Resulting Numbers: [13, 15, 32] Generated Node #0,2: 56:[13, 15, 32] Operation: 72-40=32 Exploring Operation: 40-13=27, Resulting Numbers: [15, 72, 27] Generated Node #0,3: 56:[15, 72, 27] Operation: 40-13=27 Moving to Node #0,2 Current State: 56:[13, 15, 32], Operations: ['72-40=32'] Exploring Operation: 32-13=19, Resulting Numbers: [15, 19] Generated Node #0,2,0: 56:[15, 19] Operation: 32-13=19 Exploring Operation: 32-15=17, Resulting Numbers: [13, 17] Generated Node #0,2,1: 56:[13, 17] Operation: 32-15=17 Exploring Operation: 15-13=2, Resulting Numbers: [32, 2] Generated Node #0,2,2: 56:[32, 2] Operation: 15-13=2 Exploring Operation: 13+15=28, Resulting Numbers: [32, 28] Generated Node #0,2,3: 56:[32, 28] Operation: 13+15=28 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[13, 17], Operations: ['72-40=32', '32-15=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,56 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[32, 2], Operations: ['72-40=32', '15-13=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[32, 28], Operations: ['72-40=32', '13+15=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[15, 19], Operations: ['72-40=32', '32-13=19'] Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,56 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,56 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: 56:[40, 13, 57], Operations: ['72-15=57'] Exploring Operation: 57-13=44, Resulting Numbers: [40, 44] Generated Node #0,1,0: 56:[40, 44] Operation: 57-13=44 Exploring Operation: 57-40=17, Resulting Numbers: [13, 17] Generated Node #0,1,1: 56:[13, 17] Operation: 57-40=17 Exploring Operation: 40+13=53, Resulting Numbers: [57, 53] Generated Node #0,1,2: 56:[57, 53] Operation: 40+13=53 Exploring Operation: 40-13=27, Resulting Numbers: [57, 27] Generated Node #0,1,3: 56:[57, 27] Operation: 40-13=27 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[57, 27], Operations: ['72-15=57', '40-13=27'] Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,56 unequal: No Solution Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[13, 17], Operations: ['72-15=57', '57-40=17'] Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,56 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[57, 53], Operations: ['72-15=57', '40+13=53'] Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,56 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[40, 44], Operations: ['72-15=57', '57-13=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,56 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,56 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: 56:[40, 15, 59], Operations: ['72-13=59'] Exploring Operation: 40+15=55, Resulting Numbers: [59, 55] Generated Node #0,0,0: 56:[59, 55] Operation: 40+15=55 Exploring Operation: 59-40=19, Resulting Numbers: [15, 19] Generated Node #0,0,1: 56:[15, 19] Operation: 59-40=19 Exploring Operation: 59-15=44, Resulting Numbers: [40, 44] Generated Node #0,0,2: 56:[40, 44] Operation: 59-15=44 Exploring Operation: 40-15=25, Resulting Numbers: [59, 25] Generated Node #0,0,3: 56:[59, 25] Operation: 40-15=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[59, 55], Operations: ['72-13=59', '40+15=55'] Exploring Operation: 59*55=3245, Resulting Numbers: [3245] 3245,56 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 59+55=114, Resulting Numbers: [114] 114,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[15, 19], Operations: ['72-13=59', '59-40=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[59, 25], Operations: ['72-13=59', '40-15=25'] Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[40, 44], Operations: ['72-13=59', '59-15=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,56 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,56 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: 56:[15, 72, 27], Operations: ['40-13=27'] Exploring Operation: 27-15=12, Resulting Numbers: [72, 12] Generated Node #0,3,0: 56:[72, 12] Operation: 27-15=12 Exploring Operation: 15+27=42, Resulting Numbers: [72, 42] Generated Node #0,3,1: 56:[72, 42] Operation: 15+27=42 Exploring Operation: 72-15=57, Resulting Numbers: [27, 57] Generated Node #0,3,2: 56:[27, 57] Operation: 72-15=57 Exploring Operation: 72-27=45, Resulting Numbers: [15, 45] Generated Node #0,3,3: 56:[15, 45] Operation: 72-27=45 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[27, 57], Operations: ['40-13=27', '72-15=57'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[15, 45], Operations: ['40-13=27', '72-27=45'] Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,56 unequal: No Solution Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[72, 12], Operations: ['40-13=27', '27-15=12'] Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,56 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[72, 42], Operations: ['40-13=27', '15+27=42'] Exploring Operation: 72*42=3024, Resulting Numbers: [3024] 3024,56 unequal: No Solution Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 72+42=114, Resulting Numbers: [114] 114,56 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
[ 2, 33, 74, 42 ]
76
[ "33+42=75", "2*75=150", "150-74=76" ]
Current State: 76:[2, 33, 74, 42], Operations: [] Exploring Operation: 33+42=75, Resulting Numbers: [2, 74, 75] Generated Node #2: [2, 74, 75] from Operation: 33+42=75 Current State: 76:[2, 74, 75], Operations: ['33+42=75'] Exploring Operation: 2*75=150, Resulting Numbers: [74, 150] Generated Node #3: [74, 150] from Operation: 2*75=150 Current State: 76:[74, 150], Operations: ['33+42=75', '2*75=150'] Exploring Operation: 150-74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[2, 33, 74, 42], Operations: [] Exploring Operation: 42-33=9, Resulting Numbers: [2, 74, 9] Generated Node #0,0: 76:[2, 74, 9] Operation: 42-33=9 Exploring Operation: 33+42=75, Resulting Numbers: [2, 74, 75] Generated Node #0,1: 76:[2, 74, 75] Operation: 33+42=75 Exploring Operation: 74-33=41, Resulting Numbers: [2, 42, 41] Generated Node #0,2: 76:[2, 42, 41] Operation: 74-33=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[2, 74, 75], Operations: ['33+42=75'] Exploring Operation: 74/2=37, Resulting Numbers: [75, 37] Generated Node #0,1,0: 76:[75, 37] Operation: 74/2=37 Exploring Operation: 2+74=76, Resulting Numbers: [75, 76] Generated Node #0,1,1: 76:[75, 76] Operation: 2+74=76 Exploring Operation: 75-74=1, Resulting Numbers: [2, 1] Generated Node #0,1,2: 76:[2, 1] Operation: 75-74=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[75, 76], Operations: ['33+42=75', '2+74=76'] Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,76 unequal: No Solution Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,76 unequal: No Solution No 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: 76:[2, 1], Operations: ['33+42=75', '75-74=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,76 unequal: No Solution No 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: 76:[75, 37], Operations: ['33+42=75', '74/2=37'] Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,76 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[2, 74, 9], Operations: ['42-33=9'] Exploring Operation: 2+74=76, Resulting Numbers: [9, 76] Generated Node #0,0,0: 76:[9, 76] Operation: 2+74=76 Exploring Operation: 2*9=18, Resulting Numbers: [74, 18] Generated Node #0,0,1: 76:[74, 18] Operation: 2*9=18 Exploring Operation: 9-2=7, Resulting Numbers: [74, 7] Generated Node #0,0,2: 76:[74, 7] Operation: 9-2=7 Moving to Node #0,0,1 Current State: 76:[74, 18], Operations: ['42-33=9', '2*9=18'] Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,76 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[9, 76], Operations: ['42-33=9', '2+74=76'] Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,76 unequal: No Solution Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[74, 7], Operations: ['42-33=9', '9-2=7'] Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 74*7=518, Resulting Numbers: [518] 518,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[2, 42, 41], Operations: ['74-33=41'] Exploring Operation: 42-2=40, Resulting Numbers: [41, 40] Generated Node #0,2,0: 76:[41, 40] Operation: 42-2=40 Exploring Operation: 42-41=1, Resulting Numbers: [2, 1] Generated Node #0,2,1: 76:[2, 1] Operation: 42-41=1 Exploring Operation: 42/2=21, Resulting Numbers: [41, 21] Generated Node #0,2,2: 76:[41, 21] Operation: 42/2=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[2, 1], Operations: ['74-33=41', '42-41=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,76 unequal: No Solution No 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: 76:[41, 40], Operations: ['74-33=41', '42-2=40'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,76 unequal: No Solution No 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: 76:[41, 21], Operations: ['74-33=41', '42/2=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,76 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 58, 27, 32, 40 ]
77
[ "58+27=85", "40-32=8", "85-8=77" ]
Current State: 77:[58, 27, 32, 40], Operations: [] Exploring Operation: 58+27=85, Resulting Numbers: [32, 40, 85] Generated Node #2: [32, 40, 85] from Operation: 58+27=85 Current State: 77:[32, 40, 85], Operations: ['58+27=85'] Exploring Operation: 40-32=8, Resulting Numbers: [85, 8] Generated Node #3: [85, 8] from Operation: 40-32=8 Current State: 77:[85, 8], Operations: ['58+27=85', '40-32=8'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[58, 27, 32, 40], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [27, 32, 18] Generated Node #0,0: 77:[27, 32, 18] Operation: 58-40=18 Exploring Operation: 40-27=13, Resulting Numbers: [58, 32, 13] Generated Node #0,1: 77:[58, 32, 13] Operation: 40-27=13 Exploring Operation: 40-32=8, Resulting Numbers: [58, 27, 8] Generated Node #0,2: 77:[58, 27, 8] Operation: 40-32=8 Exploring Operation: 32+40=72, Resulting Numbers: [58, 27, 72] Generated Node #0,3: 77:[58, 27, 72] Operation: 32+40=72 Moving to Node #0,2 Current State: 77:[58, 27, 8], Operations: ['40-32=8'] Exploring Operation: 58+27=85, Resulting Numbers: [8, 85] Generated Node #0,2,0: 77:[8, 85] Operation: 58+27=85 Exploring Operation: 58+8=66, Resulting Numbers: [27, 66] Generated Node #0,2,1: 77:[27, 66] Operation: 58+8=66 Exploring Operation: 27-8=19, Resulting Numbers: [58, 19] Generated Node #0,2,2: 77:[58, 19] Operation: 27-8=19 Exploring Operation: 58-27=31, Resulting Numbers: [8, 31] Generated Node #0,2,3: 77:[8, 31] Operation: 58-27=31 Moving to Node #0,3 Current State: 77:[58, 27, 72], Operations: ['32+40=72'] Exploring Operation: 58+27=85, Resulting Numbers: [72, 85] Generated Node #0,3,0: 77:[72, 85] Operation: 58+27=85 Exploring Operation: 58-27=31, Resulting Numbers: [72, 31] Generated Node #0,3,1: 77:[72, 31] Operation: 58-27=31 Exploring Operation: 72-58=14, Resulting Numbers: [27, 14] Generated Node #0,3,2: 77:[27, 14] Operation: 72-58=14 Exploring Operation: 27+72=99, Resulting Numbers: [58, 99] Generated Node #0,3,3: 77:[58, 99] Operation: 27+72=99 Moving to Node #0,1 Current State: 77:[58, 32, 13], Operations: ['40-27=13'] Exploring Operation: 58+13=71, Resulting Numbers: [32, 71] Generated Node #0,1,0: 77:[32, 71] Operation: 58+13=71 Exploring Operation: 58+32=90, Resulting Numbers: [13, 90] Generated Node #0,1,1: 77:[13, 90] Operation: 58+32=90 Exploring Operation: 58-32=26, Resulting Numbers: [13, 26] Generated Node #0,1,2: 77:[13, 26] Operation: 58-32=26 Exploring Operation: 32-13=19, Resulting Numbers: [58, 19] Generated Node #0,1,3: 77:[58, 19] Operation: 32-13=19 Moving to Node #0,0 Current State: 77:[27, 32, 18], Operations: ['58-40=18'] Exploring Operation: 27+32=59, Resulting Numbers: [18, 59] Generated Node #0,0,0: 77:[18, 59] Operation: 27+32=59 Exploring Operation: 32-18=14, Resulting Numbers: [27, 14] Generated Node #0,0,1: 77:[27, 14] Operation: 32-18=14 Exploring Operation: 27-18=9, Resulting Numbers: [32, 9] Generated Node #0,0,2: 77:[32, 9] Operation: 27-18=9 Exploring Operation: 32-27=5, Resulting Numbers: [18, 5] Generated Node #0,0,3: 77:[18, 5] Operation: 32-27=5 Moving to Node #0,2,0 Current State: 77:[8, 85], Operations: ['40-32=8', '58+27=85'] Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 8*85=680, Resulting Numbers: [680] 680,77 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[58, 27, 32, 40], Operations: [] Exploring Operation: 40-32=8, Resulting Numbers: [58, 27, 8] Generated Node #0,2: 77:[58, 27, 8] Operation: 40-32=8 Moving to Node #0,2 Current State: 77:[58, 27, 8], Operations: ['40-32=8'] Exploring Operation: 58+27=85, Resulting Numbers: [8, 85] Generated Node #0,2,0: 77:[8, 85] Operation: 58+27=85 Moving to Node #0,2,0 Current State: 77:[8, 85], Operations: ['40-32=8', '58+27=85'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.976563
hs_4
mult_heuristic
[ 21, 84, 23, 76 ]
46
[ "23-21=2", "76/2=38", "84-38=46" ]
Current State: 46:[21, 84, 23, 76], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [84, 76, 2] Generated Node #2: [84, 76, 2] from Operation: 23-21=2 Current State: 46:[84, 76, 2], Operations: ['23-21=2'] Exploring Operation: 76/2=38, Resulting Numbers: [84, 38] Generated Node #3: [84, 38] from Operation: 76/2=38 Current State: 46:[84, 38], Operations: ['23-21=2', '76/2=38'] Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[21, 84, 23, 76], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [21, 23, 8] Generated Node #0,0: 46:[21, 23, 8] Operation: 84-76=8 Exploring Operation: 84/21=4, Resulting Numbers: [23, 76, 4] Generated Node #0,1: 46:[23, 76, 4] Operation: 84/21=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[21, 23, 8], Operations: ['84-76=8'] Exploring Operation: 21+8=29, Resulting Numbers: [23, 29] Generated Node #0,0,0: 46:[23, 29] Operation: 21+8=29 Exploring Operation: 23-21=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 46:[8, 2] Operation: 23-21=2 Moving to Node #0,0,0 Current State: 46:[23, 29], Operations: ['84-76=8', '21+8=29'] Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[8, 2], Operations: ['84-76=8', '23-21=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[23, 76, 4], Operations: ['84/21=4'] Exploring Operation: 76-23=53, Resulting Numbers: [4, 53] Generated Node #0,1,0: 46:[4, 53] Operation: 76-23=53 Exploring Operation: 76/4=19, Resulting Numbers: [23, 19] Generated Node #0,1,1: 46:[23, 19] Operation: 76/4=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 46:[23, 19], Operations: ['84/21=4', '76/4=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,46 unequal: No Solution No 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: 46:[4, 53], Operations: ['84/21=4', '76-23=53'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,46 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
[ 5, 8, 54, 55 ]
41
[ "5*8=40", "55-54=1", "40+1=41" ]
Current State: 41:[5, 8, 54, 55], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [54, 55, 40] Generated Node #2: [54, 55, 40] from Operation: 5*8=40 Current State: 41:[54, 55, 40], Operations: ['5*8=40'] Exploring Operation: 55-54=1, Resulting Numbers: [40, 1] Generated Node #3: [40, 1] from Operation: 55-54=1 Current State: 41:[40, 1], Operations: ['5*8=40', '55-54=1'] Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[5, 8, 54, 55], Operations: [] Exploring Operation: 55-5=50, Resulting Numbers: [8, 54, 50] Generated Node #0,0: 41:[8, 54, 50] Operation: 55-5=50 Exploring Operation: 54-5=49, Resulting Numbers: [8, 55, 49] Generated Node #0,1: 41:[8, 55, 49] Operation: 54-5=49 Exploring Operation: 5+8=13, Resulting Numbers: [54, 55, 13] Generated Node #0,2: 41:[54, 55, 13] Operation: 5+8=13 Exploring Operation: 54-8=46, Resulting Numbers: [5, 55, 46] Generated Node #0,3: 41:[5, 55, 46] Operation: 54-8=46 Exploring Operation: 5*8=40, Resulting Numbers: [54, 55, 40] Generated Node #0,4: 41:[54, 55, 40] Operation: 5*8=40 Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[54, 55, 40], Operations: ['5*8=40'] Exploring Operation: 54+40=94, Resulting Numbers: [55, 94] Generated Node #0,4,0: 41:[55, 94] Operation: 54+40=94 Exploring Operation: 54-40=14, Resulting Numbers: [55, 14] Generated Node #0,4,1: 41:[55, 14] Operation: 54-40=14 Exploring Operation: 55-54=1, Resulting Numbers: [40, 1] Generated Node #0,4,2: 41:[40, 1] Operation: 55-54=1 Exploring Operation: 55-40=15, Resulting Numbers: [54, 15] Generated Node #0,4,3: 41:[54, 15] Operation: 55-40=15 Exploring Operation: 55+40=95, Resulting Numbers: [54, 95] Generated Node #0,4,4: 41:[54, 95] Operation: 55+40=95 Moving to Node #0,4,3 Current State: 41:[54, 15], Operations: ['5*8=40', '55-40=15'] Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,41 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[40, 1], Operations: ['5*8=40', '55-54=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[5, 8, 54, 55], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [54, 55, 40] Generated Node #0,4: 41:[54, 55, 40] Operation: 5*8=40 Moving to Node #0,4 Current State: 41:[54, 55, 40], Operations: ['5*8=40'] Exploring Operation: 55-54=1, Resulting Numbers: [40, 1] Generated Node #0,4,2: 41:[40, 1] Operation: 55-54=1 Moving to Node #0,4,2 Current State: 41:[40, 1], Operations: ['5*8=40', '55-54=1'] Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 95, 18, 51, 22 ]
48
[ "95-18=77", "51-22=29", "77-29=48" ]
Current State: 48:[95, 18, 51, 22], Operations: [] Exploring Operation: 95-18=77, Resulting Numbers: [51, 22, 77] Generated Node #2: [51, 22, 77] from Operation: 95-18=77 Current State: 48:[51, 22, 77], Operations: ['95-18=77'] Exploring Operation: 51-22=29, Resulting Numbers: [77, 29] Generated Node #3: [77, 29] from Operation: 51-22=29 Current State: 48:[77, 29], Operations: ['95-18=77', '51-22=29'] Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[95, 18, 51, 22], Operations: [] Exploring Operation: 95-18=77, Resulting Numbers: [51, 22, 77] Generated Node #0,0: 48:[51, 22, 77] Operation: 95-18=77 Exploring Operation: 95-51=44, Resulting Numbers: [18, 22, 44] Generated Node #0,1: 48:[18, 22, 44] Operation: 95-51=44 Exploring Operation: 95-22=73, Resulting Numbers: [18, 51, 73] Generated Node #0,2: 48:[18, 51, 73] Operation: 95-22=73 Exploring Operation: 22-18=4, Resulting Numbers: [95, 51, 4] Generated Node #0,3: 48:[95, 51, 4] Operation: 22-18=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[18, 22, 44], Operations: ['95-51=44'] Exploring Operation: 44/22=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 48:[18, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [18, 22] Generated Node #0,1,1: 48:[18, 22] Operation: 44-22=22 Exploring Operation: 22-18=4, Resulting Numbers: [44, 4] Generated Node #0,1,2: 48:[44, 4] Operation: 22-18=4 Exploring Operation: 44-18=26, Resulting Numbers: [22, 26] Generated Node #0,1,3: 48:[22, 26] Operation: 44-18=26 Moving to Node #0,1,0 Current State: 48:[18, 2], Operations: ['95-51=44', '44/22=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,48 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[44, 4], Operations: ['95-51=44', '22-18=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[95, 18, 51, 22], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [18, 22, 44] Generated Node #0,1: 48:[18, 22, 44] Operation: 95-51=44 Moving to Node #0,1 Current State: 48:[18, 22, 44], Operations: ['95-51=44'] Exploring Operation: 22-18=4, Resulting Numbers: [44, 4] Generated Node #0,1,2: 48:[44, 4] Operation: 22-18=4 Moving to Node #0,1,2 Current State: 48:[44, 4], Operations: ['95-51=44', '22-18=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 26, 60, 72, 68 ]
82
[ "26+60=86", "72-68=4", "86-4=82" ]
Current State: 82:[26, 60, 72, 68], Operations: [] Exploring Operation: 26+60=86, Resulting Numbers: [72, 68, 86] Generated Node #2: [72, 68, 86] from Operation: 26+60=86 Current State: 82:[72, 68, 86], Operations: ['26+60=86'] Exploring Operation: 72-68=4, Resulting Numbers: [86, 4] Generated Node #3: [86, 4] from Operation: 72-68=4 Current State: 82:[86, 4], Operations: ['26+60=86', '72-68=4'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[26, 60, 72, 68], Operations: [] Exploring Operation: 26+60=86, Resulting Numbers: [72, 68, 86] Generated Node #0,0: 82:[72, 68, 86] Operation: 26+60=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[72, 68, 86], Operations: ['26+60=86'] Exploring Operation: 72-68=4, Resulting Numbers: [86, 4] Generated Node #0,0,0: 82:[86, 4] Operation: 72-68=4 Moving to Node #0,0,0 Current State: 82:[86, 4], Operations: ['26+60=86', '72-68=4'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[26, 60, 72, 68], Operations: [] Exploring Operation: 26+60=86, Resulting Numbers: [72, 68, 86] Generated Node #0,0: 82:[72, 68, 86] Operation: 26+60=86 Moving to Node #0,0 Current State: 82:[72, 68, 86], Operations: ['26+60=86'] Exploring Operation: 72-68=4, Resulting Numbers: [86, 4] Generated Node #0,0,0: 82:[86, 4] Operation: 72-68=4 Moving to Node #0,0,0 Current State: 82:[86, 4], Operations: ['26+60=86', '72-68=4'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 71, 2, 1, 27 ]
98
[ "71+27=98", "2-1=1", "98*1=98" ]
Current State: 98:[71, 2, 1, 27], Operations: [] Exploring Operation: 71+27=98, Resulting Numbers: [2, 1, 98] Generated Node #2: [2, 1, 98] from Operation: 71+27=98 Current State: 98:[2, 1, 98], Operations: ['71+27=98'] Exploring Operation: 2-1=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 2-1=1 Current State: 98:[98, 1], Operations: ['71+27=98', '2-1=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[71, 2, 1, 27], Operations: [] Exploring Operation: 71-2=69, Resulting Numbers: [1, 27, 69] Generated Node #0,0: 98:[1, 27, 69] Operation: 71-2=69 Exploring Operation: 2*27=54, Resulting Numbers: [71, 1, 54] Generated Node #0,1: 98:[71, 1, 54] Operation: 2*27=54 Exploring Operation: 71-27=44, Resulting Numbers: [2, 1, 44] Generated Node #0,2: 98:[2, 1, 44] Operation: 71-27=44 Exploring Operation: 71+27=98, Resulting Numbers: [2, 1, 98] Generated Node #0,3: 98:[2, 1, 98] Operation: 71+27=98 Moving to Node #0,3 Current State: 98:[2, 1, 98], Operations: ['71+27=98'] Exploring Operation: 98/1=98, Resulting Numbers: [2, 98] Generated Node #0,3,0: 98:[2, 98] Operation: 98/1=98 Exploring Operation: 1*98=98, Resulting Numbers: [2, 98] Generated Node #0,3,1: 98:[2, 98] Operation: 1*98=98 Exploring Operation: 2/1=2, Resulting Numbers: [98, 2] Generated Node #0,3,2: 98:[98, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [98, 2] Generated Node #0,3,3: 98:[98, 2] Operation: 2*1=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[2, 98], Operations: ['71+27=98', '98/1=98'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,98 unequal: No Solution Exploring Operation: 2*98=196, Resulting Numbers: [196] 196,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[2, 98], Operations: ['71+27=98', '1*98=98'] Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,98 unequal: No Solution Exploring Operation: 2*98=196, Resulting Numbers: [196] 196,98 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 98:[98, 2], Operations: ['71+27=98', '2/1=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,98 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,98 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[98, 2], Operations: ['71+27=98', '2*1=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,98 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 98:[2, 1, 44], Operations: ['71-27=44'] Exploring Operation: 2*1=2, Resulting Numbers: [44, 2] Generated Node #0,2,0: 98:[44, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [44, 2] Generated Node #0,2,1: 98:[44, 2] Operation: 2/1=2 Exploring Operation: 1+44=45, Resulting Numbers: [2, 45] Generated Node #0,2,2: 98:[2, 45] Operation: 1+44=45 Exploring Operation: 2+44=46, Resulting Numbers: [1, 46] Generated Node #0,2,3: 98:[1, 46] Operation: 2+44=46 Moving to Node #0,1 Current State: 98:[71, 1, 54], Operations: ['2*27=54'] Exploring Operation: 54-1=53, Resulting Numbers: [71, 53] Generated Node #0,1,0: 98:[71, 53] Operation: 54-1=53 Exploring Operation: 71*1=71, Resulting Numbers: [54, 71] Generated Node #0,1,1: 98:[54, 71] Operation: 71*1=71 Exploring Operation: 71-54=17, Resulting Numbers: [1, 17] Generated Node #0,1,2: 98:[1, 17] Operation: 71-54=17 Exploring Operation: 71-1=70, Resulting Numbers: [54, 70] Generated Node #0,1,3: 98:[54, 70] Operation: 71-1=70 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[1, 17], Operations: ['2*27=54', '71-54=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[71, 53], Operations: ['2*27=54', '54-1=53'] Exploring Operation: 71+53=124, Resulting Numbers: [124] 124,98 unequal: No Solution Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 71*53=3763, Resulting Numbers: [3763] 3763,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 98:[54, 70], Operations: ['2*27=54', '71-1=70'] Exploring Operation: 54+70=124, Resulting Numbers: [124] 124,98 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 54*70=3780, Resulting Numbers: [3780] 3780,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[54, 71], Operations: ['2*27=54', '71*1=71'] Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,98 unequal: No Solution Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,98 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,98 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: 98:[1, 27, 69], Operations: ['71-2=69'] Exploring Operation: 27-1=26, Resulting Numbers: [69, 26] Generated Node #0,0,0: 98:[69, 26] Operation: 27-1=26 Exploring Operation: 69-1=68, Resulting Numbers: [27, 68] Generated Node #0,0,1: 98:[27, 68] Operation: 69-1=68 Exploring Operation: 27+69=96, Resulting Numbers: [1, 96] Generated Node #0,0,2: 98:[1, 96] Operation: 27+69=96 Exploring Operation: 69-27=42, Resulting Numbers: [1, 42] Generated Node #0,0,3: 98:[1, 42] Operation: 69-27=42 Moving to Node #0,0,2 Current State: 98:[1, 96], Operations: ['71-2=69', '27+69=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,98 unequal: No Solution Exploring Operation: 1*96=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 1+96=97, Resulting Numbers: [97] 97,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[2, 45], Operations: ['71-27=44', '1+44=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[1, 46], Operations: ['71-27=44', '2+44=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[44, 2], Operations: ['71-27=44', '2*1=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,98 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[44, 2], Operations: ['71-27=44', '2/1=2'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,98 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[1, 42], Operations: ['71-2=69', '69-27=42'] Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[69, 26], Operations: ['71-2=69', '27-1=26'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,98 unequal: No Solution Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[27, 68], Operations: ['71-2=69', '69-1=68'] Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,98 unequal: No Solution Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,98 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,98 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 46, 40, 28, 2 ]
84
[ "46-40=6", "28/2=14", "6*14=84" ]
Current State: 84:[46, 40, 28, 2], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [28, 2, 6] Generated Node #2: [28, 2, 6] from Operation: 46-40=6 Current State: 84:[28, 2, 6], Operations: ['46-40=6'] Exploring Operation: 28/2=14, Resulting Numbers: [6, 14] Generated Node #3: [6, 14] from Operation: 28/2=14 Current State: 84:[6, 14], Operations: ['46-40=6', '28/2=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[46, 40, 28, 2], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [28, 2, 6] Generated Node #0,0: 84:[28, 2, 6] Operation: 46-40=6 Exploring Operation: 46+40=86, Resulting Numbers: [28, 2, 86] Generated Node #0,1: 84:[28, 2, 86] Operation: 46+40=86 Moving to Node #0,0 Current State: 84:[28, 2, 6], Operations: ['46-40=6'] Exploring Operation: 2*6=12, Resulting Numbers: [28, 12] Generated Node #0,0,0: 84:[28, 12] Operation: 2*6=12 Exploring Operation: 28/2=14, Resulting Numbers: [6, 14] Generated Node #0,0,1: 84:[6, 14] Operation: 28/2=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[28, 12], Operations: ['46-40=6', '2*6=12'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[6, 14], Operations: ['46-40=6', '28/2=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[46, 40, 28, 2], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [28, 2, 6] Generated Node #0,0: 84:[28, 2, 6] Operation: 46-40=6 Moving to Node #0,0 Current State: 84:[28, 2, 6], Operations: ['46-40=6'] Exploring Operation: 28/2=14, Resulting Numbers: [6, 14] Generated Node #0,0,1: 84:[6, 14] Operation: 28/2=14 Moving to Node #0,0,1 Current State: 84:[6, 14], Operations: ['46-40=6', '28/2=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 64, 19, 16, 17 ]
78
[ "64-19=45", "16+17=33", "45+33=78" ]
Current State: 78:[64, 19, 16, 17], Operations: [] Exploring Operation: 64-19=45, Resulting Numbers: [16, 17, 45] Generated Node #2: [16, 17, 45] from Operation: 64-19=45 Current State: 78:[16, 17, 45], Operations: ['64-19=45'] Exploring Operation: 16+17=33, Resulting Numbers: [45, 33] Generated Node #3: [45, 33] from Operation: 16+17=33 Current State: 78:[45, 33], Operations: ['64-19=45', '16+17=33'] Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[64, 19, 16, 17], Operations: [] Exploring Operation: 64+19=83, Resulting Numbers: [16, 17, 83] Generated Node #0,0: 78:[16, 17, 83] Operation: 64+19=83 Exploring Operation: 64/16=4, Resulting Numbers: [19, 17, 4] Generated Node #0,1: 78:[19, 17, 4] Operation: 64/16=4 Exploring Operation: 64+17=81, Resulting Numbers: [19, 16, 81] Generated Node #0,2: 78:[19, 16, 81] Operation: 64+17=81 Exploring Operation: 64+16=80, Resulting Numbers: [19, 17, 80] Generated Node #0,3: 78:[19, 17, 80] Operation: 64+16=80 Exploring Operation: 64-19=45, Resulting Numbers: [16, 17, 45] Generated Node #0,4: 78:[16, 17, 45] Operation: 64-19=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[19, 17, 4], Operations: ['64/16=4'] Exploring Operation: 19+17=36, Resulting Numbers: [4, 36] Generated Node #0,1,0: 78:[4, 36] Operation: 19+17=36 Exploring Operation: 19-17=2, Resulting Numbers: [4, 2] Generated Node #0,1,1: 78:[4, 2] Operation: 19-17=2 Exploring Operation: 19-4=15, Resulting Numbers: [17, 15] Generated Node #0,1,2: 78:[17, 15] Operation: 19-4=15 Exploring Operation: 17-4=13, Resulting Numbers: [19, 13] Generated Node #0,1,3: 78:[19, 13] Operation: 17-4=13 Exploring Operation: 19*4=76, Resulting Numbers: [17, 76] Generated Node #0,1,4: 78:[17, 76] Operation: 19*4=76 Moving to Node #0,1,1 Current State: 78:[4, 2], Operations: ['64/16=4', '19-17=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[4, 36], Operations: ['64/16=4', '19+17=36'] Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,78 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[17, 15], Operations: ['64/16=4', '19-4=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[19, 13], Operations: ['64/16=4', '17-4=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,78 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,78 unequal: No Solution Moving to Node #0,1,4 Current State: 78:[17, 76], Operations: ['64/16=4', '19*4=76'] Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,78 unequal: No Solution Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[16, 17, 83], Operations: ['64+19=83'] Exploring Operation: 83-16=67, Resulting Numbers: [17, 67] Generated Node #0,0,0: 78:[17, 67] Operation: 83-16=67 Exploring Operation: 16+17=33, Resulting Numbers: [83, 33] Generated Node #0,0,1: 78:[83, 33] Operation: 16+17=33 Exploring Operation: 17-16=1, Resulting Numbers: [83, 1] Generated Node #0,0,2: 78:[83, 1] Operation: 17-16=1 Exploring Operation: 83-17=66, Resulting Numbers: [16, 66] Generated Node #0,0,3: 78:[16, 66] Operation: 83-17=66 Exploring Operation: 16+83=99, Resulting Numbers: [17, 99] Generated Node #0,0,4: 78:[17, 99] Operation: 16+83=99 Moving to Node #0,0,2 Current State: 78:[83, 1], Operations: ['64+19=83', '17-16=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[83, 33], Operations: ['64+19=83', '16+17=33'] Exploring Operation: 83+33=116, Resulting Numbers: [116] 116,78 unequal: No Solution Exploring Operation: 83*33=2739, Resulting Numbers: [2739] 2739,78 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[17, 67], Operations: ['64+19=83', '83-16=67'] Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 17*67=1139, Resulting Numbers: [1139] 1139,78 unequal: No Solution Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[16, 66], Operations: ['64+19=83', '83-17=66'] Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,78 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[17, 99], Operations: ['64+19=83', '16+83=99'] Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 17*99=1683, Resulting Numbers: [1683] 1683,78 unequal: No Solution Exploring Operation: 17+99=116, Resulting Numbers: [116] 116,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[19, 16, 81], Operations: ['64+17=81'] Exploring Operation: 19+81=100, Resulting Numbers: [16, 100] Generated Node #0,2,0: 78:[16, 100] Operation: 19+81=100 Exploring Operation: 81-19=62, Resulting Numbers: [16, 62] Generated Node #0,2,1: 78:[16, 62] Operation: 81-19=62 Exploring Operation: 19-16=3, Resulting Numbers: [81, 3] Generated Node #0,2,2: 78:[81, 3] Operation: 19-16=3 Exploring Operation: 81-16=65, Resulting Numbers: [19, 65] Generated Node #0,2,3: 78:[19, 65] Operation: 81-16=65 Exploring Operation: 19+16=35, Resulting Numbers: [81, 35] Generated Node #0,2,4: 78:[81, 35] Operation: 19+16=35 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[81, 3], Operations: ['64+17=81', '19-16=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[64, 19, 16, 17], Operations: [] Exploring Operation: 64+17=81, Resulting Numbers: [19, 16, 81] Generated Node #0,2: 78:[19, 16, 81] Operation: 64+17=81 Moving to Node #0,2 Current State: 78:[19, 16, 81], Operations: ['64+17=81'] Exploring Operation: 19-16=3, Resulting Numbers: [81, 3] Generated Node #0,2,2: 78:[81, 3] Operation: 19-16=3 Moving to Node #0,2,2 Current State: 78:[81, 3], Operations: ['64+17=81', '19-16=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic